/* =============================================
   KEA WATER TREATMENT — MASTER STYLESHEET
   ============================================= */

/* CSS Variables */
:root {
    /* Primary Brand Colors */
    --primary: #346BAE;        /* Netsol-inspired Blue */
    --primary-dark: #2A558C;
    --primary-light: #4A89D6;
    --accent: #F5A93F;         /* Vibrant Orange for CTAs */
    --accent-dark: #E08E1F;
    
    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    
    /* Effects & Spacing */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
    --glass: rgba(255, 255, 255, 0.15);
    --radius: 10px;
    --radius-lg: 20px;
    --transition: .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--gray-700); background: var(--white); line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-alt { background: var(--gray-50); }
.text-center { text-align: center; }

.section-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(14,165,233,.1);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 20px;
}
.section-title span { color: var(--primary); }
.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 169, 63, 0.3);
}
.btn-primary:hover { 
    background: var(--accent-dark); 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(245, 169, 63, 0.45); 
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-secondary:hover { background: var(--primary-dark); transform: translateY(-3px); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary);
    padding: 13px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-white:hover { background: var(--gray-50); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 13px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,.6);
    cursor: pointer;
    transition: var(--transition);
}
.btn-white-outline:hover { 
    background: var(--white); 
    color: var(--primary); 
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ============= TOP BAR ============= */
.topbar {
    background: var(--gray-900);
    color: var(--gray-200);
    font-size: .82rem;
    padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; gap: 24px; }
.topbar-left span { display: flex; align-items: center; gap: 7px; }
.topbar-left i { color: var(--accent); }
.topbar-right { display: flex; gap: 14px; }
.topbar-right a { color: var(--gray-200); width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: .78rem; transition: var(--transition); }
.topbar-right a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ============= HEADER ============= */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition);
}
.main-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 72px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; }
.logo img { height: 50px; width: auto; object-fit: contain; border-radius: 4px; }
.footer-logo-wrap { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo-wrap img { height: 60px; width: auto; margin-bottom: 12px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Rajdhani', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--gray-900); line-height: 1; }
.logo-sub { font-size: .68rem; color: var(--gray-500); letter-spacing: .05em; text-transform: uppercase; }
.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a { padding: 8px 16px; border-radius: 6px; font-size: .9rem; font-weight: 500; color: var(--gray-700); transition: var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: rgba(3,105,161,.07); }
.nav-cta { font-size: .88rem; padding: 10px 22px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--gray-700); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; padding: 16px 24px 24px; gap: 4px; border-top: 1px solid var(--gray-200); background: var(--white); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 14px; border-radius: 6px; font-weight: 500; color: var(--gray-700); transition: var(--transition); }
.mobile-menu a:hover { color: var(--primary); background: rgba(3,105,161,.07); }
.mobile-menu .btn-primary { margin-top: 8px; justify-content: center; }

/* ============= HERO ============= */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0c2d4e 0%, #0369a1 50%, #0ea5e9 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('water_treatment_hero_1777358477121.png') center/cover no-repeat;
    opacity: .25;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(3,105,161,.92) 40%, rgba(14,165,233,.7));
}
.hero-waves {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-text .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    color: var(--white);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
}
.hero-text h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 22px;
}
.hero-text h1 span { color: var(--accent); display: block; }
.hero-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,.2);
}
.stat-item { text-align: center; }
.stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 4px; letter-spacing: .03em; }
.hero-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; color: var(--white); font-weight: 600; }
.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 16px;
}
.hero-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.hero-feature-text strong { display: block; color: var(--white); font-size: .95rem; margin-bottom: 3px; }
.hero-feature-text span { color: rgba(255,255,255,.7); font-size: .84rem; }

/* ============= STATS BAR ============= */
.stats-bar {
    background: var(--primary);
    padding: 50px 0;
}
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; border-right: 1px solid rgba(255,255,255,.2); padding: 0 20px; }
.stat-card:last-child { border-right: none; }
.stat-card .num { font-family: 'Rajdhani', sans-serif; font-size: 2.8rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-card .lbl { font-size: .88rem; color: rgba(255,255,255,.78); margin-top: 6px; }
.stat-card i { font-size: 1.6rem; color: var(--accent); margin-bottom: 10px; }

/* ============= SERVICES ============= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 56px; }
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.5rem;
    margin-bottom: 22px;
}
.service-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.service-card p { font-size: .92rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 20px; }
.service-link { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 700; 
    color: var(--primary); 
    font-size: 0.9rem; 
    transition: var(--transition);
    margin-top: 5px;
    padding: 10px 20px;
    border: 1.5px solid var(--primary);
    border-radius: 6px;
}
.service-link:hover { 
    gap: 12px; 
    background: var(--primary);
    color: #fff;
}

/* ============= WHY CHOOSE US ============= */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 0; }
.why-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.why-image img { width: 100%; height: 480px; object-fit: cover; }
.why-image-badge {
    position: absolute;
    bottom: 28px; right: 28px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 22px;
    box-shadow: var(--shadow-md);
    text-align: center;
}
.why-image-badge .big-num { font-family: 'Rajdhani', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--primary); line-height: 1; }
.why-image-badge span { font-size: .8rem; color: var(--gray-500); }
.why-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.why-feature { display: flex; gap: 18px; align-items: flex-start; }
.why-feature-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem; flex-shrink: 0; }
.why-feature h4 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 5px; }
.why-feature p { font-size: .9rem; color: var(--gray-500); line-height: 1.7; }

/* ============= PROCESS ============= */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 56px; }
.process-steps::before { content: ''; position: absolute; top: 40px; left: 12.5%; width: 75%; height: 2px; background: linear-gradient(to right, var(--primary), var(--accent)); z-index: 0; }
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-number { width: 80px; height: 80px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--primary); position: relative; transition: var(--transition); box-shadow: 0 4px 16px rgba(3,105,161,.2); }
.process-step:hover .step-number { background: var(--primary); color: var(--white); }
.process-step h4 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.process-step p { font-size: .88rem; color: var(--gray-500); line-height: 1.7; }

/* ============= CTA BANNER ============= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta-inner h2 { font-family: 'Rajdhani', sans-serif; font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--white); font-weight: 700; margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============= PRODUCTS ============= */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 56px; }
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.product-img {
    height: 200px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 3.5rem;
    position: relative;
}
.product-tag {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.product-body { padding: 26px; }
.product-body h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.product-body p { font-size: .9rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 18px; }
.product-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.spec-tag { 
    background: rgba(52, 107, 174, 0.08); 
    color: var(--primary); 
    padding: 6px 12px; 
    border-radius: 6px; 
    font-size: .75rem; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(52, 107, 174, 0.15);
}
.product-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--gray-200); }

/* ============= TESTIMONIALS ============= */
.testimonials { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars { color: #f59e0b; font-size: .9rem; margin-bottom: 16px; }
.testimonial-text { font-size: .95rem; color: var(--gray-700); line-height: 1.8; font-style: italic; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--gray-200); padding-top: 18px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; font-weight: 700; font-family: 'Rajdhani', sans-serif; flex-shrink: 0; }
.author-info strong { display: block; font-weight: 700; color: var(--gray-900); font-size: .95rem; }
.author-info span { font-size: .82rem; color: var(--gray-500); }

/* ============= ABOUT PAGE ============= */
.about-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 100px 0 80px; text-align: center; }
.about-hero h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(2.2rem, 4vw, 3.5rem); color: var(--white); font-weight: 700; margin-bottom: 16px; }
.about-hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; font-size: .88rem; color: rgba(255,255,255,.65); }
.breadcrumb a { color: var(--accent); }
.breadcrumb i { font-size: .65rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 56px; }
.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); text-align: center; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo { height: 180px; background: linear-gradient(135deg, #dbeafe, #bfdbfe); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 4rem; }
.team-info { padding: 24px; }
.team-info h4 { font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--gray-900); }
.team-info span { font-size: .83rem; color: var(--primary); font-weight: 500; display: block; margin: 4px 0 12px; }
.team-info p { font-size: .88rem; color: var(--gray-500); line-height: 1.6; }
.certifications { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; justify-content: center; }
.cert-badge { background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 20px 28px; text-align: center; transition: var(--transition); min-width: 150px; }
.cert-badge:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.cert-badge i { font-size: 2rem; color: var(--primary); margin-bottom: 8px; display: block; }
.cert-badge span { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 48px; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 28px; text-align: center; border: 1px solid var(--gray-200); transition: var(--transition); }
.value-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-card i { font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.value-card h4 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.value-card p { font-size: .88rem; color: var(--gray-500); line-height: 1.7; }

/* ============= INDUSTRY GRID ============= */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 50px; }
.industry-card { background: var(--white); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); transition: var(--transition); text-align: left; }
.industry-card:hover { transform: translateY(-8px); border-color: var(--primary-light); box-shadow: var(--shadow-lg); }
.industry-card i { font-size: 1.8rem; color: var(--primary); }
.industry-card h4 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 12px; color: var(--gray-900); }
.industry-card p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; }
.industry-icon-box { width: 60px; height: 60px; background: rgba(52, 107, 174, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: var(--transition); }
.industry-card:hover .industry-icon-box { background: var(--primary); }
.industry-card:hover .industry-icon-box i { color: var(--white); }

/* ============= PAGE HERO (inner pages) ============= */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 90px 0 70px; text-align: center; }
.page-hero h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); font-weight: 700; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto 16px; }

/* ============= CONTACT ============= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; margin-top: 56px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; transition: var(--transition); }
.contact-info-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.contact-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.15rem; flex-shrink: 0; }
.contact-detail h4 { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.contact-detail p, .contact-detail a { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 42px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.contact-form-wrap h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .95rem;
    font-family: 'Inter', sans-serif;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(3,105,161,.08); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.submit-btn { width: 100%; padding: 15px; font-size: 1rem; justify-content: center; border: none; }

/* ============= MAP ============= */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 380px; display: block; border: none; }

/* ============= FOOTER ============= */
.footer { background: var(--gray-900); color: rgba(255,255,255,.7); }
.footer-top { padding: 70px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand p { font-size: .9rem; line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; margin-top: 15px; }
.footer-social a { 
    width: 38px; height: 38px; 
    border-radius: 50%; 
    border: 1px solid rgba(255,255,255,.18); 
    display: flex; align-items: center; justify-content: center; 
    font-size: .85rem; 
    color: rgba(255,255,255,.7); 
    transition: var(--transition); 
}
.footer-social a:hover { 
    background: var(--primary); 
    border-color: var(--primary); 
    color: var(--white); 
    transform: translateY(-3px);
}
.footer-col h4 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.65); transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-col ul li a i { font-size: .7rem; color: var(--accent); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; margin-bottom: 14px; }
.footer-contact i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .85rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .83rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .hero-content { gap: 40px; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .main-nav, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero-content { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 120px; }
    .hero-card { display: none; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
    .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 24px; margin-bottom: 24px; }
    .stat-card:nth-child(2) { border-right: none; }
    .why-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .topbar-left { gap: 14px; font-size: .76rem; }
}
@media (max-width: 480px) {
    .section { padding: 64px 0; }
    .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .stat-number { font-size: 1.7rem; }
    .process-steps { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

/* =============================================
   LIVE ENHANCEMENTS — ANIMATIONS & INTERACTIVITY
   ============================================= */

/* PRELOADER */
#preloader {
    position: fixed; inset: 0;
    background: linear-gradient(135deg, #075985 0%, #0369a1 100%);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.water-drop {
    width: 80px; height: 80px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem; color: #38bdf8;
    animation: dropPulse 1.2s ease-in-out infinite;
    border: 2px solid rgba(255,255,255,.25);
}
@keyframes dropPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56,189,248,.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(56,189,248,0); }
}
.preloader-text {
    color: #fff; font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 20px;
}
.preloader-bar {
    width: 200px; height: 3px; background: rgba(255,255,255,.2);
    border-radius: 10px; margin: 0 auto; overflow: hidden;
}
.preloader-fill {
    height: 100%; background: #38bdf8; border-radius: 10px;
    animation: loadFill 1.1s ease forwards;
}
@keyframes loadFill { from { width: 0; } to { width: 100%; } }

