* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-navy: #25202ef8;
    --light-gray: #f7f9fb;
    --pure-white: #ffffff;
    --accent-gold: #d4af37;
    --accent-teal: #dbecc2;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
}

body {
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--pure-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--dark-navy);
    color: var(--pure-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background:
        radial-gradient(circle at 20% 50%, var(--accent-gold) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--accent-teal) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, var(--accent-gold) 0%, transparent 50%);
}

.hero-content {
    width: 100%;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(60px);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    opacity: 0;
    transform: translateY(40px);
    max-width: 800px;
}

.container {
    width: 100%;
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.expertise-section {
    background: var(--light-gray);
}

.expertise-header {
    text-align: center;
    margin-bottom: 5rem;
}

.expertise-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.expertise-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.expertise-card {
    background: var(--pure-white);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gold);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.expertise-card:hover::before {
    transform: translateX(0);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-teal);
    margin-bottom: 2rem;
    opacity: 0.15;
}

.expertise-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.split-section {
    background: var(--pure-white);
}

.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }

    .split-container.reverse {
        direction: rtl;
    }

    .split-container.reverse>* {
        direction: ltr;
    }
}

.split-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--text-primary);
    opacity: 0;
    transform: translateX(-40px);
}

.split-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-20px);
}

.split-visual {
    position: relative;
    height: 500px;
    background: var(--light-gray);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
}

.visual-element {
    position: absolute;
    background: var(--accent-gold);
    opacity: 0.1;
}

.visual-element.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.visual-element.square {
    width: 200px;
    height: 200px;
    transform: rotate(45deg);
    top: 10%;
    right: 10%;
}

.metrics-section {
    background: var(--dark-navy);
    color: var(--pure-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.metrics-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.1) 10px,
            rgba(255, 255, 255, 0.1) 20px);
}

.metrics-header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.metrics-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.metric-item {
    opacity: 0;
    transform: translateY(40px);
}

.metric-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.metric-label {
    font-size: 1.25rem;
    opacity: 0.9;
}

.features-section {
    background: var(--light-gray);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--pure-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(50px);
}

.feature-row:nth-child(even) {
    transform: translateX(-50px);
}

@media (min-width: 768px) {
    .feature-row {
        grid-template-columns: auto 1fr;
        align-items: start;
    }
}

