/* ============================================
   RefundPro - Global Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --secondary: #0F172A;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --purple: #8B5CF6;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --text: #334155;
    --text-light: #64748B;
    --border: #E2E8F0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; color: var(--secondary); line-height: 1.3; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; content-visibility: auto; }
.site-logo { max-height: 40px; width: auto; display: block; }
ul { list-style: none; }

/* ---------- Container ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--white);
    padding: 16px 0;
    transition: var(--transition);
}
.navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow-md); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; color: var(--secondary); font-family: 'Poppins', sans-serif; font-weight: 600; }
.navbar-brand i { color: var(--primary); font-size: 1.6rem; }
.navbar-brand:hover { color: var(--secondary); }
.navbar-menu { display: flex; align-items: center; gap: 30px; }
.navbar-nav { display: flex; align-items: center; gap: 8px; }
.nav-item {}
.nav-link {
    padding: 8px 16px; border-radius: var(--radius-sm);
    color: var(--text); font-weight: 500; font-size: 0.95rem;
    position: relative; transition: var(--transition);
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition); transform: translateX(-50%);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.navbar-actions { display: flex; gap: 12px; }
.navbar-toggler {
    display: none; background: none; border: none; font-size: 1.5rem;
    color: var(--secondary); cursor: pointer; padding: 8px;
}
.navbar-close { display: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
    border: 2px solid transparent; cursor: pointer;
    transition: var(--transition); text-align: center; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(13,148,136,0.4); }
.btn-secondary, .btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover, .btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-success:hover { background: #059669; border-color: #059669; color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover { background: #DC2626; border-color: #DC2626; color: var(--white); }
.btn-warning { background: var(--warning); color: var(--white); border-color: var(--warning); }
.btn-warning:hover { background: #D97706; border-color: #D97706; color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: rgba(255,255,255,0.9); color: var(--primary-dark); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn:active { transform: translateY(0); }

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    position: relative; padding: 120px 20px 80px; text-align: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.75), rgba(13,148,136,0.45));
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 3.5rem; color: var(--white); margin-bottom: 20px; font-weight: 700; }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: 36px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Small hero for subpages */
.hero-small {
    min-height: 400px; height: auto; display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
    position: relative; padding: 140px 20px 80px; text-align: center;
}
.hero-small::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.8), rgba(13,148,136,0.5));
}
.hero-small .hero-content { position: relative; z-index: 2; }
.hero-small h1 { font-size: 2.8rem; color: var(--white); margin-bottom: 12px; }
.hero-small p { font-size: 1.1rem; color: rgba(255,255,255,0.85); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-light { background: var(--white); }
.section-gray { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 12px; }
.section-header .section-subtitle { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ---------- Cards ---------- */
.card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 32px;
    transition: var(--transition); border: 1px solid var(--border);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 20px; }
.card-img img { width: 100%; height: 220px; object-fit: cover; }

/* Stats Counter */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-color, #0F172A) 0%, #1E293B 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0D9488;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ---------- Features Grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.feature-card { text-align: center; padding: 40px 24px; }
.feature-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-color, #14B8A6));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: var(--white); font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(13,148,136,0.3);
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- What Drives Us ---------- */
.what-drives-us { background: #F8FAFC; }
.drives-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.drive-card {
    background: var(--white); border-radius: var(--radius); padding: 36px 28px;
    text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border);
    transition: var(--transition);
}
.drive-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.drive-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--primary); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: var(--white); font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(13,148,136,0.3);
}
.drive-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.drive-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Process Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; position: relative; }
.step-card { text-align: center; position: relative; }
.step-number {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700;
    margin: 0 auto 20px; position: relative; z-index: 2;
}
.step-card .card-img { margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; }
.step-card .card-img img { width: 100%; height: 180px; object-fit: cover; }
.step-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-card p { color: var(--text-light); font-size: 0.9rem; }

/* Step connector line */
.steps-grid::before {
    content: ''; position: absolute; top: 28px; left: 15%; right: 15%;
    height: 3px; background: var(--border); z-index: 1;
}