/* TOPBAR LIVE INDICATOR */
.topbar-live { display: flex; align-items: center; gap: 6px; }
.topbar-live i { color: #4ade80; font-size: .5rem; animation: liveBlink 1.4s ease infinite; }
@keyframes liveBlink { 0%,100%{ opacity:1; } 50%{ opacity:.2; } }

/* PULSE NAV BUTTON */
.pulse-btn { animation: btnPulse 2.5s ease infinite; }
@keyframes btnPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(3,105,161,.5); }
    50% { box-shadow: 0 0 0 10px rgba(3,105,161,0); }
}

/* TYPED TEXT CURSOR */
#typed-text::after {
    content: '|'; animation: typeCursor .75s step-end infinite;
    color: #38bdf8; margin-left: 2px;
}
@keyframes typeCursor { 0%,100%{ opacity:1; } 50%{ opacity:0; } }

/* BACK TO TOP BUTTON */
#backToTop {
    position: fixed; 
    bottom: 105px; 
    right: 30px;
    width: 50px; 
    height: 50px; 
    background: var(--primary); 
    color: #fff;
    border: none; 
    border-radius: 50%; 
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.1rem;
    opacity: 0; 
    visibility: hidden; 
    transition: var(--transition); 
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(52, 107, 174, 0.3);
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { background: #075985; transform: translateY(-3px); }

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed; 
    bottom: 30px; 
    right: 30px;
    width: 60px; 
    height: 60px; 
    background: #25d366; 
    color: #fff;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.8rem; 
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37,211,102,0.4); 
    transition: var(--transition);
    animation: waBounce 2.5s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.12); color: #fff; animation-play-state: paused; }
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #333;
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}
@keyframes waBounce { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-7px); } }
.whatsapp-tooltip {
    position: absolute; right: 66px; background: #25d366; color: #fff;
    font-size: .82rem; font-weight: 600; padding: 5px 14px; border-radius: 6px;
    white-space: nowrap; opacity: 0; transition: .3s ease; pointer-events: none;
}
.whatsapp-tooltip::after {
    content: ''; position: absolute; top: 50%; right: -6px;
    transform: translateY(-50%);
    border: 6px solid transparent; border-left-color: #25d366; border-right: 0;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* CLIENT LOGO MARQUEE */
.clients-section {
    background: #fff; padding: 36px 0;
    border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; overflow: hidden;
}
.clients-label {
    text-align: center; font-size: .8rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: #64748b; margin-bottom: 22px;
}
.marquee-wrapper { overflow: hidden; }
.marquee-track {
    display: flex; animation: marqueeScroll 32s linear infinite; width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.client-logo {
    display: flex; align-items: center; gap: 8px; padding: 0 40px; height: 60px;
    opacity: .5; transition: opacity .3s ease; font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem; font-weight: 700; color: #334155;
    white-space: nowrap; border-right: 1px solid #e2e8f0;
}
.client-logo i { color: #0369a1; font-size: 1.3rem; }
.client-logo:hover { opacity: 1; }
@keyframes marqueeScroll { 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }

/* FLOATING WATER BUBBLES (hero) */
.hero-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubble {
    position: absolute; bottom: -60px; background: rgba(255,255,255,.07);
    border-radius: 50%; animation: bubbleFloat linear infinite;
    border: 1px solid rgba(255,255,255,.1);
}
.bubble:nth-child(1){width:28px;height:28px;left:8%;animation-duration:9s;animation-delay:0s}
.bubble:nth-child(2){width:16px;height:16px;left:20%;animation-duration:12s;animation-delay:2s}
.bubble:nth-child(3){width:48px;height:48px;left:38%;animation-duration:10s;animation-delay:1s}
.bubble:nth-child(4){width:20px;height:20px;left:58%;animation-duration:14s;animation-delay:3.5s}
.bubble:nth-child(5){width:36px;height:36px;left:74%;animation-duration:11s;animation-delay:1.5s}
.bubble:nth-child(6){width:14px;height:14px;left:90%;animation-duration:8s;animation-delay:0.5s}
@keyframes bubbleFloat {
    0%{ transform:translateY(0) scale(1); opacity:.7; }
    100%{ transform:translateY(-110vh) scale(1.3); opacity:0; }
}

/* HERO GRADIENT ANIMATION */
.hero {
    background: linear-gradient(135deg,#0c2d4e 0%,#0369a1 50%,#0ea5e9 100%);
    background-size: 200% 200%;
    animation: heroGrad 10s ease infinite alternate;
}
@keyframes heroGrad { 0%{background-position:0% 50%} 100%{background-position:100% 50%} }

/* SERVICE ICON HOVER EFFECT */
.service-card:hover .service-icon { transform: rotateY(180deg); transition: transform .5s ease; }

/* NAV HOVER UNDERLINE */
.main-nav a { position: relative; }
.main-nav a::after {
    content: ''; position: absolute; bottom: -2px; left: 50%;
    width: 0; height: 2px; background: #0369a1; border-radius: 2px;
    transition: width .3s ease, left .3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 80%; left: 10%; }

/* STAT NUMBER HOVER */
.stat-card { cursor: default; }
.stat-card:hover .num { transform: scale(1.12); color: #38bdf8; transition: .3s ease; display: inline-block; }

/* PRODUCT IMAGE HOVER */
.product-img i { transition: transform .4s ease; }
.product-card:hover .product-img i { transform: scale(1.25) rotate(-8deg); }

/* PROCESS STEPS HOVER */
.process-step { transition: transform .3s ease; }
.process-step:hover { transform: translateY(-8px); }
.process-step:hover .step-number { background: #0369a1; color: #fff; }

/* TESTIMONIAL DECORATIVE QUOTE */
.testimonial-card { position: relative; overflow: hidden; }
.testimonial-card::before {
    content: '\201C';
    font-size: 7rem; color: #f1f5f9; font-family: Georgia, serif;
    position: absolute; top: -14px; right: 12px;
    line-height: 1; z-index: 0; font-weight: 900;
}
.testimonial-card > * { position: relative; z-index: 1; }

/* WHY FEATURE HOVER SLIDE */
.why-feature { transition: .3s ease; padding: 14px; border-radius: 10px; }
.why-feature:hover { background: rgba(3,105,161,.06); transform: translateX(8px); }

/* IMAGE HOVER ZOOM */
.why-image { overflow: hidden; border-radius: 18px; }
.why-image img { transition: transform .6s ease; }
.why-image:hover img { transform: scale(1.05); }

/* CTA SHIMMER */
.cta-section { overflow: hidden; }
.cta-section::after {
    content: ''; position: absolute; top: -50%; left: -100%;
    width: 50%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent);
    animation: ctaShimmer 5s ease infinite;
}
@keyframes ctaShimmer { 0%{left:-100%} 100%{left:200%} }

/* PAGE FADE IN */
body { animation: pageReveal .45s ease both; }
@keyframes pageReveal { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

/* CERT BADGE HOVER LIFT */
.cert-badge:hover { transform: translateY(-5px) scale(1.04); border-color: #0369a1; }

/* FOOTER SOCIAL HOVER */
.footer-social a:hover { transform: translateY(-3px) scale(1.1); }

/* TEAM CARD PHOTO OVERLAY */
.team-photo { position: relative; overflow: hidden; transition: .3s ease; }
.team-card:hover .team-photo { filter: brightness(1.1); }

/* VALUE CARD ICON BOUNCE */
.value-card:hover i { animation: iconBounce .5s ease; }
@keyframes iconBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* FORM SUBMIT HOVER */
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(3,105,161,.4); }

/* BREADCRUMB FADE */
.breadcrumb { animation: fadeSlideDown .6s ease .3s both; }
@keyframes fadeSlideDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