.feature-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-teal);
    opacity: 0.2;
    line-height: 1;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.final-cta {
    background: linear-gradient(135deg, var(--accent-teal), #0e7490);
    color: var(--pure-white);
    text-align: center;
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

.cta-bg-shape {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -400px;
    right: -400px;
}

.final-cta h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
}

.final-cta p {
    font-size: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
}

@media (max-width: 768px) {
    .container {
        padding: 80px 5%;
    }

    .expertise-card {
        padding: 2rem;
    }

    .split-visual {
        height: 350px;
    }

    .feature-row {
        padding: 2rem;
    }

    .feature-number {
        font-size: 3rem;
    }
}

  /* Navigation Styles */
  .jjc-nav {
    position: fixed;
    top: 0;
    left: 6vw;
    justify-self:
      center !important;
    align-self: center !important;
    width: 88vw;
    border-radius: 8px;
    box-shadow: 
    oklch(50% .031 128 / .25)  0px 15px 15.3px -5.2px,
     oklch(80% .031 128) inset 0px 3px 7px -.9px,
     oklch(60% .031 128 /.4)  0px 3px 9px -4.9px,
     oklch(80% .031 128) inset 0px .2px 4.6px -.35px;
    margin: 28px 0 0 0;
    padding: 17px 1.5% 16.5px 1.5%;
    z-index: 1000;
    background: oklch(89.9% 0 0 / .95);
    transition: all 1.3s ease;
    opacity: 1;
  }

  .jjc-nav.scrolled {
    margin: 0;
    left: 0;
    width: 100vw;
    align-self:center !important;
    justify-self: center !important;
    background: oklch(99.8% 0.045 320 / .185);
    backdrop-filter: blur(1.4px);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    opacity: 1;}
  
  .jjc-nav.scrolled .jjc-nav{  text-shadow: .1px 1.1px 20px oklch(40% .1 132);
  }

  .jjc-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .jjc-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    text-decoration: none;
    color: oklch(40% .019 128);
    font-family: 'Bodoni Moda', serif;
  }

  .jjc-nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
     color: oklch(89% 0.01 130);
    text-shadow: .1px 1.1px 2px oklch(70% .1 132);
    font-family: 'Bodoni Moda', serif;

  }
 
  .jjc-nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
  .jjc-nav-links a {
    color: rgb(210, 236, 198);
    text-shadow: .01px .9535px 1.982px oklch(30% .1 132 / .5);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
  }

  .jjc-nav-links a:hover,
  .jjc-nav-links a.active {
    color: oklch(9% 0 0);
  }

  .jjc-contact-btn {
    background: oklch(50% 0 0 /.675);
    color: #FFF;
    padding: 0.7rem 1.8rem;
    border: 1px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .jjc-contact-btn:hover {
    background:oklch(50% 0 0 /.675);
    color: #2c2c2c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px oklch(0% 0 0 / 0.2);
  }

  /* Mobile Toggle */
  .jjc-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;      background-color: yellow;

    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
  }

  .jjc-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: yellow;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .jjc-mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .jjc-mobile-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .jjc-mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Mega Dropdown Styles */
  .has-ultra-dropdown {
    position: relative;
  }

  .ultra-dropdown {
    position: absolute;
    top: 100%;
    left: -10vw;
    background: oklch(0.91 0.04 119.37 / 0.95);
    color: oklch(22% .008 280);
    display: flex;
    gap: 3rem;
    padding: 2rem 3rem;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    border-radius: 0.75rem;
    box-shadow: 0 12px 24px oklch(0% 0 0 / 0.15);
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
  }

  .has-ultra-dropdown:hover .ultra-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .ultra-column {
    flex: 1;
  }

  .ultra-column h4 {
    font-size: 1.1rem;
    color: oklch(28% .008 290);
    text-shadow: .1px .1px 1.3px oklch(95% .008 290);
    margin-bottom: 1rem;
    font-weight: 600;
  }

  .ultra-column h4 a {
    text-decoration: none;
    color: inherit;
  }

  .ultra-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .ultra-column ul li {
    margin-bottom: 0.5rem;
  }

  .ultra-column ul a {
    text-decoration: none;
    color: oklch(14% .008 280);
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: block;
    padding: 0.25rem 0;
  }

  .ultra-column ul a:hover {
    color: oklch(45% .065 290);
    padding-left: 0.5rem;
  }

  /* Subsection styling for residential */
  .ultra-section h5 {
    font-size: 1rem;
    color: oklch(95% .015 128);
    text-shadow: .05px .05px 1.3px black;
    font-weight: 900;
    margin-bottom: 0.75rem;
    font-weight: 600;
  }

  .ultra-section h5 a {
    text-decoration: none;
    color: inherit;
  }

  .ultra-subsection {
    margin-left: 1rem;
  }

  .ultra-subsection li {
    margin-bottom: 0.25rem;
  }

  .ultra-subsection a {
    font-size: 0.85rem !important;
    color: oklch(24% .008 280) !important;
  }

  /* Mobile Styles */
  @media (max-width: 768px) {
    .jjc-mobile-toggle {
      display: flex;
      color:white;
      background:white;
    }

    .jjc-nav-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background-color: #f8f9fa;
      padding: 80px 40px;
      transition: right 0.3s ease;
      z-index: 999;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      overflow-y: auto;
    }

    .jjc-nav-menu.open {
      right: 0;
    }

    .jjc-nav-links {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 40px;
    }

    .jjc-nav-links li {
      margin: 0;
    }

    .jjc-nav-links a {
      font-size: 16px;
      font-weight: 500;
    }

    /* Mobile mega dropdown */
    .ultra-dropdown {
      position: static;
      background: transparent;
      box-shadow: none;
      opacity: 1;
      visibility: visible;
      transform: none;
      padding: 15px 0 0 20px;
      margin-top: 10px;
      min-width: auto;
      display: none;
      flex-direction: column;
      gap: 1.5rem;
      backdrop-filter: none;
    }

    .has-ultra-dropdown.active .ultra-dropdown {
      display: flex;
    }

    .ultra-column {
      margin-bottom: 1rem;
    }

    .ultra-column h4 {
      font-size: 1rem;
      margin-bottom: 0.75rem;
      border-bottom: 1px solid #ddd;
      padding-bottom: 0.5rem;
      text-align: center;
    }

    .ultra-section h5 {
      font-size: 0.95rem;
      margin-bottom: 0.5rem;
      text-align: center;
    }

    .ultra-subsection {
      margin-left: 0.75rem;
    }

    .jjc-contact-btn {
      align-self: flex-start;
      margin-top: 1rem;
    }

    /* Prevent body scroll when menu is open */
    body.jjc-menu-open {
      overflow: hidden;
      position: fixed;
      width: 100%;
    }

    /* Hide desktop hover effects on mobile */
    .has-ultra-dropdown:hover .ultra-dropdown {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px)translateX(-10vw);
    }
  }

  /* Footer */
  .ttc-footer {
    padding: 6rem 5% 3rem;
    background: var(--accent-dark);
    color: var(--primary-bg);
  }

  .ttc-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
  }

  .ttc-footer-brand h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .ttc-footer-brand p {
    opacity: 0.8;
    margin-bottom: 1rem;
  }

  .ttc-footer-column h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
  }

  .ttc-footer-links {
    list-style: none;
  }

  .ttc-footer-links li {
    margin-bottom: 0.8rem;
  }

  .ttc-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }

  .ttc-footer-links a:hover {
    color: var(--accent-green-light);
  }

  .ttc-footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .ttc-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
  }

  /* Magnetic button effect */
  .ttc-magnetic {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .ttc-service-detail {
      grid-template-columns: 1fr;
      gap: 3rem;
    }

    .ttc-service-detail:nth-child(even) {
      direction: ltr;
    }

    .ttc-service-detail.tech-section {
      grid-template-columns: 1fr;
    }

    .ttc-testimonial-cta-wrapper {
      grid-template-columns: 1fr;
      gap: 4rem;
      text-align: center;
    }

    .ttc-testimonial-content,
    .ttc-cta-content {
      text-align: center;
    }

    .ttc-cta-buttons {
      justify-content: center;
    }

    .ttc-footer-content {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }

  @media (max-width: 768px) {
    .ttc-services-hero {
      height: 60vh;
    }

    .ttc-nav-links {
      display: none;
    }

    .ttc-services-grid {
      grid-template-columns: 1fr;
    }

    .ttc-stats-grid {
      grid-template-columns: 1fr;
    }

    .ttc-cta-buttons {
      flex-direction: column;
      align-items: center;
    }

    .ttc-cursor,
    .ttc-cursor-follower {
      display: none;
    }

    body {
      cursor: auto;
    }
  }

  /* Mobile Navigation Styles */
  :root {
    --primary-bg: #FFFFFF;
    --secondary-bg: #F8F7F4;
    --accent-gold: #D4AF37;
    --accent-dark: #1A1A2E;
    --accent-purple: #16213E;
    --text-dark: #0F0F0F;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  }

  /* Animations */
  @keyframes slideInRight {
    0% {
      transform: translate3d(100px, 0, 0);
      opacity: 0;
    }
    100% {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }
  }

  @keyframes slideOutRight {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(350px, 0, 0);
      visibility: hidden;
    }
  }

  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }