:root{--ink:#0a2239;--paper:#f2f6f7;--accent:#0e7490;--accent-2:#0f766e;--grad:linear-gradient(120deg,#0e7490,#0f766e 55%,#0a2239 165%);--text:#16323f;--muted:#5b7382;--line:rgba(10,34,57,.16);--white:#fff;--accent-light:#7fd0da;--surface:#e2edf0;--serif:"Cormorant Garamond",Georgia,serif;--sans:"Inter",Arial,sans-serif;--ease:cubic-bezier(.22,1,.36,1);--pad:max(24px,6vw)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--text);font-family:var(--sans);font-size:15px;line-height:1.7;overflow-x:hidden;font-weight:400;letter-spacing:.01em}body.menu-open,body.modal-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{color:inherit}img{display:block;width:100%;height:100%;object-fit:cover}::selection{background:var(--accent);color:var(--white)}.progress{position:fixed;z-index:200;left:0;top:0;width:0;height:2px;background:var(--grad)}
/* .loader{position:fixed;inset:0;z-index:9999;background:var(--ink);display:grid;place-items:center;transition:opacity .8s var(--ease),visibility .8s}.loader.done{opacity:0;visibility:hidden}.loader-inner{position:relative;display:flex;align-items:center;justify-content:center;width:110px;height:110px}.loader-ring{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(255,255,255,.1);border-top-color:var(--accent);animation:spinRing 1.2s linear infinite}.loader-logo{width:70px;height:70px;object-fit:contain;object-position:center;position:relative;z-index:1}.loader-line{position:absolute;bottom:12%;width:120px;height:1px;background:rgba(255,255,255,.1)}.loader-line span{display:block;width:0;height:100%;background:var(--grad);animation:load 1.5s var(--ease) forwards}@keyframes load{to{width:100%}}@keyframes spinRing{to{transform:rotate(360deg)}} */
.site-header{position:fixed;z-index:100;top:0;left:0;width:100%;height:96px;padding:0 var(--pad);display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ink);background:var(--white);border-bottom:1px solid var(--line);transition:height .5s var(--ease),background .5s,color .5s,box-shadow .5s;box-shadow:0 2px 10px rgba(10,34,57,.06)}.site-header.scrolled{height:76px;background:var(--white);color:var(--ink);box-shadow:0 10px 35px rgba(10,34,57,.08);border-color:var(--line)}.brand{display:flex;align-items:center;gap:12px;min-width:245px}.brand-logo{width:auto;height:100px;object-fit:contain;display:block}.footer-logo{height:120px;margin-bottom:18px;background:rgba(242,246,247,.96);padding:12px 16px;border-radius:10px;width:auto;max-width:260px;box-shadow:0 14px 40px rgba(3,18,32,.35)}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border:1px solid currentColor;font:600 19px var(--serif)}.brand-name{font-size:12px;font-weight:700;line-height:1.15;letter-spacing:1.2px}.brand-name small{display:block;margin-top:4px;font-size:8px;font-weight:500;letter-spacing:.7px}.desktop-nav{margin-left:auto;display:flex;gap:12px}.desktop-nav a{position:relative;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:1.5px;transition:all 0.3s ease;padding:8px 12px;border-radius:4px}.desktop-nav a:hover{color:var(--accent);transform:scale(1.05);background:rgba(14,116,144,0.1)}.desktop-nav a:after{content:"";position:absolute;left:0;bottom:-8px;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .35s var(--ease)}.desktop-nav a:hover:after{transform:scaleX(1);transform-origin:left}.header-contact{display:flex;align-items:center;justify-content:center;padding:8px 16px;color:var(--accent);font-size:12px;font-weight:600;letter-spacing:0.5px;border:2px solid var(--accent);border-radius:4px;transition:all 0.3s ease;flex:1;max-width:180px;text-align:center}.header-contact:hover{background:var(--accent);color:var(--white);transform:scale(1.02)}

.header-cta{display:flex;gap:18px;align-items:center;padding:12px 20px;border:1px solid var(--accent);background:var(--accent);color:var(--white);text-transform:uppercase;font-size:11px;font-weight:500;letter-spacing:1.4px;transition:background .3s,color .3s}.header-cta:hover{background:var(--ink);border-color:var(--ink);color:var(--white)}.menu-toggle{display:none;background:none;border:0;width:44px;height:44px;padding:12px;position:relative}.menu-toggle span{position:absolute;width:22px;height:1px;background:currentColor;left:11px;transition:.4s var(--ease)}.menu-toggle span:first-child{top:17px}.menu-toggle span:last-child{top:25px}.menu-toggle.active span:first-child{top:21px;transform:rotate(45deg)}.menu-toggle.active span:last-child{top:21px;transform:rotate(-45deg)}.mobile-menu{position:fixed;z-index:90;inset:0;background:var(--ink);color:var(--paper);padding:120px var(--pad) 40px;opacity:0;visibility:hidden;transform:translateY(-20px);transition:.5s var(--ease)}.mobile-menu.open{opacity:1;visibility:visible;transform:none}.mobile-menu-top{display:flex;justify-content:space-between;font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#999;border-bottom:1px solid #333;padding-bottom:14px}.mobile-menu nav{display:flex;flex-direction:column}.mobile-menu nav a{font:500 clamp(30px,7vw,50px) var(--serif);border-bottom:1px solid #292929;padding:10px 0}.mobile-menu nav em{font:500 9px var(--sans);font-style:normal;color:var(--accent);display:inline-block;width:42px}.mobile-menu>p{color:#999;margin-top:28px;font-size:12px}
/* =============================================
   HERO — ALL 7 ANIMATIONS
   ============================================= */

/* --- Keyframes --- */
/* Years of Experience Badge */
.experience-badge {
  position: absolute;
  top: 20px;
  left: 826px;
  z-index: 4;
}

.badge-circle {
  width: 120px;
  height: 120px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border: 3px solid var(--accent);
  position: relative;
}

.badge-circle::before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
  border: 2px dashed var(--accent);
  border-radius: 50%;
}

.badge-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-family: var(--serif);
}