/* ---------- Testimonials ---------- */
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
    min-width: 100%; padding: 0 40px; box-sizing: border-box;
    display: flex; justify-content: center;
}
.testimonial-inner {
    background: var(--white); border-radius: var(--radius); padding: 40px;
    box-shadow: var(--shadow); max-width: 700px; text-align: center;
    border: 1px solid var(--border);
}
.testimonial-inner .quote { font-size: 1.1rem; color: var(--text); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-inner .quote::before { content: '\201C'; font-size: 3rem; color: var(--primary); line-height: 0; vertical-align: -0.5em; margin-right: 4px; }
.testimonial-person { display: flex; align-items: center; justify-content: center; gap: 16px; }
.testimonial-person img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.testimonial-person .info h4 { font-size: 1rem; margin-bottom: 2px; }
.testimonial-person .info span { color: var(--text-light); font-size: 0.85rem; }
.testimonial-stars { color: var(--warning); margin-bottom: 16px; font-size: 1rem; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.carousel-dot {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--primary);
    background: transparent; cursor: pointer; transition: var(--transition);
}
.carousel-dot.active { background: var(--primary); }
.carousel-dot:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white); border: 1px solid var(--border); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; color: var(--text); transition: var(--transition); z-index: 5; }
.carousel-nav:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* ---------- Trusted / Brands ---------- */
.brands-row {
    display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap; padding: 20px 0;
}
.brand-name {
    font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700;
    color: #CBD5E1; transition: var(--transition); letter-spacing: 1px;
}
.brand-name:hover { color: var(--primary); }

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 20px; text-align: center; border-radius: 0;
}
.cta-banner h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Team Cards ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.team-card { text-align: center; padding: 40px 24px; }
.team-card img {
    width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
    margin: 0 auto 20px; border: 4px solid var(--border);
    transition: var(--transition);
}
.team-card:hover img { border-color: var(--primary); }
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-weight: 500; font-size: 0.9rem; margin-bottom: 14px; }
.team-social { display: flex; justify-content: center; gap: 10px; }
.team-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg); color: var(--text-light);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); font-size: 0.85rem;
}
.team-social a:hover { background: var(--primary); color: var(--white); }

/* ---------- Service Cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.services-grid-home { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.service-card { overflow: hidden; padding: 0; }
.service-card .card-img { margin-bottom: 0; border-radius: 0; }
.service-card .card-img img { height: 240px; }
.service-card .service-body { padding: 28px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--text-light); margin-bottom: 16px; font-size: 0.95rem; }
.service-card ul { margin-bottom: 20px; }
.service-card ul li { padding: 4px 0; color: var(--text); font-size: 0.9rem; }
.service-card ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--success); margin-right: 8px; font-size: 0.8rem; }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }

/* ---------- About / Story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.story-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.story-text h2 { font-size: 2rem; margin-bottom: 16px; }
.story-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }

/* ---------- Mission / Vision / Values ---------- */
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.mvv-card { text-align: center; padding: 40px 24px; }
.mvv-icon {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-color, #14B8A6));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; color: var(--white); font-size: 1.4rem;
}
.mvv-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.mvv-card p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; width: 3px; height: 100%; background: var(--border); transform: translateX(-50%); }
.timeline-item { position: relative; margin-bottom: 40px; display: flex; align-items: center; }
.timeline-item:nth-child(odd) { justify-content: flex-start; padding-right: 50%; }
.timeline-item:nth-child(even) { justify-content: flex-end; padding-left: 50%; }
.timeline-dot {
    position: absolute; left: 50%; width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary); border: 4px solid var(--white); transform: translateX(-50%);
    box-shadow: var(--shadow); z-index: 2;
}
.timeline-content {
    background: var(--white); padding: 20px 24px; border-radius: var(--radius-sm);
    box-shadow: var(--shadow); max-width: 340px; width: 100%;
}
.timeline-content h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 4px; }
.timeline-content p { color: var(--text-light); font-size: 0.9rem; }

/* ---------- Contact Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-card .icon {
    width: 50px; height: 50px; border-radius: var(--radius-sm); flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-color, #14B8A6));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.1rem;
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--text-light); font-size: 0.9rem; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.95rem; color: var(--secondary); }
.form-control {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border);
    border-radius: var(--radius-sm); font-family: 'Inter', sans-serif;
    font-size: 0.95rem; color: var(--text); background: var(--white);
    transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.15); }
.form-control:focus-visible { outline: none; }
.form-control.error { border-color: var(--danger); }
.form-control::placeholder { color: #94A3B8; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ---------- FAQ Accordion ---------- */
.faq-section-title { font-size: 1.4rem; margin-bottom: 20px; color: var(--secondary); padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--white); }
.faq-question {
    padding: 18px 24px; display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--secondary);
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary); background: #F1F5F9; }
.faq-question .icon { font-size: 1.2rem; transition: transform 0.3s ease; color: var(--primary); }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-item.active .faq-question { color: var(--primary); background: #F0FDFA; }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 400px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-light); line-height: 1.7; font-size: 0.95rem; }

/* FAQ Search */
.faq-search { max-width: 500px; margin: 0 auto 40px; position: relative; }
.faq-search input { padding-left: 48px; }
.faq-search .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-light); }

