/* Base Styles */
:root {
    --primary-color: #6a2ea6;
    --secondary-color: #b64af8;
    --accent-color: #f0f0f0;
    --text-color: #333;
    --light-text: #fff;
    --dark-text: #222;
    --gray-text: #666;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.white-btn {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.white-btn:hover {
    background-color: var(--accent-color);
}

.purple-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.purple-btn:hover {
    background-color: var(--secondary-color);
}

.outline-btn {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.outline-btn:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* Gradients */
.purple-gradient {
    background: linear-gradient(135deg, 
        rgba(184, 89, 243, 0.9),
        rgb(150, 82, 218),
        rgba(182, 74, 248, 0.8)
    );
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.purple-gradient > h3 {
    color:  white;
}

.purple-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, 
        rgba(255, 255, 255, 0.2) 0%,
        transparent 60%
    );
}

.light-gradient {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 1),
        rgba(249, 240, 255, 0.8),
        rgba(226, 209, 249, 0.9)
    );
    color: var(--dark-text);
    position: relative;
    overflow: hidden;
}

.light-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left,
        rgba(182, 74, 248, 0.1) 0%,
        transparent 70%
    );
}

.grid-gradient {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95),
        rgba(240, 240, 240, 0.9),
        rgba(249, 240, 255, 0.95)
    );
    position: relative;
    color: var(--dark-text);
    overflow: hidden;
}

.grid-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(106, 46, 166, 0.05) 0%,
        transparent 80%
    );
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text-color);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 0;
    margin-top: 80px; /* Account for fixed header height */
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vector-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.blob-shape {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(106, 46, 166, 0.3));
    z-index: 2;
    position: relative;
}

.blob-decoration {
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: rgba(182, 74, 248, 0.15);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    bottom: -10%;
    right: -10%;
    z-index: 1;
    animation: blob-move 8s infinite alternate ease-in-out;
}

@keyframes blob-move {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        border-radius: 40% 60% 50% 50% / 30% 60% 40% 70%;
    }
}

/* Remove this if it exists as it might be overriding the vector styles */
.hero-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    max-width: 100%;
    height: auto;
}

/* Responsive Hero Section */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-content .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* About Us Section */
.about {
    background-color: #f9f9f9;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-content p {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .about-content p {
        font-size: 0.95rem;
    }
}

/* Courses Section */
.courses {
    background-color: #fff;
}

.courses-content {
    max-width: 900px;
    margin: 0 auto;
}

.courses-content h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.courses-content p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.course-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    background-color: #f9f0ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow);
}

.course-number {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 15px;
}

.course-name {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    flex-grow: 1;
}

.course-age {
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .courses-content h3 {
        font-size: 1.5rem;
        text-align: left;
    }
    
    .courses-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .course-item {
        flex-wrap: wrap;
    }
    
    .course-name {
        font-size: 1rem;
    }
    
    .course-age {
        margin-left: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .courses-content h3 {
        font-size: 1.3rem;
    }
    
    .courses-content p {
        font-size: 0.95rem;
    }
    
    .course-number {
        font-size: 1rem;
    }
    
    .course-name {
        font-size: 0.95rem;
    }
    
    .course-age {
        font-size: 0.85rem;
        margin-top: 5px;
        margin-left: 30px;
    }
}

/* Welcome Section */
.welcome {
    text-align: center;
    padding: 80px 0;
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
}

.welcome-content p {
    color: var(--light-text);
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
}

.welcome-content p:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .welcome-content p {
        font-size: 1.1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .welcome-content p {
        font-size: 1rem;
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card h3 {
    margin-bottom: 20px;
}

.program-card ul {
    margin-bottom: 30px;
    flex-grow: 1;
}

.program-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.program-card ul li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.program-footer {
    margin-top: auto;
}

.program-footer p {
    font-weight: 600;
    margin-bottom: 15px;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-text);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Section */
.contact {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.contact-form {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 20px;
}

.contact-form::-webkit-scrollbar {
    width: 8px;
}

.contact-form::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.contact-form::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.social-media {
    margin-top: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: #f9f9f9;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-links ul li,
.footer-programs ul li {
    margin-bottom: 10px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .feature-card,
    .program-card {
        padding: 20px;
    }
}