body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e0e7ff 0%, #ffffff 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-attachment: fixed;
    position: relative;
}
body::before {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: -2;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation with Enhanced Glass */
nav {
    background: rgba(107, 70, 193, 0.85); /* Slightly more opaque for stronger glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.4s ease;
}
nav:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav h1 {
    margin: 0;
    font-size: 1.5rem;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
nav ul li {
    margin-left: 20px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}
nav ul li a:hover {
    color: #e0e7ff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: auto;
    width: 80px; 
    border-radius: 5px;
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.05); 
} 
/* Header Section */
.header {
    padding: 10px 0;
    text-align: center;
    background: linear-gradient(135deg, #2beaff, #761686, #2beaff);
    color: white;
}
/* Hero Section with Enhanced Glass Overlay */
.hero {
    text-align: center;
    padding: 100px 20px;
    color: white;
    position: relative;
    background-image: url("homeImage.png");
    background-repeat: no-repeat;
    background-size: cover;    
    background-color: #cccccc;

}
.hero::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 0;
    z-index: -1;
}
.hero:hover::before {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: white;
}
.hero p {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
    font-weight: 600;
}
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: rgba(107, 70, 193, 0.5); /* More transparent for stronger glass effect */
    backdrop-filter: blur(20px);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}
.btn:hover {
    background: rgba(85, 60, 154, 0.5); /* Slightly more opaque on hover for interaction feedback */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25); /* Deeper shadow on hover */
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(107, 70, 193, 0.3)); /* Enhanced glow effect */
}
.courses {
    padding: 60px 0;
    text-align: center;
}
.courses h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #6b46c1;
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.course-card, .course-card1  {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.1));
    border-top: 10px solid rgb(103, 236, 212);
}
.course-card1 {
    border-top: 10px solid #a17cb6;
}
.course-card:hover, .course-card1:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.35);
    filter: drop-shadow(0 5px 15px rgba(107, 70, 193, 0.2));
}
.course-card h3 {
    color: #6b46c1;
    margin-bottom: 10px;
}

.student-section{
    color: #6b46c1;
    text-align: center;
}

/* Video Section */
.video-section {
    padding: 60px 0;
    text-align: center;
}
.video-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #6b46c1;
}
.video-embed {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.1));
}
.video-embed:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* About Us */
.about {
    padding: 60px 0;
    background: rgba(232, 236, 231, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    border-radius: 15px;
    border-left: 10px solid pink;
    margin-left: 20px;
    margin-right: 20px;
}
.about:hover {
    background: rgba(248, 250, 252, 0.9);
}
.about-grid1 ul li {
    list-style-type: none;
    line-height: 2.0;
}
/* Contact Form*/
.contact {
    padding: 60px 0;
    text-align: center;
}
.contactUs{
    color: #6b46c1;
}
/* Footer */
footer {
    background: rgba(107, 70, 193, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}
footer:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}
footer ul li {
    margin-left: 20px;
}
footer ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.4s ease, text-shadow 0.4s ease;
    font-size: 26px;
}
footer ul li a:hover {
    color: #e0e7ff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#slideshow {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 400px;
    margin: 15px;
    overflow: hidden;
    border-radius: 15px;
    border: 15px solid white;
}

#slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#slideshow img.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    nav .container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 10px;
    }
    .course-grid, .benefit-grid {
        grid-template-columns: 1fr;
    }
    /* Reduce blur on mobile for performance */
    .glass, nav, .hero, .course-card, .benefit-item, .video-embed, .contact form, footer, .btn {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}