/*
 * Absolute Waterproofing - Premium Luxury Design System
 * Redesigned: 2026
 * Theme: Midnight Luxury (Deep Navy, Pure White & Champagne Gold)
 */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0A1128;         /* Midnight Navy (Main base) */
    --primary-light: #152042;   /* Card base / Dark highlight */
    --accent-gold: #7BC5E3;     /* Pure Metallic Gold */
    --accent-gold-light: #F3E5AB;/* Soft Champagne Gold */
    --accent-gold-dark: #AA7C11; /* Dark Gold */
    --accent-cyan: #00E5FF;     /* Glowing Aqua (representing water security) */
    
    /* Layout Backgrounds */
    --bg-dark: #060B1E;         /* Deep Midnight */
    --bg-light: #F8F9FD;        /* Soft Gray-Blue */
    --bg-card-light: #FFFFFF;
    --bg-card-dark: rgba(21, 32, 66, 0.4);
    
    /* Text Colors */
    --text-light: #F4F6F9;
    --text-dark: #0A1128;
    --text-muted-light: #94A3B8;
    --text-muted-dark: #64748B;
    
    /* Layout Tokens */
    --max-width: 1200px;
    --header-height: 85px;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    
    /* Smooth Transitions & Shadows */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s ease;
    
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 15px 50px rgba(10, 17, 40, 0.08);
    --shadow-luxury: 0 30px 70px rgba(6, 11, 30, 0.15);
    --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.15);
}

/* Base resets & scroll behavior */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-quick);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-dark);
}

/* Interactive custom radial backgrounds (Glowing circles) */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, rgba(20, 32, 66, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(40px);
}

/* Common Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.section-padding {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px auto;
}

.section-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-gold);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: var(--accent-gold);
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 25px;
}

.section-desc {
    color: var(--text-muted-dark);
    font-size: 17px;
    line-height: 1.7;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
    background: var(--primary);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 17, 40, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.btn-text {
    padding: 0;
    background: transparent;
    color: var(--accent-gold);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-text::after {
    content: '→';
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-quick);
}

.btn-text:hover::after {
    transform: translateX(6px);
}

/* Glassmorphic Sticky Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(6, 11, 30, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 75px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: var(--shadow-luxury);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-light);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hamburger overlay */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 28px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    position: absolute;
    transition: var(--transition-smooth);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.inner-page-header {
    background: var(--primary) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
}

/* Luxury Multi-Column Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 0 40px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 0.8fr 1.6fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer-brand h3 span {
    color: var(--accent-gold);
}

.footer-brand p {
    color: var(--text-muted-light);
    margin-bottom: 30px;
    font-size: 15px;
    max-width: 340px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--accent-gold);
    color: var(--primary);
    border-color: var(--accent-gold);
    transform: translateY(-4px) rotate(360deg);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 1.5px;
    background: var(--accent-gold);
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-muted-light);
    font-size: 14px;
    display: inline-block;
    letter-spacing: 0.02em;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(6px);
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-muted-light);
}

.footer-contact i {
    color: var(--accent-gold);
    font-size: 18px;
    margin-top: 3px;
}

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

.footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.partner-logo-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted-light);
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted-light);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* Inner Banner Header Utility */
.inner-banner {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #152244 100%);
    padding: 180px 0 100px 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inner-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.03) 0%, transparent 80%);
}

.inner-banner h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.breadcrumbs a {
    color: var(--text-muted-light);
}

.breadcrumbs a:hover {
    color: var(--accent-gold);
}

.breadcrumbs span {
    color: var(--accent-gold);
}

/* Premium Card Components with glass borders */
.luxury-card {
    background: var(--bg-card-light);
    border: 1px solid rgba(10, 17, 40, 0.06);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.luxury-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(212, 175, 55, 0.25);
}

.luxury-card:hover::before {
    opacity: 1;
}

/* Responsive Table Styling */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: var(--bg-card-light);
    border: 1px solid rgba(10, 17, 40, 0.08);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
}

.premium-table th {
    background-color: var(--primary);
    color: var(--accent-gold);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 20px 24px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.premium-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(10, 17, 40, 0.05);
    color: var(--text-dark);
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.premium-table tr:nth-child(even) td {
    background-color: rgba(248, 249, 253, 0.6);
}

.premium-table tr:hover td {
    background-color: rgba(212, 175, 55, 0.04);
}

/* Form inputs with gold border highlight */
.luxury-input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(10, 17, 40, 0.12);
    border-radius: var(--border-radius-sm);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    color: var(--primary);
    transition: var(--transition-quick);
    background-color: var(--bg-light);
}

.luxury-input:focus {
    border-color: var(--accent-gold);
    background-color: #FFFFFF;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .container { padding: 0 24px; }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 34px; }
    .section-padding { padding: 80px 0; }
    
    .hamburger { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
        box-shadow: -15px 0 40px rgba(0,0,0,0.4);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    .nav-link { font-size: 16px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .inner-banner h1 { font-size: 38px; }
}

/* Hero Specific Fixes */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 680px;
    background: linear-gradient(135deg, rgba(6, 11, 30, 0.5) 0%, rgba(21, 32, 66, 0.4) 100%), 
                url('../images/extracted_img_69.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    padding-bottom: 100px;
    overflow: hidden;
}

.hero h1 {
    color: #FFFFFF !important;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--accent-gold);
    background: linear-gradient(120deg, var(--accent-gold) 0%, #A2E2FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    font-size: 19px;
    margin-bottom: 40px;
    max-width: 650px;
}


/* ==========================================================================
   Solutions Page Interactive Tabs & Procedures
   ========================================================================== */

.tab-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
    position: relative;
    margin-top: 20px;
}

.tab-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 110px;
    z-index: 10;
}

.tab-btn {
    text-align: left;
    padding: 18px 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    background: #FFFFFF;
    border: 1px solid rgba(10, 17, 40, 0.08);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    letter-spacing: 0.01em;
}

.tab-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold-dark);
    transform: translateX(5px);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-medium), 0 0 15px rgba(212, 175, 55, 0.15);
}

