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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.5;
    color: #333;
    overflow-x: hidden;
    background: #FFEEF7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    position: absolute; /* allow it to scroll with the page (not sticky) */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
}

.nav {
    display: flex;
    justify-content: flex-start; /* keep logo at the left */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #8B4B6B;
}

.brand-logo {
    height: 64px;
    width: auto;
}

.logo-text {
    margin-right: 5px;
}

.logo-circle {
    font-style: italic;
}


/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
    min-height: 100vh;
    background-image: linear-gradient(rgba(29, 29, 29, 0.2), rgba(255, 152, 208, 0.50)), url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-inner {
    text-align: center;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 200px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 50px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight:600;
    color: #731C3E;
    line-height: 120%;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 24px;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 150%;
    font-weight: 400;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: #731C3E;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    /* box-shadow: 0 8px 24px rgba(115, 28, 62, 0.28); */
}

.cta-button:hover {
    background: #180109;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 75, 107, 0.3);
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 100px 100px;
    background: #FFEEF7;
    text-align: center;
}

.about-text {
    font-size: 2.625rem;
    line-height: 150%;
    color: rgba(119, 51, 78, 0.3);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    font-style: italic;
    font-weight: bold;

}

.brand-name {
    font-family: 'Playfair Display', serif;
    color: #731C3E;
    font-weight: 600;
    font-style: italic;
}

.highlight {
    color: #8B4B6B;
    font-weight: 600;
}

/* Programs Section */
.programs {
    padding: 40px 0px;
    margin: 40px 100px;
    /* background: #303030; */
}

.program-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 60px;
}

.program-item.reverse {
    flex-direction: row-reverse;
}

.program-image {
    flex: 1;
    max-width: 500px;
}

.program-image img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 15px;

}

.program-content {
    flex: 1;
    max-width: 500px;
}

.program-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #731C3E;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
    font-style: italic;
}

.program-description {
    font-size: 1.1rem;
    color: rgb(115, 28, 62, 0.8);
    line-height: 1.7;
    font-weight: 300;
}

/* Newsletter Section */
.newsletter {
    padding: 56px 20px;
    /* background: linear-gradient(135deg, #FFE4E1 0%, #FFC0CB 100%); */
    text-align: center;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #731C3E;
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
    line-height: 1.5;
    font-style: italic;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.form-group input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #731C3E;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus {
    border-color: #8B4B6B;
    box-shadow: 0 0 0 3px rgba(139, 75, 107, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.submit-button {
    background: #171717;
    color: white;
    border: none;
    padding: 15px 100px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.submit-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 75, 107, 0.3);
}

/* Footer */
.footer {
    padding: 32px 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 170%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 152, 208, 1) 0%, rgba(255, 152, 208, 1) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    /* margin-bottom: 32px; */
    position: relative;
    z-index: 2;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: rgb(0, 0, 0);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(115, 28, 62, 0.2);
}

.social-icon:hover {
    background: #fdcbe4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(115, 28, 62, 0.4);
}

.social-icon i {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 7rem;
    color: #731C3E;
    font-weight: 700;
    letter-spacing: 3px;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(115, 28, 62, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero { padding: 140px 20px 80px; }
    
    .hero-content { margin-right: 0; margin-bottom: 50px; }
    
    .program-item,
    .program-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .program-item {
        margin-bottom: 80px;
    }
}

@media (max-width: 768px) {

    .break {
        display: none;
    }
    .hero {
        align-items: center;
    }

    .hero-inner{
        margin-top: 0px;
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        
    }

    .program-title {
        font-size: 2rem;
    }
    
    .newsletter-title {
        font-size: 1.8rem;
    }
    
    .form-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-title {
        font-size: 4rem;
        letter-spacing: 2px;
    }
    
    .footer::before {
        width: 400px;
        height: 400px;
        filter: blur(30px);
    }
    
    .social-icons {
        gap: 20px;
        margin-bottom: 24px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .about-text {
        font-size: 2.5rem;
    }
    
    .program-description {
        font-size: 1rem;
    }
    
    .programs,
    .about,
    .newsletter {
        padding: 80px 0px;
    }

    /* Mobile-only refinements */
    .brand-logo {
        height: 48px;
    }

    .programs {
        margin: 10px 0; /* remove large desktop side margins on phones */
    }

    .program-item,
    .program-item.reverse {
        gap: 32px; /* tighter spacing between image and text */
        text-align: center;
    }

    .program-image {
        max-width: 100%;
    }

    .program-image img {
        width: 100%;
        height: auto; /* avoid hard-cropped images */
        border-radius: 20px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    }

    .program-content {
        max-width: 650px;
        margin: 0 auto; /* center content */
        padding: 0 8px; /* comfortable side padding */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .cta-button{
        padding: 8px 24px;
    }

    .about-text {
        font-size: 1.5rem;
    }

    .program-title {
        font-size: 1.5rem;
    }

    .program-description {
        font-size: 0.975rem;
    }

    .program-item {
        margin-bottom: 28px;
    }

    .program-image img {
        border-radius: 18px;
    }

    .newsletter-title {
        font-size: 1.5rem;
    }

    .submit-button {
        width: 100%;
    }
    
    .footer-title {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
    }
    
    .footer::before {
        width: 300px;
        height: 300px;
        top: 150%;
        filter: blur(25px);
    }
    
    .social-icons {
        gap: 16px;
        margin-bottom: 20px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}
