/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b8b;
    --secondary-color: #a78bfa;
    --accent-color: #fbbf24;
    --dark-color: #4c1d95;
    --light-color: #fdf2f8;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.logo i {
    color: var(--primary-color);
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.instagram-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
}

.instagram-btn i {
    margin-right: 5px;
}

.instagram-btn:hover {
    background-color: #ff4d6d;
    transform: translateY(-2px);
}

/* Login/Register button styles */
.login-btn{
    color: var(--dark-color);
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
    text-decoration: none;
    font-weight:600;
}
.login-btn:hover{ background-color: rgba(0,0,0,0.03); }

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--light-color) 0%, #fce7f3 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: #ff4d6d;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 139, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: var(--shadow);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
}

/* If a hero image file exists in images/, use it */
.hero-logo {
    width: 100%;
    max-width: 320px; /* default max width for most screens */
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: block;
    margin: 0 auto; /* center */
}

@media (min-width: 900px) {
    .hero-logo {
        max-width: 420px; /* larger screens show bigger logo */
    }
}

.hero-image .image-placeholder { display: none; }

/* Programs Section */
.programs {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.program-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.program-card p {
    color: #666;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--dark-color);
    margin: 25px 0 10px;
    font-size: 1.5rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-image {
    flex: 1;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3, .contact-form h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    margin-top: 30px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    background-color: #E4405F;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 10px;
}

.instagram-link i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.instagram-link:hover {
    background-color: #D32D52;
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.2);
}

.submit-btn {
    background-color: var(--dark-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: #3c1a7a;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-logo p {
    color: #d1d5db;
}

.footer-links h4, .footer-programs h4, .footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links ul, .footer-programs ul {
    list-style: none;
}

.footer-links li, .footer-programs li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-programs li {
    color: #d1d5db;
}

.social-icon {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container,
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .programs, .about, .contact {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}