.badge-text {
  font-size: 10px;
  font-weight: 500;
  color: #2c3e50;
  text-align: center;
  line-height: 1.2;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media(max-width: 800px) {
  .experience-badge {
    top: 15px;
    left: 15px;
  }
  
  .badge-circle {
    width: 90px;
    height: 90px;
  }
  
  .badge-number {
    font-size: 24px;
  }
  
  .badge-text {
    font-size: 8px;
  }
}

@media(max-width: 520px) {
  .experience-badge {
    top: 10px;
    left: 10px;
  }
  
  .badge-circle {
    width: 70px;
    height: 70px;
  }
  
  .badge-number {
    font-size: 18px;
  }
  
  .badge-text {
    font-size: 7px;
  }
}

/* Floating Social Media - Exact Reference Match with Custom Colors */
.floating-social {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2147483647;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    pointer-events: none;
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-social .social-rail {
    pointer-events: auto;
    position: relative;
    z-index: 2147483647;
}

/* Ensure social media icons appear on all sections */
body .floating-social {
    position: fixed !important;
    z-index: 2147483647 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Prevent any section from hiding social media */
.section .floating-social,
.why .floating-social,
.hero .floating-social,
.contact .floating-social,
.footer .floating-social,
.process .floating-social,
.projects .floating-social,
.about .floating-social,
.services .floating-social {
    position: fixed !important;
    z-index: 2147483647 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Override any potential hiding from parent containers */
* .floating-social {
    position: fixed !important;
    z-index: 2147483647 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* Ensure floating social is not affected by overflow hidden */
.floating-social,
.floating-social * {
    transform: none !important;
    clip: none !important;
    clip-path: none !important;
    overflow: visible !important;
}

/* Main container - rounded pill shape with visible border */
.social-rail {
    background: #F7F4EE; /* Warm Ivory */
    border-radius: 8px;
    padding: 15px 8px;
    box-shadow: 0 8px 32px rgba(37, 37, 37, 0.12);
    border: 1.5px solid rgba(37, 37, 37, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    width: 66px;
}

/* Individual social items */
.social-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Icon links - rounded square backgrounds with border lines */
.social-item a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1.5px solid rgba(37, 37, 37, 0.15);
    box-shadow: 0 2px 8px rgba(37, 37, 37, 0.06);
}

.social-item a:hover {
    background: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 37, 37, 0.12);
    border-color: rgba(37, 37, 37, 0.2);
}

/* Icon styling - custom images with better visibility */
.social-rail .custom-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    opacity: 1;
    filter: contrast(1.1) saturate(1.2);
}



/* Icon styling */
.social-rail i {
    font-size: 22px;
}

/* Brand colors - not needed for custom images but keeping for backwards compatibility */
.instagram-icon {
    color: #E1306C;
}

.whatsapp-icon {
    color: #25D366;
}

/* Google multi-color icon - not needed for custom images */
.google-icon {
    background: conic-gradient(from 0deg, #4285F4 0deg 90deg, #EA4335 90deg 180deg, #FBBC05 180deg 270deg, #34A853 270deg 360deg);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    position: relative;
}

/* Social cards - hidden by default */
.social-card {
    position: absolute;
    left: 76px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 50px;
    background: #F7F4EE; /* Warm Ivory */
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(37, 37, 37, 0.12);
    border: 1.5px solid rgba(37, 37, 37, 0.15); /* Visible border on cards */
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    color: #252525; /* Charcoal */
}

/* Individual positioning for each social card */
.social-item[data-social="instagram"] .social-card {
    top: 10%; /* Instagram card positioned higher (reduced by 10%) */
    transform: translateY(-25%);
}

.social-item[data-social="whatsapp"] .social-card {
    top: 40%; /* WhatsApp card in the middle (reduced by 10%) */
    transform: translateY(-40%);
}

.social-item[data-social="google"] .social-card {
    top: 70%;
    transform: translateY(-55%);
}

/* Show card on hover */
.social-item:hover .social-card {
    width: 200px;
    padding: 0 16px 0 12px;
    gap: 12px;
    opacity: 1;
    pointer-events: all;
}

/* Instagram project card - copper brown background */
.project-card {
    background: #8A4827; /* Copper Brown */
    color: #F7F4EE; /* Warm Ivory text */
}

.project-card .card-icon {
    background: rgba(247, 244, 238, 0.2);
    color: #F7F4EE;
}

/* Special styling for project card icon */
.project-icon {
    background: rgba(247, 244, 238, 0.2) !important;
}

/* Card icons with border */
.card-icon {
    width: 32px;
    height: 32px;
    background: rgba(37, 37, 37, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(37, 37, 37, 0.1); /* Border on card icons too */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 16px;
}

/* Custom icon images in cards */
.card-custom-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Card text */
.card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #252525; /* Charcoal */
    display: flex;
    flex-direction: column;
}

.project-card .card-text {
    color: #F7F4EE; /* Warm Ivory */
    font-weight: 600;
}

.project-card .card-text {
    color: #F7F4EE; /* Warm Ivory */
    font-weight: 600;
}

/* Clickable card links */
.card-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.card-link:hover {
    color: inherit;
}

.card-link:hover {
    color: inherit;
}

/* Hover effects on cards */
.social-card:hover {
/* Hover effects on cards with individual positioning maintained */
.social-item[data-social="instagram"]:hover .social-card {
    transform: translateY(-25%) translateX(4px);
    box-shadow: 0 12px 40px rgba(37, 37, 37, 0.15);
}

.social-item[data-social="whatsapp"]:hover .social-card {
    transform: translateY(-40%) translateX(4px);
    box-shadow: 0 12px 40px rgba(37, 37, 37, 0.15);
}

.social-item[data-social="google"]:hover .social-card {
    transform: translateY(-55%) translateX(4px);
    box-shadow: 0 12px 40px rgba(37, 37, 37, 0.15);
}

.project-card:hover {
    background: #7A3A1F; /* Darker copper on hover */
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-social {
        left: 15px;
    }
    
    .social-rail {
        padding: 12px 6px;
        gap: 10px;
        width: 65px;
    }
    
    .social-item a {
        width: 44px;
        height: 44px;
    }
    
    .social-rail i {
        font-size: 20px;
    }
    
    .social-card {
        left: 75px;
        height: 44px;
    }
    
    .social-item:hover .social-card {
        width: 180px;
        padding: 0 14px 0 10px;
        gap: 10px;
    }
    
    .card-icon {
        width: 28px;
        height: 28px;
    }
    
    .card-icon i {
        font-size: 14px;
    }
    
    .card-text {
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .floating-social {
        position: fixed;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        right: auto;
        width: auto;
        background: transparent;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        padding: 0;
    }

    .floating-social .social-rail {
        flex-direction: column;
        width: auto;
        background: #F7F4EE;
        border-radius: 8px;
        padding: 10px 8px;
        gap: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.12);
        border: 1px solid rgba(0,0,0,0.06);
    }

    .social-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        flex: none;
    }

    .social-item a {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border: 1px solid #eee;
        transition: all 0.3s ease;
        margin-bottom: 0;
    }

    .social-item[data-social="instagram"] a,
    .social-item[data-social="whatsapp"] a,
    .social-item[data-social="google"] a {
        background: #fff;
    }

    .custom-icon {
        width: 26px;
        height: 26px;
        filter: none;
    }

    /* Hide expand cards on mobile */
    .social-card {
        display: none !important;
    }

    /* Hide labels on mobile vertical bar */
    .social-item::after {
        display: none;
    }
    .social-item[data-social="instagram"]::after {
        content: "Projects";
    }
    
    .social-item[data-social="whatsapp"]::after {
        content: "Enquire Now";
    }
    
    .social-item[data-social="google"]::after {
        content: "Reviews";
    }
    
    /* Hide desktop cards on mobile */
    .social-card {
        display: none;
    }
    
    /* Add safe area for newer phones */
    .floating-social {
        padding-bottom: max(25px, env(safe-area-inset-bottom));
    }
}

/* =============================================
   ENQUIRY POPUP MODAL
   ============================================= */

/* Popup backdrop and container */
.enquiry-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.7);
    padding-top: 80px;
    overflow-y: auto;
}

.enquiry-popup.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.popup-container {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    margin-bottom: 40px;
}

.enquiry-popup.show .popup-container {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.popup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Left side - Image and branding */
.popup-left {
    position: relative;
    overflow: hidden;
}

.popup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 30px;
    color: white;
}

.popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.popup-badge .badge-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.popup-badge .badge-text {
    font-size: 12px;
    font-weight: 500;
}

.popup-overlay-content h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.popup-overlay-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

/* Right side - Form */
.popup-right {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.popup-header {
    margin-bottom: 30px;
}

.popup-header h2 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.accent-text {
    color: var(--accent);
}

.popup-header p {
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* Form styles */
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.popup-submit-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.popup-submit-btn:hover {
    background: #8a4827;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
}

.form-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin: 15px 0 0 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .popup-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .popup-left {
        min-height: 200px;
    }
    
    .popup-right {
        padding: 30px 25px;
    }
    
    .popup-header h2 {
        font-size: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .popup-right {
        padding: 25px 20px;
    }
    
    .popup-header {
        margin-bottom: 25px;
    }
    
    .popup-header h2 {
        font-size: 22px;
    }
}
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.enquiry-popup.active {
    display: flex;
}

.popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(37, 37, 37, 0.8);
    backdrop-filter: blur(4px); */
}

.popup-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(37, 37, 37, 0.3);
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Close button */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #252525;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: #ffffff;
    transform: scale(1.1);
}

/* Main content layout */
.popup-content {
    display: flex;
    min-height: 500px;
}

/* Left side - Image */
.popup-image {
    flex: 1;
    position: relative;
    background: #F7F4EE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 37, 37, 0.8) 0%, rgba(138, 72, 39, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: #ffffff;
}

.popup-image-overlay h3 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.2;
}

.popup-image-overlay p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.95;
}

.popup-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--serif);
    color: #8A4827;
    background: rgba(247, 244, 238, 0.9);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    text-align: center;
    opacity: 0.9;
    line-height: 1.2;
}

