@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Open+Sans:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open+Sans', sans-serif;
    line-height: 1.7;
    color: #2d1b3d;
    background: #fff8f8;
}

h1,
h2,
h3 {
    font-family: 'Fredoka One', cursive;
    letter-spacing: 1px;
    color: #e91e63;
    border-color: white;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: auto;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.header {
    background: #e91e63;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .flex {
    align-items: center;
    justify-content: space-between;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav a:hover,
.nav a.active {
    color: #fff59d;
}

.hero {
    position: relative;
    height: 75vh;
    min-height: 520px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(45, 27, 61, 0.55);
    z-index: 1;
}

.hero h1 {
    position: relative;
    z-index: 2;
    text-align: center;
    text-shadow: 4px 4px 18px rgba(0, 0, 0, 0.9);
}

.section {
    padding: 5rem 0;
}

.two-col>* {
    flex: 1 1 48%;
}

.three-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.card img {
    height: 250px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.btn {
    background: #e91e63;
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn:hover {
    background: #c2185b;
}

.footer {
    background: #2d1b3d;
    color: #fff59d;
    text-align: center;
    padding: 4rem 0;
}

.footer a {
    color: white;
    text-decoration: underline;
}

/* Contact Form */
.contact-form-grid {
    max-width: 900px;
    margin: 3rem auto;
    background: white;
    padding: 4rem;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* FINAL CONTACT PAGE – Super clean & organized */
.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 4.5rem 4rem;
    border-radius: 32px;
    box-shadow: 0 25px 70px rgba(233, 30, 99, 0.18);
}

.contact-form-final {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem 2.8rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: #2d1b3d;
    font-size: 1.1rem;
}

.form-group select {
    /*old version*/
    padding: 1.4rem;
    border: 2px solid #ddd;
    border-radius: 16px;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border: 2px solid #ddd;
    border-radius: 18px;
    font-family: inherit;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e91e63;
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.2);
}

.full-span {
    grid-column: 1 / -1;
}

.button-center {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-final {
    /*was btn-large before*/
    background: #e91e63;
    color: white;
    padding: 1.6rem 5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-final:hover {
    /*was btn-large:hover before*/
    background: #c2185b;
    /*same as old version*/
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.4);
}

/* Mobile – perfect stacking */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-wrapper {
        padding: 3rem 2rem;
        margin: 2rem 1rem;
    }

    .btn-final {
        width: 100%;
        padding: 1.6rem;
    }
}

@media (max-width:768px) {
    .header .flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

.logo img {
    height: 80px;
    /* Adjust if needed */
    /* Slightly smaller on mobile */
    width: auto;
    background: none;
    /* Ensures no white fill */
}

/* Mobile */
@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }
}

/* ABOUT PAGE – Perfect spacing between text, button, and image */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.button-container {
    margin-top: 3.5rem;
    /* Big space above button */
    text-align: center;
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.2);
}

/* Mobile – stack with good spacing */
@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .button-container {
        margin-top: 2.5rem;
    }

    .about-photo img {
        order: -1;
        /* Image appears above text on mobile */
    }
}