/* --- Root Variables & Basic Reset --- */
:root {
    --primary-blue: #2c3e50; /* Dark Blue */
    --secondary-gold: #f39c12; /* Gold/Orange */
    --light-gray: #ecf0f1;
    --dark-gray: #34495e;
    --text-color: #333;
    --light-text: #ecf0f1;
    --border-color: #ddd;
    --section-padding: 80px 0;
    --max-width: 1200px;

    /* Typography */
    --heading-font: "Montserrat", sans-serif;
    --body-font: "Open Sans", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fcfcfc;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--secondary-gold);
    opacity: 0.9;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.2em;
    font-weight: 700;
}
h2 {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}
h3 {
    font-size: 1.8em;
    font-weight: 600;
}
h4 {
    font-size: 1.3em;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    font-size: 1em;
    color: #555;
}

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

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 7px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    font-size: 1.05em;
}

.btn-primary {
    background-color: var(--secondary-gold);
    color: white;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
    background-color: #e08e0b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

/* --- Header --- */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header .logo {
    font-family: var(--heading-font);
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex; /* Make it a flex container */
    align-items: center; /* Vertically align items */
    gap: 10px; /* Space between image and text */
}

.header .logo img {
    max-height: 40px; /* Adjust as needed */
}

.header .logo span {
    color: var(--secondary-gold);
}

.header nav ul {
    display: flex;
    gap: 35px;
}

.header nav ul li a {
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 1.1em;
    position: relative;
}

.header nav ul li a::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-gold);
    transition: width 0.3s ease;
}

.header nav ul li a:hover::before,
.header nav ul li a.active::before {
    width: 100%;
}

.header .nav-buttons {
    display: flex;
    gap: 15px;
}

.header .hamburger {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Mobile Nav (JS will toggle this) */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.97);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav ul li a {
    color: white;
    font-size: 1.7em;
    font-weight: 600;
}

.mobile-nav .btn {
    padding: 15px 30px;
    font-size: 1.1em;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5em;
    color: white;
    cursor: pointer;
}

/* --- Hero Section - NEW ANIMATED DESIGN --- */
.hero {
    position: relative;
    height: 90vh; /* Takes up 90% of viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden; /* Important for background video */
    background-color: var(--primary-blue); /* Fallback for no video/animation */
}

/* Background Video Styling */
.hero-video-bg {
    position: absolute;
    /* top: 50%;
            left: 50%; */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    /* transform: translate(-50%, -50%); */
    object-fit: cover; /* Ensures video covers the area */
    filter: brightness(1) grayscale(0.2); /* Darken and desaturate slightly */
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay */
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3; /* Ensure content is above overlay */
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5em; /* Larger headline */
    font-weight: 700;
    color: white; /* Ensure text is white */
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.6em; /* Larger subtitle */
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 1.15em;
    border-radius: 8px; /* Slightly more rounded buttons */
    margin: 0 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Enhanced transition */
}

.hero-buttons .btn-primary {
    background-color: var(--secondary-gold);
    color: white;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.hero-buttons .btn-primary:hover {
    background-color: #e08e0b;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.5);
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Type.js Cursor Styling */
.typed-cursor {
    opacity: 1;
    animation: blink 0.7s infinite;
    color: white; /* Match text color */
    font-weight: normal; /* Ensure cursor doesn't inherit bold */
}
@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* --- Features Section --- */
.features {
    padding: var(--section-padding);
    background-color: #f8f8f8;
}

.features .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.features .feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.features .feature-card i {
    font-size: 3.5em;
    color: var(--secondary-gold);
    margin-bottom: 25px;
}

.features .feature-card h3 {
    font-size: 1.6em;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.features .feature-card p {
    font-size: 0.95em;
    color: #666;
}

/* Logo Character in Features Section */
.features .logo-character {
    max-width: 150px; /* Adjust size as needed */
    margin: 20px auto 40px auto; /* Center and add space below */
    display: block; /* Ensure it's a block element for margin auto to work */
}

/* --- How It Works Section --- */
.how-it-works {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-blue) 0%, #34495e 100%);
    color: white;
}

.how-it-works h2 {
    color: white;
    margin-bottom: 50px;
}

.how-it-works .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.how-it-works .step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.how-it-works .step-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.how-it-works .step-card .step-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--secondary-gold);
    margin-bottom: 15px;
    line-height: 1;
}

