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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #374151;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-brand img {
    height: 40px;
}

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

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #FF9500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF9500;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.cta-button {
    display: inline-block;
    background: #FF9500;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 0.9s forwards;
}

.cta-button:hover {
    background: #e6850e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 149, 0, 0.3);
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* About Section */
.about {
    padding: 120px 0 100px 0;
    background: #f8fafc;
    scroll-margin-top: 80px; /* Account for fixed header */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.leader-card {
    text-align: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-image {
    margin-bottom: 0;
}

.leader-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

.leader-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.leader-card p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Values Section */
.values {
    padding: 100px 0 60px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    position: relative;
    z-index: 2;
}

.values .section-title {
    color: #FF9500;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    color: #FF9500;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.value-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Ecosystem Section */
.ecosystem {
    padding: 60px 0;
    background: white;
    scroll-margin-top: 80px; /* Account for fixed header */
    position: relative;
    z-index: 1;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ecosystem-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ecosystem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    overflow: hidden;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.card-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-tagline {
    font-weight: 600;
    color: #FF9500;
    font-style: italic;
    margin-bottom: 10px !important;
}

.card-content blockquote {
    background: #f8fafc;
    border-left: 4px solid #FF9500;
    padding: 10px 15px;
    margin: 15px 0;
    font-style: italic;
    color: #64748b;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Events Section */
.events {
    padding: 100px 0;
    background: linear-gradient(45deg, #f8fafc 0%, #e2e8f0 100%);
}

.events-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.event-highlight {
    display: flex;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-date {
    text-align: center;
    background: #FF9500;
    color: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 120px;
    height: fit-content;
}

.event-date .month {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.event-details h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.event-details p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-features {
    list-style: none;
}

.event-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.event-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF9500;
    font-weight: bold;
}

.upcoming-events {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.upcoming-events h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #1e293b;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.event-date-small {
    background: #1e293b;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.event-item h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.event-item p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Save the Date notice styles */
.save-the-date-notice {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #FF9500 0%, #e6850e 100%);
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(255, 149, 0, 0.3);
}

.notice-icon {
    font-size: 1.5rem;
    opacity: 0.9;
}

.notice-content h5 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.notice-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.4;
}

/* Event features styling */
.event-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.event-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 149, 0, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #FF9500;
    font-weight: 500;
}

.event-feature i {
    font-size: 0.9rem;
}

/* Partnership Section */
.partnership {
    padding: 100px 0;
    background: white;
}

.partnership-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.partnership-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.partnership-info > p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.partnership-types {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.partnership-type {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.partnership-type i {
    font-size: 2rem;
    color: #FF9500;
    min-width: 50px;
}

.partnership-type h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.partnership-type p {
    line-height: 1.6;
    color: #64748b;
}

.contact-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    height: fit-content;
}

.contact-icon {
    font-size: 3rem;
    color: #FF9500;
    margin-bottom: 20px;
}

.contact-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-email {
    display: inline-block;
    background: #FF9500;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: #e6850e;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.9rem;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #FF9500;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF9500;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: center;
}

.partner-logos img {
    height: 40px;
    width: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: brightness(0) saturate(100%) invert(94%) sepia(4%) saturate(0%) hue-rotate(212deg) brightness(101%) contrast(101%);
}

.partner-logos img:hover {
    opacity: 1;
    filter: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FF9500;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Fix header and navigation */
    .nav {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

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

    .nav-toggle {
        display: flex;
    }

    /* Fix hero section */
    .hero {
        height: 100vh;
        min-height: 100vh;
        padding-top: 0;
        margin-top: 0;
        position: relative;
        overflow: hidden;
    }

    /* Fix section spacing and overlaps */
    .about {
        padding: 80px 0 80px 0;
        margin-top: 0;
        position: relative;
        z-index: 5;
    }
    
    .values {
        padding: 80px 0;
        margin-top: 0;
        position: relative;
        z-index: 4;
    }
    
    .ecosystem {
        padding: 80px 0;
        margin-top: 0;
        position: relative;
        z-index: 3;
        background: white;
    }
    
    .events {
        padding: 80px 0;
        margin-top: 0;
        position: relative;
        z-index: 2;
    }
    
    .partnership {
        padding: 80px 0;
        margin-top: 0;
        position: relative;
        z-index: 1;
    }

    /* Grid layouts for mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .events-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobile responsiveness for save the date notice */
    .save-the-date-notice {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .event-features {
        justify-content: center;
    }

    .event-feature {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .event-highlight {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .partnership-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobile video optimization - ensure video fills entire screen */
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }
    
    .hero-video video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        object-position: center center;
        min-width: 100%;
        min-height: 100%;
    }
    
    /* Ensure proper spacing between sections */
    section {
        position: relative;
        z-index: 1;
        clear: both;
        display: block;
        width: 100%;
        overflow: hidden;
    }
    
    /* Fix ecosystem cards specifically for mobile */
    .ecosystem-card {
        position: relative;
        z-index: auto;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav {
        padding: 1rem 15px;
    }

    /* Ensure hero takes full screen on small devices */
    .hero {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
        margin: 0;
        position: relative;
        overflow: hidden;
    }
    
    /* Navigation adjustments for small screens */
    .header {
        position: absolute;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.9);
    }
    
    /* Full screen video for small devices */
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }
    
    .hero-video video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transform: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .leader-card,
    .value-card {
        padding: 20px 15px;
    }

    .card-content {
        padding: 20px;
    }

    .event-highlight {
        padding: 25px;
    }

    .contact-card {
        padding: 30px 20px;
    }
}

/* Parallax effect for supporting browsers */
@supports (background-attachment: fixed) {
    .values {
        background-image: linear-gradient(rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.8)),
                          url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxkZWZzPgo8cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzNDE1NSIgc3Ryb2tlLXdpZHRoPSIwLjUiLz4KPC9wYXR0ZXJuPgo8L2RlZnM+CjxyZWN0IHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSJ1cmwoI2dyaWQpIi8+Cjwvc3ZnPg==');
        background-attachment: fixed;
    }

    .events {
        background-image: linear-gradient(45deg, rgba(248, 250, 252, 0.95) 0%, rgba(226, 232, 240, 0.95) 100%),
                          url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjIiIGZpbGw9IiNlMmU4ZjAiLz4KPC9zdmc+');
        background-attachment: fixed;
    }
}

/* Remove parallax on mobile for performance */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }
}
