:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray: #888888;
    --gradient: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.3s ease;
}

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

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

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gray);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
}

/* Dark overlay to ensure text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.8)
    );
    z-index: 1;
}

/* Ensure content stays above overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Optional: Add parallax effect */
.hero {
    background-attachment: fixed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

/* Optional: Add animation for the overlay */
.hero-overlay {
    animation: fadeIn 1.5s ease-in-out;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: linear-gradient(to right, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover, .btn-secondary:hover {
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Benefits Section */
#benefits {
    padding: 8rem 0;
}

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

.benefit-card {
    padding: 30px;
    background: #1a1a1a;
    border-radius: 8px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.benefit-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-card:active {
    transform: scale(0.98);
}

.benefit-card:hover {
    background: linear-gradient(
        145deg,
        rgba(26, 26, 26, 1) 0%,
        rgba(35, 35, 35, 1) 100%
    );
}

.benefit-card:hover .number {
    color: #007bff;
    transform: translateY(-2px);
}

.number {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.benefit-icon {
    font-size: 5rem;
    color: #007bff;
    margin-bottom: 1.5rem;
}

/* Science Section */
#science {
    padding: 8rem 0;
}

.science-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.science-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: #111;
    color: white;
    padding: 50px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    background: #000;
    padding: 20px 0;
    margin-top: auto;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin-left: 30px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .science-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        margin-bottom: 1rem;
    }
}

/* FAQ Page Specific Styles */
.faq-hero {
    padding: 120px 0 60px;
    text-align: center;
}

.faq-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.faq-hero p {
    color: #888;
    font-size: 1.1rem;
}

.faq-content {
    padding: 60px 0;
}

.faq-categories {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 16px;
    border: 1px solid #333;
    border-radius: 20px;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active {
    background: #333;
    color: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-grid.hidden {
    display: none;
}

/* Update existing FAQ styles */
.faq-item {
    border-bottom: 1px solid #333;
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: white;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #aaa;
    line-height: 1.6;
    display: none; /* Hide by default */
}

.faq-toggle {
    color: #666;
    transition: transform 0.3s ease;
}

/* Optional: Add a smooth transition for the expand/collapse */
.faq-answer {
    transition: all 0.3s ease;
}

/* Add padding to main content to prevent footer overlap */
main {
    padding-bottom: 120px;
    flex: 1;
}

.study-ref {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Research Section Styling */
.science-content {
    padding: 60px 0;
}

.science-lead {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 40px;
}

.research-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px 0;
}

.study-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
}

.study-btn:hover {
    background: #222;
    transform: translateX(10px);
}

.study-year {
    font-size: 1rem;
    color: #666;
    min-width: 70px;
}

.study-title {
    flex-grow: 1;
    margin: 0 20px;
    font-size: 1.1rem;
}

.study-icon {
    font-size: 1.4rem;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.study-btn:hover .study-icon {
    transform: translateX(5px);
    opacity: 1;
}

.study-details {
    position: sticky;
    top: 100px;
    margin-top: 40px;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 8px;
    height: fit-content;
    opacity: 0; /* Hide by default */
    visibility: hidden; /* Hide by default */
    transition: all 0.3s ease;
}

.study-details.visible {
    opacity: 1;
    visibility: visible;
}

.study-content {
    transition: opacity 0.3s ease;
}

.study-content.hidden {
    display: none;
}

.study-content h3 {
    color: #fff;
    margin-bottom: 15px;
}

.study-content p {
    color: #888;
    margin-bottom: 20px;
}

.study-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.study-content ul li {
    color: #888;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.study-content ul li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

.study-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #007bff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.study-link:hover {
    background: #007bff;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .science-content {
        grid-template-columns: 1fr;
    }
    
    .study-details {
        position: static;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    right: 0; /* Position it at the very right edge */
    width: 3px; /* Make it thin */
    height: 0%; /* Initial height - will be updated via JavaScript */
    background: var(--gradient); /* Use the gradient variable we defined */
    z-index: 1001; /* Ensure it's above other elements */
}

/* Add this CSS to hide the white bar/icon */
.menu-icon,
.hamburger-menu,
nav .icon {  /* adjust the selector based on the actual element class/id */
    display: none;
}

.research-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

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

.research-link i {
    font-size: 0.8em;
}

/* Legal Pages Styling */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px;
    color: #fff;
    min-height: calc(100vh - 200px); /* Account for footer height */
    margin-bottom: 100px; /* Add space before footer */
}

.legal-container h1 {
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
}

.legal-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h2 {
    color: var(--accent-color);
    font-size: 24px;
    margin: 40px 0 20px;
}

.legal-content h3 {
    color: #fff;
    font-size: 20px;
    margin: 30px 0 15px;
}

.legal-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.legal-content ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.5;
}

.last-updated {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Make links in legal content stand out */
.legal-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--accent-color-dark);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-container {
        padding: 100px 15px 60px;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .legal-container h1 {
        font-size: 36px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-content h3 {
        font-size: 18px;
    }
}

/* Contact Form Container */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 120px 20px 80px; /* Add top padding instead of margin */
}

/* Form Title */
.contact-container h1 {
    font-size: 48px;
    margin-bottom: 60px;
    text-align: center;
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
}

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

/* Submit Button */
.submit-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-color-dark);
    transform: translateY(-1px);
}