
    /* ===========================
       MOBILE-FIRST RESPONSIVE DESIGN
       =========================== */

    /* THEME + RESET */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --background: #ffffff;
      --card: #f8f8f8;
      --border: #d4af37;
      --foreground: #0b0b0b;
      --muted-foreground: #555555;
      --primary: #d4af37;
      --secondary: #111111;
      --primary-foreground: #ffffff;
      --secondary-foreground: #ffffff;
      --highlight: #f1d77a;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      background: var(--background);
      color: var(--foreground);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
      min-height: 100vh;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: geometricPrecision;
    }

    /* ANIMATED BACKGROUND LAYERS */
    .bg-layer {
      position: fixed;
      inset: 0;
      z-index: -2;
      overflow: hidden;
      pointer-events: none;
    }

    .bg-mesh {
      position: absolute;
      inset: -20%;
      background:
        radial-gradient(60rem 60rem at 10% 10%, rgba(212,175,55,0.18), transparent 60%),
        radial-gradient(55rem 55rem at 90% 15%, rgba(17,17,17,0.12), transparent 60%),
        radial-gradient(50rem 50rem at 15% 90%, rgba(212,175,55,0.12), transparent 60%),
        radial-gradient(65rem 65rem at 85% 85%, rgba(17,17,17,0.08), transparent 60%);
      filter: blur(40px);
      animation: mesh-drift 18s ease-in-out infinite alternate;
      transform: translateZ(0);
      will-change: transform;
    }

    @keyframes mesh-drift {
      0%   { transform: translate3d(-2%, -2%, 0) scale(1); }
      100% { transform: translate3d( 2%,  2%, 0) scale(1.05); }
    }

    .blob {
      position: absolute;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      filter: blur(90px);
      opacity: 0.35;
      mix-blend-mode: multiply;
      animation: blob-float 14s ease-in-out infinite;
      transform: translate3d(0,0,0);
      will-change: transform;
    }
    .blob.b1 { background: rgba(212,175,55,0.55); top: -80px; left: -80px; animation-delay: 0s; }
    .blob.b2 { background: rgba(17,17,17,0.35); top: 10%; right: -120px; animation-delay: 3s; }
    .blob.b3 { background: rgba(212,175,55,0.35); bottom: -120px; left: 15%; animation-delay: 6s; }
    .blob.b4 { background: rgba(17,17,17,0.25); bottom: -160px; right: 10%; animation-delay: 9s; }

    @keyframes blob-float {
      0%, 100% { transform: translate3d(0,0,0) scale(1); }
      50%      { transform: translate3d(30px,-40px,0) scale(1.08); }
    }

    .particles {
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(17,17,17,0.08) 50%, transparent 51%),
        radial-gradient(2px 2px at 70% 20%, rgba(212,175,55,0.12) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 40% 70%, rgba(17,17,17,0.06) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 85% 60%, rgba(212,175,55,0.10) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(17,17,17,0.06) 50%, transparent 51%);
      background-size: 320px 320px;
      animation: particles-drift 22s linear infinite;
      opacity: .6;
      transform: translateZ(0);
      will-change: transform;
    }

    @keyframes particles-drift {
      from { transform: translate3d(0,0,0); }
      to   { transform: translate3d(0,-320px,0); }
    }

    .bg-noise {
      position: absolute;
      inset: 0;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/></filter><rect width="140" height="140" filter="url(%23n)" opacity="0.12"/></svg>');
      mix-blend-mode: soft-light;
      opacity: .25;
    }

    /* ANIMATIONS */
    @keyframes fade-in-up {
      from { opacity: 0; transform: translate3d(0,30px,0); }
      to   { opacity: 1; transform: translate3d(0,0,0); }
    }
    @keyframes fade-in {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    @keyframes float {
      0%,100% { transform: translate3d(0,0,0); }
      50%     { transform: translate3d(0,-18px,0); }
    }
    @keyframes shimmer {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }
    @keyframes carousel-slide {
      0%   { transform: translate3d(0,0,0); }
      25%  { transform: translate3d(-100%,0,0); }
      50%  { transform: translate3d(-200%,0,0); }
      75%  { transform: translate3d(-300%,0,0); }
      100% { transform: translate3d(0,0,0); }
    }

    .reveal {
      opacity: 0;
      transform: translate3d(0,24px,0) scale(.98);
      transition: opacity .7s ease, transform .7s ease;
      will-change: opacity, transform;
    }
    .reveal.visible {
      opacity: 1;
      transform: translate3d(0,0,0) scale(1);
    }

    /* UTILITIES */
    .container { 
      max-width: 1280px; 
      margin: 0 auto; 
      padding: 0 16px; 
      width: 100%;
    }

    .gradient-text {
      background: linear-gradient(120deg, var(--secondary), var(--primary), var(--secondary));
      background-size: 200% 200%;
      animation: shimmer 6s linear infinite;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .gradient-button {
      background: linear-gradient(135deg, var(--secondary), var(--primary));
      color: var(--primary-foreground);
      border: none;
      padding: 12px 28px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
      box-shadow: 0 6px 20px rgba(17,17,17,0.18);
      position: relative;
      overflow: hidden;
      isolation: isolate;
      transform: translateZ(0);
      will-change: transform, box-shadow;
      width: 100%;
    }
    .gradient-button::after {
      content: "";
      position: absolute; 
      inset: -120% -40%;
      background: radial-gradient(240px 240px at var(--x,50%) var(--y,50%), rgba(255,255,255,.35), transparent 60%);
      opacity: 0; 
      transition: opacity .25s ease;
      z-index: -1;
    }
    .gradient-button:hover::after { opacity: 1; }
    .gradient-button:hover {
      transform: translate3d(0,-2px,0);
      box-shadow: 0 10px 26px rgba(17,17,17,0.25);
    }

    .button-secondary {
      background: transparent;
      color: var(--foreground);
      border: 2px solid var(--border);
      border-radius: 10px;
      padding: 12px 28px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
      transform: translateZ(0);
      will-change: transform;
      width: 100%;
    }
    .button-secondary:hover {
      background: var(--card);
      border-color: var(--primary);
      color: var(--primary);
      transform: translate3d(0,-2px,0);
    }

    /* NAVIGATION - Mobile First */
    nav {
      position: fixed; 
      top: 0; 
      width: 100%;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      z-index: 50;
      padding: 0 12px;
      animation: fade-in .6s ease;
      transform: translateZ(0);
      will-change: transform;
    }
    
    .nav-container {
      display: flex; 
      justify-content: space-between; 
      align-items: center;
      height: 56px; 
      max-width: 1280px; 
      margin: 0 auto;
      gap: 8px;
    }
    
    .logo { 
      display: flex; 
      align-items: center; 
      gap: 6px; 
      font-size: 16px; 
      font-weight: 700;
      flex-shrink: 0;
    }
    
    .logo-img { 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      padding: 6px 8px;
    }
    
    .logo-img img {
      display: block; 
      max-width: 100%; 
      height: auto; 
      max-height: 40px;
      width: auto;
      image-rendering: -webkit-optimize-contrast;
      transition: transform 160ms ease, opacity 160ms ease;
      will-change: transform, opacity;
    }
    
    .logo-img:hover img { 
      transform: scale(1.04); 
      opacity: 0.98; 
    }

    .nav-links { 
      display: none; 
      gap: 24px;
    }
    
    .nav-links a {
      text-decoration: none; 
      cursor: pointer; 
      font-weight: 600;
      color: var(--secondary);
      font-size: 14px;
      position: relative; 
      padding: 4px 0;
      transition: color .25s ease;
      white-space: nowrap;
    }
    
    .nav-links a::after {
      content: ""; 
      position: absolute; 
      left: 0; 
      bottom: -4px; 
      height: 2px; 
      width: 0%;
      background: var(--primary); 
      transition: width .25s ease;
    }
    
    .nav-links a:hover { 
      color: var(--primary); 
    }
    
    .nav-links a:hover::after { 
      width: 100%; 
    }

    .nav-cta { 
      display: none;
      width: auto;
    }

    .mobile-menu-btn {
      width: 24px; 
      height: 24px; 
      display: flex; 
      flex-direction: column;
      justify-content: center; 
      gap: 4px; 
      background: none; 
      border: none; 
      cursor: pointer;
      flex-shrink: 0;
    }
    
    .mobile-menu-btn span {
      width: 24px; 
      height: 2px; 
      background: var(--secondary); 
      transition: all .3s ease;
    }
    
    .mobile-menu-btn.active span:nth-child(1) { 
      transform: rotate(45deg) translate(5px,6px); 
    }
    .mobile-menu-btn.active span:nth-child(2) { 
      opacity: 0; 
    }
    .mobile-menu-btn.active span:nth-child(3) { 
      transform: rotate(-45deg) translate(5px,-6px); 
    }

    .mobile-menu {
      display: none; 
      position: absolute; 
      top: 56px; 
      left: 0; 
      right: 0;
      background: rgba(255,255,255,.98);
      border-bottom: 1px solid var(--border); 
      padding: 12px;
      flex-direction: column; 
      gap: 8px; 
      z-index: 40;
      transform-origin: top;
      animation: fade-in .25s ease;
    }
    
    .mobile-menu.active { 
      display: flex; 
    }
    
    .mobile-menu a, .mobile-menu button {
      display: block; 
      width: 100%; 
      text-align: left; 
      padding: 10px 12px;
      color: var(--secondary); 
      text-decoration: none; 
      cursor: pointer; 
      border: none; 
      background: none; 
      font-weight: 600;
      font-size: 14px;
      border-radius: 6px;
      transition: background-color 0.2s ease;
    }
    
    .mobile-menu a:hover, .mobile-menu button:hover { 
      background-color: var(--card);
      color: var(--primary); 
    }

    /* HERO - Mobile First */
    .hero {
      min-height: 100vh;
      padding-top: 72px; 
      padding-bottom: 48px; 
      padding-left: 12px; 
      padding-right: 12px;
      display: flex; 
      align-items: center; 
      position: relative; 
      overflow: hidden;
      transform: translateZ(0);
    }

    .hero-content {
      display: grid; 
      grid-template-columns: 1fr; 
      gap: 32px; 
      align-items: center;
      max-width: 1280px; 
      margin: 0 auto; 
      width: 100%; 
      z-index: 1;
    }

    .hero-text { 
      display: flex; 
      flex-direction: column; 
      gap: 24px; 
    }
    
    .hero-label {
      color: var(--primary); 
      font-weight: 700; 
      font-size: 12px;
      letter-spacing: 2px; 
      text-transform: uppercase;
      animation: fade-in-up .8s ease-out both;
    }
    
    .hero-title {
      font-size: 36px; 
      font-weight: 800; 
      line-height: 1.2; 
      letter-spacing: -0.5px;
      animation: fade-in-up .9s ease-out .1s both;
      word-break: break-word;
    }
    
    .hero-description {
      font-size: 15px; 
      color: var(--muted-foreground); 
      line-height: 1.8; 
      animation: fade-in-up 1s ease-out .2s both;
    }

    .hero-buttons {
      display: flex; 
      flex-direction: column; 
      gap: 10px; 
      width: 100%;
      animation: fade-in-up 1.05s ease-out .25s both;
    }

    .hero-stats {
      display: grid; 
      grid-template-columns: repeat(3, 1fr);
      gap: 16px; 
      padding-top: 24px; 
      border-top: 1px solid var(--border); 
      margin-top: 16px;
      animation: fade-in-up 1.1s ease-out .3s both;
    }
    
    .stat { 
      display: flex; 
      flex-direction: column; 
      gap: 4px; 
    }
    
    .stat-value {
      font-size: 24px; 
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      -webkit-background-clip: text; 
      -webkit-text-fill-color: transparent; 
      background-clip: text;
    }
    
    .stat-label { 
      font-size: 11px; 
      color: var(--muted-foreground); 
      font-weight: 600; 
    }

    .hero-visual { 
      display: none; 
    }
    
    .hero-visual-carousel {
      position: relative; 
      height: 300px; 
      overflow: hidden; 
      border-radius: 16px;
      border: 1px solid var(--border); 
      background: var(--card);
      box-shadow: 0 12px 30px rgba(17,17,17,0.12);
      transform: translateZ(0);
    }
    
    .carousel-container {
      display: flex; 
      height: 100%;
      animation: carousel-slide 12s infinite ease-in-out;
      will-change: transform;
    }
    
    .carousel-item { 
      min-width: 100%; 
      height: 100%; 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      overflow: hidden; 
    }
    
    .carousel-item img { 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
    }

    /* SERVICES - Mobile First */
    #services { 
      padding: 48px 12px; 
      background: rgba(17,17,17,0.03); 
    }

    .section-header { 
      text-align: center; 
      margin-bottom: 40px; 
    }
    
    .section-header h2 { 
      font-size: 32px; 
      font-weight: 800; 
      margin-bottom: 12px;
      word-break: break-word;
    }
    
    .section-header p { 
      font-size: 15px; 
      color: var(--muted-foreground); 
      max-width: 640px; 
      margin: 0 auto;
    }

    .services-grid {
      display: grid; 
      grid-template-columns: 1fr; 
      gap: 24px; 
      max-width: 1280px; 
      margin: 0 auto;
    }
    
    .service-card {
      padding: 24px; 
      border-radius: 16px; 
      border: 1px solid var(--border);
      background: var(--background); 
      transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
      position: relative; 
      overflow: hidden;
      transform: translateZ(0);
      will-change: transform, box-shadow;
    }
    
    .service-card::before {
      content: ""; 
      position: absolute; 
      inset: -50% -50%;
      background: radial-gradient(300px 300px at var(--mx,50%) var(--my,50%), rgba(212,175,55,.18), transparent 60%);
      opacity: 0; 
      transition: opacity .25s ease;
      pointer-events: none;
    }
    
    .service-card:hover::before { 
      opacity: 1; 
    }
    
    .service-card:hover {
      transform: translate3d(0,-6px,0);
      box-shadow: 0 14px 32px rgba(17,17,17,0.12);
    }
    
    .service-icon {
      font-size: 40px; 
      margin-bottom: 12px; 
      width: 56px; 
      height: 56px; 
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(17,17,17,0.06));
      border: 1px solid var(--border); 
      display: flex; 
      align-items: center; 
      justify-content: center;
      animation: float 3.2s ease-in-out infinite;
      will-change: transform;
      transform: translateZ(0);
    }
    
    .service-title { 
      font-size: 20px; 
      font-weight: 800; 
      margin-bottom: 10px;
    }
    
    .service-description { 
      color: var(--muted-foreground); 
      margin-bottom: 16px;
      font-size: 14px;
    }

    .service-features { 
      display: flex; 
      flex-direction: column; 
      gap: 6px; 
    }
    
    .service-feature { 
      display: flex; 
      align-items: center; 
      gap: 8px; 
      font-size: 13px; 
      color: var(--muted-foreground); 
    }
    
    .service-feature::before {
      content: ""; 
      width: 4px; 
      height: 4px; 
      border-radius: 50%; 
      background: var(--secondary);
      flex-shrink: 0;
    }
    
    .service-cta {
      margin-top: 16px; 
      display: flex; 
      align-items: center; 
      gap: 6px; 
      color: var(--secondary);
      font-weight: 700; 
      transition: gap .25s ease, color .25s ease; 
      cursor: pointer;
      font-size: 14px;
    }
    
    .service-card:hover .service-cta { 
      gap: 10px; 
      color: var(--primary); 
    }

    /* PORTFOLIO - Mobile First */
    #portfolio { 
      padding: 48px 12px; 
    }

    .portfolio-filters {
      display: flex; 
      justify-content: center; 
      gap: 8px; 
      margin-bottom: 32px; 
      flex-wrap: wrap;
    }
    
    .filter-btn {
      padding: 8px 16px; 
      border-radius: 8px; 
      border: 1px solid var(--border);
      background: transparent; 
      color: var(--secondary); 
      font-size: 12px; 
      font-weight: 700; 
      cursor: pointer;
      transition: all .25s ease;
      transform: translateZ(0);
      white-space: nowrap;
    }
    
    .filter-btn.active {
      background: linear-gradient(135deg, var(--secondary), var(--primary));
      color: var(--primary-foreground);
      border-color: transparent;
      box-shadow: 0 6px 16px rgba(17,17,17,0.18);
    }

    .portfolio-container { 
      max-width: 100%; 
      margin: 0 auto; 
      position: relative; 
      overflow: hidden; 
    }
    
    .portfolio-grid {
      display: flex; 
      gap: 16px; 
      overflow-x: auto; 
      padding: 8px 0;
      scroll-behavior: smooth; 
      max-width: 100%; 
      margin: 0 auto;
      padding-left: 0; 
      padding-right: 0;
      -webkit-overflow-scrolling: touch;
    }
    
    .portfolio-grid::-webkit-scrollbar { 
      height: 6px; 
    }
    
    .portfolio-grid::-webkit-scrollbar-track { 
      background: rgba(212,175,55,.12); 
      border-radius: 8px; 
      margin: 0 12px; 
    }
    
    .portfolio-grid::-webkit-scrollbar-thumb { 
      background: var(--secondary); 
      border-radius: 8px; 
    }

    .portfolio-card {
      border-radius: 16px; 
      border: 1px solid var(--border);
      background: rgba(17,17,17,0.03);
      overflow: hidden; 
      transition: transform .3s ease, box-shadow .3s ease;
      cursor: pointer; 
      flex-shrink: 0;
      width: calc(90vw - 8px);
      min-width: calc(90vw - 8px);
      max-width: calc(90vw - 8px);
      transform: translateZ(0);
      will-change: transform, box-shadow;
    }
    
    .portfolio-card.hidden { 
      display: none; 
    }
    
    .portfolio-card:hover {
      transform: translate3d(0,-4px,0);
      box-shadow: 0 12px 24px rgba(17,17,17,0.12);
    }

    .portfolio-image {
      height: 200px; 
      overflow: hidden; 
      position: relative;
      background: rgba(212,175,55,0.08);
    }
    
    .portfolio-image img { 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
      transition: transform .4s ease; 
      will-change: transform; 
    }
    
    .portfolio-image::after {
      content: ""; 
      position: absolute; 
      inset: 0;
      background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35) 100%);
    }
    
    .portfolio-card:hover .portfolio-image img { 
      transform: scale(1.07); 
    }

    .portfolio-content { 
      padding: 16px; 
    }
    
    .portfolio-title { 
      font-size: 16px; 
      font-weight: 800; 
      margin-bottom: 6px; 
    }
    
    .portfolio-description { 
      font-size: 13px; 
      color: var(--muted-foreground); 
    }

    .portfolio-cta {
      margin-top: 12px; 
      display: flex; 
      align-items: center; 
      gap: 6px; 
      color: var(--secondary);
      font-weight: 700; 
      cursor: pointer; 
      transition: gap .25s ease, color .25s ease;
      background: none; 
      border: none; 
      padding: 0; 
      font-size: 13px;
    }
    
    .portfolio-card:hover .portfolio-cta { 
      gap: 8px; 
      color: var(--primary); 
    }

    /* CTA + STATS - Mobile First */
    #cta { 
      padding: 48px 12px; 
    }
    
    .cta-box {
      max-width: 960px; 
      margin: 0 auto; 
      border-radius: 24px; 
      border: 1px solid var(--border);
      background: linear-gradient(135deg, rgba(212,175,55,0.16), rgba(17,17,17,0.06));
      padding: 40px 20px; 
      text-align: center; 
      position: relative; 
      overflow: hidden;
      transform: translateZ(0);
    }
    
    .cta-title { 
      font-size: 28px; 
      font-weight: 800; 
      margin-bottom: 16px;
      word-break: break-word;
    }
    
    .cta-description { 
      font-size: 15px; 
      color: var(--muted-foreground); 
      margin-bottom: 24px; 
      max-width: 640px; 
      margin-left: auto; 
      margin-right: auto;
    }
    
    .cta-buttons { 
      display: flex; 
      flex-direction: column; 
      gap: 12px; 
      justify-content: center; 
      align-items: stretch; 
    }

    #stats-cta { 
      padding: 48px 12px; 
    }
    
    .stats-cta-wrapper {
      max-width: 1280px; 
      margin: 0 auto; 
      display: grid; 
      grid-template-columns: 1fr; 
      gap: 32px; 
      align-items: center;
    }
    
    .stats-cta-image {
      border-radius: 16px; 
      overflow: hidden; 
      border: 1px solid var(--border);
      box-shadow: 0 16px 40px rgba(17,17,17,0.12); 
      transition: transform .3s ease;
      transform: translateZ(0);
      will-change: transform;
    }
    
    .stats-cta-image:hover { 
      transform: translate3d(0,-4px,0); 
    }
    
    .stats-cta-image img { 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
      display: block; 
    }

    .stats-cta-content { 
      display: flex; 
      flex-direction: column; 
      gap: 32px; 
    }
    
    .stats-cta-title { 
      font-size: 28px; 
      font-weight: 800; 
      line-height: 1.2; 
      letter-spacing: -0.5px;
      word-break: break-word;
    }
    
    .stats-cta-description { 
      font-size: 15px;
      color: var(--muted-foreground);
    }

    .stats-grid {
      display: grid; 
      grid-template-columns: 1fr; 
      gap: 20px;
    }
    
    .stat-card {
      padding: 20px;
      background: var(--card);
      border-radius: 12px;
      border: 1px solid var(--border);
    }
    
    .stat-card-value {
      font-size: 32px;
      font-weight: 800;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 8px;
    }
    
    .stat-card-label {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 4px;
    }
    
    .stat-card-desc {
      font-size: 13px;
      color: var(--muted-foreground);
    }

    /* TEAM - Mobile First */
    #team { 
      padding: 48px 12px; 
      background: rgba(17,17,17,0.03);
    }

    .team-grid {
      display: grid; 
      grid-template-columns: 1fr; 
      gap: 24px; 
      max-width: 1280px; 
      margin: 0 auto;
    }
    
    .team-card {
      text-align: center;
      padding: 20px;
      border-radius: 16px;
      border: 1px solid var(--border);
      background: var(--background);
      transition: transform .3s ease, box-shadow .3s ease;
      transform: translateZ(0);
      will-change: transform, box-shadow;
    }
    
    .team-card:hover {
      transform: translate3d(0,-4px,0);
      box-shadow: 0 12px 28px rgba(17,17,17,0.12);
    }
    
   .team-image {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: rgba(212,175,55,0.08); /* keep your existing bg vibe */
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* ✅ this makes it show from top */
  display: block;
}

    
    .team-content {
      text-align: center;
    }
    
    .team-name { 
      font-size: 18px; 
      font-weight: 800; 
      margin-bottom: 4px; 
    }
    
    .team-role {
      color: var(--primary);
      font-weight: 700;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }
    
    .team-bio {
      font-size: 13px;
      color: var(--muted-foreground);
      line-height: 1.6;
    }

    .team-social {
      display: flex;
      gap: 8px;
      justify-content: center;
      margin-top: 12px;
    }
    
    .team-social-btn {
      width: 32px;
      height: 32px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all .25s ease;
    }
    
    .team-social-btn:hover {
      background: var(--primary);
      color: var(--primary-foreground);
      border-color: var(--primary);
    }

    .team-social-btn svg {
      width: 16px;
      height: 16px;
    }

    /* CONTACT - Mobile First */
    #contact { 
      padding: 48px 12px; 
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
      max-width: 1280px;
      margin: 0 auto;
    }

    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .contact-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }

    .contact-icon {
      width: 48px;
      height: 48px;
      min-width: 48px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(17,17,17,0.06));
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
    }

    .contact-icon svg {
      width: 24px;
      height: 24px;
    }

    .contact-details {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .contact-details p:first-child {
      font-weight: 700;
      font-size: 14px;
    }

    .contact-details p:last-child {
      font-size: 14px;
      color: var(--muted-foreground);
    }

    .social-links {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .social-btn {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--secondary);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all .25s ease;
    }

    .social-btn:hover {
      background: var(--primary);
      color: var(--primary-foreground);
      border-color: var(--primary);
      transform: translate3d(0,-2px,0);
    }

    .social-btn svg {
      width: 20px;
      height: 20px;
    }

    .map-wrapper {
      width: 100%;
    }

    .map-container {
      height: 300px;
      border-radius: 16px;
      border: 1px solid var(--border);
      overflow: hidden;
      box-shadow: 0 12px 24px rgba(17,17,17,0.1);
    }

    .map-container iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .contact-form {
      background: var(--card);
      padding: 24px;
      border-radius: 16px;
      border: 1px solid var(--border);
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 16px;
    }

    .form-group label {
      font-weight: 700;
      font-size: 14px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: 8px;
      font-size: 14px;
      font-family: inherit;
      background: var(--background);
      color: var(--foreground);
      transition: border-color .25s ease, box-shadow .25s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
    }

    .form-group textarea {
      resize: vertical;
      min-height: 100px;
    }

    .form-submit {
      margin-top: 8px;
    }

    .success-message {
      display: none;
      text-align: center;
      padding: 40px 20px;
    }

    .success-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      margin: 0 auto 16px;
    }

    .success-title {
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .success-message p {
      color: var(--muted-foreground);
    }
/* =========================
   FOOTER STYLES (UPDATED)
========================= */

footer {
  background: #0b0f1a;
  color: #cbd5e1;
  padding: 60px 0 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.footer-container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ===== MAIN ROW: Logo + Services + Legal in ONE LINE ===== */
.footer-grid {
  display: flex;                 /* row layout */
  justify-content: space-between;
  align-items: flex-start;       /* top aligned */
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

/* make each column proper width */
.footer-grid > div:first-child {
  flex: 1.4;                     /* logo column bigger */
  min-width: 260px;
}

.footer-section {
  flex: 1;                       /* services/legal equal */
  min-width: 180px;
}

/* ===== Brand / Logo ===== */
.footer-brand .logo-img img {
  max-width: 160px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-grid p {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 340px;
  margin: 0;
}

/* ===== Section Headings ===== */
.footer-section h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ===== Normal vertical list (optional) ===== */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
  padding: 2px 0;
}

.footer-section ul li a:hover {
  color: #38bdf8;
  transform: translateY(-2px);
}

/* ===== Social Buttons ===== */
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.8);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #e2e8f0;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  transform: translateY(-3px);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.6);
  color: #38bdf8;
}

/* ===== Footer Bottom ===== */
.footer-bottom {
  padding: 18px 0 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-grid {
    flex-wrap: wrap;            /* allow wrapping on tablet */
  }
}

@media (max-width: 600px) {
  footer {
    padding-top: 45px;
  }

  .footer-grid {
    flex-direction: column;     /* stack on mobile */
    gap: 26px;
  }

  .footer-grid p {
    max-width: 100%;
  }

  .footer-section h4 {
    font-size: 17px;
  }
}
@media (max-width: 600px) {

  /* Services + Legal attributes in one line on mobile */
  .footer-section ul {
    display: flex;
    flex-wrap: wrap;        /* agar space kam ho to next line me wrap ho jaye */
    gap: 8px 14px;          /* items ke darmiyan spacing */
    margin-top: 6px;
  }

  .footer-section ul li {
    margin: 0;              /* vertical spacing remove */
  }

  .footer-section ul li a {
    font-size: 14px;
    padding: 4px 0;
    white-space: nowrap;    /* har item tootay nahi */
  }
}

    /* MODALS */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 100;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }

    .modal.active {
      display: flex;
    }

    .modal-content {
      background: var(--background);
      border-radius: 20px;
      border: 1px solid var(--border);
      padding: 24px;
      max-width: 600px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      animation: fade-in-up .3s ease;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .modal-title {
      font-size: 20px;
      font-weight: 800;
    }

    .modal-close {
      background: transparent;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--muted-foreground);
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-close:hover {
      color: var(--foreground);
    }

    .modal-body {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .modal-section {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .modal-section h3 {
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--primary);
    }

    .modal-section p {
      font-size: 14px;
      color: var(--muted-foreground);
      line-height: 1.6;
    }

    .modal-buttons {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 16px;
    }

    /* SCROLL TO TOP */
    .scroll-top {
      position: fixed; 
      right: 16px; 
      bottom: 16px; 
      z-index: 60;
      width: 44px; 
      height: 44px; 
      border-radius: 10px;
      border: 1px solid var(--border); 
      background: var(--background);
      display: grid; 
      place-items: center; 
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(17,17,17,0.12);
      transform: translate3d(0,120%,0);
      transition: transform .35s ease, opacity .35s ease;
      opacity: 0;
      will-change: transform, opacity;
      font-size: 18px;
      font-weight: 700;
    }
    
    .scroll-top.show {
      transform: translate3d(0,0,0);
      opacity: 1;
    }
    
    .scroll-top:hover {
      transform: translate3d(0,-3px,0);
    }

    /* ===========================
       RESPONSIVE BREAKPOINTS
       =========================== */

    /* TABLET - 640px */
    @media (min-width: 640px) {
      .container { padding: 0 20px; }
      .nav-container { height: 64px; padding: 0 20px; }
      .hero { padding: 80px 20px 60px; }
      #services { padding: 60px 20px; }
      #portfolio { padding: 60px 20px; }
      #cta { padding: 60px 20px; }
      #stats-cta { padding: 60px 20px; }
      #team { padding: 60px 20px; }
      #contact { padding: 60px 20px; }

      .hero-title { font-size: 44px; }
      .section-header h2 { font-size: 40px; }
      .cta-title { font-size: 32px; }
      .stats-cta-title { font-size: 32px; }

      .hero-buttons { flex-direction: row; }
      .cta-buttons { flex-direction: row; }
      .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 32px; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

      .portfolio-card { 
        width: calc((100% - 16px) / 2); 
        min-width: calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
      }

      .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }

      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .team-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* TABLET/DESKTOP - 768px */
    @media (min-width: 768px) {
      .nav-links { display: flex; }
      .nav-cta { display: flex; }
      .mobile-menu-btn { display: none; }

      .hero-content { grid-template-columns: 1fr 1fr; }
      .hero-visual { display: block; }
      .hero-visual-carousel { height: 380px; }

      .services-grid { grid-template-columns: repeat(3, 1fr); }
      .team-grid { grid-template-columns: repeat(3, 1fr); }

      .stats-cta-wrapper { grid-template-columns: 1fr 1fr; gap: 48px; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }

      .portfolio-card { 
        width: calc((100% - 32px) / 3); 
        min-width: calc((100% - 32px) / 3);
        max-width: calc((100% - 32px) / 3);
      }

      .stat-value { font-size: 32px; }
      .stat-card-value { font-size: 36px; }

      .modal-content { padding: 32px; }
    }

    /* DESKTOP - 1024px */
    @media (min-width: 1024px) {
      .team-grid { grid-template-columns: repeat(4, 1fr); }

      .hero-visual-carousel { height: 420px; }
      .team-image { height: 240px;
        
     }
    }

    /* LARGE DESKTOP - 1200px */
    @media (min-width: 1200px) {
      .container { padding: 0 32px; }

      .hero { padding: 100px 32px 80px; }
      #services { padding: 80px 32px; }
      #portfolio { padding: 80px 32px; }
      #cta { padding: 80px 32px; }
      #stats-cta { padding: 80px 32px; }
      #team { padding: 80px 32px; }
      #contact { padding: 80px 32px; }

      .hero-title { font-size: 64px; }
      .section-header h2 { font-size: 48px; }
      .cta-title { font-size: 40px; }
      .stats-cta-title { font-size: 40px; }

      .cta-box { padding: 64px 48px; }

      .stat-value { font-size: 36px; }
      .stat-card-value { font-size: 40px; }
    }

    /* EXTRA LARGE - 1400px */
    @media (min-width: 1400px) {
      .hero-title { font-size: 72px; }
      .section-header h2 { font-size: 56px; }
      .stats-cta-title { font-size: 48px; }
    }

    /* ACCESSIBILITY */
    @media (prefers-reduced-motion: reduce) {
      * { 
        animation-duration: 0.001ms !important; 
        animation-iteration-count: 1 !important; 
        transition-duration: 0.001ms !important; 
      }
      html { scroll-behavior: auto; }
    }

    /* PORTRAIT MODE - EXTRA OPTIMIZATIONS */
    @media (max-height: 600px) and (orientation: portrait) {
      .hero { min-height: auto; padding-top: 72px; }
    }

    /* LANDSCAPE MODE - SMALLER HEIGHTS */
    @media (max-height: 500px) and (orientation: landscape) {
      .hero { min-height: auto; padding-top: 56px; padding-bottom: 32px; }
      .hero-title { font-size: 28px; }
    }

    /* HIGH DPI SCREENS */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
      .blob { width: 280px; height: 280px; }
    }