.tab-content {
    background: #FFFFFF;
    border: 1px solid rgba(10, 17, 40, 0.06);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: panelFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes panelFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-detail-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.solution-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid rgba(10, 17, 40, 0.06);
    padding-bottom: 25px;
}

.solution-meta h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.warranty-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    white-space: nowrap;
}

.solution-desc-large {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--text-muted-dark);
    margin-bottom: 10px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 45px;
}

.spec-column h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.spec-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2.5px;
    background: var(--accent-gold);
}

/* Steps System */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 4px 10px rgba(10, 17, 40, 0.15);
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-muted-dark);
    line-height: 1.55;
}

/* Benefits System */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-list li {
    font-size: 14.5px;
    color: var(--text-muted-dark);
    position: relative;
    padding-left: 28px;
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--accent-gold-dark);
    font-weight: 800;
    font-size: 16px;
}

/* Responsive Solutions Tab Styles */
@media (max-width: 1024px) {
    .tab-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .tab-menu {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        position: static;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        display: inline-block;
        padding: 14px 20px;
    }
    
    .tab-content {
        padding: 35px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* ==========================================================================
   About Page Luxury Layouts & Interactive Timelines
   ========================================================================== */

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.history-visual {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 55px 40px;
    box-shadow: var(--shadow-luxury);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.history-visual::before {
    content: '';
    position: absolute;
    left: 55px;
    top: 50px;
    bottom: 50px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-gold) 0%, rgba(212, 175, 55, 0.08) 100%);
}

.history-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 30px 30px 30px 55px;
    margin-bottom: 25px;
    position: relative;
    transition: var(--transition-smooth);
}

.history-card:last-child {
    margin-bottom: 0;
}

.history-card::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 36px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 4px solid #152042;
    box-shadow: 0 0 12px var(--accent-gold);
    z-index: 5;
    transition: var(--transition-quick);
}

.history-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.25);
    transform: translateX(6px);
}

.history-card:hover::before {
    transform: scale(1.2);
    background: #FFFFFF;
}

.history-year {
    position: static;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: inline-block;
    letter-spacing: 0.02em;
    line-height: 1;
}

.history-card h3 {
    font-size: 19px;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: 700;
}

.history-card p {
    font-size: 14.5px;
    color: var(--text-muted-light);
    line-height: 1.6;
}

/* Vision & Mission Row */
.vision-mission-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    background: #FFFFFF;
    border: 1px solid rgba(10, 17, 40, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(212, 175, 55, 0.20);
}

.vm-card i {
    font-size: 36px;
    color: var(--accent-gold-dark);
    background: rgba(212, 175, 55, 0.06);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.vm-card h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.vm-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-muted-dark);
    line-height: 1.6;
}

.vm-card ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold-dark);
    font-weight: 700;
}

/* Team Cards Grid */
.team-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #152244 100%);
    color: var(--text-light);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 5;
}

.team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.team-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
}