/* ---------- Alerts ---------- */
.alert {
    padding: 14px 20px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; font-size: 0.95rem; font-weight: 500;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-danger { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: #CCFBF1; color: #115E59; border: 1px solid #99F6E4; }
.alert-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: inherit; opacity: 0.6; padding: 0 4px; }
.alert-close:hover { opacity: 1; }

/* ---------- Badges ---------- */
.badge {
    display: inline-block; padding: 4px 12px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; text-transform: capitalize;
}
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-info { background: #CCFBF1; color: #115E59; }
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.badge-purple { background: #EDE9FE; color: #5B21B6; }
.badge-secondary { background: #F1F5F9; color: var(--text-light); }

/* ---------- Tables ---------- */
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
table thead th { background: #F8FAFC; padding: 14px 16px; text-align: left; font-weight: 600; font-size: 0.9rem; color: var(--text-light); border-bottom: 2px solid var(--border); }
table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
table tbody tr:hover { background: #F8FAFC; }
table tbody tr:nth-child(even) { background: #FAFBFC; }
table tbody tr:nth-child(even):hover { background: #F1F5F9; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); font-weight: 500; font-size: 0.9rem;
    color: var(--text); transition: var(--transition);
}
.pagination a:hover, .pagination span.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    display: none; align-items: center; justify-content: center; z-index: 2000;
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal {
    background: var(--white); border-radius: var(--radius); max-width: 560px; width: 90%;
    max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 1.2rem; }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-light); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--secondary); padding: 60px 0 0; color: #94A3B8; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 16px; }
.footer-brand i { color: var(--primary); }
.footer-description { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: #94A3B8;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); font-size: 0.9rem;
}
.social-link:hover { background: var(--primary); color: var(--white); }
.footer-title { color: var(--white); font-size: 1.05rem; margin-bottom: 20px; font-family: 'Poppins', sans-serif; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94A3B8; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; }
.footer-contact i { color: var(--primary); margin-top: 3px; }
.footer-newsletter { border-top: 1px solid rgba(255,255,255,0.1); padding: 30px 0; text-align: center; }
.footer-newsletter h4 { color: var(--white); margin-bottom: 8px; font-family: 'Poppins', sans-serif; }
.footer-newsletter p { font-size: 0.9rem; margin-bottom: 16px; }
.newsletter-form { display: flex; justify-content: center; gap: 12px; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
    flex: 1; padding: 12px 16px; border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm); background: rgba(255,255,255,0.08);
    color: var(--white); font-size: 0.9rem; outline: none;
}
.newsletter-form input::placeholder { color: #64748B; }
.newsletter-form input:focus { border-color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.85rem; }


/* ---------- Fade-in Animation ---------- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Map ---------- */
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 40px; }
.map-container iframe { width: 100%; height: 400px; border: 0; }

/* ---------- Legal / Policy Pages ---------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 32px 0 12px; color: var(--secondary); }
.legal-content h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.legal-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { margin: 12px 0 20px 24px; list-style: disc; }
.legal-content ul li { color: var(--text-light); line-height: 1.7; margin-bottom: 6px; }

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-light { color: var(--text-light) !important; }
.text-white { color: var(--white) !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.d-flex { display: flex; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-100 { width: 100%; }

/* ---------- Loading Spinner ---------- */
.spinner {
    display: inline-block; width: 20px; height: 20px;
    border: 2px solid var(--border); border-top-color: var(--primary);
    border-radius: 50%; animation: spin 0.6s linear infinite;
}
.spinner-lg { width: 36px; height: 36px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
    position: absolute; inset: 0; background: rgba(255,255,255,0.8);
    display: flex; align-items: center; justify-content: center; z-index: 10;
    border-radius: var(--radius);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 0.88rem; color: var(--text-light); margin-bottom: 20px;
}
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary-dark); text-decoration: underline; }
.breadcrumb .separator { color: var(--border); font-size: 0.7rem; }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ---------- Tooltip ---------- */
[data-tooltip] {
    position: relative; cursor: help;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: var(--secondary); color: var(--white);
    padding: 6px 12px; border-radius: 6px; font-size: 0.78rem;
    white-space: nowrap; opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(4px);
    z-index: 100;
}
[data-tooltip]:hover::after {
    opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ---------- Skip to content (accessibility) ---------- */
.skip-link {
    position: fixed; top: -100%; left: 16px; z-index: 10000;
    background: var(--primary); color: var(--white); padding: 12px 24px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---------- Growth Chart Section ---------- */
.growth-chart-section {
    background: linear-gradient(135deg, var(--secondary-color, #0F172A) 0%, #1E293B 100%);
    color: #fff;
}
.growth-chart-section .section-header h2 { color: #fff; }
.growth-chart-section .section-subtitle { color: rgba(255,255,255,0.7); }

.growth-chart-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.growth-chart-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px 24px;
    height: 380px;
    position: relative;
}
.growth-chart-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}
.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}
.legend-dot-primary {
    background: #0D9488;
}
.legend-dot-secondary {
    background: #14B8A6;
}

/* ---------- 404 Error Page ---------- */
.error-404-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}
.error-404-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}
.error-404-icon {
    font-size: 64px;
    color: var(--primary);
    opacity: 0.25;
    margin-bottom: 8px;
}
.error-404-number {
    font-family: 'Poppins', sans-serif;
    font-size: 140px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    letter-spacing: -4px;
    margin-bottom: 8px;
}
.error-404-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}
.error-404-message {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.6;
}
.error-404-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .error-404-number { font-size: 100px; }
    .error-404-icon { font-size: 48px; }
    .error-404-heading { font-size: 22px; }
    .error-404-message { font-size: 15px; }
}

/* ---------- Responsive ---------- */
/* Main responsive rules are in responsive.css */

/* ---------- Reduced Motion Preference ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