/* Right side - Form */
.popup-form {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.popup-header {
    margin-bottom: 30px;
}

.popup-header h2 {
    font-family: var(--serif);
    font-size: 24px;
    color: #252525;
    margin-bottom: 8px;
    line-height: 1.3;
}

.popup-header p {
    color: #666;
    font-size: 14px;
}

/* Form styling */
.enquiry-form {
    flex: 1;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    background: #F8F9FA;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #8A4827;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(138, 72, 39, 0.1);
}

.phone-group {
    display: flex;
    gap: 0;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    background: #F8F9FA;
    border: 1px solid #E0E0E0;
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    color: #252525;
}

.phone-group input {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.popup-submit-btn {
    width: 100%;
    background: #E67E22;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.popup-submit-btn:hover {
    background: #D35400;
    transform: translateY(-1px);
}

.popup-disclaimer {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 24px;
}

.popup-disclaimer a {
    color: #8A4827;
    text-decoration: none;
}

/* Features section */
.popup-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 20px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-number {
    font-size: 16px;
    font-weight: 700;
    color: #8A4827;
    line-height: 1;
}

.feature-label {
    font-size: 11px;
    color: #666;
    line-height: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .popup-container {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .popup-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .popup-image {
        height: 200px;
    }
    
    .popup-image-overlay {
        padding: 20px;
    }
    
    .popup-image-overlay h3 {
        font-size: 24px;
    }
    
    .popup-stats {
        gap: 12px;
    }
    
    .stat-number {
        font-size: 18px;
        padding: 6px 10px;
    }
    
    .popup-form {
        padding: 30px 20px;
    }
    
    .popup-header h2 {
        font-size: 20px;
    }
    
    .popup-features {
        gap: 12px;
    }
    
    .feature-number {
        font-size: 14px;
    }
    
    .feature-label {
        font-size: 10px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-widget {
        left: 15px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon i {
        font-size: 16px;
    }
    
    .social-card {
        min-width: 160px;
        padding: 10px 14px;
    }
}

@media (max-width: 520px) {
    .social-widget {
        display: none;
    }
}

em {
    font-style: italic;
}

@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes textGlow{0%{text-shadow:1px 1px 2px rgba(255,255,255,0.8)}50%{text-shadow:1px 1px 4px rgba(255,255,255,0.9), 0 0 8px rgba(44,62,80,0.3)}100%{text-shadow:1px 1px 2px rgba(255,255,255,0.8)}}

@keyframes kenBurns{from{transform:scale(1)}to{transform:scale(1.08)}}
@keyframes cinematicReveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0% 0 0)}}
@keyframes splitReveal{from{transform:translateY(110%)}to{transform:translateY(0)}}
@keyframes fadeTranslateUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes wordUp{from{opacity:0;transform:translateY(24px);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes ctaIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes vlineGrow{from{height:0}to{height:100%}}
@keyframes bounce{50%{transform:translateY(8px)}}
@keyframes slideProgressFill{from{width:0}to{width:100%}}

/* --- Hero Base --- */
.hero{position:relative;height:max(900px,110svh);min-height:850px;color:var(--ink);overflow:hidden}

/* Single Hero Banner with Zoom Animation */
.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-banner .hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-banner .hero-media-inner {
  position: absolute;
  inset: 0;
}

.hero-banner .hero-img {
  width: 100%;
  height: 840px;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
}

@keyframes continuousZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* --- Shade --- */
.hero-shade{position:absolute;inset:0;z-index:1;background:none}

/* --- 3. Vertical Line Animation --- */
.hero-vline{position:absolute;z-index:2;left:calc(var(--pad) - 28px);top:0;bottom:0;width:1px;background:rgba(10,34,57,.08);overflow:hidden}
.hero-vline span{position:absolute;top:0;left:0;width:100%;height:0;background:var(--grad);animation:vlineGrow 1.4s .3s var(--ease) forwards}

/* --- Hero Content --- */
.hero-content{position:absolute;z-index:3;left:var(--pad);right:auto;top:calc(30% + 15px);transform:translateY(-50%);padding-top:48px;max-width:min(760px,52vw);text-align:left}

/* --- Eyebrow / Labels --- */
.eyebrow{text-transform:uppercase;font-size:16px;font-weight:500;letter-spacing:3px;margin:0 0 26px;font-family:var(--sans)}
.eyebrow span{color:var(--accent);margin-right:18px}
.hero-eyebrow{opacity:1}
.hero-eyebrow i{font-style:normal;color:var(--accent);margin:0 8px}

/* 4. Fade + Translate Up — eyebrow words */
.hero-eyebrow .hw{display:inline-block;opacity:0;animation:fadeTranslateUp .6s var(--ease) forwards}
.hero-eyebrow .hw:nth-child(1){animation-delay:.2s}
.hero-eyebrow .hw:nth-child(2){animation-delay:.35s}
.hero-eyebrow .hw:nth-child(3){animation-delay:.5s}

/* 5. Split Text Reveal — h1 line by line */
.hero h1{font:600 clamp(36px,4vw,52px)/1.2 var(--serif);letter-spacing:-0.02em;text-transform:none;margin:0 0 24px 0;color:#1a365d;animation:textFloat 6s ease-in-out infinite, textGlow 4s ease-in-out infinite alternate}
.hero h1 em{font-weight:400;text-transform:none;color:var(--accent)}
.hl{display:block;overflow:hidden}
.hm{display:block;transform:translateY(110%);animation:splitReveal .8s var(--ease) forwards}
.hl:nth-child(1) .hm{animation-delay:.5s}
.hl:nth-child(2) .hm{animation-delay:.7s}
.hm .hw{display:inline-block;opacity:0;animation:wordUp .55s var(--ease) forwards}
.hl:nth-child(1) .hw:nth-child(1){animation-delay:.55s}
.hl:nth-child(1) .hw:nth-child(2){animation-delay:.68s}
.hl:nth-child(2) .hw:nth-child(1){animation-delay:.75s}

/* Hero bottom / CTA */
.hero-bottom{margin-top:42px;opacity:0;animation:fadeTranslateUp .7s .9s var(--ease) forwards}
.hero-bottom>p{font-size:16px;line-height:1.6;margin:0;color:#4a5568;font-weight:400;opacity:1;animation:textPulse 8s ease-in-out infinite, textSlide 10s ease-in-out infinite, textColorShift 12s ease-in-out infinite;max-width:100%;width:100%}
.hero-actions{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:16px;justify-content:flex-end}
.cta-item{opacity:0;animation:ctaIn .55s var(--ease) forwards}
.cta-item:nth-child(1){animation-delay:1s}
.cta-item:nth-child(2){animation-delay:1.15s}

/* Scroll cue */
.scroll-cue{position:absolute;z-index:3;right:var(--pad);left:auto;bottom:35px;display:flex;align-items:center;gap:20px;text-transform:uppercase;font-size:9px;letter-spacing:1.5px;color:var(--ink);opacity:0;animation:fadeTranslateUp .6s 1.3s var(--ease) forwards}
.scroll-cue i{font-style:normal;animation:bounce 1.8s 1.8s infinite}

/* Stats */
.hero-stats{position:absolute;z-index:3;left:var(--pad);right:auto;bottom:30px;display:flex;opacity:0;animation:fadeTranslateUp .6s 1.1s var(--ease) forwards}
.hero-stats>div{border-left:1px solid rgba(10,34,57,.2);padding:0 28px}
.hero-stats strong{font:400 30px var(--serif);color:var(--ink)}
.hero-stats sup{color:var(--accent);font-weight:600}
.hero-stats span{display:block;text-transform:uppercase;font-size:8px;letter-spacing:1px;color:var(--muted);margin-top:5px}

/* --- 6. Progressive Slider Progress Indicator --- */
.hero-progress{position:absolute;z-index:4;right:var(--pad);left:auto;bottom:72px;display:flex;gap:10px;align-items:center}
.hpb{border:0;background:none;padding:0;cursor:pointer;display:flex;align-items:center;height:20px}
.hpb span{display:block;width:32px;height:1px;background:rgba(10,34,57,.25);position:relative;overflow:hidden;transition:width .3s}
.hpb.active span{width:56px;background:rgba(10,34,57,.17)}
.hpb.active span::after{content:"";position:absolute;left:0;top:0;height:100%;width:0;background:var(--grad);animation:slideProgressFill 5s linear forwards}

/* --- 7. Parallax — JS-driven via inline transform --- */
.hero-content{will-change:transform}

/* Parallax note: handled via JS */

.button{border:0;display:inline-flex;align-items:center;justify-content:space-between;gap:34px;min-height:52px;padding:0 24px;text-transform:uppercase;font-size:11px;font-weight:500;letter-spacing:1.5px;cursor:pointer;transition:background .35s,color .35s,transform .2s;font-family:var(--sans)}.button-gold{background:var(--grad);color:var(--white)}.button-gold:hover{background:var(--paper);color:var(--ink)}.button-dark{background:var(--ink);color:var(--white)}.button-dark:hover{background:var(--accent)}.button-outline{color:var(--white);border:1px solid rgba(255,255,255,.6)}.button-outline:hover{background:var(--white);color:var(--ink)}.text-link,.arrow-link{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:1.5px;border-bottom:1px solid currentColor;padding-bottom:5px;font-family:var(--sans)}.text-link span,.arrow-link span{margin-left:20px}.scroll-cue{position:absolute;z-index:2;left:var(--pad);bottom:35px;display:flex;align-items:center;gap:20px;text-transform:uppercase;font-size:9px;letter-spacing:1.5px}.scroll-cue i{font-style:normal;animation:bounce 1.8s infinite}@keyframes bounce{50%{transform:translateY(8px)}}.hero-stats{position:absolute;z-index:2;right:var(--pad);bottom:30px;display:flex}.hero-stats>div{border-left:1px solid rgba(255,255,255,.25);padding:0 28px}.hero-stats strong{font:500 30px var(--serif)}.hero-stats sup{color:var(--accent);font-weight:700}.hero-stats span{display:block;text-transform:uppercase;font-size:8px;letter-spacing:1px;color:rgba(255,255,255,.65);margin-top:5px}
.trust-strip{height:40px;background:var(--grad);color:var(--white);display:flex;align-items:center;overflow:hidden}.marquee{display:flex;flex:none;align-items:center;gap:35px;white-space:nowrap;animation:marquee 26s linear infinite}.marquee span{font-size:11px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase}.marquee i{font-style:normal}@keyframes marquee{to{transform:translateX(-50%)}}
.about{position:relative;overflow:hidden}

.about::before{content:"ABOUT";position:absolute;top:20%;left:50%;transform:translate(-50%,-50%);font-size:clamp(120px,15vw,200px);font-weight:900;color:rgba(0,0,0,0.03);z-index:0;pointer-events:none;font-family:var(--serif);text-transform:uppercase;letter-spacing:0.1em;line-height:1}

.section{padding:140px var(--pad);position:relative;z-index:1}.section-intro{display:grid;grid-template-columns:1fr;margin-bottom:80px;text-align:center;position:relative}.section-intro h2,.section-heading h2,.why h2,.estimator h2,.contact h2{font:400 clamp(38px,5vw,72px)/1.1 var(--serif);letter-spacing:-.3px;margin:0}.section h2 em,.why h2 em,.contact h2 em{color:var(--accent);font-weight:500}.about-layout{display:grid;grid-template-columns:56% 1fr;gap:8vw;align-items:center}.about-image{height:650px;position:relative;overflow:hidden}

.about-image video{width:100%;height:100%;object-fit:cover;object-position:center}

.image-index{position:absolute;bottom:0;right:0;background:var(--paper);padding:14px 20px;font-size:10px;letter-spacing:1px}.about-copy .lead{font:400 28px/1.5 var(--serif);margin-top:0;color:var(--ink)}.about-copy>p:not(.lead){color:var(--muted);margin:26px 0 36px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:100px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.metric-grid>div{padding:36px 25px;border-right:1px solid var(--line);display:flex;justify-content:space-between;align-items:end}.metric-grid>div:last-child{border-right:0}.metric-grid strong{font:500 48px var(--serif)}.metric-grid p{text-transform:uppercase;font-size:8px;line-height:1.6;letter-spacing:1px;color:var(--muted);margin:0}.services{background:var(--surface)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:50px;margin-bottom:80px}.section-heading>p{max-width:390px;color:var(--muted);margin-bottom:10px}.service-list{border-top:1px solid var(--line)}.service-row{position:relative;display:grid;grid-template-columns:80px minmax(260px,1fr) 1fr 50px;gap:20px;align-items:center;min-height:130px;border-bottom:1px solid var(--line);transition:background .4s,padding .4s var(--ease)}.service-row:before{content:"";position:absolute;left:0;bottom:-1px;height:2px;width:0;background:var(--grad);transition:width .5s var(--ease)}.service-row:hover{background:var(--paper);padding-left:22px;padding-right:22px}.service-row:hover:before{width:100%}.service-no{font:600 10px var(--sans);color:var(--accent);transition:transform .4s}.service-row:hover .service-no{transform:translateX(8px)}.service-row h3{font:400 clamp(22px,2.6vw,36px)/1.2 var(--serif);margin:0}.service-row p{color:var(--muted);max-width:340px}.service-arrow{font-size:24px;transform:translate(-12px,12px);opacity:0;transition:.4s}.service-row:hover .service-arrow{opacity:1;transform:none}.featured{display:grid;grid-template-columns:52% 48%;min-height:850px;background:var(--grad);color:var(--white)}.featured-image{overflow:hidden}.featured-image img{height:115%;transform:translateY(-7%)}.featured-copy{padding:100px 8vw;display:flex;flex-direction:column;justify-content:center}.featured-copy h2{font:400 clamp(48px,6vw,86px)/.95 var(--serif);text-transform:uppercase;margin:20px 0 30px}.featured-copy h2 em{display:block;font-weight:500}.featured-copy>p{max-width:470px}.featured-copy ul{list-style:none;padding:0;margin:40px 0;border-top:1px solid rgba(255,255,255,.35);display:grid;grid-template-columns:1fr 1fr}.featured-copy li{padding:13px 0;border-bottom:1px solid rgba(255,255,255,.35);font-size:11px;text-transform:uppercase;letter-spacing:.8px}.featured-copy li:before{content:"+";margin-right:12px}.featured-copy .button{align-self:flex-start;margin-top:20px}.process{background:var(--paper)}.timeline{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:0}.timeline-line{position:absolute;left:0;right:0;top:49px;height:1px;background:var(--line)}.timeline-line span{display:block;height:100%;width:0;background:var(--grad);transition:width 1.8s var(--ease)}.timeline.visible .timeline-line span{width:100%}.timeline article{position:relative;padding-right:25px}.timeline article b{font-size:9px;color:var(--accent)}.timeline article i{display:block;position:relative;z-index:1;width:9px;height:9px;margin:26px 0 38px;background:var(--paper);border:2px solid var(--accent);border-radius:50%}.timeline article h3{font:500 19px/1.25 var(--serif);margin:0 0 15px}.timeline article p{font-size:11px;color:var(--muted);max-width:130px}.filters{display:flex;gap:24px}.filters button{border:0;border-bottom:1px solid transparent;background:none;padding:5px 0;cursor:pointer;text-transform:uppercase;font-size:9px;letter-spacing:1px}.filters button.active{color:var(--accent);border-color:var(--accent)}.project-grid{display:grid;grid-template-columns:1.2fr .8fr;grid-auto-rows:430px;gap:22px}.project{position:relative;border:0;padding:0;overflow:hidden;cursor:pointer;text-align:left;background:var(--ink)}.project-tall{grid-row:span 2}.project-wide{grid-column:2}.project-left{grid-column:1;grid-row:3}.project img{transition:transform .9s var(--ease)}.project:hover img{transform:scale(1.06)}.project-overlay{position:absolute;inset:0;padding:32px;color:var(--white);display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(transparent 35%,rgba(0,0,0,.76));opacity:.8;transition:opacity .4s}.project:hover .project-overlay{opacity:1}.project-overlay small{text-transform:uppercase;letter-spacing:1.2px;font-size:9px;color:#ddd}.project-overlay strong{font:500 32px var(--serif);margin:7px 0}.project-overlay em{font-style:normal;text-transform:uppercase;font-size:9px;letter-spacing:1px;transform:translateY(20px);opacity:0;transition:.4s}.project:hover .project-overlay em{transform:none;opacity:1}.project.hidden{display:none}.why{position:relative;overflow:hidden;background:var(--ink);color:var(--paper);padding:140px var(--pad)}.blueprint{position:absolute;inset:0;background-image:linear-gradient(rgba(14,116,144,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(14,116,144,.09) 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(90deg,transparent,#000)}.why-head{position:relative;display:grid;grid-template-columns:28% 1fr;margin-bottom:100px}.why-grid{position:relative;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #1e4a5f}.why-grid article{padding:36px 28px 20px 0;border-right:1px solid #1e4a5f;min-height:260px}.why-grid article+article{padding-left:28px}.why-grid b{font-size:9px;color:var(--accent)}.why-grid h3{font:500 24px/1.25 var(--serif);margin:55px 0 18px}.why-grid p{font-size:12px;color:#999}.estimator{display:grid;grid-template-columns:.8fr 1.2fr;gap:10vw}.estimator-intro>p:last-child{max-width:430px;color:var(--muted);margin-top:35px}.calculator{display:grid;grid-template-columns:1fr 1fr;gap:28px 22px;padding:46px;background:var(--surface);border-top:3px solid var(--accent)}.field{display:flex;flex-direction:column;gap:8px}.field.full{grid-column:1/-1}.field label{font-size:9px;text-transform:uppercase;font-weight:700;letter-spacing:1px}.field label span{color:var(--muted);font-weight:500}.field input,.field select,.field textarea{width:100%;border:0;border-bottom:1px solid #aaa;background:transparent;border-radius:0;padding:11px 0;outline:none;color:var(--text);transition:border .3s}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent)}.choice{display:grid;grid-template-columns:1fr 1fr}.choice label input{position:absolute;opacity:0}.choice label span{display:block;border:1px solid #bbb;padding:14px 16px;text-align:center;color:var(--muted);cursor:pointer}.choice label+label span{border-left:0}.choice label input:checked+span{background:var(--ink);color:var(--white);border-color:var(--ink)}.calculator .button{align-self:start}.estimate-result{border-left:1px solid var(--accent);padding-left:20px;display:flex;flex-direction:column}.estimate-result>span{font-size:9px;text-transform:uppercase;letter-spacing:1px}.estimate-result strong{font:500 27px var(--serif);margin:6px 0}.estimate-result small{font-size:9px;color:var(--muted)}.estimate-result a{font-size:9px;text-transform:uppercase;font-weight:700;margin-top:12px}.testimonials{background:var(--surface)}.testimonial-wrap{position:relative;max-width:950px;margin:0 auto}.quote-mark{font:500 150px/1 var(--serif);color:var(--accent);height:95px}.testimonial-stage blockquote{font:400 clamp(24px,3.5vw,42px)/1.45 var(--serif);margin:0 0 45px}.testimonial-author strong{font-size:11px;text-transform:uppercase;letter-spacing:1px}.testimonial-author span{display:block;color:var(--muted);font-size:11px;margin-top:5px}.slider-footer{margin-top:60px;padding-top:25px;border-top:1px solid var(--line);display:flex;justify-content:space-between}.slider-buttons{display:flex;gap:8px}.slider-buttons button,.modal-nav button{width:48px;height:48px;border:1px solid var(--line);background:transparent;cursor:pointer;transition:.3s}.slider-buttons button:hover{background:var(--accent);color:var(--white);border-color:var(--accent)}.slider-progress{display:flex;align-items:center;gap:12px;font-size:9px}.slider-progress i{display:block;width:100px;height:1px;background:#bbb}.slider-progress b{display:block;height:1px;background:var(--grad);transition:width .4s}.big-stats{display:grid;grid-template-columns:repeat(4,1fr);background:var(--grad);color:var(--white);padding:70px var(--pad)}.big-stats>div{border-right:1px solid rgba(255,255,255,.35);text-align:center}.big-stats>div:last-child{border:0}.big-stats strong{font:500 clamp(48px,6vw,84px) var(--serif)}.big-stats p{text-transform:uppercase;font-size:9px;letter-spacing:2px}.banner{height:760px;position:relative;color:var(--white);display:flex;align-items:center}.banner>img,.banner-shade{position:absolute;inset:0}.banner-shade{background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.16))}.banner-content{position:relative;margin-left:var(--pad);max-width:690px}.banner h2{font:400 clamp(48px,6vw,88px)/.95 var(--serif);text-transform:uppercase;margin:20px 0 30px}.banner h2 em{font-weight:500;text-transform:none}.banner-content>p:not(.eyebrow){max-width:520px;color:#ddd}.banner-content>div{display:flex;gap:12px;margin-top:35px}.contact{display:grid;grid-template-columns:.85fr 1.15fr;gap:10vw}.contact-info>p:not(.eyebrow){color:var(--muted);max-width:430px;margin:30px 0 55px}.contact dl{display:grid;grid-template-columns:1fr 1fr;gap:25px}.contact dt{font-size:8px;text-transform:uppercase;color:var(--accent);letter-spacing:1px}.contact dd{font-size:12px;margin:6px 0 0}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:25px 22px}.error{font-size:9px;color:var(--accent);min-height:12px}.field.invalid input,.field.invalid textarea{border-color:var(--accent)}.form-status{grid-column:1/-1;font-size:12px;margin:0}.form-status.success{color:#0f766e}.form-status.failure{color:var(--accent)}footer{background:var(--ink);color:var(--white);padding:90px var(--pad) 24px}.footer-main{display:grid;grid-template-columns:2.2fr 1fr 1.2fr 1fr;gap:50px;padding-bottom:75px}.footer-brand h2{font:500 30px/1.25 var(--serif);text-transform:uppercase}.footer-brand h2 small{display:block;font:500 9px var(--sans);letter-spacing:2px;margin-top:7px;color:var(--accent)}.footer-brand p,.footer-main>div>p{color:rgba(255,255,255,.75);font-size:14px}.footer-main h3{color:var(--accent);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:2.5px;margin:8px 0 24px;font-family:var(--sans)}.footer-main>div:not(:first-child)>a{display:block;color:rgba(255,255,255,.8);font-size:14px;margin:10px 0;transition:color .2s;font-weight:300}.footer-main>div:not(:first-child)>a:hover{color:var(--white)}.socials{display:flex;gap:8px;margin-top:25px}.socials a{display:grid!important;place-items:center;width:36px;height:36px;border:1px solid #444;margin:0!important}.footer-bottom{border-top:1px solid #333;padding-top:22px;padding-bottom:8px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;color:rgba(255,255,255,.55);font-size:12px;padding-right:70px}.footer-bottom div{display:flex;gap:22px}.footer-bottom a{color:rgba(255,255,255,.55);transition:color .2s}.footer-bottom a:hover{color:var(--white)}.footer-bottom .technest-link{color:var(--accent);font-weight:600}.footer-bottom .technest-link:hover{color:var(--white)}

.project-modal{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:0;background:var(--ink);color:var(--paper);opacity:0;transform:scale(.98);transition:opacity .4s,transform .4s var(--ease)}.project-modal[open]{display:grid;grid-template-columns:58% 42%;opacity:1;transform:none}.project-modal::backdrop{background:rgba(0,0,0,.8)}.modal-image{height:100vh}.modal-copy{padding:12vh 6vw;display:flex;flex-direction:column;justify-content:center}.modal-copy h2{font:500 clamp(45px,5vw,75px)/1.05 var(--serif);margin:10px 0 35px}.modal-meta{display:grid;grid-template-columns:repeat(3,1fr);padding:22px 0;border-top:1px solid #1e4a5f;border-bottom:1px solid #1e4a5f}.modal-meta span{display:block;color:#777;font-size:8px;text-transform:uppercase}.modal-meta b{font-size:10px}.modal-copy>p:last-of-type{color:#999;max-width:520px;margin:32px 0}.modal-close{position:absolute;z-index:2;right:24px;top:20px;border:1px solid #555;background:var(--ink);color:var(--white);width:48px;height:48px;font-size:28px;cursor:pointer}.modal-nav{display:flex;justify-content:space-between;margin-top:auto}.modal-nav button{width:auto;padding:0 18px;color:var(--paper);border-color:#444}.reveal{opacity:0;transform:translateY(45px);transition:opacity .9s var(--ease),transform .9s var(--ease)}.reveal.visible{opacity:1;transform:none}.image-reveal{clip-path:inset(0 0 100% 0);transition:clip-path 1.2s var(--ease)}.image-reveal.visible{clip-path:inset(0)}
@keyframes fadeUp{to{opacity:1;transform:none}}@media(max-width:1100px){.desktop-nav{display:none}.header-cta{margin-left:auto}.menu-toggle{display:block}.section{padding-top:110px;padding-bottom:110px}.hero-stats{display:none}.featured-copy{padding:80px 6vw}.metric-grid strong{font-size:38px}.project-grid{grid-auto-rows:350px}}@media(max-width:800px){:root{--pad:22px}.site-header{height:76px}.brand{min-width:0}.brand-name{display:none}.header-cta{display:none}.hero{height:100svh;min-height:680px}.hero-shade{background:none}.hero-content{top:43%}.hero h1{font-size:clamp(58px,18vw,85px)}.hero-bottom{grid-template-columns:1fr;gap:28px;margin-top:28px}.hero-bottom>p{font-size:13px}.hero-actions{gap:18px}.scroll-cue{bottom:25px}.section{padding-top:88px;padding-bottom:88px}.section-intro,.why-head{grid-template-columns:1fr;gap:15px;margin-bottom:50px}.section-intro h2,.section-heading h2,.why h2,.estimator h2,.contact h2{font-size:45px}.about-layout{grid-template-columns:1fr;gap:45px}.about-image{height:470px}.about-copy .lead{font-size:22px}.metric-grid{grid-template-columns:1fr 1fr;margin-top:60px}.metric-grid>div:nth-child(2){border-right:0}.metric-grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.metric-grid>div{padding:26px 12px}.metric-grid strong{font-size:35px}.section-heading{display:block;margin-bottom:45px}.section-heading>p{margin-top:24px}.service-row{grid-template-columns:40px 1fr 30px;min-height:100px}.service-row p{display:none}.featured{grid-template-columns:1fr}.featured-image{height:520px}.featured-copy{padding:70px var(--pad)}.featured-copy h2{font-size:55px}.featured-copy ul{grid-template-columns:1fr}.timeline{display:block;padding-left:36px}.timeline-line{left:4px;right:auto;top:0;bottom:0;width:1px;height:auto}.timeline-line span{height:0;width:100%!important;transition:height 1.8s var(--ease)}.timeline.visible .timeline-line span{height:100%}.timeline article{padding:0 0 38px 30px}.timeline article i{position:absolute;left:-36px;top:4px;margin:0}.timeline article h3 br{display:none}.timeline article p{max-width:none}.filters{margin-top:30px;overflow-x:auto}.project-grid{grid-template-columns:1fr;grid-auto-rows:480px}.project-tall,.project-wide{grid-row:auto;grid-column:auto}.why{padding:88px var(--pad)}.why-grid{grid-template-columns:1fr 1fr}.why-grid article:nth-child(2){border-right:0}.why-grid article{min-height:230px}.estimator{grid-template-columns:1fr;gap:45px}.calculator{padding:28px}.testimonials .section-intro{margin-bottom:10px}.big-stats{grid-template-columns:1fr 1fr;gap:35px 0}.big-stats>div:nth-child(2){border-right:0}.banner{height:700px}.banner-content{margin-right:var(--pad)}.banner h2{font-size:56px}.contact{grid-template-columns:1fr;gap:60px}.footer-main{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.project-modal[open]{grid-template-columns:1fr;overflow-y:auto}.modal-image{height:45vh}.modal-copy{padding:50px var(--pad);min-height:55vh}.modal-nav{margin-top:40px}}@media(max-width:520px){.hero-eyebrow{font-size:8px;line-height:1.8;max-width:300px}.hero h1{font-size:55px}.hero-bottom>p{max-width:350px}.scroll-cue{display:none}
.trust-strip{height:40px}.about-image{height:390px}.section-heading h2,.section-intro h2,.why h2,.estimator h2,.contact h2{font-size:39px}.service-row h3{font-size:24px}.featured-image{height:420px}.featured-copy h2{font-size:46px}.project-grid{grid-auto-rows:430px}.project-overlay{padding:22px}.why-grid{grid-template-columns:1fr}.why-grid article{border-right:0;border-bottom:1px solid #1e4a5f;min-height:0;padding:28px 0!important}.why-grid h3{margin:25px 0 12px}.calculator,.contact-form{grid-template-columns:1fr}.calculator .field,.contact-form .field{grid-column:1}.choice{grid-template-columns:1fr 1fr}.estimate-result{grid-column:1}.testimonial-stage blockquote{font-size:25px}.big-stats{padding:55px var(--pad)}.big-stats strong{font-size:45px}.banner h2{font-size:47px}.banner-content>div{flex-direction:column;align-items:flex-start}.contact dl{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr}.footer-brand{grid-column:auto}.footer-bottom{flex-direction:column;gap:12px}.modal-meta{grid-template-columns:1fr;gap:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}.image-reveal{clip-path:none}.cursor,.cursor-dot{display:none}}

/* Hero professional refresh */
.hero{color:var(--ink)}
.hero-media img{object-position:center center}
.hero-shade{background:none}
.hero-grid{opacity:0}
.site-header{color:var(--ink);border-color:rgba(10,34,57,.12);background:rgba(242,246,247,.18);backdrop-filter:blur(6px)}
.text-link{color:var(--ink)}
@media(max-width:1100px){.hero-content{max-width:62vw;padding-top:96px}}
@media(max-width:800px){.hero-content{max-width:none;padding-top:30px;top:calc(30% + 15px);left:var(--pad);transform:translateY(-50%);text-align:left}.hero-actions{flex-direction:column;align-items:flex-start}.hero-vline{display:none}.hero-progress{bottom:55px}}
@media(max-width:520px){.hero-eyebrow{max-width:280px}.hero-progress{display:none}}
@keyframes heroDrift{from{transform:scale(1.035) translateX(1%)}to{transform:scale(1) translateX(0)}}

/* Banner refinement — scoped to the opening slider only. */
.hero{height:min(840px,92svh);min-height:650px;color:var(--white);isolation:isolate;background:transparent}
.hero-slider{background:var(--ink);perspective:1200px}
.hero-slide{opacity:0;visibility:hidden;z-index:0;transform:scale(1.025);transition:opacity 1s ease,visibility 1s ease,transform 1.3s var(--ease)}
.hero-slide.active{opacity:1;visibility:visible;z-index:2;transform:scale(1)}
.hero-slide.leaving{opacity:0;visibility:visible;z-index:1;transform:scale(.985);transition:opacity 1s ease,transform 1.3s var(--ease)}
.hero-media-inner,.hero-slide.active .hero-media-inner{clip-path:none;animation:none}
.hero-media-inner::after{content:"";position:absolute;inset:0;pointer-events:none}
.hero-slide.active .hero-media-inner::after{animation:copperSweep 1.35s .08s var(--ease) both}
.hero-img{object-position:center;transform:scale(1.075);filter:saturate(.82) contrast(1.04);will-change:transform,filter;transition:filter 1.2s ease;animation:subtleZoom 15s ease-in-out infinite}
.hero-slide.active .hero-img{animation:bannerImageDrift 7.5s ease-out both;filter:saturate(.96) contrast(1.03)}
.hero-slide.leaving .hero-img{animation:none;transform:scale(1.12)}
@keyframes textFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

@keyframes textPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.005); }
}

@keyframes textSlide {
  0%, 100% { transform: translateX(0px); }
  25% { transform: translateX(2px); }
  75% { transform: translateX(-2px); }
}

@keyframes textColorShift {
  0%, 100% { color: #4a5568; }
  33% { color: #2d3748; }
  66% { color: #1a202c; }
}

@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 5px rgba(26, 54, 93, 0.3); }
  50% { text-shadow: 0 0 15px rgba(26, 54, 93, 0.6), 0 0 25px rgba(26, 54, 93, 0.4); }
}

@keyframes subtleZoom {
  0% { transform: scale(1.075); }
  50% { transform: scale(1.09); }
  100% { transform: scale(1.075); }
}

@keyframes bannerImageDrift{from{transform:scale(1.14) translate3d(1.5%,0,0)}to{transform:scale(1.025) translate3d(0,0,0)}}
@keyframes copperSweep{0%{transform:translateX(-125%)}100%{transform:translateX(125%)}}
.hero-shade{background:none;pointer-events:none}
.hero-vline{background:rgba(255,255,255,.18)}
.hero-content{position:absolute;z-index:3;left:50%;right:auto;top:15%;transform:translate(-50%,-50%);padding-top:68px;max-width:720px;text-align:center}
.hero .hero-eyebrow{color:rgba(255,255,255,.82);font-size:9px;letter-spacing:1.5px;line-height:2}
.hero .hero-eyebrow .hw{color:inherit;margin-right:0}
.hero h1{line-height:.92;letter-spacing:0;text-shadow:0 3px 30px rgba(3,18,32,.2);}
.hero h1 em{color:var(--accent-light)}
.hero-bottom{margin-top:29px}
.hero-bottom>p{font-size:14px;line-height:1.65;max-width:400px;margin:0 0 26px}
.hero .text-link{color:var(--white)}
.hero .button-gold:hover{background:var(--paper);color:var(--ink)}
.hero .scroll-cue{color:rgba(255,255,255,.78);bottom:25px;left:var(--pad);right:auto}
.hero .hero-stats{bottom:36px;right:var(--pad)}
.hero .hero-stats>div{border-color:rgba(255,255,255,.35)}
.hero .hero-stats strong{color:var(--white)}
.hero .hero-stats span{color:rgba(255,255,255,.72)}
.hero-navigation{position:absolute;z-index:5;right:var(--pad);left:auto;bottom:90px;display:flex;align-items:end;gap:26px}
.hero .hero-progress{position:static;display:flex;gap:18px;align-items:end}
.hero .hpb{height:auto;width:112px;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:8px;padding:5px 0;background:none;color:rgba(255,255,255,.62);transition:color .3s ease,transform .3s var(--ease)}
.hero .hpb:hover,.hero .hpb.active{color:var(--white);transform:translateY(-2px)}
.hero .hpb .hpb-number{display:block;width:auto;height:auto;background:none;overflow:visible;font-size:10px;line-height:1;letter-spacing:1px;color:inherit}
.hero .hpb .hpb-track{display:block;width:100%;height:2px;background:rgba(255,255,255,.28);position:relative;overflow:hidden;transition:none}
.hero .hpb .hpb-track::after{content:"";position:absolute;inset:0;background:var(--accent-light);transform:scaleX(0);transform-origin:left}
.hero .hpb.active .hpb-track::after{animation:bannerTimeline 6.5s linear forwards}
@keyframes bannerTimeline{to{transform:scaleX(1)}}

/* Enhanced mobile slide indicators */
.hero-slide-indicator {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 8px;
  z-index: 6;
}

.hero-slide-dot {
  width: 12px;
  height: 4px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
  cursor: pointer;
  transition: background .3s, width .3s;
}

.hero-slide-dot.active {
  background: var(--accent-light);
  width: 24px;
}

@media(max-width: 800px) {
  .hero-slide-indicator {
    display: flex;
  }
}
.hero .hpb .hpb-label{display:block;width:auto;height:auto;background:none;overflow:visible;white-space:nowrap;text-transform:uppercase;font-size:9px;letter-spacing:.7px;color:inherit}
.hero .hpb .hpb-label::after,.hero .hpb .hpb-number::after{display:none}
.hero-arrows{display:flex;gap:7px;padding-bottom:7px}
.hero-arrow{height:40px;width:40px;flex:none;display:grid;place-items:center;border:1px solid rgba(255,255,255,.48);border-radius:50%;background:rgba(10,34,57,.16);backdrop-filter:blur(8px);color:var(--white);font-size:18px;line-height:1;cursor:pointer;transition:background .3s,border-color .3s,transform .3s var(--ease)}
.hero-arrow:hover{background:var(--accent);border-color:var(--accent);transform:translateY(-3px)}
.hero-arrow:focus-visible,.hero .hpb:focus-visible{outline:2px solid var(--accent-light);outline-offset:4px}
.hero-slide-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.hero-content{max-width:680px;left:var(--pad);text-align:left}.hero-stats{display:none}}
/* Hero play/pause button for mobile */
.hero-play-pause {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(10,34,57,.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .2s;
  z-index: 6;
}

.hero-play-pause:hover {
  background: var(--accent);
  transform: translateX(-50%) scale(1.1);
}

.hero-play-pause:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

@media(max-width:800px){.hero{height:min(850px,100svh);min-height:750px}.hero-shade{background:none}.hero-content{top:calc(30% + 15px);max-width:none;padding-top:25px;left:var(--pad);transform:translateY(-50%);text-align:left}.hero h1{font-size:clamp(28px,6vw,42px)}.hero .hero-progress{gap:12px}.hero .hpb{width:82px}.hero .hpb .hpb-label{font-size:8px;white-space:normal;line-height:1.2}.hero-navigation{bottom:71px}.hero .scroll-cue{bottom:21px;left:var(--pad)}.hero-arrows{gap:5px}.hero-arrow{width:36px;height:36px}.hero-play-pause{display:flex}}
@media(max-width:520px){.hero{height:min(800px,100svh);min-height:700px}.hero-content{top:calc(30% + 15px);padding-top:20px;left:var(--pad);transform:translateY(-50%);text-align:left}.hero h1{font-size:clamp(24px,7vw,32px)}.hero .hero-eyebrow{font-size:8px;letter-spacing:1px;max-width:280px}.hero .hero-eyebrow i{margin:0 3px}.hero-bottom{margin-top:22px}.hero-bottom>p{font-size:12px;margin-bottom:20px;max-width:280px}.hero .hero-actions{gap:15px;justify-content:flex-start;flex-direction:column;align-items:flex-start}.hero .hero-progress{display:flex;gap:8px;justify-content:center}.hero .hpb{width:60px;height:48px;padding:8px 4px;border:1px solid rgba(255,255,255,.3);border-radius:4px;background:rgba(10,34,57,.15);backdrop-filter:blur(4px)}.hero .hpb .hpb-number{font-size:11px;font-weight:600}.hero .hpb .hpb-track{height:3px;margin:4px 0}.hero .hpb .hpb-label{display:none}.hero-navigation{bottom:55px;gap:12px;justify-content:center}.hero .scroll-cue{font-size:7px;left:var(--pad)}.hero-play-pause{bottom:15px;width:48px;height:48px;font-size:18px}}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-slide.leaving{transition:none}.hero-slide.active .hero-img,.hero-slide.active .hero-media-inner::after,.hero .hpb.active .hpb-track::after{animation:none}.hero .hpb.active .hpb-track::after{transform:scaleX(1)}}

/* Mineral theme: keep copper accents readable against dark petrol surfaces. */
.mobile-menu nav em,.why h2 em,.why-grid b,.why .eyebrow span,footer .footer-brand h2 small,footer .footer-main h3,footer .footer-bottom .technest-link,.project-modal .eyebrow span,.hero h1 em,.hero .hero-eyebrow i,.hero .hero-stats sup{color:var(--accent-light)}
.hero .hero-vline span,.hero .hpb .hpb-track::after{background:var(--accent-light)}
.hero .hero-arrow:focus-visible,.hero .hpb:focus-visible{outline-color:var(--accent-light)}

/* Keep visually hidden radio controls inside their option on narrow screens. */
.choice label{position:relative;overflow:hidden}
.choice label input{width:1px;height:1px;inset:50% auto auto 50%}

/* Mobile optimizations and improvements */
@media (hover: none) and (pointer: coarse) {
  /* Touch device optimizations */
  .hero .hpb, .hero-arrow, .hero-slide-dot, .hero-play-pause {
    min-height: 44px;
    min-width: 44px;
  }
  
  .hero .hpb:hover, .hero-arrow:hover {
    transform: none; /* Remove hover transforms on touch */
  }
  
  .hero-slide {
    /* Optimize for touch scrolling */
    -webkit-overflow-scrolling: touch;
  }
}

/* Improve performance on mobile */
@media (max-width: 768px) {
  .hero-slide .hero-img {
    will-change: transform;
    transform: scale(1.025);
  }
  
  .hero-slide.active .hero-img {
    animation-duration: 6s; /* Slightly longer for mobile */
  }
  
  /* Reduce motion for better battery life on mobile */
  @media (prefers-reduced-motion: no-preference) {
    .hero-slide {
      transition-duration: 0.7s;
    }
  }
}

/* Landscape mobile specific adjustments */
@media (max-width: 800px) and (orientation: landscape) {
  .hero {
    height: 100vh;
    min-height: 500px;
  }
  
  .hero-content {
    top: 45%;
    padding-top: 20px;
  }
  
  .hero h1 {
    font-size: clamp(48px, 10vw, 75px);
  }
  
  .hero-navigation {
    bottom: 40px;
  }
  
  .hero-play-pause {
    bottom: 10px;
  }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-slide .hero-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Keep the supplied banner photography and navigation legible on every slide. */
.hero-shade{background:none}
.site-header{background:var(--paper);backdrop-filter:none}
@media(max-width:800px){.hero-shade{background:none}}

/* Minimal fix for services content alignment only */
.service-row {
    display: block !important;
    padding: 25px 0 !important;
}

.service-row h3 {
    display: block !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}

.service-row p {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    clear: both !important;
    width: 70% !important;
    line-height: 1.6 !important;
}

.service-arrow {
    float: right !important;
    margin-top: -30px !important;
}

/* Video Testimonials - Like Reference Image */
.video-testimonials-grid {
    display: flex;
    overflow: hidden;
    gap: 24px;
    margin-top: 60px;
    max-width: 100%;
    position: relative;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.marquee-container {
    display: flex;
    animation: marquee 45s linear infinite;
    gap: 24px;
    min-width: 100%;
}

.marquee-container:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover for better user experience */
.video-testimonials-grid:hover .marquee-container {
    animation-play-state: paused;
}

/* Add subtle entrance animation */
.video-testimonial {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Projects See More Button */
.projects-see-more {
    text-align: center;
    margin-top: 60px;
}

.projects-see-more .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
}

.projects-see-more .button:hover {
    transform: translateY(-2px);
    background: var(--white);
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Gallery Page Styles */
.gallery-page {
    padding-top: 0;
}

.gallery-page .site-header {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
}

.gallery-page .site-header .desktop-nav {
    display: flex;
}

.gallery-page .mobile-menu {
    display: none;
}

@media (max-width: 900px) {
    .gallery-page .site-header .desktop-nav {
        display: none;
    }
    
    .gallery-page .mobile-menu {
        display: block;
    }
}

.gallery-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--light) 0%, #f8f9fa 100%);
    text-align: center;
}

.gallery-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--text);
    margin: 20px 0;
    line-height: 1.2;
}

.gallery-hero h1 em {
    color: var(--accent);
    font-style: italic;
}

.gallery-hero p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 0;
}

.gallery-grid-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    grid-auto-rows: 250px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f0f0f0;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 34, 57, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-overlay h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.gallery-overlay p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

/* Gallery Grid Variations */
.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-wide {
    grid-column: span 2;
}

.gallery-tall {
    grid-row: span 2;
}

/* Gallery CTA Section */
.gallery-cta {
    padding: 100px 20px;
    background: var(--light);
    text-align: center;
}

.gallery-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.gallery-cta h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--text);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.gallery-cta h2 em {
    color: var(--accent);
    font-style: italic;
}

.gallery-cta p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 40px;
}

.gallery-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Gallery Page Footer Fixes */
.gallery-page footer {
    background: #0a2239;
    color: var(--light);
    padding: 80px 0 40px;
}

.gallery-page .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.gallery-page .footer-content > div:first-child {
    max-width: 400px;
}

.gallery-page .footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 24px;
    background: var(--white);
    padding: 12px;
    border-radius: 8px;
}

.gallery-page .footer-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.gallery-page .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-page .footer-contact a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.gallery-page .footer-contact a:hover {
    color: var(--accent);
}

.gallery-page .footer-content h3 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 20px 0;
}

.gallery-page .footer-content nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
}

.gallery-page .footer-content nav a:hover {
    color: var(--white);
}

.gallery-page .footer-content > div:nth-child(2),
.gallery-page .footer-content > div:nth-child(3),
.gallery-page .footer-content > div:nth-child(4) {
    display: flex;
    flex-direction: column;
}

.gallery-page .footer-content > div:nth-child(2) a,
.gallery-page .footer-content > div:nth-child(3) a,
.gallery-page .footer-content > div:nth-child(4) a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    margin-bottom: 12px;
    line-height: 1.4;
}

.gallery-page .footer-content > div:nth-child(2) a:hover,
.gallery-page .footer-content > div:nth-child(3) a:hover,
.gallery-page .footer-content > div:nth-child(4) a:hover {
    color: var(--white);
}

.gallery-page .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
}