.team-card h3 {
    font-size: 28px;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.team-role {
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 25px;
}

.team-bio {
    font-size: 15.5px;
    color: var(--text-muted-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.team-contact-btn {
    align-self: flex-start;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
    transition: var(--transition-quick);
}

.team-contact-btn:hover {
    background: var(--accent-gold);
    color: var(--primary) !important;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

/* Strategic Partnerships */
.partners-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.partner-showcase-card {
    background: #FFFFFF;
    border: 1px solid rgba(10, 17, 40, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(212, 175, 55, 0.2);
}

.partner-logo-box {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.08em;
    margin-bottom: 25px;
    padding: 16px 28px;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(10, 17, 40, 0.08);
    display: inline-block;
    min-width: 220px;
    box-shadow: var(--shadow-soft);
}

.partner-logo-box span {
    color: var(--accent-gold-dark);
}

.partner-showcase-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.partner-showcase-card p {
    font-size: 15px;
    color: var(--text-muted-dark);
    line-height: 1.65;
}

/* Responsive About Page Styles */
@media (max-width: 1024px) {
    .history-grid { grid-template-columns: 1fr; gap: 50px; }
    .vision-mission-row { grid-template-columns: 1fr; gap: 30px; }
    .team-grid { grid-template-columns: 1fr; gap: 30px; }
    .partners-row-grid { grid-template-columns: 1fr; gap: 30px; }
    .team-card { padding: 35px; }
    .vm-card { padding: 35px; }
    .partner-showcase-card { padding: 35px; }
}


/* ==========================================================================
   Luxury Styling System (Gradients, Glassmorphism, Premium Hover Effects)
   ========================================================================== */

.gold-text-gradient {
    background: linear-gradient(135deg, #7BC5E3 0%, #A2E2FC 50%, #5BB3D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.gold-btn-gradient {
    background: linear-gradient(135deg, #7BC5E3 0%, #A2E2FC 50%, #5BB3D8 100%) !important;
    color: #0A1128 !important;
    border: none !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25) !important;
    transition: var(--transition-smooth) !important;
}

.gold-btn-gradient:hover {
    background: linear-gradient(135deg, #A2E2FC 0%, #7BC5E3 50%, #8E734B 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.45) !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 10px 30px rgba(10, 17, 40, 0.03) !important;
    transition: var(--transition-smooth) !important;
}

.glass-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.08) !important;
    border-color: rgba(197, 168, 128, 0.35) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

.dark-glass-card {
    background: rgba(10, 17, 40, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    transition: var(--transition-smooth) !important;
}

.dark-glass-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(197, 168, 128, 0.4) !important;
    background: rgba(10, 17, 40, 0.8) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
}

/* Enhancing Global Resets & Elements */
.section-subtitle {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #7BC5E3 0%, #A2E2FC 50%, #5BB3D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 44px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    color: var(--primary) !important;
    margin-bottom: 20px;
}

.section-title span {
    background: linear-gradient(135deg, #7BC5E3 0%, #A2E2FC 50%, #5BB3D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Lightbox Modal Animation Fixes */
.cert-modal img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-luxury);
    border: 1px solid rgba(255,255,255,0.1);
}


/* ==========================================================================
   Luxury White Header Styling (Sample Site Nina Percept Alignment)
   ========================================================================== */

.header {
    background: #FFFFFF !important;
    box-shadow: 0 4px 25px rgba(10, 17, 40, 0.04) !important;
    border-bottom: 1px solid rgba(10, 17, 40, 0.05) !important;
    padding: 12px 0 !important;
}

.header .nav-menu {
    gap: 22px !important; /* Tighten gap to fit all 6 links + button without wrapping */
}

.header .nav-link {
    color: #1C2541 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    white-space: nowrap !important; /* Prevent text wrapping like ABOUT US */
    padding: 6px 0 !important; /* Keep horizontal padding at 0 so underline spans exact text width */
}

.header .nav-link:hover, 
.header .nav-link.active {
    color: var(--accent-gold-dark) !important;
}

.header .nav-link::after {
    background: var(--accent-gold-dark) !important;
    height: 2px !important;
}

.header .hamburger span {
    background-color: #1C2541 !important;
}

.header .btn-outline {
    border-color: #1C2541 !important;
    color: #1C2541 !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    padding: 8px 18px !important; /* Compact button padding */
    margin-left: 10px !important;
    white-space: nowrap !important;
}

.header .btn-outline:hover {
    border-color: var(--accent-gold-dark) !important;
    color: var(--accent-gold-dark) !important;
    background: transparent !important;
}

/* Scroll Transition Adaptations */
.header.scrolled {
    padding: 8px 0 !important;
    background: #FFFFFF !important;
    box-shadow: 0 6px 30px rgba(10, 17, 40, 0.07) !important;
}

/* Adjust Inner Page Banner Top Margin for white header */
.inner-banner {
    padding-top: 145px !important;
    padding-bottom: 65px !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
}


/* ==========================================================================
   Logo Blue Accent Theme Overrides & Video Readability Refinements
   ========================================================================== */

:root {
    --accent-blue: #7BC5E3;
    --accent-blue-hover: #5BB3D8;
    --accent-blue-light: rgba(123, 197, 227, 0.1);
}

/* Light blue gradient highlights on headings */
.hero h1 span {
    color: #7BC5E3 !important;
    -webkit-text-fill-color: #7BC5E3 !important;
    background: none !important;
    background-clip: border-box !important;
    text-shadow: 0 4px 15px rgba(6, 11, 30, 0.6) !important;
}

/* Add light blue accents to highlight spans globally */
span.highlight-blue {
    color: var(--accent-blue);
    font-weight: 700;
}

/* Add strong text shadows to hero elements for high contrast on light overlays */
.hero-content h1 {
    text-shadow: 0 4px 20px rgba(6, 11, 30, 0.9), 0 2px 6px rgba(6, 11, 30, 0.95) !important;
}

.hero-content p {
    text-shadow: 0 2px 10px rgba(6, 11, 30, 0.9), 0 1px 4px rgba(6, 11, 30, 0.95) !important;
    color: #FFFFFF !important;
}

/* Apply light blue color to primary list icons and highlights on detail panels */
.solution-panel ul li::before,
.vm-card ul li::before {
    color: var(--accent-blue) !important;
}

/* Solutions tab border highlights using logo water blue */
.tab-btn.active {
    border-left-color: var(--accent-blue) !important;
    color: var(--accent-blue) !important;
}


/* ==========================================================================
   Luxury Theme Overrides (Water Blue Theme & Social Colors)
   ========================================================================== */

/* Overwrite active yellow/gold buttons to water blue gradient */
.btn-primary, 
.gold-btn-gradient {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #4FA3D1 100%) !important;
    color: #0A1128 !important;
    border: none !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(123, 197, 227, 0.3) !important;
    transition: var(--transition-smooth) !important;
}

.btn-primary:hover, 
.gold-btn-gradient:hover {
    background: linear-gradient(135deg, #A2E2FC 0%, var(--accent-blue) 50%, #308AB8 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(123, 197, 227, 0.5) !important;
}

/* Social Media brand colors in footer */
.footer .social-icon.facebook {
    background: #1877F2 !important;
    color: #FFFFFF !important;
    border-color: #1877F2 !important;
}

.footer .social-icon.linkedin {
    background: #0077B5 !important;
    color: #FFFFFF !important;
    border-color: #0077B5 !important;
}

.footer .social-icon.whatsapp {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border-color: #25D366 !important;
}

.footer .social-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

/* Glassmorphic card adjustments for soft blue glow highlights */
.glass-card:hover {
    box-shadow: 0 20px 40px rgba(123, 197, 227, 0.12) !important;
    border-color: rgba(123, 197, 227, 0.4) !important;
}

.dark-glass-card:hover {
    border-color: rgba(123, 197, 227, 0.4) !important;
    box-shadow: 0 25px 50px rgba(123, 197, 227, 0.2) !important;
}

/* Link and subtitle accents to use water blue */
.section-subtitle {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #A2E2FC 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.section-title span {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #A2E2FC 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Form inputs & active states */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 10px rgba(123, 197, 227, 0.2) !important;
}


/* ==========================================================================
   Luxury Animated Water Waves & Fluid Transitions
   ========================================================================== */

.animated-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: 0 bottom;
    transform-origin: center bottom;
}

.wave-layer.w1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C300,90 900,-30 1200,0 L1200,120 L0,120 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: 50% 70px;
    animation: wave-move 12s linear infinite;
    opacity: 1;
    z-index: 6;
}

.wave-layer.w2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C300,30 900,90 1200,0 L1200,120 L0,120 Z' fill='rgba(123, 197, 227, 0.25)'/%3E%3C/svg%3E");
    background-size: 50% 70px;
    animation: wave-move-reverse 16s linear infinite;
    opacity: 0.8;
    z-index: 5;
    bottom: 4px;
}

.wave-layer.w3 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C300,60 900,-10 1200,0 L1200,120 L0,120 Z' fill='rgba(123, 197, 227, 0.15)'/%3E%3C/svg%3E");
    background-size: 50% 70px;
    animation: wave-move 20s linear infinite;
    opacity: 0.6;
    z-index: 4;
    bottom: 8px;
}

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

@keyframes wave-move-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Water Ripple border glow effect on hover */
.ripple-hover {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.ripple-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 1.5px solid var(--accent-blue) !important;
    opacity: 0;
    transform: scale(0.96);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    pointer-events: none;
}

.ripple-hover:hover {
    transform: translateY(-5px);
}

.ripple-hover:hover::after {
    opacity: 1;
    transform: scale(1.025);
}

/* Solutions page layout adjustments */
.solutions-detail-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .solutions-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.solution-featured-image {
    width: 100%;
    height: 380px;
    border-radius: var(--border-radius-md);
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(6, 11, 30, 0.15);
    border: 1px solid rgba(123, 197, 227, 0.2);
}


/* ==========================================================================
   Luxury Card Splash & Droplet Impact Animations
   ========================================================================== */

.pillar-card {
    position: relative;
    border: 1px solid rgba(123, 197, 227, 0.18) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 30px rgba(6, 11, 30, 0.04) !important;
    overflow: visible !important; /* Allow splash to float slightly outside */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* Default pillars-grid layout — overridden by media queries */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.pillar-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(123, 197, 227, 0.5) !important;
    box-shadow: 0 15px 35px rgba(123, 197, 227, 0.22) !important;
}

.card-splash {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 14px;
    background: rgba(123, 197, 227, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    animation: splash-pulse 2.2s infinite ease-in-out;
}

@keyframes splash-pulse {
    0% { transform: translateX(-50%) scale(0.5); opacity: 0; }
    30% { opacity: 0.85; }
    100% { transform: translateX(-50%) scale(1.8); opacity: 0; }
}


/* ============================================================
   Hamburger Icon – Force Dark Blue Color
   ============================================================ */
.hamburger span {
    background-color: #0A1128 !important;
}
.header.scrolled .hamburger span,
.header.white .hamburger span {
    background-color: #0A1128 !important;
}

/* Book Inspection Button – Blue theme */
.header .btn-outline,
.nav-menu .btn-outline {
    border-color: #1A6FA8 !important;
    color: #1A6FA8 !important;
    background: transparent !important;
    font-weight: 700 !important;
}
.header .btn-outline:hover,
.nav-menu .btn-outline:hover {
    background: #1A6FA8 !important;
    color: #FFFFFF !important;
    border-color: #1A6FA8 !important;
}

/* Pillar cards – colored icon backgrounds */
.pillar-card .icon-years    { background: linear-gradient(135deg, #1A6FA8 0%, #2196F3 100%) !important; color: #fff !important; }
.pillar-card .icon-warranty { background: linear-gradient(135deg, #0D7A5B 0%, #4CAF50 100%) !important; color: #fff !important; }
.pillar-card .icon-partner  { background: linear-gradient(135deg, #6A1A8A 0%, #9C27B0 100%) !important; color: #fff !important; }
.pillar-card .icon-insured  { background: linear-gradient(135deg, #B8400A 0%, #FF6D00 100%) !important; color: #fff !important; }


/* ================================================================
   MEGA OVERRIDES – Glossy Buttons, Dark-Blue Borders, Values Cards
   ================================================================ */

/* --- Glossy premium buttons --- */
.btn-primary,
a.btn.btn-primary {
    background: linear-gradient(135deg, #1A6FA8 0%, #2196F3 50%, #0D5C8C 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(26,111,168,0.4), inset 0 1px 0 rgba(255,255,255,0.25) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}
.btn-primary::after,
a.btn.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: btn-shine 3s infinite;
}
@keyframes btn-shine {
    0% { left: -100%; }
    60% { left: 140%; }
    100% { left: 140%; }
}
.btn-primary:hover,
a.btn.btn-primary:hover {
    background: linear-gradient(135deg, #1060a0 0%, #1a88e0 50%, #0b4e7a 100%) !important;
    box-shadow: 0 8px 25px rgba(26,111,168,0.55), inset 0 1px 0 rgba(255,255,255,0.3) !important;
    transform: translateY(-2px) !important;
}

/* Book Inspection glossy blue */
.btn-book-inspection {
    background: linear-gradient(135deg, #1A6FA8 0%, #2AA8E0 50%, #0D5C8C 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    box-shadow: 0 4px 15px rgba(26,111,168,0.4), inset 0 1px 0 rgba(255,255,255,0.3) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}
.btn-book-inspection:hover {
    background: linear-gradient(135deg, #1060a0 0%, #1a88e0 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(26,111,168,0.55) !important;
}

/* --- Pillar cards – dark navy border --- */
.pillar-card {
    border: 2px solid #0A1128 !important;
    box-shadow: 0 12px 35px rgba(10,17,40,0.10) !important;
}
.pillar-card:hover {
    border-color: #1A6FA8 !important;
    box-shadow: 0 20px 45px rgba(26,111,168,0.18) !important;
}

/* --- "Who We Are" – dark navy section background --- */
.who-we-are-section {
    background: linear-gradient(135deg, #060E24 0%, #0A1128 60%, #112040 100%) !important;
}
.who-we-are-section .section-subtitle { color: #7BC5E3 !important; }
.who-we-are-section h2 { color: #FFFFFF !important; }
.who-we-are-section p { color: rgba(255,255,255,0.82) !important; }
.who-we-are-section strong { color: #7BC5E3 !important; }

/* --- Our Values – colorful vibrant cards --- */
.value-card-v2 {
    border-radius: 14px !important;
    padding: 40px 28px !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.value-card-v2:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 55px rgba(0,0,0,0.35) !important;
}
.value-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.4), rgba(255,255,255,0.05));
    border-radius: 14px 14px 0 0;
}
.value-card-integrity  { background: linear-gradient(145deg, #0E3460 0%, #1A5FA8 100%); }
.value-card-safety     { background: linear-gradient(145deg, #0A4D30 0%, #1D9E6E 100%); }
.value-card-customer   { background: linear-gradient(145deg, #5A1A70 0%, #9B2FCF 100%); }
.value-card-precision  { background: linear-gradient(145deg, #7A2B00 0%, #D9500A 100%); }
.value-card-certified  { background: linear-gradient(145deg, #004460 0%, #0B8AB0 100%); }
.value-card-warranty   { background: linear-gradient(145deg, #3A0A50 0%, #7B24A8 100%); }
.value-icon-circle {
    width: 62px; height: 62px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    font-size: 26px; color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* --- Featured Landmarks – img zoom on hover --- */
.landmark-img-wrap { overflow: hidden; height: 220px; }
.landmark-img-wrap img { transition: transform 0.5s ease !important; }
.landmark-img-wrap:hover img { transform: scale(1.06) !important; }

/* --- Service cards – img zoom on hover --- */
.service-home-card .service-img-wrap { overflow: hidden; height: 190px; }
.service-home-card .service-img-wrap img { transition: transform 0.5s ease !important; width:100%; height:100%; object-fit:cover; display:block; }
.service-home-card:hover .service-img-wrap img { transform: scale(1.06) !important; }


/* ================================================================
   ABOUT PAGE & CONTACT PAGE – Premium 3D Cards & Professional Styles
   ================================================================ */

/* 3D Milestone Timeline Cards */
.timeline-3d-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #f0f6ff 100%);
    border: none;
    border-radius: 18px;
    padding: 38px 28px 32px;
    text-align: center;
    position: relative;
    box-shadow:
        0 2px 0 #c8dff0,
        0 4px 0 #b5cfe0,
        0 6px 0 #a0c0d5,
        0 8px 15px rgba(10,17,40,0.18),
        0 20px 40px rgba(10,17,40,0.08);
    transform: perspective(800px) rotateX(3deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #1A6FA8;
}
.timeline-3d-card:hover {
    transform: perspective(800px) rotateX(0deg) translateY(-6px);
    box-shadow:
        0 2px 0 #c8dff0,
        0 4px 0 #b5cfe0,
        0 12px 35px rgba(26,111,168,0.25),
        0 30px 60px rgba(10,17,40,0.10);
}
.timeline-3d-year {
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 900;
    background: linear-gradient(135deg, #1A6FA8, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}
.timeline-3d-card h3 {
    font-size: 18px; font-weight: 700; color: #0A1128; margin-bottom: 12px;
}
.timeline-3d-card p {
    font-size: 14.5px; color: #555d70; line-height: 1.65; margin: 0;
}

/* 3D Vision / Mission Cards */
.vm-3d-card {
    border-radius: 20px;
    padding: 45px 38px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 0 rgba(0,0,0,0.15),
        0 5px 0 rgba(0,0,0,0.10),
        0 8px 25px rgba(0,0,0,0.20),
        0 25px 60px rgba(0,0,0,0.10);
    transform: perspective(900px) rotateY(-2deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.vm-3d-card:hover {
    transform: perspective(900px) rotateY(0deg) translateY(-5px);
    box-shadow: 0 20px 60px rgba(26,111,168,0.3), 0 35px 80px rgba(0,0,0,0.12);
}
.vm-3d-card.vision-card {
    background: linear-gradient(145deg, #0A1940 0%, #1A4A8A 100%);
}
.vm-3d-card.mission-card {
    background: linear-gradient(145deg, #0A3D2A 0%, #1A7A55 100%);
    transform: perspective(900px) rotateY(2deg);
}
.vm-3d-card.mission-card:hover { transform: perspective(900px) rotateY(0deg) translateY(-5px); }
.vm-3d-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}
.vm-icon-wrap {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.vm-3d-card h2 { color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 24px; }
.vm-3d-card li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 15px; color: rgba(255,255,255,0.88); line-height: 1.6;
}
.vm-3d-card li:last-child { border-bottom: none; }
.vm-bullet {
    min-width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #fff; margin-top: 2px;
    flex-shrink: 0;
}

/* Management Cards – fix text visibility */
.team-card {
    background: rgba(255,255,255,0.06) !important;
    border: 1.5px solid rgba(123,197,227,0.25) !important;
}
.team-card h3 { color: #FFFFFF !important; }
.team-card .team-bio { color: rgba(255,255,255,0.88) !important; }
.team-card .team-role { color: #7BC5E3 !important; }

/* Contact Page – Professional dark card */
.contact-info-card {
    background: linear-gradient(145deg, #060E24, #0A1940) !important;
    border: 1.5px solid rgba(123,197,227,0.22) !important;
    color: #fff !important;
    border-radius: 18px !important;
    padding: 45px !important;
}
.contact-info-card h2 { color: #fff !important; font-size: 26px !important; }
.contact-info-card h3 { color: #7BC5E3 !important; }
.contact-info-card p, .contact-info-card .contact-detail-content p { color: rgba(255,255,255,0.82) !important; }
.contact-info-card .phone-link { color: #7BC5E3 !important; text-decoration: none !important; }
.contact-info-card .phone-link:hover { color: #fff !important; }
.contact-icon-box {
    background: linear-gradient(135deg, #1A6FA8, #2196F3) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(26,111,168,0.4) !important;
    border-radius: 12px !important;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.contact-detail-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }

/* Contact form card premium */
.contact-form-card {
    background: #fff !important;
    border-radius: 18px !important;
    padding: 45px !important;
    box-shadow: 0 15px 50px rgba(10,17,40,0.10) !important;
    border: 1.5px solid rgba(123,197,227,0.18) !important;
}
.contact-form-card h2 { color: #0A1128 !important; font-size: 26px !important; }
.contact-form-card p { color: #555d70 !important; }

/* Map container – taller, rounded, shadowed */
.map-card {
    height: 480px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(10,17,40,0.15) !important;
    border: 2px solid rgba(123,197,227,0.22) !important;
}

/* Our Legacy image card premium */
.legacy-img-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    height: 470px;
}
.legacy-img-mosaic .img-tall {
    grid-row: 1 / 3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(10,17,40,0.14);
    border: 1.5px solid rgba(123,197,227,0.18);
}
.legacy-img-mosaic .img-sm {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(10,17,40,0.10);
    border: 1.5px solid rgba(123,197,227,0.18);
}
.legacy-img-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.legacy-img-mosaic .img-tall:hover img,
.legacy-img-mosaic .img-sm:hover img { transform: scale(1.05); }

/* Workmanship gallery – free images */
.gallery-item:hover img { transform: scale(1.06); }


/* ================================================================
   WHO WE ARE – Animated Light-Frame Mosaic + 3D Solution Cards
   ================================================================ */

/* --- Animated border-frame around the 3-image mosaic --- */
.mosaic-frame-wrap {
    position: relative;
    padding: 12px;
    border-radius: 22px;
    background: linear-gradient(135deg, #060E24, #0A1940);
    box-shadow:
        0 0 0 1px rgba(123,197,227,0.15),
        0 20px 60px rgba(6,11,30,0.35),
        0 8px 8px rgba(6,11,30,0.2);
}

/* Spinning animated gradient border */
.mosaic-frame-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: conic-gradient(
        from 0deg,
        #7BC5E3 0deg,
        #2196F3 60deg,
        #0A1128 120deg,
        #1A6FA8 180deg,
        #7BC5E3 240deg,
        #2196F3 300deg,
        #0A1128 360deg
    );
    animation: frame-spin 4s linear infinite;
    z-index: 0;
}

/* Glowing light dots orbiting */
.mosaic-frame-wrap::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: conic-gradient(
        from 180deg,
        transparent 0deg,
        rgba(123,197,227,0.9) 10deg,
        transparent 20deg,
        transparent 180deg,
        rgba(26,111,168,0.9) 190deg,
        transparent 200deg
    );
    animation: frame-spin 3s linear infinite reverse;
    z-index: 0;
    filter: blur(1px);
}

@keyframes frame-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Inner mask to clip the spinning border cleanly */
.mosaic-frame-inner {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    background: #0A1128;
}

/* 3D perspective lift on the mosaic */
.mosaic-3d-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 440px;
    padding: 10px;
    transform: perspective(1000px) rotateY(4deg) rotateX(2deg);
    transition: transform 0.5s ease;
}
.mosaic-frame-wrap:hover .mosaic-3d-grid {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mosaic-3d-grid .m-img-tall {
    grid-row: 1 / 3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.mosaic-3d-grid .m-img-sm {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}
.mosaic-3d-grid img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.mosaic-3d-grid .m-img-tall:hover img,
.mosaic-3d-grid .m-img-sm:hover img { transform: scale(1.06); }

/* Corner light dots */
.frame-dot {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #7BC5E3;
    box-shadow: 0 0 8px 4px rgba(123,197,227,0.6);
    animation: dot-pulse 2s ease-in-out infinite;
    z-index: 10;
}
.frame-dot.tl { top: 6px; left: 6px; animation-delay: 0s; }
.frame-dot.tr { top: 6px; right: 6px; animation-delay: 0.5s; }
.frame-dot.bl { bottom: 6px; left: 6px; animation-delay: 1s; }
.frame-dot.br { bottom: 6px; right: 6px; animation-delay: 1.5s; }
@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}

/* ----------------------------------------------------------------
   TECHNICAL SOLUTIONS – 3D Premium Cards
   ---------------------------------------------------------------- */
.sol-3d-card {
    position: relative;
    border-radius: 18px !important;
    overflow: hidden;
    border: none !important;
    box-shadow:
        0 1px 0 #b5cfe0,
        0 3px 0 #a0c0d5,
        0 5px 0 #8aafc5,
        0 8px 25px rgba(10,17,40,0.18),
        0 20px 50px rgba(10,17,40,0.10) !important;
    transform: perspective(900px) rotateX(2deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease !important;
    background: #fff !important;
}
.sol-3d-card:hover {
    transform: perspective(900px) rotateX(0deg) translateY(-8px) !important;
    box-shadow:
        0 12px 0 rgba(26,111,168,0.12),
        0 25px 60px rgba(26,111,168,0.25),
        0 50px 100px rgba(10,17,40,0.12) !important;
}

/* Glowing top accent bar on each card */
.sol-3d-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1A6FA8, #2196F3, #7BC5E3);
    z-index: 5;
}

/* Number badge */
.sol-card-num {
    position: absolute;
    top: 200px;
    right: 20px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A6FA8, #2196F3);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(26,111,168,0.5);
    z-index: 6;
    transform: translateY(-50%);
}

/* Technical Details link – make it a real button pill */
.sol-details-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #1A6FA8, #2196F3) !important;
    color: #fff !important;
    padding: 9px 18px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(26,111,168,0.35) !important;
    transition: all 0.3s ease !important;
    font-family: 'Outfit', sans-serif !important;
}
.sol-details-btn:hover {
    background: linear-gradient(135deg, #1060a0, #1a88e0) !important;
    transform: translateX(3px) !important;
    box-shadow: 0 6px 20px rgba(26,111,168,0.5) !important;
}


/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OVERHAUL
   Mobile-first media queries for all pages and components
   ========================================================================== */

/* ---- Touch & Tap improvements ---- */
* {
    -webkit-tap-highlight-color: transparent;
}
a, button, [role="button"] {
    touch-action: manipulation;
}

/* ---- Tablet: 1024px ---- */
@media (max-width: 1024px) {
    :root { --header-height: 75px; }

    .container { padding: 0 20px; }

    /* Section titles */
    .section-title { font-size: 34px !important; }
    .section-padding { padding: 80px 0 !important; }

    /* Header nav gap tighten */
    .header .nav-menu { gap: 18px !important; }
    .header .nav-link { font-size: 13px !important; }

    /* Hero */
    .hero h1 { font-size: 42px !important; }
    .hero p { font-size: 17px !important; }

    /* Inner banner */
    .inner-banner { padding-top: 130px !important; padding-bottom: 55px !important; }
    .inner-banner h1 { font-size: 42px !important; }

    /* About block */
    .about-block-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

    /* Mosaic on about/who-we-are */
    .mosaic-frame-wrap { max-width: 550px; margin: 0 auto; }
    .mosaic-3d-grid { height: 360px !important; }

    /* Stats grid */
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 30px !important; }

    /* Solutions grid */
    .services-home-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .values-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* 3-col solution cards */
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }

    /* Trust seals banner */
    div[style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }

    /* Pillar cards */
    .pillars-grid { grid-template-columns: repeat(2, 1fr) !important; margin-top: 20px !important; }

    /* Footer */
    .footer-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 40px !important; }

    /* History grid */
    .history-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

    /* Vision / mission */
    .vision-mission-row { grid-template-columns: 1fr !important; gap: 28px !important; }

    /* Team grid */
    .team-grid { grid-template-columns: 1fr !important; gap: 28px !important; }

    /* Partners row */
    .partners-row-grid { grid-template-columns: 1fr !important; gap: 28px !important; }

    /* Contact grid */
    .contact-block-grid { grid-template-columns: 1fr !important; gap: 30px !important; }

    /* Solutions specs */
    .specs-grid { grid-template-columns: 1fr !important; gap: 30px !important; }

    /* Tab container */
    .tab-container { grid-template-columns: 1fr !important; gap: 25px !important; }
    .tab-menu {
        flex-direction: row !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        position: static !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .tab-menu::-webkit-scrollbar { display: none; }
    .tab-btn { display: inline-block !important; white-space: nowrap !important; }
    .tab-content { padding: 30px !important; }

    /* Legacy mosaic */
    .legacy-img-mosaic { height: 380px !important; }

    /* Map */
    .map-card { height: 360px !important; }

    /* CTA banner */
    .cta-banner h2 { font-size: 30px !important; }
    .cta-banner p { font-size: 16px !important; }
}

/* ---- Mobile Landscape / Large Phone: 768px ---- */
@media (max-width: 768px) {
    :root { --header-height: 68px; }

    html { font-size: 15px; }
    .container { padding: 0 16px; }

    /* ---- Navigation ---- */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        padding: 8px;
    }
    .hamburger span { width: 22px; }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        transform: translateX(100%) !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #060B1E !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 80px 24px 40px !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
        box-shadow: -10px 0 35px rgba(0,0,0,0.5) !important;
        z-index: 999 !important;
        overflow-y: auto;
    }
    .nav-menu.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-link {
        font-size: 16px !important;
        color: rgba(255,255,255,0.9) !important;
        padding: 12px 20px !important;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        display: block !important;
    }
    .nav-link:hover, .nav-link.active {
        background: rgba(123,197,227,0.12) !important;
        color: #7BC5E3 !important;
    }
    .nav-link::after { display: none !important; }

    /* Book Inspection button in mobile menu */
    .nav-menu .btn-book-inspection {
        margin-left: 0 !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 8px !important;
        display: block !important;
    }

    /* Nav backdrop overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 998;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    .nav-overlay.active { display: block; }

    /* ---- Hero Section ---- */
    .hero {
        min-height: 100svh !important;
        min-height: 100vh !important;
        padding-top: 80px !important;
        padding-bottom: 60px !important;
        align-items: flex-end !important;
    }

    /* Hero video – fill screen properly on mobile */
    .hero video {
        object-fit: cover !important;
        object-position: center center !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Stronger overlay on mobile for text readability */
    .hero > div[style*="background: linear-gradient"] {
        background: linear-gradient(to bottom, rgba(6,11,30,0.7) 0%, rgba(6,11,30,0.82) 60%, rgba(6,11,30,0.92) 100%) !important;
    }

    .hero-content {
        max-width: 100% !important;
        padding-bottom: 20px;
    }
    .hero h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    .hero p {
        font-size: 15px !important;
        margin-bottom: 28px !important;
        max-width: 100% !important;
    }
    .hero-actions {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .hero-actions .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 14px 20px !important;
        justify-content: center !important;
    }

    /* ---- Pillar cards ---- */
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        margin-top: 24px !important;
    }
    .pillar-card { padding: 24px 16px !important; }
    .pillar-card h3 { font-size: 15px !important; }
    .pillar-card p { font-size: 13px !important; }

    /* ---- Trust seals ---- */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* ---- Section text ---- */
    .section-title { font-size: 28px !important; }
    .section-padding { padding: 60px 0 !important; }
    .section-desc { font-size: 15px !important; }
    .section-header { margin-bottom: 40px !important; }

    /* ---- Who We Are / About block ---- */
    .about-block-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .mosaic-frame-wrap { max-width: 100%; }
    .mosaic-3d-grid {
        height: 300px !important;
        transform: none !important;
    }
    .mosaic-frame-wrap::before,
    .mosaic-frame-wrap::after { display: none !important; } /* Perf: hide spinning border on mobile */

    /* ---- Stats bar ---- */
    .stats-bar { padding: 50px 0 !important; }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
    .stat-item h3 { font-size: 38px !important; }
    .stat-item p { font-size: 12px !important; }

    /* ---- Services / Solutions grid ---- */
    .services-home-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; gap: 18px !important; }

    /* ---- Values grid ---- */
    div[style*="grid-template-columns: repeat(3, 1fr)"][style*="gap: 24px"] { grid-template-columns: 1fr !important; }
    .values-grid { grid-template-columns: 1fr !important; }
    .value-card-v2 { padding: 28px 20px !important; }

    /* ---- CTA Banner ---- */
    .cta-banner { padding: 55px 0 !important; }
    .cta-banner h2 { font-size: 26px !important; }
    .cta-banner p { font-size: 15px !important; }
    .cta-banner .btn { width: 100%; max-width: 320px; }

    /* ---- Footer ---- */
    .footer { padding: 60px 0 30px !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
    .footer-bottom {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 16px !important; }

    /* ---- Inner banner ---- */
    .inner-banner { padding-top: 110px !important; padding-bottom: 45px !important; }
    .inner-banner h1 { font-size: 30px !important; line-height: 1.2 !important; }
    .breadcrumbs { font-size: 12px !important; flex-wrap: wrap; justify-content: center; gap: 8px !important; }

    /* ---- About page ---- */
    .history-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
    .history-visual { padding: 28px 20px !important; }
    .vision-mission-row { grid-template-columns: 1fr !important; gap: 20px !important; }
    .vm-card { padding: 30px 24px !important; }
    .vm-3d-card { padding: 32px 24px !important; transform: none !important; }
    .vm-3d-card:hover { transform: translateY(-4px) !important; }
    .team-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .team-card { padding: 30px 24px !important; }
    .partners-row-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .partner-showcase-card { padding: 30px 24px !important; }

    /* Timeline 3D cards */
    .timeline-3d-card {
        transform: none !important;
        padding: 28px 20px !important;
    }
    .timeline-3d-year { font-size: 36px !important; }

    /* ---- Contact page ---- */
    .contact-block-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
    .contact-info-card { padding: 28px 20px !important; }
    .contact-form-card { padding: 28px 20px !important; }
    .form-row { grid-template-columns: 1fr !important; gap: 14px !important; }
    .map-card { height: 300px !important; }

    /* ---- Solutions page ---- */
    .tab-container { grid-template-columns: 1fr !important; }
    .tab-menu {
        flex-direction: row !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        position: static !important;
        padding-bottom: 8px !important;
        gap: 8px !important;
        -webkit-overflow-scrolling: touch;
    }
    .tab-btn { padding: 12px 16px !important; font-size: 13px !important; }
    .tab-content { padding: 24px 18px !important; }
    .specs-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
    .solution-header-row { flex-direction: column !important; gap: 14px !important; }
    .solution-featured-image { height: 240px !important; }
    .solution-meta h2 { font-size: 24px !important; }

    /* ---- Credentials page ---- */
    .premium-table { font-size: 13px !important; }
    .premium-table th, .premium-table td { padding: 12px 14px !important; }

    /* ---- Projects page ---- */
    .filter-btn { padding: 8px 14px !important; font-size: 12px !important; }

    /* ---- Gallery page ---- */
    .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* ---- Legacy mosaic ---- */
    .legacy-img-mosaic { grid-template-columns: 1fr !important; grid-template-rows: auto !important; height: auto !important; gap: 10px !important; }
    .legacy-img-mosaic .img-tall { grid-row: auto !important; height: 220px !important; }
    .legacy-img-mosaic .img-sm { height: 180px !important; }

    /* ---- 3D Solution cards ---- */
    .sol-3d-card { transform: none !important; }
    .sol-3d-card:hover { transform: translateY(-5px) !important; }

    /* ---- Buttons ---- */
    .btn { padding: 13px 22px !important; font-size: 13px !important; }
}

/* ---- Small Mobile: 480px ---- */
@media (max-width: 480px) {
    html { font-size: 14.5px; }
    .container { padding: 0 14px; }

    /* Hero */
    .hero h1 { font-size: 26px !important; }
    .hero p { font-size: 14px !important; }

    /* Pillar cards → single column */
    .pillars-grid { grid-template-columns: 1fr !important; gap: 12px !important; }

    /* Trust seals → single column */
    div[style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: 1fr !important; }

    /* Stats → single column */
    .stats-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .stat-item h3 { font-size: 44px !important; }

    /* Section titles */
    .section-title { font-size: 24px !important; }
    .inner-banner h1 { font-size: 26px !important; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr !important; }

    /* Core values grid → 1 col */
    div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; gap: 14px !important; }

    /* CTA */
    .cta-banner h2 { font-size: 22px !important; }

    /* About */
    .vm-3d-card { padding: 26px 18px !important; }
    .team-card { padding: 24px 18px !important; }
    .team-card h3 { font-size: 22px !important; }

    /* Contact */
    .contact-info-card { padding: 22px 16px !important; }
    .contact-form-card { padding: 22px 16px !important; }

    /* Logo brand text */
    .brand-text-container div:first-child { font-size: 20px !important; }
    .brand-text-container div:last-child { font-size: 9px !important; }
}

/* ---- Very Small Mobile: 375px ---- */
@media (max-width: 375px) {
    .container { padding: 0 12px; }
    .hero h1 { font-size: 23px !important; }
    .section-title { font-size: 22px !important; }
    .inner-banner h1 { font-size: 22px !important; }
    .stat-item h3 { font-size: 38px !important; }
    .pillar-card { padding: 20px 14px !important; }
    .tab-btn { padding: 10px 12px !important; font-size: 12px !important; }
    .footer-grid { gap: 28px !important; }
}

/* ---- Fix: hero section bottom wave on mobile ---- */
@media (max-width: 768px) {
    .animated-waves { height: 40px !important; }
    .hero::after { height: 60px !important; }
}

/* ---- Fix: rain drops performance on mobile ---- */
@media (max-width: 768px) {
    .rain-container .drop:nth-child(n+16) { display: none !important; }
}

/* ---- Fix: nav-menu white header colors on mobile ---- */
@media (max-width: 768px) {
    .header .nav-link { color: rgba(255,255,255,0.9) !important; }
    .header .nav-link:hover, .header .nav-link.active { color: #7BC5E3 !important; background: rgba(123,197,227,0.12) !important; }
    .header .btn-book-inspection { color: #fff !important; }
}

/* ---- Fix: Prevent glow-bg circles from overflowing right side on mobile ---- */
@media (max-width: 768px) {
    .glow-bg { display: none !important; }
}

/* ---- Fix: Strict horizontal overflow prevention on mobile ---- */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}

@media (max-width: 768px) {
    section, .container, .footer, .header, [style] {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* ---- Fix: Logo on mobile – smaller icon ---- */
@media (max-width: 480px) {
    .logo-wrapper img[alt*="Logo Icon"] { height: 40px !important; }
    .logo-wrapper { gap: 8px !important; height: 52px !important; }
    .header-container { padding: 0 14px; }
}

/* ---- Fix: Prevent pillar cards from going below hero on mobile ---- */
@media (max-width: 768px) {
    section.container[style*="margin-bottom: 90px"] {
        margin-bottom: 50px !important;
    }
}

/* ---- Fix: Who We Are section text on mobile ---- */
@media (max-width: 768px) {
    .about-text-box h2 { font-size: 26px !important; }
    .about-text-box p { font-size: 15px !important; }
}

/* ---- Fix: landmark / service cards image height ---- */
@media (max-width: 768px) {
    .landmark-img-wrap { height: 180px !important; }
}

/* ---- Fix: solutions 3D card image height on mobile ---- */
@media (max-width: 768px) {
    .sol-3d-card div[style*="height:195px"] { height: 160px !important; }
}
