/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #2C5F2D;
    --secondary-color: #4A7C59;
    --accent-color: #8FBC8F;
    --text-dark: #2C3E50;
    --text-light: #4A5568;
    --background-light: #F8F9FA;
    --background-white: #FFFFFF;
    --border-color: #E9ECEF;
    
    /* Cool Palette - Mint/Teal Colors */
    --soft-mint: #B0E6DF;
    --aqua-mist: #C9F1ED;
    --pale-teal: #A8DCD6;
    --seafoam: #D1F5F0;
    --misty-green: #BEE6D7;
    --ice-blue: #D4F2F4;
    --pastel-cyan: #BDEEEE;
    --powder-aqua: #CFEDE8;
    --opal-blue: #B9E3E0;
    --cloud-mint: #D7F5EE;
    
    /* Warm Palette - Peach/Apricot Colors */
    --peach-cream: #F6D7BF;
    --apricot-mist: #F9E3D2;
    --warm-sand: #EBD3B8;
    --soft-caramel: #F3DAC4;
    --pastel-clay: #EBCDB7;
    --pale-terracotta: #F5D8C3;
    --blush-beige: #F6E2D3;
    --apricot-glow: #F7DEC8;
    --creamy-tan: #EED4B6;
    --champagne: #F8E4D1;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-white);
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400;
}

/* Navigation Menu */
.nav-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: black;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
}

.nav-toggle span:nth-child(1) {
    top: 40%;
    transform: translateY(-50%);
}

.nav-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
    top: 60%;
    transform: translateY(-50%);
}

.nav-toggle.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 80px 40px 40px;
}

.nav-menu.active {
    right: 0;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 20px 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
    padding-left: 10px;
    border-bottom-color: var(--accent-color);
}

.nav-menu .nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-menu {
        max-width: 100%;
        padding: 100px 30px 40px;
    }
    
    .nav-toggle {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .nav-toggle span {
        width: 20px;
        height: 2px;
    }
}

/* Container for centering and max-width */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header/Hero Section with Animated Neural Network Background */
header {
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.neural-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, #1a4a4a, #1a3a5a);
    display: block;
    pointer-events: none;
}

header .overlay {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    z-index: 1;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 18px;
    color: white;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-button {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.3);
}

.hero-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo-image {
    width: 300px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Content Sections */
.section {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

/* Full-width section styling */
.full-width-section {
    background-color: var(--background-light);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.full-width-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Varied section backgrounds using color palettes */
.section-1 { background-color: var(--soft-mint); }
.section-2 { background-color: var(--peach-cream); }
.section-3 { background-color: var(--ice-blue); }
.section-4 { background-color: var(--apricot-mist); }
.section-5 { background-color: var(--seafoam); }
.section-6 { background-color: var(--warm-sand); }
.section-7 { background-color: var(--pastel-cyan); }
.section-8 { background-color: var(--soft-caramel); }
.section-9 { background-color: var(--cloud-mint); }
.section-10 { background-color: var(--blush-beige); }
.section-11 { background-color: var(--pale-teal); }
.section-12 { background-color: var(--champagne); }
.section-13 { background-color: var(--powder-aqua); }
.section-14 { background-color: var(--pale-terracotta); }
.section-15 { background-color: var(--misty-green); }
.section-16 { background-color: var(--apricot-glow); }
.section-17 { background-color: var(--opal-blue); }
.section-18 { background-color: var(--creamy-tan); }
.section-19 { background-color: var(--aqua-mist); }
.section-20 { background-color: var(--pastel-clay); }

/* Alternate section backgrounds (fallback) */
.section-alt {
    background-color: var(--background-white);
}

/* Circular image styling */
.circular-image {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
    clip-path: circle(50%);
    -webkit-clip-path: circle(50%);
}

/* Text-only section styling */
.section.text-only {
    display: block;
    text-align: center;
    padding: 80px 20px;
}

.section.text-only .full-width-text {
    max-width: 800px;
    margin: 0 auto;
}

.section.text-only .text h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.section.text-only .text p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.circular-image:hover {
    transform: scale(1.05);
}

/* Ensure all sections are full-width */
.section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.section .text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section .text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section .text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.section .text p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.section .text p a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.section img {
    max-width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.section img:hover {
    transform: scale(1.02);
}

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

footer .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

footer img {
    height: 40px;
    margin: 0 10px;
}

footer p {
    margin-top: 20px;
    font-size: 14px;
    color: #BDC3C7;
}

/* Contact Section */
.contact-section {
    background-color: #e8f0e8;
    padding: 80px 0;
    text-align: center;
}

.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

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

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

.submit-button {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    header .overlay {
        padding: 0 30px;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    header .overlay {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .logo-image {
        width: 250px;
    }
}

/* Mission Statement Section */
.mission-section {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

/* Evidence-based Section */
.evidence-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
}

.evidence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.evidence-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.evidence-content h2 em {
    font-style: italic;
    font-weight: 400;
}

.evidence-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.evidence-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.evidence-link:hover {
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

.evidence-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Evidence Section */
@media (max-width: 768px) {
    .evidence-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .evidence-content h2 {
        font-size: 28px;
    }
    
    .mission-content p {
        font-size: 16px;
    }
}
