
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a855f7;
    --secondary-color: #812fb8;
    --bg-gradient-start: #230475;
    --bg-gradient-mid: #100d3d;
    --bg-gradient-end: #4409a3;
    --text-color: white;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Manrope', sans-serif;
    --font-display: 'Unbounded', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 50px;

    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    will-change: background-position;
    background-attachment: fixed; /* Keeps background static while scrolling */
    
    font-family: var(--font-main);
    color: var(--text-color);
    overflow-x: hidden; /* Prevents horizontal scroll */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo img {
    height: 3.5vw;
    filter: saturate(150%);
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; /* Increased z-index to stay on top of everything */
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(11, 11, 44, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--text-color);
}

.nav-links .btn-contact {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-links .btn-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .features, .news-grid {
        flex-wrap: wrap;
    }
    
    .glass-card {
        flex: 1 1 45%; /* 2 per row */
        min-width: 280px;
    }

    .gallery-grid {
        flex-wrap: wrap;
    }

    .gallery-item {
        flex: 1 1 45%;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .main-header {
        padding: 20px 30px;
    }

    .main-header.scrolled {
        padding: 15px 30px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(11, 11, 44, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin: 20px 0;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Adjustments for mobile layout */
    .masked-text {
        font-size: 15vw;
    }

    .purple-text {
        font-size: 4vw;
    }

    .features, .news-grid, .gallery-grid {
        flex-direction: column;
        align-items: center;
    }

    .glass-card, .gallery-item {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
}

.masked-text {
    /* Sizing */
    font-size: 11vw; /* Responsive size: 12% of the viewport width */
    font-weight: 900; /* Extra Bold - crucial for seeing the image */
    font-family: var(--font-display);
    text-transform: uppercase; /* Matches your prompt, change to uppercase if preferred */
    letter-spacing: -0.05em; /* Tightens it up for a modern look */
    justify-content: center;
    /* THE IMAGE MASK MAGIC */
    /* 1. Set the image you want inside the text */
    /* Replace 'URL_HERE' with your actual image path */
    background-image: url('Gemini_Generated_Image_y68yv1y68yv1y68y (1).webp');
    
    /* 2. Ensure the image covers the text area and stays centered */
    background-size: cover;
    background-position: center;
    
    /* 3. Clip the background to the text shape */
    -webkit-background-clip: text;
    background-clip: text;
    
    /* 4. Make the text transparent so the background image shows through */
    color: transparent;
    
    /* Optional: A subtle drop shadow to lift it off the dark background */
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.5));
}

.purple-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2vw; /* Responsive size */
    color: var(--secondary-color); /* Light purple color */
    text-align: center;
    margin-bottom: 40px; /* Space before the cards */
}

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 80%;
    max-width: 1200px;
}

.glass-card {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    color: var(--text-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.glass-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.glass-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* --- New Sections Styling --- */

/* Section Container */
.section-container {
    width: 80%;
    max-width: 1200px;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

.purple-text-h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}

/* Gallery Button */
.btn-gallery-scroll {
    margin-top: 60px;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

.btn-gallery-scroll:hover {
    background: #9333ea;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.5);
}

.arrow {
    font-size: 1.2rem;
}

/* Gallery Grid */
.gallery-grid {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.gallery-item {
    flex: 1;
    aspect-ratio: 1 / 1; /* Square shape */
    background: var(--glass-bg);
    border-radius: 15px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--glass-border);
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2a1b3d, #44318d);
    
}

/* News Grid (Larger Cards) */
.news-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.glass-card.large {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-image {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    margin-bottom: 20px;
    /* Placeholder for actual image */
}

/* Contact Form */
.contact-form-card {
    width: 100%;
    max-width: 800px;
    padding: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    color: var(--primary-color);
    font-family: var(--font-display);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    margin-top: 10px;
    padding: 15px;
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #9333ea;
    transform: translateY(-2px);
}

/* Scroll Animations */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for grid items */
.features .glass-card:nth-child(2) { transition-delay: 0.2s; }
.features .glass-card:nth-child(3) { transition-delay: 0.2s; }

.gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.3s; }

.news-grid .glass-card:nth-child(2) { transition-delay: 0.2s; }
.news-grid .glass-card:nth-child(3) { transition-delay: 0.4s; }

/* Lightbox */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    width: 80%;
    max-width: 800px;
    height: 80%;
    background: #2a1b3d; /* Placeholder for image */
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.5);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #a855f7;
}