.how-it-works .step-card h3 {
    font-size: 1.5em;
    color: white;
    margin-bottom: 15px;
}

.how-it-works .step-card p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Pricing Section --- */
.pricing {
    padding: var(--section-padding);
    background-color: #fcfcfc;
}

.pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing .price-card {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing .price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.pricing .price-card.featured {
    border: 3px solid var(--secondary-gold);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.25);
}

.pricing .price-card h3 {
    font-size: 1.8em;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.pricing .price-card .price {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--secondary-gold);
    margin-bottom: 20px;
}

.pricing .price-card .price span {
    font-size: 0.5em;
    font-weight: 500;
    color: var(--dark-gray);
}

.pricing .price-card ul {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1; /* Allows list to take available space */
}

.pricing .price-card ul li {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.pricing .price-card ul li i {
    color: var(--secondary-gold);
    margin-right: 10px;
    font-size: 1.1em;
}

.pricing .price-card .btn {
    width: 100%;
    margin-top: auto; /* Pushes button to bottom */
}

.pricing .price-card.featured .btn-primary {
    background-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.pricing .price-card.featured .btn-primary:hover {
    background-color: #34495e;
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.4);
}

/* --- Use Cases Section --- */
.use-cases {
    padding: var(--section-padding);
    background-color: #f8f8f8;
}

.use-cases .case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.use-cases .case-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-cases .case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.use-cases .case-card i {
    font-size: 3.5em;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.use-cases .case-card h3 {
    font-size: 1.6em;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.use-cases .case-card p {
    font-size: 0.95em;
    color: #666;
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #e67e22 100%);
    color: white;
    padding: var(--section-padding);
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 30px;
    font-size: 2.8em;
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-gray);
    color: var(--light-text);
    padding: 40px 0;
    font-size: 0.9em;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer .footer-col h4 {
    color: var(--secondary-gold);
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer .footer-col ul li {
    margin-bottom: 10px;
}

.footer .footer-col ul li a {
    color: var(--light-text);
    font-weight: 300;
}

.footer .footer-col ul li a:hover {
    color: white;
}

.footer .social-icons a {
    color: var(--light-text);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: var(--secondary-gold);
}

.footer .footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer .footer-bottom a {
    color: var(--secondary-gold);
}

.footer .footer-logo img {
    max-height: 50px; /* Adjust as needed */
    margin-bottom: 15px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .header nav,
    .header .nav-buttons {
        display: none;
    }
    .header .hamburger {
        display: block;
    }

    /* Mobile Responsiveness for Hero */
    .hero {
        height: 75vh; /* Shorter on tablets */
    }
    .hero-content h1 {
        font-size: 3.5em;
    }
    .hero-content p {
        font-size: 1.3em;
    }
    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 1.05em;
        margin: 0 10px;
    }

    h2 {
        font-size: 2em;
    }

    .features .feature-grid,
    .how-it-works .steps-grid,
    .pricing .pricing-grid,
    .use-cases .case-grid,
    .footer .footer-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }

    .features,
    .how-it-works,
    .pricing,
    .use-cases,
    .cta-section {
        padding: 60px 0;
    }

    .pricing .price-card {
        padding: 30px;
    }
    .pricing .price-card .price {
        font-size: 3em;
    }
    .cta-section h2 {
        font-size: 2.2em;
    }
    .cta-section p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 65vh; /* Even shorter on mobile */
    }
    .hero-content h1 {
        font-size: 2.8em;
        margin-bottom: 20px;
    }
    .hero-content p {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 80%; /* Make buttons full width */
        max-width: 280px;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .header .logo {
        font-size: 1.6em;
    }
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-content p {
        font-size: 0.95em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .features .feature-card,
    .how-it-works .step-card,
    .pricing .price-card,
    .use-cases .case-card {
        padding: 25px;
    }
    .features .feature-card i,
    .use-cases .case-card i {
        font-size: 3em;
    }
    .features .feature-card h3,
    .how-it-works .step-card h3,
    .pricing .price-card h3,
    .use-cases .case-card h3 {
        font-size: 1.4em;
    }
    .how-it-works .step-card .step-number {
        font-size: 2em;
    }
}

/* --- Docs Hero Section --- */
.docs-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #34495e 100%);
    color: white;
    padding: 80px 0 50px;
    text-align: center;
}

.docs-hero h1 {
    color: white;
    font-size: 3.5em;
    margin-bottom: 20px;
}

.docs-hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Docs Content Layout --- */
.docs-content {
    display: flex;
    padding: 50px 0;
    gap: 30px;
}

.docs-sidebar {
    flex: 0 0 280px; /* Fixed width sidebar */
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    align-self: flex-start; /* Stick to the top */
    position: sticky; /* Make sidebar sticky */
    top: 100px; /* Adjust based on header height */
    max-height: calc(100vh - 120px); /* Max height to prevent overflow */
    overflow-y: auto; /* Enable scrolling for long content */
}

.docs-sidebar h3 {
    font-size: 1.4em;
    color: var(--primary-blue);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--secondary-gold);
    padding-bottom: 10px;
}

.docs-sidebar ul {
    font-size: 1.05em;
}

.docs-sidebar ul li {
    margin-bottom: 12px;
}

.docs-sidebar ul li a {
    color: var(--dark-gray);
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
    padding: 5px 0;
}

.docs-sidebar ul li a:hover,
.docs-sidebar ul li a.active {
    color: var(--secondary-gold);
    padding-left: 5px;
}

.docs-main-content {
    flex: 1; /* Takes remaining space */
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.docs-main-content h2 {
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-top: 30px;
    margin-bottom: 25px;
    font-size: 2em;
    color: var(--primary-blue);
}

.docs-main-content h2:first-of-type {
    margin-top: 0; /* No top margin for the first h2 */
}

.docs-main-content h3 {
    font-size: 1.6em;
    color: var(--dark-gray);
    margin-top: 30px;
    margin-bottom: 15px;
}

.docs-main-content p {
    margin-bottom: 15px;
    color: #555;
}

/* Code Block Styling */
pre {
    background-color: #272822; /* Dracula theme background */
    color: #f8f8f2; /* Dracula theme text color */
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 25px;
    font-family: "Fira Code", "Consolas", "Monaco", monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

code {
    font-family: "Fira Code", "Consolas", "Monaco", monospace;
    font-size: 0.95em;
    background-color: #eee;
    padding: 2px 5px;
    border-radius: 3px;
    color: var(--dark-gray);
}

pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

.highlight {
    color: #f39c12; /* Gold */
}
.string {
    color: #e6db74;
} /* Yellow */
.keyword {
    color: #f92672;
} /* Pink */
.comment {
    color: #75715e;
} /* Gray */
.number {
    color: #ae81ff;
} /* Purple */
.boolean {
    color: #ae81ff;
} /* Purple */
.function {
    color: #a6e22e;
} /* Green */
.variable {
    color: #66d9ef;
} /* Cyan */

/* API Response Example */
.api-response {
    background-color: #333;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-family: "Fira Code", "Consolas", "Monaco", monospace;
    font-size: 0.9em;
    line-height: 1.5;
    overflow-x: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-google {
    background: #fff;
    color: #444;
    border: none;
    border-radius: 50px;
    /* fully rounded */
    padding: 0.75rem 1.25rem;
    /* snug fit */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-google i {
    color: #db4437;
}

/* --- Support Hero Section --- */
.support-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #34495e 100%);
    color: white;
    padding: 80px 0 50px;
    text-align: center;
}

.support-hero h1 {
    color: white;
    font-size: 3.5em;
    margin-bottom: 20px;
}

.support-hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* --- Support Content --- */
.support-content {
    padding: var(--section-padding);
    background-color: #fcfcfc;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.contact-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.contact-card i {
    font-size: 3.5em;
    color: var(--secondary-gold);
    margin-bottom: 25px;
}

.contact-card h3 {
    font-size: 1.6em;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 10px;
}

.contact-card a {
    color: var(--secondary-gold);
    font-weight: 600;
}

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

/* FAQ Section */
.faq-section {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-section h2 {
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2em;
    color: var(--primary-blue);
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    font-size: 1.6em;
    color: var(--dark-gray);
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--light-gray);
    padding-bottom: 10px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--light-gray);
    padding: 15px 20px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-question i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 15px 20px;
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 5px 5px;
    display: none; /* Hidden by default */
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Related Resources */
.related-resources {
    margin-top: 60px;
    text-align: center;
}

.related-resources h3 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.resource-links a {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 7px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.resource-links a:hover {
    background-color: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