.gallery-page .footer-bottom span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.gallery-page .technest-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.gallery-page .technest-link:hover {
    color: var(--white);
}

/* Responsive Footer */
@media (max-width: 900px) {
    .gallery-page .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .gallery-page footer {
        padding: 60px 0 30px;
    }
    
    .gallery-page .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 16px;
    }
    
    .gallery-page .footer-content > div:first-child {
        max-width: 100%;
    }
    
    .gallery-page .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 30px 16px 0;
        margin-top: 40px;
    }
}
@media (max-width: 900px) {
    .gallery-hero {
        padding: 60px 0;
    }
    
    .gallery-grid-section {
        padding: 40px 16px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
        grid-auto-rows: 200px;
    }
    
    .gallery-large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-wide {
        grid-column: span 1;
    }
    
    .gallery-tall {
        grid-row: span 1;
    }
    
    .gallery-cta {
        padding: 60px 16px;
    }
    
    .gallery-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        grid-auto-rows: 180px;
    }
    
    .gallery-overlay {
        padding: 16px;
    }
    
    .gallery-overlay h3 {
        font-size: 18px;
    }
    
    .gallery-overlay p {
        font-size: 13px;
    }
}

.video-testimonial {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10, 34, 57, 0.08);
    border: 1px solid var(--line);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 350px;
    width: 350px;
    flex-shrink: 0;
}

