/* Global variables and base */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #eff6ff;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    --page-bg: radial-gradient(1200px 600px at -10% -20%, rgba(59,130,246,0.25), transparent 60%),
                radial-gradient(1200px 600px at 110% 120%, rgba(29,78,216,0.25), transparent 60%),
                linear-gradient(180deg, #e0f2fe 0%, #dbeafe 20%, #eff6ff 100%);
    --gold-primary: #FFD700;
    --trust-blue: #1e40af;
    /* Added from inline styles */
    --gradient: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    --gold-secondary: #FFA500;
    --gold-accent: #FF8C00;
    --success-green: #059669;
}

body { background: var(--page-bg); color: var(--text-dark); font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
/* Typography (global, modern, responsive) */
html { font-size: 16px; }
@media (max-width: 480px) { html { font-size: 15px; } }
body {
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
}
h1, h2, h3, h4, h5, h6 { font-weight: 800; color: var(--text-dark); line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 1.6rem + 2.2vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.9vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); font-weight: 700; }
p { font-size: 1rem; line-height: 1.75; color: var(--text-dark); }
small, .text-sm { font-size: 0.875rem; color: var(--text-light); }
.lead { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem); color: var(--text-light); }
.btn { font-size: 0.95rem; letter-spacing: 0.3px; }

/* Normalize key headings across pages (override inline font-sizes) */
.hero h1, .hero-section .hero-content h1 { font-size: clamp(2rem, 1.6rem + 2.2vw, 3rem) !important; }
section h2 { font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.2rem) !important; }
.welcome-content h2, .our-services-home-section h2, .gallery-section h2,
.vision-mission-section h2, .testimonials-section h2, .branches-section h2 { font-size: clamp(1.7rem, 1.4rem + 1.6vw, 2.3rem) !important; }

/* Tables */
table { font-size: 0.95rem; }
th { font-size: 0.95rem; font-weight: 700; }
td { font-size: 0.95rem; }

/* Smaller devices heading tweaks */
@media (max-width: 640px) {
    .hero h1, .hero-section .hero-content h1 { font-size: clamp(1.8rem, 1.5rem + 3vw, 2.4rem) !important; }
    section h2 { font-size: clamp(1.4rem, 1.2rem + 2vw, 1.9rem) !important; }
}
/* Container */
/* (container defined earlier) */

/* Focus visibility */
a:focus-visible, button:focus-visible { outline: 3px solid #FFA500; outline-offset: 2px; }

/* Leadership cards */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.team-card { background: var(--white); padding: 2rem; border-radius: 20px; text-align: center; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.08); margin-bottom: 1rem; border: 3px solid var(--gold-primary); }
.team-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-top: .25rem; }
.team-card p { color: var(--text-light); margin-top: .5rem; }
/* Leadership slider tweaks */
.leadership-slider .swiper-slide { display: flex; justify-content: center; padding: 1rem 0; }
.leadership-slider .team-card { max-width: 600px; margin: 0 auto; }
.leadership-slider .team-card img { width: 100%; height: 360px; object-fit: cover; border-radius: 16px; }

/* DataTables pagination - modern pill style */
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate { white-space: nowrap; }
.dataTables_wrapper .row:last-child { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:nowrap; }
.dataTables_wrapper .dataTables_paginate { margin: 0; }
.dataTables_wrapper .dataTables_paginate .paginate_button { border-radius: 999px !important; border: 1px solid #e5e7eb !important; background: #ffffff !important; color: var(--text-dark) !important; padding: .35rem .75rem !important; margin: 0 .15rem !important; box-shadow: 0 2px 6px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.dataTables_wrapper .dataTables_paginate .paginate_button:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.08); border-color: #d1d5db !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important; color: #ffffff !important; border-color: #f59e0b !important; box-shadow: 0 8px 18px rgba(255,165,0,.35); }
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover { color: #9ca3af !important; background: #f9fafb !important; border-color: #e5e7eb !important; box-shadow: none; transform: none; cursor: not-allowed !important; }
@media (max-width: 640px){ .dataTables_wrapper .row:last-child { gap:.5rem; } .dataTables_wrapper .dataTables_paginate .paginate_button { padding:.3rem .6rem !important; } }



/* Page-specific animations and effects moved from index.html */
.hero-subtitle { font-size: 1.3rem; margin-bottom: 2rem; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }
/* Gold gradient subtitle */
.hero-section .hero-subtitle {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 50%, var(--gold-accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    opacity: 1;
}
.hero-stats { display: flex; justify-content: center; gap: 3rem; margin-top: 3rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item h3 { font-size: 2.5rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.stat-item p { font-size: 1rem; }
/* Gold gradient labels for stats */
.hero-section .stat-item p {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 50%, var(--gold-accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.feature-item p, .step-item p { color: var(--text-light); margin-top: 1rem; line-height: 1.6; }
.service-card ul { list-style: none; padding: 0; }
.service-card ul li { padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; position: relative; padding-left: 1.5rem; }
.service-card ul li:before { content: '✓'; position: absolute; left: 0; color: var(--accent-color); font-weight: bold; }
.service-card ul li:last-child { border-bottom: none; }
.testimonial-slide { position: relative; }
.testimonial-slide .quote:before { content: '"'; font-size: 4rem; color: var(--primary-color); position: absolute; top: -10px; left: 20px; opacity: 0.3; }
.testimonial-slide .author { font-size: 1.1rem; margin-top: 1rem; }
.swiper-pagination-bullet { background: var(--primary-color); }
.swiper-pagination-bullet-active { background: var(--primary-dark); }

/* Loading animation */
body:not(.loaded) { overflow: hidden; }
.loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--gradient-primary); display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.5s ease; }
.loading-screen.hidden { opacity: 0; pointer-events: none; }
.loader { width: 50px; height: 50px; border: 3px solid rgba(255, 255, 255, 0.3); border-top: 3px solid white; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Mobile menu animation (complements existing rules) */
.mobile-menu.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.mobile-menu.active span:nth-child(2) { opacity: 0; }
.mobile-menu.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

/* Hover effects */
.btn:hover { transform: translateY(-2px); }
.feature-item:hover, .service-card:hover, .branch-card:hover { transform: translateY(-10px); }

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-stats { gap: 2rem; }
    .stat-item h3 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
}

/* Moved from index.html <style> (lines ~27-1001) */
* { margin: 0; padding: 0; box-sizing: border-box; }
.badge-pills { display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; margin-top:1.25rem; }
.badge-pill { display:inline-flex; align-items:center; gap:.5rem; padding:.5rem .9rem; border-radius:999px; background: rgba(255,255,255,0.12); color:#fff; border:1px solid rgba(255,255,255,0.35); font-weight:600; font-size:.85rem; }
.badge-pill i { opacity:.95; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* Header styles */
header { position: fixed; top: 0; left: 0; right: 0; background: transparent; backdrop-filter: none; z-index: 1000; transition: all 0.3s ease; box-shadow: none; border-bottom: none; }
header.scrolled { background: rgba(239, 246, 255, 0.96); backdrop-filter: saturate(140%) blur(6px); box-shadow: var(--shadow); border-bottom: 1px solid rgba(30, 58, 138, 0.08); }
header.scrolled nav a { color: var(--trust-blue); }
header.scrolled nav a:hover, header.scrolled nav a.active { color: var(--gold-primary); }
.header-content { display: flex; justify-content: flex-start; align-items: center; padding: 0; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 1rem; }
.logo img { width: 60px; height: 60px; border-radius: 12px; box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3); border: 2px solid #FFD700; transition: all 0.3s ease; }
.logo img:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4); }
.logo span { font-weight: 800; font-size: 1.3rem; background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3); }
nav { margin-left: auto; padding-right: 20px; }
nav ul { display: flex; list-style: none; gap: 1.5rem; align-items: center; background: transparent; padding: 0; border-radius: 0; box-shadow: none; border: none; }
nav a { text-decoration: none; color: #ffffff; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.2s ease; position: relative; padding: 0.6rem 0; border-radius: 0; white-space: nowrap; }
nav a:hover, nav a.active { color: #FFD700; }
nav a::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%); border-radius: 2px; transition: width 0.3s ease; }
nav a:hover::after, nav a.active::after { width: 80%; }
.mobile-menu { display: none; flex-direction: column; cursor: pointer; padding: 0.5rem; margin-left: auto; margin-right: 20px; }
.mobile-menu span { width: 25px; height: 3px; background: var(--text-dark); margin: 3px 0; transition: 0.3s; }
@media (max-width: 1024px) { body.mobile-nav-open header { background: rgba(15, 23, 42, 0.98); } body.mobile-nav-open nav a { color: #e5e7eb; } body.mobile-nav-open nav a:hover { color: #FFD700; } }
/* Hero */
.hero-section { background: #1e3a8a; min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>'); opacity: 0.1; }
.bg-slideshow { position: absolute; inset: 0; z-index: 1; }
.bg-slideshow .slide { position: absolute; inset: 0; background-image: var(--bg); background-size: cover; background-position: center; opacity: 0; animation: slideFade 21s infinite; transform: scale(1.02); }
/* Start after a brief plain color display, then ~7s per slide */
.bg-slideshow .slide:nth-child(1) { animation-delay: 5s; }
.bg-slideshow .slide:nth-child(2) { animation-delay: 12s; }
.bg-slideshow .slide:nth-child(3) { animation-delay: 19s; }
.bg-slideshow .slideshow-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.45), rgba(15,23,42,.45)); }
@keyframes slideFade { 0% { opacity: 0; transform: scale(1.05); } 6% { opacity: 1; transform: scale(1.0); } 28% { opacity: 1; transform: scale(1.0); } 34% { opacity: 0; transform: scale(1.02); } 100% { opacity: 0; } }
.hero-content { position: relative; z-index: 2; text-align: center; color: white; }
.domain-name { font-size: 1.1rem; opacity: 0.9; margin-bottom: 1rem; font-weight: 500; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 2rem; line-height: 1.2; }
.hero-section .hero-content h1 {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 50%, var(--gold-accent) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; position: relative; overflow: hidden; }
.btn.primary { background: var(--white); color: var(--primary-color); box-shadow: var(--shadow-lg); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.btn.secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn.secondary:hover { background: var(--white); color: var(--primary-color); }
.btn.outline { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn.outline:hover { background: var(--primary-color); color: var(--white); }
/* Welcome */
.welcome-section { padding: 5rem 0; background: var(--bg-light); }
.welcome-content { text-align: center; margin-bottom: 4rem; }
.welcome-content h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text-dark); }
.welcome-content p { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-item { background: var(--white); padding: 2.5rem; border-radius: 20px; text-align: center; box-shadow: var(--shadow); transition: all 0.3s ease; position: relative; overflow: hidden; }
.feature-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); }
.feature-item:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.feature-item img { width: 80px; height: 80px; margin-bottom: 1.5rem; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)); }
.feature-item h3 { font-size: 1.3rem; font-weight: 600; color: var(--text-dark); }
/* How it works */
.how-it-works-section { padding: 5rem 0; background: transparent; }
.how-it-works-section h2 { text-align: center; font-size: 2.5rem; font-weight: 700; margin-bottom: 3rem; color: var(--text-dark); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.step-item { text-align: center; position: relative; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: var(--gradient-primary); color: var(--white); border-radius: 50%; font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; box-shadow: var(--shadow-lg); }
.step-item h4 { font-size: 1.2rem; font-weight: 600; color: var(--text-dark); }
.tagline { text-align: center; font-size: 1.5rem; font-weight: 700; color: var(--primary-color); background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* Services */
.our-services-home-section { padding: 5rem 0; background: var(--bg-light); }
.our-services-home-section h2 { text-align: center; font-size: 2.5rem; font-weight: 700; margin-bottom: 3rem; color: var(--text-dark); }
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }
.service-card { background: var(--white); padding: 3rem; border-radius: 20px; box-shadow: var(--shadow); transition: all 0.3s ease; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); }
.service-card p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; font-style: italic; }
/* Testimonials */
.testimonials-section { padding: 5rem 0; background: transparent; }
.testimonials-section h2 { text-align: center; font-size: 2.5rem; font-weight: 700; margin-bottom: 3rem; color: var(--text-dark); }
.testimonial-slider { position: relative; }
.testimonial-slide { background: var(--bg-light); padding: 3rem; border-radius: 20px; text-align: center; margin: 0 1rem; }
.testimonial-slide .quote { font-size: 1.2rem; color: var(--text-light); margin-bottom: 2rem; font-style: italic; }
.testimonial-slide .author { font-weight: 600; color: var(--text-dark); }
/* Vision & Mission */
.vision-mission-section { padding: 5rem 0; background: var(--bg-light); }
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; align-items: stretch; }
.vm-card { background: var(--white); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow); text-align: center; transition: transform .3s ease, box-shadow .3s ease; position: relative; overflow: hidden; }
.vm-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); }
.vm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vm-icon { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(37,99,235,.1); color: var(--primary-color); margin-bottom: 1rem; box-shadow: 0 6px 20px rgba(37,99,235,.15); }
.vm-icon i { font-size: 1.5rem; }
.vm-card h3 { font-size: 1.4rem; font-weight: 700; margin-top: .25rem; color: var(--text-dark); }
.vm-card p { color: var(--text-light); margin-top: .5rem; line-height: 1.7; }
/* Contact */
.contact-section { padding: 5rem 0; background: var(--gradient-primary); color: var(--white); }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-info h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-info p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.contact-form { background: rgba(255, 255, 255, 0.1); padding: 2rem; border-radius: 20px; backdrop-filter: blur(10px); }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: none; border-radius: 10px; background: rgba(255, 255, 255, 0.9); color: var(--text-dark); font-size: 1rem; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
/* Footer */
footer { background: var(--text-dark); color: var(--white); padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.footer-logo img { width: 50px; height: 50px; border-radius: 10px; box-shadow: 0 3px 8px rgba(255, 215, 0, 0.2); border: 2px solid #FFD700; transition: all 0.3s ease; }
.footer-logo img:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); }
.footer-logo span { font-weight: 800; font-size: 1.2rem; background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-column h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; color: var(--white); }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 0.5rem; }
.footer-column ul li a { color: #9ca3af; text-decoration: none; transition: color 0.3s ease; }
.footer-column ul li a:hover { color: var(--white); }
.social-icons { display: flex; gap: 1rem; margin-top: 1rem; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--primary-color); color: var(--white); border-radius: 50%; text-decoration: none; transition: all 0.3s ease; }
.social-icons a:hover { background: var(--primary-dark); transform: translateY(-2px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #374151; color: #ffffff; }
.footer-bottom p, .footer-bottom span { color: #ffffff; }
.footer-bottom a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold-primary); }
/* Responsive */
@media (max-width: 768px) {
    .mobile-menu { display: flex; }
    nav { margin-left: 0; }
    nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); flex-direction: column; padding: 1.5rem; box-shadow: var(--shadow); gap: 0.5rem; border-radius: 12px; border: 1px solid rgba(255, 215, 0, 0.25); }
    nav ul.active { display: flex; }
    nav a { padding: 0.8rem 1rem; text-align: center; border-radius: 8px; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .contact-content { grid-template-columns: 1fr; gap: 2rem; }
    .service-cards { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}
/* Accessibility */
:focus { outline: 2px solid var(--primary-color); outline-offset: 2px; }
@media (prefers-contrast: high) { :root { --text-dark: #000000; --text-light: #333333; } }
/* Extra small devices */
@media (max-width: 480px) { .hero-content h1 { font-size: 2rem; } .service-cards { grid-template-columns: 1fr; gap: 1rem; } .plan-cards { grid-template-columns: 1fr !important; } .header-content { padding: 0.8rem 0 0.8rem 15px; } .logo span { font-size: 1rem; } nav a { font-size: 0.8rem; padding: 0.7rem 0.8rem; } }
/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }
/* Anchor scroll alignment */
section { scroll-margin-top: 100px; }
/* Ensure chit plans anchor accounts for taller fixed header */
#chit-plans { scroll-margin-top: 120px; }
/* Safety: make sure plan details can extend fully */
.chit-plans-section .plan-details-container { overflow: visible; }
/* Gallery */
.gallery-section { padding: 5rem 0; background: transparent; }
.gallery-section h2 { text-align: center; font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); }
.gallery-section p { text-align: center; color: var(--text-light); font-size: 1.1rem; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.gallery-filter { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn { padding: 0.75rem 1.5rem; background: var(--bg-light); border: 2px solid transparent; border-radius: 50px; color: var(--text-dark); font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; }
.filter-btn:hover, .filter-btn.active { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: var(--white); border-color: #FFD700; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3); }
.gallery-grid { display: none; }
.gallery-swiper { padding: 1rem 0 2rem; }
.gallery-swiper .swiper-slide { height: auto; }
.gallery-swiper .gallery-item { height: 100%; }
.gallery-item { position: relative; overflow: hidden; border-radius: 20px; cursor: pointer; aspect-ratio: 4/3; box-shadow: var(--shadow); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.gallery-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.2) 100%); opacity: 0; transition: opacity 0.3s ease; z-index: 1; }
.gallery-item:hover::before { opacity: 1; }
.gallery-item:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%); color: var(--white); padding: 2rem 1.5rem 1.5rem; transform: translateY(100%); transition: transform 0.4s ease; z-index: 2; }
.gallery-item:hover .gallery-overlay { transform: translateY(0); }
.gallery-overlay h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.gallery-overlay p { font-size: 0.9rem; opacity: 0.9; margin: 0; text-align: left; }
.gallery-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 60px; height: 60px; background: rgba(255, 255, 255, 0.95); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #FFD700; font-size: 1.5rem; z-index: 3; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4); }
.gallery-item:hover .gallery-icon { transform: translate(-50%, -50%) scale(1); }
.gallery-item.hide { display: none; }
.gallery-item.show { display: block; animation: fadeInUp 0.6s ease; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; } .gallery-filter { gap: 0.5rem; } .filter-btn { padding: 0.5rem 1rem; font-size: 0.75rem; } }

