/* --------------------------------- */
/* CSS Root Variables & Base Styles  */
/* --------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Roboto:wght@400;700&display=swap');

:root {
    /* Split-Complementary Color Scheme */
    --color-primary: #005f73;    /* Dark Teal */
    --color-secondary: #0a9396;   /* Medium Teal */
    --color-accent: #ee9b00;     /* Amber */
    --color-accent-darker: #ca6702; /* Burnt Orange */
    
    /* Neutral Colors */
    --color-neutral-dark: #1a1a1a;
    --color-neutral-medium: #333333;
    --color-neutral-light: #f4f4f4;
    --color-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing & Borders */
    --container-padding: 5rem 2rem;
    --card-padding: 1.5rem;
    --brutalist-border: 3px solid var(--color-neutral-dark);
    --brutalist-shadow: 6px 6px 0 var(--color-neutral-dark);
    --brutalist-shadow-sm: 3px 3px 0 var(--color-neutral-dark);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-neutral-dark);
    background-color: var(--color-neutral-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-neutral-dark);
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-darker);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------- */
/* Global & Utility Classes          */
/* --------------------------------- */

.main-container {
    overflow-x: hidden;
}

.section-container {
    padding: var(--container-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    margin: 0.5rem auto 0;
}

.section-bg-dark {
    background-color: var(--color-neutral-dark);
    color: var(--color-neutral-light);
}
.section-bg-dark h2, .section-bg-dark h3, .section-bg-dark h4 {
    color: var(--color-neutral-light);
}
.section-title-light::after {
    background: var(--color-neutral-light);
}

.section-bg-accent {
    background-color: var(--color-primary);
    color: var(--color-neutral-light);
}
.section-bg-accent h2, .section-bg-accent h3, .section-bg-accent h4 {
    color: var(--color-white);
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------- */
/* Buttons                           */
/* --------------------------------- */

.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    padding: 0.8rem 2rem;
    border: var(--brutalist-border);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-neutral-dark);
    box-shadow: var(--brutalist-shadow);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-neutral-dark);
    box-shadow: var(--brutalist-shadow-sm);
    transform: translate(3px, 3px);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-neutral-dark);
    box-shadow: var(--brutalist-shadow-sm);
}
.section-bg-dark .btn-secondary, .section-bg-accent .btn-secondary {
    color: var(--color-neutral-light);
    border-color: var(--color-neutral-light);
    box-shadow: 3px 3px 0 var(--color-neutral-light);
}

.btn-secondary:hover {
    background-color: var(--color-neutral-dark);
    color: var(--color-white);
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--color-neutral-dark);
    text-decoration: none;
}
.section-bg-dark .btn-secondary:hover, .section-bg-accent .btn-secondary:hover {
    background-color: var(--color-neutral-light);
    color: var(--color-neutral-dark);
}

/* --------------------------------- */
/* Header & Navigation               */
/* --------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--color-accent);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
    text-decoration: none;
}
.logo:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-neutral-light);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.main-nav a:hover::after, .main-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.burger-menu, .mobile-nav {
    display: none;
}

/* --------------------------------- */
/* Hero Section                      */
/* --------------------------------- */

.hero-section {
    height: 100vh;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------- */
/* Services & Blog Section Grids     */
/* --------------------------------- */

.services-grid, .blog-grid, .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--color-white);
    border: var(--brutalist-border);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--brutalist-shadow);
}

.card .card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    overflow: hidden;
    border-bottom: var(--brutalist-border);
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area without distortion */
    transition: transform 0.4s ease;
}

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

.card-content {
    padding: var(--card-padding);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-content h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.read-more {
    font-family: var(--font-heading);
    color: var(--color-accent-darker);
    text-transform: uppercase;
    margin-top: 1rem;
    display: inline-block;
    font-weight: bold;
}
.read-more:hover {
    color: var(--color-primary);
    text-decoration: none;
}


/* --------------------------------- */
/* Innovation Section                */
/* --------------------------------- */

.innovation-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}
.innovation-text {
    flex: 1;
}
.innovation-visual {
    flex-basis: 40%;
}
.innovation-visual img {
    border-radius: 50%;
    border: 5px solid var(--color-accent);
}

/* --------------------------------- */
/* Vision Section                    */
/* --------------------------------- */

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

