 :root {
    --primary: #A64CA6;
    --primary-dark: #8D3F8D;
    --secondary: #F4B221;
    --dark: #2D3436;
    --light: #F8F9FA;
    --gray: #636E72;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(45, 52, 54, 0.9);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px; /* Increased side padding */
    width: 100%;
    box-sizing: border-box;
}

/* Navigation Bar - Fixed Glass Effect */
.navbar {
    background-color: transparent;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand {
    color: var(--primary);
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 30px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link {
    color: var(--dark);
    background: transparent;
    border: none;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
    background: rgba(166, 76, 166, 0.1);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.4) !important;
    font-weight: 700;
}

.navbar.scrolled .nav-link.active {
    color: var(--white) !important;
    background-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(166, 76, 166, 0.3);
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    z-index: 1001;
}

.navbar.scrolled .navbar-toggler {
    color: var(--dark);
}

section {
    padding: 100px 0;
    position: relative;
}

/* Hero Section - Updated with new color scheme */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    margin-top: -80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    filter: brightness(0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(0);
    opacity: 1;
    transition: var(--transition);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-primary:hover {
    background: #e6a520;
    transform: translateY(-5px) scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.05);
}

/* Section Titles */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    padding: 0 15px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

/* About Section - Updated with new color scheme */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--gray);
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Stats Section - Updated with new color scheme */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* FIXED: Make section title and subtitle white */
.stats .section-title {
    color: var(--white) !important;
}

.stats .section-subtitle {
    color: var(--white) !important;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    transform: translateZ(0);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--dark);
    margin: 0 10px;
}

.stat-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
}

/* Services Section - Updated with new color scheme */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
    margin: 0 10px;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    color: var(--white);
    font-size: 2rem;
    transform: translateZ(30px);
}

.service-body {
    padding: 30px;
    text-align: center;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-desc {
    color: var(--gray);
    margin-bottom: 25px;
}

/* Testimonials Section - Updated with new color scheme */
.testimonials {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/public/assets/images/bg1.jpg') no-repeat center center/cover;
    opacity: 0.1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform-style: preserve-3d;
    margin: 0 10px;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding-top: 30px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Team Section - Updated with new color scheme */
.team {
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
    margin: 0 10px;
}

.team-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.team-position {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

/* News & Events Section - Updated with new color scheme */
.news-events {
    background: var(--light);
}

.news-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card, .event-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin: 0 10px;
}

.news-card:hover, .event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image, .event-image {
    height: 200px;
    overflow: hidden;
}

.news-image img, .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img, 
.event-card:hover .event-image img {
    transform: scale(1.1);
}

.news-body, .event-body {
    padding: 25px;
}

.news-date, .event-date {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.news-title, .event-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.news-excerpt, .event-desc {
    color: var(--gray);
    margin-bottom: 20px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Footer - Updated with new color scheme */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-newsletter {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 40px auto 0;
    box-shadow: var(--shadow);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    padding: 20px 30px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.newsletter-btn {
    padding: 20px 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #b1b1b1;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b1b1b1;
    font-size: 0.9rem;
    padding: 0 20px;
}

/* Animations - Added new animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

.animate-rotate {
    opacity: 0;
    transform: rotate(-5deg);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-rotate.animated {
    opacity: 1;
    transform: rotate(0);
}

.animate-delay-1 {
    transition-delay: 0.1s;
}
.animate-delay-2 {
    transition-delay: 0.2s;
}
.animate-delay-3 {
    transition-delay: 0.3s;
}
.animate-delay-4 {
    transition-delay: 0.4s;
}
.animate-delay-5 {
    transition-delay: 0.5s;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    grid-column: 1 / -1;
    box-shadow: var(--shadow);
    margin: 0 15px;
}

.empty-state i {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 20px;
    color: var(--dark);
}

.empty-state p {
    font-size: 1.2rem;
    color: var(--gray);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar-nav {
        gap: 5px;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.4rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    .container {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }
    
    .navbar-nav {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background: var(--glass);
        backdrop-filter: blur(12px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 90px 0 30px;
        gap: 15px;
        height: 100vh;
        overflow-y: auto;
        z-index: 999;
    }
    
    .navbar-nav.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-link {
        display: inline-flex;
        background: rgba(255, 255, 255, 0.15);
        color: var(--dark);
        width: 80%;
        margin: 0 auto;
        padding: 15px 20px;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    
    .navbar.scrolled .nav-link {
        background: rgba(255, 255, 255, 0.15);
        color: var(--dark);
    }
    
    .navbar.scrolled .nav-link.active {
        color: var(--white);
        background-color: var(--primary);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .mobile-brand {
        display: block;
        font-size: 0.9rem;
        margin-top: 5px;
        text-align: center;
        font-weight: 400;
    }
    
    .desktop-brand {
        display: none;
    }
    
    body {
        padding-top: 70px;
    }
    
    .hero {
        margin-top: -70px;
    }
    
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .milestone-card,
    .mv-card,
    .value-card,
    .team-card,
    .testimonial-card,
    .stat-card {
        margin: 0 5px;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}