/* Subtle flash to confirm details updated */
.flash-highlight { animation: flashHighlight 0.8s ease; }
@keyframes flashHighlight { 0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(255, 215, 0, 0); } }

/* Floating WhatsApp button */
.floating-whatsapp { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.18); z-index: 1100; transition: transform .2s ease, box-shadow .2s ease; }
.floating-whatsapp i { font-size: 28px; line-height: 1; }
.floating-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.22); }
/* Attention animation */
.floating-whatsapp { animation: wa-bounce 2.4s ease-in-out infinite; }
.floating-whatsapp::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0.35; transform: scale(1); filter: blur(2px); animation: wa-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes wa-bounce { 0%, 100% { transform: translateY(0); } 10% { transform: translateY(-3px); } 20% { transform: translateY(0); } 30% { transform: translateY(-2px); } 40% { transform: translateY(0); } }
@keyframes wa-pulse { 0% { opacity: 0.35; transform: scale(1); } 70% { opacity: 0; transform: scale(1.45); } 100% { opacity: 0; transform: scale(1.45); } }
/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .floating-whatsapp { animation: none; }
    .floating-whatsapp::after { animation: none; }
}

/* Plan cards grid responsiveness */
.plan-cards { display: grid !important; grid-template-columns: repeat(3, minmax(260px, 1fr)) !important; gap: 2rem !important; }
@media (max-width: 1024px) { .plan-cards { grid-template-columns: repeat(2, minmax(260px, 1fr)) !important; } }
@media (max-width: 640px) {
    .plan-cards { grid-template-columns: 1fr !important; }
    /* Stack buttons vertically on small screens */
    .plan-card div[style*="display: flex"] { flex-direction: column !important; }
    .plan-card div[style*="display: flex"] .btn { width: 100% !important; }
}