.video-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 34, 57, 0.12);
}

.video-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f8f9fa;
    overflow: hidden;
    flex-shrink: 0;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    margin-left: 3px; /* Slight offset to center visually */
}

.video-location {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

.tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.testimonial-content h4 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.testimonial-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
    flex-grow: 1;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .video-testimonials-grid {
        mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
        -webkit-mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    }
    
    .marquee-container {
        animation-duration: 35s;
    }
    
    .video-testimonial {
        min-width: 300px;
        width: 300px;
    }
    
    .video-container {
        height: 220px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-content h4 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .video-testimonials-grid {
        margin-top: 40px;
        mask: linear-gradient(90deg, transparent, white 2%, white 98%, transparent);
        -webkit-mask: linear-gradient(90deg, transparent, white 2%, white 98%, transparent);
    }
    
    .marquee-container {
        animation-duration: 30s;
        gap: 16px;
    }
    
    .video-testimonial {
        min-width: 280px;
        width: 280px;
    }
    
    .video-container {
        height: 200px;
    }
    
    .testimonial-content {
        padding: 16px;
    }
    
    .testimonial-content h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .testimonial-content p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .tag {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .video-location {
        font-size: 11px;
        padding: 4px 8px;
    }
}


/* Hero Form Modal Backdrop */
.hero-form-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(2px) !important;
  z-index: 2147483646 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

.hero-form-backdrop.form-hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Hero Form Card */
.hero-form-card {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2147483647 !important;
  background: white !important;
  border-radius: 16px !important;
  width: 850px !important;
  max-width: 90vw !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
  max-height: 75vh !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: auto !important;
  isolation: isolate !important;
  will-change: transform !important;
}

.hero-form-card.form-hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.hero-form-wrapper {
  display: grid !important;
  grid-template-columns: 300px 1fr !important;
  max-height: 75vh !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 1 !important;
}

.hero-form-image {
  position: relative !important;
  overflow: hidden !important;
  height: 100% !important;
  width: 100% !important;
  z-index: 1 !important;
}

.hero-form-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hero-form-content {
  padding: 25px 30px !important;
  overflow-y: auto !important;
  max-height: 75vh !important;
  position: relative !important;
  background: white !important;
  z-index: 1 !important;
}

.hero-form-close {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  color: white !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  font-size: 20px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.3s ease !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

.hero-form-close:hover {
  background: rgba(0, 0, 0, 0.7) !important;
}

.hero-form-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 10;
}

.hero-form-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hero-form-eyebrow {
  font-size: 9px;
  color: #0a7ea4;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.hero-form-title {
  font-size: 24px;
  margin-bottom: 8px;
  line-height: 1.2;
  color: #0a2239;
  font-family: var(--serif);
  font-weight: 600;
}

.hero-form-description {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 16px;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.form-row {
  width: 100%;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  border: 1px solid #ddd;
  padding: 9px 11px;
  border-radius: 5px;
  font-size: 12px;
  font-family: inherit;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  background: white;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: #0a7ea4;
  box-shadow: 0 0 0 3px rgba(10, 126, 164, 0.1);
}

.hero-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.hero-form textarea {
  resize: vertical;
  min-height: 50px;
  max-height: 80px;
}

.hero-form-submit {
  background: #0a7ea4;
  color: white;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-form-submit:hover {
  background: #086684;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 126, 164, 0.3);
}

.hero-form-submit svg {
  transition: transform 0.3s ease;
}

.hero-form-submit:hover svg {
  transform: translateX(3px);
}

.form-disclaimer {
  font-size: 10px;
  color: #777;
  line-height: 1.4;
  margin: 6px 0 0 0;
  display: flex;
  align-items: flex-start;
}

.hero-form-cancel {
  background: transparent;
  color: #999;
  font-weight: 500;
  padding: 6px;
  border: none;
  cursor: pointer;
  font-size: 11px;
  transition: color 0.3s ease;
  text-decoration: underline;
}

.hero-form-cancel:hover {
  color: #000;
}

@media (max-width: 1400px) {
  .hero-form-card {
    width: 680px;
  }
  
  .hero-form-wrapper {
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 1200px) {
  .hero-form-card {
    width: 600px;
  }
  
  .hero-form-wrapper {
    grid-template-columns: 240px 1fr;
  }
  
  .hero-form-content {
    padding: 30px 25px;
  }
}

@media (max-width: 900px) {
  .hero-form-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    width: calc(100% - 40px);
    max-width: 600px;
  }
  
  .hero-form-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-form-image {
    height: 200px;
  }
}


/* Ensure social icons stay above popup backdrop */
.floating-social {
  z-index: 99999 !important;
}

.floating-social .social-rail {
  z-index: 99999 !important;
}


/* Ensure popup form shows on ALL sections - Same pattern as floating social */
body .hero-form-backdrop,
.section .hero-form-backdrop,
.hero .hero-form-backdrop,
.about .hero-form-backdrop,
.services .hero-form-backdrop,
.projects .hero-form-backdrop,
.contact .hero-form-backdrop,
.footer .hero-form-backdrop,
.process .hero-form-backdrop,
.why .hero-form-backdrop,
.estimator .hero-form-backdrop,
.testimonials .hero-form-backdrop,
.banner .hero-form-backdrop,
main .hero-form-backdrop,
header .hero-form-backdrop {
  position: fixed !important;
  z-index: 2147483646 !important;
  pointer-events: auto !important;
}

body .hero-form-card,
.section .hero-form-card,
.hero .hero-form-card,
.about .hero-form-card,
.services .hero-form-card,
.projects .hero-form-card,
.contact .hero-form-card,
.footer .hero-form-card,
.process .hero-form-card,
.why .hero-form-card,
.estimator .hero-form-card,
.testimonials .hero-form-card,
.banner .hero-form-card,
main .hero-form-card,
header .hero-form-card {
  position: fixed !important;
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}

/* Prevent any overflow hidden from hiding the popup - Same as social media */
.hero-form-backdrop,
.hero-form-card {
  transform: none;
  clip: none !important;
  clip-path: none !important;
}

.hero-form-backdrop *,
.hero-form-card * {
  visibility: visible !important;
}


/* Force all sections to stay behind the popup form */
section,
.section,
.hero,
.about,
.services,
.projects,
.contact,
.footer,
.process,
.why,
main,
header {
  position: relative !important;
  z-index: 1 !important;
}

/* Ensure form shows above everything */
body > .hero-form-backdrop,
body > .hero-form-card {
  z-index: 2147483647 !important;
}


/* Site Loading Screen */
.site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
}

.site-loader.loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 120px;
  height: auto;
  margin-bottom: 30px;
  animation: logoFade 1s ease-in-out infinite alternate;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(14, 116, 144, 0.15);
  border-top-color: #0e7490;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes logoFade {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* Mobile hamburger menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  margin-left: auto;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #0a2239;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 800px) {
  .mobile-menu-btn {
    display: flex !important;
  }

  .header-contact {
    display: none !important;
  }

  .desktop-nav {
    display: none !important;
  }
}


/* ── Mobile Hero Banner Fix ── */
@media (max-width: 800px) {
  .hero-banner .hero-img {
    height: 100% !important;
    min-height: 100svh !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero-banner,
  .hero-banner .hero-media,
  .hero-banner .hero-media-inner {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Move experience badge so it doesn't overlap heading */
  .experience-badge {
    top: auto !important;
    bottom: 120px !important;
    left: auto !important;
    right: 20px !important;
  }

  /* Fix hero content text on mobile */
  .hero-content {
    top: 35% !important;
    left: 20px !important;
    right: 20px !important;
    max-width: 100% !important;
    padding-top: 0 !important;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 44px) !important;
    color: var(--white) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
  }

  .hero-bottom p {
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
  }

  /* Add dark overlay on mobile for text readability */
  .hero-shade {
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%) !important;
    display: block !important;
  }
}


/* =============================================
   ENQUIRY POPUP — clean fixed overlay
   ============================================= */

/* Overlay: fixed, covers full viewport */
.eq-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 34, 57, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Visible state */
.eq-overlay.eq-open {
  opacity: 1;
  visibility: visible;
}

/* Modal card: NOT fixed — just centered inside overlay */
.eq-modal {
  position: relative;
  background: #F7F4EE;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  box-shadow: 0 4px 40px rgba(0,0,0,0.25), 0 1px 4px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.eq-overlay.eq-open .eq-modal {
  transform: translateY(0);
}

/* Close button */
.eq-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.eq-close:hover { background: rgba(0,0,0,0.7); }

/* Left image */
.eq-image {
  overflow: hidden;
}

.eq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right form */
.eq-form-wrap {
  padding: 32px 30px;
  overflow-y: auto;
  max-height: 90vh;
  background: #F7F4EE;
}

.eq-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0e7490;
  margin: 0 0 8px;
}

.eq-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: #0a2239;
  margin: 0 0 8px;
  line-height: 1.2;
}