/* --------------------------------- */
/* Testimonials Section (Carousel)   */
/* --------------------------------- */

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonial-card {
    min-width: 100%;
    background: var(--color-neutral-medium);
    border: none;
    padding: 2rem;
    box-shadow: none;
}
.testimonial-card .card-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--color-accent);
    margin: 0 auto 1.5rem auto;
}
.testimonial-card blockquote {
    border: none;
    padding: 0;
}
.testimonial-card blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.testimonial-card footer {
    font-family: var(--font-heading);
    color: var(--color-accent);
}
.carousel-controls {
    text-align: center;
    margin-top: 2rem;
}
.carousel-btn {
    background: transparent;
    border: 2px solid var(--color-neutral-light);
    color: var(--color-neutral-light);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}
.carousel-btn:hover {
    background: var(--color-accent);
    color: var(--color-neutral-dark);
    border-color: var(--color-accent);
}

/* --------------------------------- */
/* Accolades & Events                */
/* --------------------------------- */

.accolades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}
.accolade-item {
    padding: 2rem;
    border: var(--brutalist-border);
    background: var(--color-white);
}
.accolade-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.accolade-issuer {
    color: var(--color-neutral-medium);
    font-style: italic;
}

.events-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.event-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    border: var(--brutalist-border);
    background: var(--color-white);
}
.event-date {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem;
    text-align: center;
    font-family: var(--font-heading);
    min-width: 80px;
}
.event-date .month {
    display: block;
    font-size: 0.9rem;
}
.event-date .day {
    display: block;
    font-size: 2rem;
    line-height: 1;
}
.event-details {
    flex-grow: 1;
}
.event-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}


/* --------------------------------- */
/* Contact Form                      */
/* --------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 3rem;
    border: var(--brutalist-border);
}
.contact-info ul {
    list-style: none;
    margin-top: 1.5rem;
}
.contact-info li {
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: var(--brutalist-border);
    background: var(--color-neutral-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-accent);
}
.btn-full {
    width: 100%;
}


/* --------------------------------- */
/* Footer                            */
/* --------------------------------- */

.site-footer {
    background: var(--color-neutral-dark);
    color: var(--color-neutral-light);
    padding: 4rem 2rem 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem auto;
}
.footer-column h4 {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.75rem;
}
.footer-column a {
    color: var(--color-neutral-light);
    text-decoration: none;
}
.footer-column a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--color-neutral-medium);
    padding-top: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* --------------------------------- */
/* Static Pages (Success, Privacy)   */
/* --------------------------------- */
body.success-page, body.privacy-page, body.terms-page {
    display: flex;
    flex-direction: column;
}

.success-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem;
}
.success-content {
    background: var(--color-white);
    padding: 3rem;
    border: var(--brutalist-border);
    box-shadow: var(--brutalist-shadow);
    max-width: 600px;
}
.success-content h1 {
    color: var(--color-primary);
}
.success-content p {
    margin: 1.5rem 0;
}

.static-page-content {
    padding: 120px 2rem 4rem 2rem; /* padding-top to avoid header */
    max-width: 900px;
    margin: 0 auto;
}
.static-page-content h1 {
    margin-bottom: 2rem;
}
.static-page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}


/* --------------------------------- */
/* Responsive Design                 */
/* --------------------------------- */

@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    .hero-title { font-size: 3.5rem; }
    h2 { font-size: 2rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
}


@media (max-width: 768px) {
    :root {
        --container-padding: 3rem 1rem;
    }
    .main-nav { display: none; }

    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 2rem;
        height: 2rem;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }
    .burger-menu span {
        width: 2rem;
        height: 0.25rem;
        background: var(--color-white);
        border-radius: 10px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }
    .burger-menu.open span:nth-child(1) { transform: rotate(45deg); }
    .burger-menu.open span:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .burger-menu.open span:nth-child(3) { transform: rotate(-45deg); }
    
    .mobile-nav {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: var(--color-neutral-dark);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 5;
    }
    .mobile-nav.open {
        display: flex;
    }
    .mobile-nav ul { list-style: none; }
    .mobile-nav li { text-align: center; margin-bottom: 2rem; }
    .mobile-nav a {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        color: var(--color-neutral-light);
        text-decoration: none;
    }

    h1 { font-size: 2.2rem; }
    .hero-title { font-size: 2.8rem; }
    .innovation-content { flex-direction: column; text-align: center; }
    .event-item { flex-direction: column; text-align: center; gap: 1rem; }
    .contact-wrapper { padding: 1.5rem; }
}
p{
    color: #333333;
}