/* Export image: modern clean style for JPG generation */
.plan-details-container.export-mode {
    background: #ffffff !important;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.12);
    padding: 2.25rem !important;
    position: relative;
    overflow: hidden;
}
.plan-details-container.export-mode::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 10px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 60%, var(--gold-accent) 100%);
}
.plan-details-container.export-mode .plan-header h3 {
    font-size: 2rem !important;
    letter-spacing: 0.2px;
}
.plan-details-container.export-mode .plan-header p { color: #6b7280 !important; }
.plan-details-container.export-mode .plan-actions { display: none !important; }
.plan-details-container.export-mode table { border-collapse: separate !important; border-spacing: 0 !important; overflow: hidden; border-radius: 12px; }
.plan-details-container.export-mode thead tr th {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%) !important;
    color: #fff !important; border: none !important;
}
.plan-details-container.export-mode tbody tr td { background: #ffffff !important; }
.plan-details-container.export-mode tbody tr:nth-child(odd) td { background: #fafafa !important; }
.plan-details-container.export-mode tbody tr td { border-bottom: 1px solid #eee !important; }
.plan-details-container.export-mode .plan-summary { background: #fafafa !important; border: 1px solid #eee; }
.plan-details-container.export-mode .summary-item div:first-child { letter-spacing: 0.2px; }

/* Export Sheet wrapper (colorful, branded) */
.export-sheet {
    width: 1200px;
    background: linear-gradient(180deg, #f0f9ff 0%, #fff 12%) no-repeat;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.15);
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.15);
}
.export-sheet .sheet-header {
    position: relative;
    padding: 22px 28px;
    color: #fff;
    background: radial-gradient(1200px 400px at -10% 0%, rgba(99,102,241,.5), transparent 60%),
                radial-gradient(1000px 400px at 110% 0%, rgba(236,72,153,.5), transparent 60%),
                linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #7c3aed 72%, #ec4899 100%);
}
.export-sheet .sheet-header .brand {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.export-sheet .sheet-title {
    font-size: 1.75rem; font-weight: 800; letter-spacing: .3px;
}
.export-sheet .sheet-subtitle {
    opacity: .95; font-weight: 600;
}
.export-sheet .chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.export-sheet .chip {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-weight: 700; font-size: .85rem;
}
.export-sheet .sheet-body { padding: 22px 28px 26px; background: #fff; }
.export-sheet .sheet-footer {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; padding: 14px 22px; color: #0f172a;
    background: linear-gradient(180deg, #fff, #f8fafc);
    border-top: 1px solid #eef2ff;
}
.export-sheet .sheet-footer .f-col { font-size: .9rem; }
.export-sheet .sheet-footer .f-col .title { font-weight: 800; color: #1f2937; margin-bottom: .25rem; }