:root {
    --primary-color: #2B2B2B;    /* Dark Gray/Almost Black */
    --secondary-color: #6B46C1;  /* Purple */
    --accent-color: #9F7AEA;     /* Light Purple */
    --success-color: #805AD5;    /* Medium Purple */
    --text-color: #4A5568;       /* Dark Gray */
    --light-bg: #F7FAFC;         /* Very Light Gray */
    --white: #FFFFFF;
    --dark: #1A202C;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation Styles */
header {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(43, 43, 43, 0.85), rgba(107, 70, 193, 0.9)), 
                url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 2rem;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Formats Section */
.formats {
    padding: 6rem 2rem;
    background-color: var(--light-bg);
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.format-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

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

.format-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.format-card img {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 5px;
    transition: transform 0.3s;
}

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

.format-details ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.format-details li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.format-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Technology Section */
.technology {
    padding: 6rem 2rem;
    position: relative;
    background-color: var(--primary-color);
    color: var(--white);
}

.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary-color) 100%);
    opacity: 0.1;
    z-index: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.tech-card {
    background: var(--dark);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    border: 1px solid rgba(107, 70, 193, 0.2);
}

.tech-icon {
    color: var(--secondary-color);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.4);
}

.tech-details ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tech-details li {
    color: var(--light-bg);
}

.tech-card h3 {
    color: var(--white);
}

.tech-highlight {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    min-height: 200px; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1rem;
    color: var(--text-color);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background-color: var(--white);
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea, select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

button[type="submit"] {
    padding: 1rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

button[type="submit"]:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(to right, var(--primary-color), var(--dark));
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1, .hero p, .hero button {
    animation: fadeIn 1s ease-out forwards;
}

.hero p {
    animation-delay: 0.2s;
}

.hero button {
    animation-delay: 0.4s;
}

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 auto 3rem auto;
    color: var(--primary-color);
    position: relative;
    display: block;
    padding-bottom: 10px;
    width: 100%;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* Center all subsection titles */
section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Center value cards titles */
.value-card h4 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer headings */
.footer-section h4 {
    text-align: center;
    margin-bottom: 1rem;
}

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

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .format-grid,
    .tech-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .format-card, .tech-card, .value-card {
        transform: none !important;
    }

    .format-details ul, .tech-details ul {
        padding-left: 1rem;
    }
    
    .format-details li, .tech-details li {
        font-size: 0.9rem;
    }
}

/* Add these new animations and styles */

/* Section Animations */
.animate-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Description Styles */
.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: var(--text-color);
}

.section-description p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Hero Text Styles */
.hero-text {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    max-width: 800px;
}

.hero-subtext {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    max-width: 700px;
}

.hero-highlight {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

/* Add a subtle hover effect */
.hero-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Center all section titles */
section h2 {
    text-align: center;
    margin: 0 auto 2rem auto;
    width: fit-content;
}

/* Add this JavaScript at the bottom of your HTML file before </body> */ 

/* Add these new styles for format highlights */
.format-highlight {
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

/* Add these new styles for the ecosystem section */
.ecosystem {
    padding: 6rem 2rem;
    background-color: var(--white);
    position: relative;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    align-items: center;
}

.ecosystem-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.ecosystem-card:hover {
    transform: translateY(-5px);
}

.ecosystem-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.ecosystem-details ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.ecosystem-details li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.ecosystem-highlight {
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.ecosystem-connection {
    text-align: center;
    padding: 2rem;
}

.connection-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transform: rotate(90deg);
}

.connection-text {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.connection-text h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.connection-text p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-connection {
        display: none;
    }
}

/* Update technology section title color */
.technology h2 {
    color: var(--white);
}

.technology .section-description {
    color: var(--light-bg);
}

.tech-card {
    background: var(--dark);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    border: 1px solid rgba(107, 70, 193, 0.2);
}

.tech-details li {
    color: var(--light-bg);
}

.tech-card h3 {
    color: var(--white);
}

.tech-icon {
    color: var(--secondary-color);
}

.tech-highlight {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

/* Add hover effect for tech cards */
.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.4);
}

/* Update Navigation Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--accent-color);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    nav {
        position: relative;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .menu-toggle.active i {
        transform: rotate(90deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

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

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Update other mobile styles */
    .hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero-text {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .hero-subtext {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-description {
        padding: 0 1rem;
    }

    .format-grid,
    .tech-grid,
    .values-grid {
        padding: 0 1rem;
    }

    .ecosystem-grid {
        padding: 0 1rem;
    }

    form {
        padding: 0 1rem;
    }
} 