.eq-desc {
  font-size: 13px;
  color: #555;
  margin: 0 0 20px;
  line-height: 1.6;
}

/* Fields */
.eq-field {
  margin-bottom: 12px;
}

.eq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.eq-field input,
.eq-field select,
.eq-row input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 13px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  appearance: none;
}

.eq-field input:focus,
.eq-field select:focus,
.eq-row input:focus {
  outline: none;
  border-color: #0e7490;
  box-shadow: 0 0 0 3px rgba(14,116,144,0.1);
}

.eq-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* Submit */
.eq-submit {
  width: 100%;
  padding: 13px;
  background: #0e7490;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s, transform 0.2s;
}

.eq-submit:hover {
  background: #0a5f73;
  transform: translateY(-1px);
}

/* Cancel */
.eq-cancel {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: none;
  border: none;
  font-size: 12px;
  color: #999;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  transition: color 0.2s;
}

.eq-cancel:hover { color: #333; }

/* Responsive */
@media (max-width: 700px) {
  .eq-modal {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }

  .eq-image {
    height: 180px;
  }

  .eq-form-wrap {
    padding: 24px 20px;
  }

  .eq-row {
    grid-template-columns: 1fr;
  }
}


/* ── Mobile Bottom Bar ── */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 520px) {
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
    padding: 10px 0 max(16px, env(safe-area-inset-bottom));
    align-items: center;
    justify-content: space-around;
  }

  .mbb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    text-decoration: none;
    color: #444;
    font-size: 11px;
    font-weight: 500;
    font-family: var(--sans);
  }

  .mbb-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 10px;
    background: #f5f5f5;
    padding: 6px;
    display: block;
  }

  .mbb-whatsapp {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  }

  .mbb-whatsapp i {
    font-size: 26px;
    color: #ffffff;
  }

  .mbb-enquire {
    color: #25D366;
    font-weight: 600;
  }

  .mbb-divider {
    width: 1px;
    height: 40px;
    background: #eeeeee;
    flex-shrink: 0;
  }

  /* Push page content above bottom bar */
  body {
    padding-bottom: 80px;
  }
}


