/* CSS Variables for Easy Theme Management */
:root {
    --primary-color: #1a5f3c;
    --primary-dark: #0f3d28;
    --primary-light: #2d7a4f;
    --secondary-color: #f8f9fa;
    --accent-color: #ffd700;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-md: 10px;
    --border-radius-sm: 6px;
    --scroll-distance: -50%;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 118px; /* Account for fixed header + announcement bar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    line-height: 1.2;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--text-white);
    backdrop-filter: none;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: var(--primary-color);
    color: var(--text-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Ensure outline buttons have good contrast */
.btn-outline,
.btn-outline-dark {
    text-shadow: none;
    letter-spacing: 0.5px;
}

/* Add focus styles for accessibility */
.btn-outline:focus,
.btn-outline-dark:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Additional fallback styles for better visibility */
.btn-outline {
    /* Ensure text is always visible on dark backgrounds */
    color: var(--text-white) !important;
    border-color: var(--text-white) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-outline-dark {
    /* Ensure text is always visible on light backgrounds */
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    text-shadow: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

/* Announcement bar (above navbar) */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    overflow: hidden;
    max-height: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-ticker {
    display: flex;
    width: max-content;
    animation: announcement-scroll 35s linear infinite;
    padding: 8px 0;
}

.announcement-ticker:hover {
    animation-play-state: paused;
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding-right: 60px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.announcement-link:hover {
    color: var(--accent-color);
}

.announcement-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.announcement-cta {
    color: var(--accent-color);
    font-weight: 600;
    margin-left: 4px;
}

.announcement-link:hover .announcement-cta {
    text-decoration: underline;
}

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

@media (prefers-reduced-motion: reduce) {
    .announcement-bar {
        max-height: none;
    }

    .announcement-ticker {
        animation: none;
        justify-content: center;
        width: 100%;
    }

    .announcement-link-dupe {
        display: none;
    }

    .announcement-link {
        white-space: normal;
        text-align: center;
    }
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0 1rem;
    flex-shrink: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(26, 95, 60, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 1rem 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* Services mega dropdown - wide multi-column */
.nav-item.dropdown-mega {
    position: relative;
}

.dropdown-mega-menu {
    min-width: 420px;
    padding: 1.25rem 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.nav-item.dropdown-mega:hover .dropdown-mega-menu {
    transform: translateX(-50%) translateY(0);
}

.dropdown-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 2rem;
}

.dropdown-mega-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-mega-link:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.dropdown-mega-viewall {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-mega-viewall:hover {
    color: var(--primary-dark);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    text-align: center;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 160px;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #bdc3c7;
    padding: 0.25rem 0;
}

.contact-item .contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-item .contact-icon i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contact-value {
    color: #bdc3c7;
    line-height: 1.3;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

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

.turnstile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    background: rgba(248, 250, 252, 0.08);
    border: 1px solid rgba(248, 250, 252, 0.15);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #bdc3c7 !important;
}

.turnstile-badge:hover {
    background: rgba(248, 250, 252, 0.12);
    border-color: rgba(248, 250, 252, 0.25);
    color: var(--accent-color) !important;
}

.turnstile-badge-icon {
    opacity: 0.9;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-4 {
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Page Header - Beautiful gradient with wave pattern for all pages */
.page-header {
    padding: 100px 0 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32V320H1392C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320H0Z"/></svg>') center bottom no-repeat;
    background-size: cover;
    opacity: 0.6;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    opacity: 0.7;
}

.breadcrumb .current {
    opacity: 0.8;
}

/* About Page Styles */
.about-hero {
    padding: 80px 0;
    background-color: var(--white);
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-hero-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-hero-image .about-hero-img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-hero-image .about-hero-img:hover {
    transform: scale(1.02);
}

.mission-vision {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.mission-card, .vision-card, .values-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.mission-card:hover, .vision-card:hover, .values-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon, .mission-icon, .vision-icon, .values-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-card h3, .vision-card h3, .values-card h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mission-card p, .vision-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

.values-list {
    list-style: none;
    text-align: left;
    padding: 0;
}

.values-list li {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.values-list li strong {
    color: var(--primary-color);
}

.core-values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    padding: 1.5rem;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-image .member-img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: top center;
    display: block;
    transition: var(--transition);
}

.team-member:hover .member-img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.member-designation {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1rem;
}

.why-choose-us {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Services Page Styles */
.services-overview {
    padding: 80px 0;
    background-color: var(--white);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Services quick nav grid - icon cards */
.services-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.service-nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition);
}

.service-nav-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(26, 95, 60, 0.05), rgba(45, 122, 79, 0.05));
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.service-nav-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    flex-shrink: 0;
}

.service-nav-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.service-nav-label {
    line-height: 1.3;
}

.service-detail-section {
    padding: 80px 0;
}

.service-detail-section:nth-child(even) {
    background-color: var(--light-gray);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Icon-focused layout - no placeholder images */
.service-detail-icon-layout {
    grid-template-columns: auto 1fr;
    gap: 3rem;
}

.service-icon-hero {
    width: 120px;
    height: 120px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.service-icon-hero svg {
    width: 60px;
    height: 60px;
    stroke: var(--white);
}

.service-detail-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service-detail-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.service-icon-large {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.service-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.service-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.service-benefits i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.service-tools-link {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-tools-link a {
    color: var(--primary-color);
    text-decoration: none;
}

.service-tools-link a:hover {
    text-decoration: underline;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.industry-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
}

.service-process {
    list-style: none;
    counter-reset: process-counter;
    margin-bottom: 2rem;
}

.service-process li {
    counter-increment: process-counter;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    position: relative;
    padding-left: 3rem;
}

.service-process li::before {
    content: counter(process-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--text-white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-content.reverse .service-image {
    order: -1;
}

.service-text h2 {
    font-size: 2.5rem;
}

.service-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-list i {
    color: var(--primary-color);
}

.service-process .process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 600;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.industry-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.tax-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.tax-service h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.tax-service ul {
    list-style: none;
    padding-left: 2rem;
}

.audit-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.audit-type h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.retainership-services .retainership-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.retainership-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.roc-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-comparison {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.pricing-card.featured::before {
    transform: scaleX(1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pricing-header .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Contact Page Styles */
.contact-info-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: none;
    }
}

.contact-card {
    text-align: center;
    background: var(--white);
    padding: 2rem 1.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 95, 60, 0.3);
}

.contact-card .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(26, 95, 60, 0.08), rgba(26, 95, 60, 0.04));
    border-radius: var(--border-radius);
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.contact-card .contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.contact-card:hover .contact-icon i {
    color: var(--white);
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-card p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
}

.contact-card p a:hover {
    color: var(--primary-dark);
}

.contact-card-action p a {
    font-size: 1rem;
    padding: 0.25rem 0;
}

.contact-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    transition: var(--transition);
}

.contact-card-cta:hover {
    color: var(--primary-dark) !important;
    gap: 0.6rem;
}

.contact-card-cta i {
    font-size: 0.75rem;
}

.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0f5f2 0%, var(--light-gray) 100%);
}

.contact-form-section .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-form-section .section-header h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
}

.contact-form-section .section-header p {
    font-size: 1rem;
    margin-bottom: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form .form-row,
.appointment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 60, 0.1);
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.checkbox-label .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-white);
    font-size: 12px;
    font-weight: bold;
}

.map-container .map-placeholder {
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.appointment-section {
    padding: 80px 0;
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.appointment-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.75rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 140px;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: rgba(26, 95, 60, 0.03);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.info-card:hover {
    background: rgba(26, 95, 60, 0.06);
    border-color: rgba(26, 95, 60, 0.15);
}

.info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-sm);
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
    font-size: 0.9rem;
}

.faq-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.faq-section .section-header {
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(26, 95, 60, 0.25);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 2px 12px rgba(26, 95, 60, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(26, 95, 60, 0.03);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.faq-question i {
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-light);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Logo update */
.logo {
    height: 40px;
    width: auto;
}

/* Appointment Popup Styles */
.appointment-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.appointment-popup-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideUp 0.3s ease;
}

.popup-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    color: var(--white);
}

.popup-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.appointment-form {
    padding: 30px;
}

.appointment-form .form-group {
    margin-bottom: 20px;
}

.appointment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--white);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 60, 0.1);
}

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

.appointment-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

.appointment-license-context {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.appointment-license-context .radio-group-inline {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.appointment-license-context .radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.appointment-license-context .radio-label input {
    width: auto;
}

.appointment-license-checklist {
    margin-top: 1rem;
}

.appointment-license-checklist .checklist-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.appointment-form .license-need-help-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
}

.appointment-form .license-help-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.appointment-form .license-help-checkbox input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive adjustments for popup */
@media (max-width: 768px) {
    .appointment-popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .appointment-form {
        padding: 20px;
    }
    
    .appointment-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Clients Section Styles */
.clients-section {
    padding: 80px 0;
    background: linear-gradient(160deg, #f0f7f3 0%, #e8f0ec 35%, #ffffff 70%, #f5faf7 100%);
    position: relative;
    overflow-x: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(26, 95, 60, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 80% 100%, rgba(26, 95, 60, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.clients-section .section-title {
    color: var(--primary-dark);
    position: relative;
}

.clients-section .section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
}

.clients-carousel {
    position: relative;
    margin: 3rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafdfb 100%);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(26, 95, 60, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(26, 95, 60, 0.08);
    width: 100%;
    overflow: visible;
}

/* Override Swiper's overflow: hidden so logo hover lift isn't clipped */
.clients-swiper.swiper,
.clients-swiper.swiper-initialized,
.clients-swiper.swiper-horizontal {
    overflow-x: clip;
    overflow-y: visible !important;
}

.clients-swiper {
    padding: 2rem 0;
}

.clients-swiper .swiper-wrapper,
.clients-swiper .swiper-slide {
    overflow: visible !important;
}

.clients-swiper .swiper-wrapper {
    align-items: center;
}


.client-logo-item {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(26, 95, 60, 0.04);
    transition: var(--transition);
    border: 1px solid rgba(26, 95, 60, 0.1);
    min-width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    margin: 0;
}

.client-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 95, 60, 0.04), transparent);
    transition: left 0.5s;
}

.client-logo-item:hover::before {
    left: 100%;
}

.client-logo-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 28px rgba(26, 95, 60, 0.12);
    border-color: rgba(26, 95, 60, 0.25);
    background: #ffffff;
    z-index: 10;
}

.client-logo-img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(35%) brightness(0.95) contrast(1.05);
    opacity: 0.9;
    transition: var(--transition);
}

.client-logo-item:hover .client-logo-img {
    filter: grayscale(0%) brightness(1) contrast(1);
    opacity: 1;
}



.clients-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.clients-section .stat-item {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7f3 100%);
    padding: 2rem 2.5rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(26, 95, 60, 0.06);
    border: 1px solid rgba(26, 95, 60, 0.1);
    transition: var(--transition);
    min-width: 160px;
    position: relative;
}

.clients-section .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 0 0 3px 3px;
}

.clients-section .stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 95, 60, 0.1);
    border-color: rgba(26, 95, 60, 0.2);
}

.clients-section .stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.clients-section .stat-item .stat-label {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments for clients section */
@media (max-width: 768px) {
    .clients-swiper {
        padding: 1.5rem 0;
    }
    
    .client-logo-item {
        min-width: 120px;
        height: 80px;
        padding: 1rem;
    }
    
    .clients-stats {
        gap: 1.5rem;
    }
    
    .clients-section .stat-item {
        min-width: 120px;
        padding: 1.5rem;
    }
    
    .clients-section .stat-item .stat-number {
        font-size: 2rem;
    }
}

/* Client Modal Styles */
.client-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-modal.show {
    opacity: 1;
}

.client-modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.client-modal.show .client-modal-content {
    transform: scale(1);
}

.client-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.client-modal-header h3 {
    margin: 0;
    color: var(--white);
}

.client-modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.client-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.client-modal-body {
    padding: 2rem;
    text-align: center;
}

.client-modal-logo {
    max-width: 200px;
    max-height: 100px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.client-modal-body p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.client-modal-cta {
    margin-top: 1.5rem;
}

/* Responsive modal */
@media (max-width: 768px) {
    .client-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .client-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .client-modal-body {
        padding: 1.5rem;
    }
    
    .client-modal-logo {
        max-width: 150px;
        max-height: 80px;
    }
}

/* Footer logo text styling */
.footer-logo .logo-text {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Navbar logo styling */
.nav-logo .logo {
    height: 40px;
    width: auto;
}

/* Remove logo text from navbar */
.nav-logo .logo-text {
    display: none;
}


.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
    color: var(--white);
    font-weight: 600;
}

/* Policy Pages */
.policy-content,
.terms-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.policy-section,
.terms-section {
    margin-bottom: 3rem;
}

.policy-section h2,
.terms-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.policy-section p,
.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-section ul,
.terms-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section li,
.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info {
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* 404 Error Page */
.error-404-section {
    padding: 100px 0;
    text-align: center;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.rupee-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.rupee-fall {
    position: absolute;
    top: -10%;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.35;
    animation: rupeeFall 8s linear infinite;
}

.rupee-fall-sm {
    font-size: 1rem;
    opacity: 0.2;
    animation-duration: 10s;
}

@keyframes rupeeFall {
    0% {
        top: -10%;
        transform: translateX(0);
    }
    100% {
        top: 110%;
        transform: translateX(10px);
    }
}

.error-content h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-content .error-subtext {
    font-size: 1rem;
    color: var(--text-light, #6c757d);
    margin-top: -1rem;
}

.error-actions {
    margin-bottom: 3rem;
}

.error-actions .btn {
    margin: 0 0.5rem;
}

@media (max-width: 576px) {
    .error-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .error-actions .btn {
        margin: 0;
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }
}

.error-suggestions h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.suggestion-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.suggestion-links a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.suggestion-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}


/* TDS Calculator Section */
.tds-calculator-section {
    padding: 80px 0 100px;
}

.tds-calculator-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.tds-calculator-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tds-calculator-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tds-calculator-intro p {
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.tds-calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.tds-calculator-form-card,
.tds-result-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.tds-calculator-form-card h3,
.tds-result-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-dark);
}

.tds-calculator-form-card h3 i,
.tds-result-card h3 i {
    color: var(--primary-color);
}

.tds-form .form-group {
    margin-bottom: 1.25rem;
}

.tds-form .required {
    color: #dc3545;
}

.tds-helper {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85rem;
}

.tds-salary-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(26, 95, 60, 0.08);
    border-radius: var(--border-radius);
}

.tds-salary-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.tds-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tds-form-actions .btn {
    flex: 1;
}

.tds-result-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.tds-result-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.tds-result-content {
    padding: 0.5rem 0;
}

.tds-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.tds-result-row:last-of-type {
    border-bottom: none;
}

.tds-result-row.tds-result-highlight {
    background: linear-gradient(135deg, rgba(26, 95, 60, 0.08), rgba(26, 95, 60, 0.04));
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.tds-result-highlight .tds-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tds-result-row .tds-label {
    font-weight: 500;
    color: var(--text-dark);
}

.tds-result-row .tds-value {
    font-weight: 600;
    color: var(--text-dark);
}

.tds-threshold-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.tds-threshold-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.tds-threshold-text i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.tds-disclaimer {
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
}

.tds-disclaimer h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.tds-disclaimer h4 i {
    color: var(--primary-color);
}

.tds-disclaimer p {
    margin: 0;
    font-size: 0.95rem;
}

/* Late Fees Penalty Calculator - Tabs */
.penalty-calculator-section .tds-calculator-intro {
    margin-bottom: 1.5rem;
}

.penalty-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.penalty-tab {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.penalty-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.penalty-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.penalty-form-panel {
    display: none;
}

.penalty-form-panel.active {
    display: block;
}

.penalty-field-group .form-group {
    margin-bottom: 1.25rem;
}

/* Penalty calculator - inline CTA near result */
.penalty-result-cta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border-color);
    text-align: center;
}

.penalty-result-cta p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.penalty-result-cta p i {
    color: var(--primary-color);
    margin-right: 0.35rem;
}

.penalty-result-cta .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.penalty-result-cta .btn i {
    margin-right: 0.35rem;
}

/* Shared inline CTA in calculator result areas */
.calculator-result-cta,
.doc-result-cta {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border-color);
    text-align: center;
}

.calculator-result-cta p,
.doc-result-cta p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.calculator-result-cta p i,
.doc-result-cta p i {
    color: var(--primary-color);
    margin-right: 0.35rem;
}

.calculator-result-cta .btn,
.doc-result-cta .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.calculator-result-cta .btn i,
.doc-result-cta .btn i {
    margin-right: 0.35rem;
}

/* ESI Calculator applicability message */
.esi-applicability-msg {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.esi-applicability-msg.esi-applicable {
    background: rgba(26, 95, 60, 0.12);
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
}

.esi-applicability-msg.esi-not-applicable {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    color: var(--text-dark);
}

.esi-applicability-msg.esi-in-cycle {
    background: rgba(0, 123, 255, 0.1);
    border-left: 4px solid #007bff;
    color: var(--text-dark);
}

/* ESI in-cycle info box */
.esi-in-cycle-info {
    background: linear-gradient(135deg, rgba(26, 95, 60, 0.08), rgba(26, 95, 60, 0.04));
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.esi-in-cycle-info h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.esi-in-cycle-info h4 i {
    color: var(--primary-color);
}

.esi-in-cycle-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Calculator Lead CTA Section */
.calculator-lead-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.calculator-lead-cta .lead-cta-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calculator-lead-cta .lead-cta-content h3 i {
    opacity: 0.9;
}

.calculator-lead-cta .lead-cta-content > p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.lead-form {
    max-width: 100%;
}

.lead-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lead-form-row .form-group {
    margin-bottom: 0;
}

.lead-form-row input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    transition: var(--transition);
}

.lead-form-row input::placeholder {
    color: var(--text-light);
}

.lead-form-row input:focus {
    outline: none;
    border-color: var(--white);
    background: var(--white);
}

.lead-form .form-privacy-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lead-form .form-privacy-note i {
    color: var(--accent-color);
}

.lead-form .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.lead-form .btn-primary:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
}

.tools-lead-cta {
    margin-top: 2rem;
}

.form-privacy-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-privacy-note i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .lead-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.tds-sections-reference h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.tds-reference-table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.tds-reference-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tds-reference-table th,
.tds-reference-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.tds-reference-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.tds-reference-table tbody tr:hover {
    background: rgba(26, 95, 60, 0.05);
}

.tds-reference-table .slab-regime-header {
    background: var(--light-gray) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
}

.tds-reference-table .slab-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* Income Tax Calculator */
.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.old-regime-deductions {
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1rem 0;
}

.deductions-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.deductions-heading i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.tax-regime-comparison {
    margin-bottom: 1.5rem;
}

.tax-regime-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tax-regime-card {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tax-regime-card.selected,
.tax-regime-card:hover {
    border-color: var(--primary-color);
    background: rgba(26, 95, 60, 0.04);
}

.tax-regime-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-better {
    font-size: 0.7rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
}

.tax-regime-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tax-regime-detail {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.tax-rebate-note {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.tax-breakup-detail .total-row .tds-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Tools Page */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    display: block;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    color: inherit;
}

.tool-card .tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tool-card .tool-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.tool-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.tool-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tool-card .tool-cta {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-card:hover .tool-cta {
    color: var(--primary-dark);
}

/* Document Templates */
.document-templates-section {
    padding: 80px 0 100px;
}

.doc-templates-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.doc-templates-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.doc-templates-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.doc-templates-intro p {
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto 0.5rem;
}

.doc-templates-intro a {
    color: var(--accent-color);
    text-decoration: underline;
}

.doc-templates-intro a:hover {
    color: var(--white);
}

.doc-privacy-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(26, 95, 60, 0.08);
    border-radius: var(--border-radius);
    border: 1px solid rgba(26, 95, 60, 0.2);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.doc-privacy-notice i {
    font-size: 1.25rem;
    flex-shrink: 0;
    color: var(--primary-color);
}

.doc-templates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.doc-form-card,
.doc-preview-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.doc-form-card h3,
.doc-preview-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-dark);
}

.doc-form-card h3 i,
.doc-preview-card h3 i {
    color: var(--primary-color);
}

.doc-form-fields .form-group {
    margin-bottom: 1.25rem;
}

.doc-form-placeholder {
    color: var(--text-light);
    font-style: italic;
    padding: 1rem 0;
}

.doc-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.doc-form-actions .btn {
    flex: 1;
    min-width: 140px;
}

.doc-preview-area {
    min-height: 300px;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.doc-preview-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.doc-preview-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.doc-preview-badge {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.doc-preview-badge-sample {
    background: rgba(26, 95, 60, 0.12);
    color: var(--primary-dark);
    border: 1px dashed var(--primary-color);
}

.doc-preview-badge-final {
    background: var(--primary-color);
    color: var(--white);
}

.doc-preview-content {
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    line-height: 1.7;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

.doc-print-document {
    max-width: 210mm;
    margin: 0 auto;
}

.doc-legal-header {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-color) 100%);
    margin-bottom: 1.25rem;
    border-radius: 2px;
}

.doc-print-document .doc-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.doc-print-document .doc-subtitle {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.doc-print-document .doc-intro {
    margin-bottom: 1rem;
    text-align: justify;
}

.doc-print-document .doc-clause {
    margin-bottom: 0.85rem;
    text-align: justify;
}

.doc-print-document p {
    margin-bottom: 0.85rem;
    text-align: justify;
}

.doc-print-document .doc-footer {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

.doc-print-document .doc-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

.doc-print-document ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.doc-print-document li {
    margin-bottom: 0.6rem;
    text-align: justify;
}

.doc-print-document strong {
    color: var(--text-dark);
}

.doc-disclaimer {
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
}

.doc-disclaimer h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.doc-disclaimer h4 i {
    color: var(--primary-color);
}

.doc-disclaimer p {
    margin: 0;
    font-size: 0.95rem;
}

.doc-reference {
    margin-top: 2rem;
}

.doc-reference h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.doc-reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.doc-ref-item {
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

.doc-ref-item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

/* Business License & Compliance Finder */
.license-finder-section {
    padding: 60px 0 80px;
}

.license-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.license-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.license-step.active {
    opacity: 1;
}

.license-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.license-step.active .license-step-num {
    background: var(--primary-color);
    color: var(--white);
}

.license-step-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.license-step.active .license-step-label {
    color: var(--primary-dark);
    font-weight: 600;
}

.license-step-line {
    width: 40px;
    height: 2px;
    background: var(--border-color);
}

.license-step-content {
    display: none;
}

.license-step-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

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

.license-step-title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.license-step-desc {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.license-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.license-industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    font-family: inherit;
}

.license-industry-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(26, 95, 60, 0.12);
}

.license-industry-card.selected {
    border-color: var(--primary-color);
    background: rgba(26, 95, 60, 0.06);
    box-shadow: 0 4px 15px rgba(26, 95, 60, 0.15);
}

.license-industry-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.license-industry-card.selected .license-industry-icon {
    color: var(--primary-dark);
}

.license-industry-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: center;
}

.license-questions-form {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.license-questions-form .form-group {
    margin-bottom: 1.25rem;
}

.license-questions-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.license-questions-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.license-step-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.license-step-actions .btn {
    min-width: 140px;
}

.license-results-group {
    margin-bottom: 2.5rem;
}

.license-results-group-title {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.license-result-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.license-result-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: box-shadow 0.3s ease;
}

.license-result-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.license-result-card-content {
    flex: 1;
    min-width: 200px;
}

.license-result-card-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.license-result-card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.license-result-card-authority {
    font-size: 0.875rem;
    color: var(--text-light);
}

.license-result-card-authority i {
    margin-right: 0.35rem;
    color: var(--primary-color);
}

.license-result-card-cta {
    flex-shrink: 0;
}

.license-results-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.license-disclaimer {
    padding: 2rem 0;
}

.license-disclaimer-content {
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--primary-color);
}

.license-disclaimer-content h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.license-disclaimer-content h4 i {
    color: var(--primary-color);
}

.license-disclaimer-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.license-faq-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.license-faq-section .section-title {
    margin-bottom: 2rem;
    text-align: center;
}

.license-faq-section .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.license-faq-section .faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.license-faq-section .faq-question {
    padding: 1rem 1.25rem;
    width: 100%;
}

.license-faq-section .faq-answer p {
    padding: 0 1.25rem 1rem;
}

/* Tax Myth Buster Game */
.tax-myth-section {
    padding: 60px 0 100px;
}

.tax-myth-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.tax-myth-screen {
    display: none;
}

.tax-myth-screen.active {
    display: block;
}

.tax-myth-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    text-align: center;
}

.tax-myth-start .tax-myth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tax-myth-start .tax-myth-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.tax-myth-domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0 1.5rem;
    text-align: left;
}

.tax-myth-domain-card {
    padding: 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.tax-myth-domain-card:hover {
    border-color: var(--primary-color);
    background: rgba(26, 95, 60, 0.06);
}

.tax-myth-domain-card .tax-myth-domain-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.tax-myth-domain-card .tax-myth-domain-icon i {
    font-size: 1.25rem;
}

.tax-myth-domain-card h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.tax-myth-domain-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.tax-myth-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.tax-myth-start .tax-myth-card h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.tax-myth-start .tax-myth-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tax-myth-start-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.tax-myth-progress-bar {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.tax-myth-statement {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tax-myth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tax-myth-btn {
    flex: 1;
    min-width: 140px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.tax-myth-true-btn {
    background: #28a745;
    color: var(--white);
    border: 2px solid #28a745;
}

.tax-myth-true-btn:hover:not(:disabled) {
    background: #218838;
    border-color: #218838;
}

.tax-myth-false-btn {
    background: #dc3545;
    color: var(--white);
    border: 2px solid #dc3545;
}

.tax-myth-false-btn:hover:not(:disabled) {
    background: #c82333;
    border-color: #c82333;
}

.tax-myth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.tax-myth-btn.correct {
    background: #28a745 !important;
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.tax-myth-btn.incorrect {
    background: #6c757d !important;
    border-color: #6c757d !important;
    opacity: 0.6;
}

.tax-myth-feedback {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: left;
}

.tax-myth-feedback.correct {
    background: rgba(40, 167, 69, 0.15);
    border-left: 4px solid #28a745;
    color: #155724;
}

.tax-myth-feedback.incorrect {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.tax-myth-feedback-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tax-myth-feedback.hidden,
.tax-myth-next-wrap.hidden {
    display: none !important;
}

.tax-myth-next-wrap {
    margin-top: 1rem;
}

.tax-myth-results-card .tax-myth-verdict {
    color: var(--primary-dark);
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.tax-myth-results-card .tax-myth-verdict-sub {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tax-myth-score-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.tax-myth-final-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.tax-myth-share-section {
    margin-bottom: 2rem;
}

.tax-myth-share-label {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tax-myth-share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tax-myth-share-btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tax-myth-whatsapp-btn {
    background: #25d366;
    color: var(--white);
    border: none;
}

.tax-myth-whatsapp-btn:hover {
    background: #20bd5a;
    color: var(--white);
}

.tax-myth-copy-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.tax-myth-copy-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.tax-myth-share-msg {
    width: 100%;
    min-height: 80px;
    padding: 0.75rem;
    font-size: 0.85rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    resize: none;
    background: #f8f9fa;
}

.tax-myth-play-again-btn {
    padding: 1rem 2rem;
}

/* Compliance Calendar India */
.compliance-calendar-section {
    padding: 60px 0 80px;
}

.calendar-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.calendar-sidebar {
    position: sticky;
    top: 100px;
}

.calendar-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.calendar-sidebar-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-sidebar-card h3 i {
    color: var(--primary-color);
}

.sidebar-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Custom Calendar Modal */
.cal-custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cal-custom-modal.show {
    opacity: 1;
    visibility: visible;
}

.cal-custom-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.cal-custom-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.cal-custom-modal.show .cal-custom-modal-content {
    transform: scale(1);
}

.cal-custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.cal-custom-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cal-custom-modal-header h3 i {
    color: rgba(255, 255, 255, 0.95);
}

.cal-custom-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.cal-custom-modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.cal-custom-modal-body {
    padding: 1.5rem;
}

.cal-modal-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.cal-custom-modal-body .form-group {
    margin-bottom: 1rem;
}

.cal-custom-modal-body .btn-block {
    margin-top: 1.25rem;
}

/* Event detail modal (click to enlarge) */
.cal-event-detail-content {
    max-width: 420px;
}

.cal-event-detail-header {
    background: var(--primary-color);
}

.cal-event-detail-date {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.cal-event-detail-category {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.cal-event-detail-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

.cal-add-to-calendar-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 1.25rem 0 0.5rem;
}

.cal-add-to-calendar-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0;
}

.cal-add-to-calendar-btns .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.calendar-cta-mini {
    background: linear-gradient(135deg, rgba(26, 95, 60, 0.08) 0%, rgba(45, 122, 79, 0.06) 100%);
    border: 1px solid rgba(26, 95, 60, 0.2);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-top: 1rem;
}

.calendar-cta-mini h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--primary-dark);
}

.calendar-cta-mini p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.calendar-main {
    min-width: 0;
}

.calendar-view-header {
    margin-bottom: 1.5rem;
}

.calendar-view-header h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-view-header h2 i {
    color: var(--primary-color);
}

.cal-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.calendar-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* FullCalendar container */
.cal-fullcalendar {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    margin-top: 1rem;
}

.cal-fullcalendar .fc-toolbar-title {
    font-size: 1.25rem;
}

.cal-fullcalendar .fc-button {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.cal-fullcalendar .fc-button:hover {
    background: var(--primary-dark) !important;
}

.cal-fullcalendar .fc-event,
.cal-fullcalendar .fc-daygrid-event {
    cursor: pointer;
    white-space: normal !important;
}

.cal-fullcalendar .fc-event .fc-event-main,
.cal-fullcalendar .fc-event .fc-event-main-frame,
.cal-fullcalendar .fc-event .fc-event-title-container,
.cal-fullcalendar .fc-event .fc-event-title,
.cal-fullcalendar .fc-daygrid-event .fc-event-main,
.cal-fullcalendar .fc-daygrid-event .fc-event-main-frame,
.cal-fullcalendar .fc-daygrid-event .fc-event-title {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cal-fullcalendar .fc-event-main-frame {
    align-items: flex-start !important;
}

/* Print table */
.cal-print-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.cal-print-table th,
.cal-print-table td {
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.cal-print-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.cal-print-table tr:nth-child(even) {
    background: var(--light-gray);
}

.cal-print-table .cal-print-row {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.cal-print-table .cal-print-cat {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.cal-disclaimer {
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.cal-disclaimer h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.cal-disclaimer h4 i {
    color: #b8860b;
}

.cal-disclaimer p {
    margin: 0;
    font-size: 0.9rem;
}

.cal-faq-section {
    margin-top: 2.5rem;
}

.cal-faq-section .faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.cal-faq-section .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    background: var(--white);
    transition: background 0.2s;
}

.cal-faq-section .faq-question:hover {
    background: var(--light-gray);
}

.cal-faq-section .faq-question h3 {
    margin: 0;
    font-size: 1rem;
}

.cal-faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.cal-faq-section .faq-item.active .faq-answer {
    max-height: 300px;
}

.cal-faq-section .faq-answer p {
    margin: 0;
    padding: 1rem 1.25rem;
    background: var(--light-gray);
    font-size: 0.9rem;
}

/* Calendar Print */
.no-print-screen {
    position: absolute;
    left: -9999px;
    top: 0;
    visibility: hidden;
    pointer-events: none;
}

.cal-print-document {
    max-width: 210mm;
    margin: 0 auto;
    padding: 1.5rem;
}

.cal-print-header {
    text-align: center;
    margin-bottom: 1rem;
}

.cal-print-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 180px;
    margin: 0 auto;
    object-fit: contain;
}

.cal-print-brand-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin-bottom: 1rem;
}

.cal-print-brand .cal-print-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.cal-print-brand .cal-print-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cal-print-by {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cal-print-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: var(--light-gray);
}

.cal-print-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-light);
}

.cal-print-footer p {
    margin: 0;
}

/* Print styles - hide everything except document */
@media print {
    @page {
        margin-top: 2.75rem;
    }
    body * {
        visibility: hidden;
    }
    #doc-print-container,
    #doc-print-container *,
    #cal-print-container,
    #cal-print-container * {
        visibility: visible;
    }
    #doc-print-container,
    #cal-print-container {
        display: block !important;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        background: white;
    }
    #cal-print-container {
        left: 0 !important;
    }
    .cal-print-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        text-align: center;
        padding: 0.35rem 0;
        background: white;
        z-index: 9999;
        height: 2.5rem;
    }
    .cal-print-document {
        padding-top: 0;
    }
    .cal-print-logo {
        height: 2rem;
        margin: 0 auto;
    }
    .cal-print-table .cal-print-row,
    .cal-print-table .cal-print-cat,
    .cal-print-table th {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .doc-print-document,
    .cal-print-document {
        font-size: 11pt;
        line-height: 1.5;
    }
    .cal-print-table {
        font-size: 10pt;
    }
    .cal-print-table th,
    .cal-print-table td {
        padding: 0.35rem 0.5rem;
    }
}