/* Hide left vertical social bar on mobile */
@media (max-width: 520px) {
  .floating-social {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}


/* ── FINAL: Hide left social bar on mobile only ── */
@media (max-width: 520px) {
  html body .floating-social,
  html body * .floating-social {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}


/* ── Mobile popup form fix ── */
@media (max-width: 520px) {
  .eq-overlay {
    align-items: flex-start;
    padding: 60px 12px 90px;
  }

  .eq-modal {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    width: 100%;
  }

  /* Hide image on mobile - show form only */
  .eq-image {
    display: none;
  }

  .eq-form-wrap {
    padding: 20px 18px;
    max-height: none;
  }

  .eq-title {
    font-size: 20px;
  }

  .eq-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .eq-row .eq-field {
    margin-bottom: 10px;
  }
}


/* Reduce hero banner height */
.hero {
  height: 85vh !important;
  min-height: unset !important;
  max-height: 85vh !important;
}


/* Show full banner image without cropping */
.hero-banner .hero-img,
.hero-media-inner img,
.hero-img {
  object-fit: contain !important;
  object-position: center bottom !important;
}


/* Show full hero image - no cropping */
.hero-banner,
.hero-banner .hero-media,
.hero-banner .hero-media-inner {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-banner .hero-img {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  animation: none !important;
}


/* Full width hero image */
.hero-banner .hero-img {
  width: 100% !important;
  height: auto !important;
  object-fit: fill !important;
  min-width: 100% !important;
  transform: none !important;
}


/* =============================================
   PREMIUM CONSULTATION POPUP
   ============================================= */

/* --- Overlay --- */
.cp-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 34, 57, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cp-overlay.cp-open {
  opacity: 1;
  visibility: visible;
}

/* --- Modal --- */
.cp-modal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(10, 34, 57, 0.45),
    0 8px 24px rgba(10, 34, 57, 0.2);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cp-overlay.cp-open .cp-modal {
  transform: scale(1) translateY(0);
}

/* --- Close Button --- */
.cp-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(10, 34, 57, 0.7);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.cp-close:hover {
  background: rgba(225, 29, 72, 0.85);
  border-color: transparent;
  transform: rotate(90deg);
}

/* --- LEFT PANEL --- */
.cp-left {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.cp-left-bg {
  position: absolute;
  inset: 0;
}

.cp-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- RIGHT PANEL --- */
.cp-right {
  background: #ffffff;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
}

.cp-right::-webkit-scrollbar {
  width: 4px;
}

.cp-right::-webkit-scrollbar-track {
  background: transparent;
}

.cp-right::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

.cp-right-inner {
  padding: 36px 36px 32px;
}

.cp-eyebrow-right {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #0e7490;
  margin: 0 0 8px;
}

.cp-right-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: #0a2239;
  margin: 0 0 8px;
  line-height: 1.2;
}

.cp-right-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

/* --- Form --- */
.cp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cp-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #475569;
}

.cp-field label span {
  color: #e11d48;
  margin-left: 2px;
}

.cp-field input,
.cp-field select,
.cp-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 13px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-family: "Inter", Arial, sans-serif;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
  outline: none;
}

.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
  border-color: #0e7490;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.cp-field input::placeholder,
.cp-field textarea::placeholder {
  color: #94a3b8;
}

.cp-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475569' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-color: #f8fafc;
  padding-right: 36px;
  cursor: pointer;
}

.cp-field textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* Terms */
.cp-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
}

.cp-terms input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #0e7490;
}

.cp-terms a {
  color: #0e7490;
  text-decoration: underline;
}

/* Submit Button */
.cp-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #0e7490 0%, #0f766e 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(14, 116, 144, 0.35);
  margin-top: 4px;
}

.cp-submit:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.4);
}

.cp-submit:active {
  transform: translateY(0);
}

.cp-submit i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.cp-submit:hover i {
  transform: translateX(4px);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 860px) {
  .cp-modal {
    grid-template-columns: 1fr 1fr;
    max-width: 720px;
  }

  .cp-left-heading {
    font-size: 26px;
  }

  .cp-right-inner {
    padding: 28px 28px 24px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .cp-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .cp-modal {
    grid-template-columns: 1fr;
    max-width: 100%;
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
  }

  /* Hide image panel on mobile, keep just a slim header strip */
  .cp-left {
    min-height: auto;
    height: 130px;
  }

  .cp-left-content {
    padding: 20px 20px 18px;
  }

  .cp-eyebrow-left {
    margin-bottom: 6px;
  }

  .cp-left-heading {
    font-size: 20px;
    margin-bottom: 0;
  }

  .cp-left-desc,
  .cp-benefits {
    display: none;
  }

  .cp-right {
    max-height: calc(92vh - 130px);
  }

  .cp-right-inner {
    padding: 20px 18px 24px;
  }

  .cp-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cp-right-heading {
    font-size: 20px;
  }

  .cp-close {
    top: 12px;
    right: 12px;
  }
}


/* Popup field error state */
.cp-field input.cp-error,
.cp-field select.cp-error,
.cp-field textarea.cp-error {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1) !important;
}

.cp-terms.cp-error {
  color: #e11d48;
}

/* ── Process Cards Redesign ── */
.process {
  background: var(--paper);
  padding: 80px var(--pad);
}

.process .section-intro {
  text-align: center;
  margin-bottom: 60px;
}

.process .section-intro .eyebrow {
  color: var(--accent);
}

.process .section-intro h2 {
  color: var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.process-card:hover {
  background: rgba(14, 116, 144, 0.18);
  border-color: rgba(14, 116, 144, 0.5);
  transform: translateY(-4px);
}

.process-card-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  opacity: 0.85;
}

.process-card-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.3;
}

.process-card-body p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-card {
    padding: 28px 24px;
  }
}
