/* ========================================== */
/* RESET & BASE STYLES                         */
/* ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: "KNMaiyuan-Regular";
    src: url("./KNMaiyuan-Regular.ttf") format("woff2"),
         url("./KNMaiyuan-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Vividly-Regular";
    src: url("./Vividly-Regular.otf") format("woff2"),
         url("./Vividly-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Dreamy Notes Script";
    src: url("./Dreamy\ Notes\ Script.otf") format("woff2"),
         url("./Dreamy\ Notes\ Script.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
body {
    background-color: #fff5fa;
    font-family: "Vividly-Regular", sans-serif;
    color: #5b1133;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    text-align: center;
    padding-top: 20px;
}

.contact-page {
    width: 100%;
    max-width: 450px;
    padding: 20px 20px 60px;
    position: relative;
    background-color: #fff5fa;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========================================== */
/* BACKGROUND BLOBS                             */
/* ========================================== */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}
.blob-1 { top: -20px; left: -80px; width: 300px; height: 300px; background: #ffffff; }
.blob-2 { top: 200px; right: -80px; width: 200px; height: 200px; background: #ffe8f3; }
.blob-3 { top: 700px; left: -60px; width: 350px; height: 350px; background: #ffffff; }
.blob-4 { bottom: 100px; right: -80px; width: 250px; height: 250px; background: #ffe8f3; }

/* ========================================== */
/* BACK BUTTON                                  */
/* ========================================== */
.back-btn {
    display: inline-block;
    margin-bottom: 25px;
    color: #5b1133;
    font-size: 13px;
    text-decoration: none;
    border: 1.5px solid #ffadd6;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
}
.back-btn:hover {
    background: #ffe8f3;
    transform: translateX(-5px);
}

/* ========================================== */
/* HERO SECTION                                 */
/* ========================================== */
.contact-hero {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.contact-title {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 27px;
    line-height: 1.1;
    color: #5b1133;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 25px;
    padding: 0 15px;
}

.hero-circle {
    display: inline-block;
    padding: 12px 24px;
    border: 1.5px solid #ffadd6;
    border-radius: 40px;
    background: #ffffff;
    font-family: "Dreamy Notes Script", cursive;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.2);
}

/* ========================================== */
/* CONTACT FORM                                 */
/* ========================================== */
.form-container {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #ffadd6;
    border-radius: 30px;
    padding: 30px 25px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(255, 173, 214, 0.1);
    text-align: center;
}

.script-heading {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #ffe8f3;
    border-radius: 18px;
    font-family: "Vividly-Regular", sans-serif;
    font-size: 14px;
    background: #fff5fa;
    color: #5b1133;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: #c9a4b4;
    opacity: 0.6;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #ffadd6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 173, 214, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.submit-btn {
    background: #ffadd6;
    border: none;
    border-radius: 30px;
    padding: 16px;
    font-family: "Dreamy Notes Script", cursive;
    font-size: 11px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.4);
    width: 100%;
    margin-top: 5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    background: #ffdcee;
    box-shadow: 0 8px 25px rgba(91, 17, 51, 0.3);
}

/* ========================================== */
/* BUSINESS HOURS SECTION                       */
/* ========================================== */
.hours-section {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.hours-card {
    background: #ffffff;
    border: 1.5px solid #ffadd6;
    border-radius: 20px;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.1);
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    opacity: 0.85;
    border-bottom: 1px solid #ffe8f3;
}

.hour-row:last-child {
    border-bottom: none;
}

/* ========================================== */
/* CONTACT DETAILS                              */
/* ========================================== */
.contact-details {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.detail-card {
    background: #ffffff;
    border: 1.5px solid #ffadd6;
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 173, 214, 0.05);
}

.detail-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 30px rgba(255, 173, 214, 0.15);
    border-color: #ff8ec4;
}

.detail-icon {
    font-size: 26px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.detail-text {
    text-align: left;
}

.detail-text h4 {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 12px;
    margin-bottom: 2px;
}

.detail-text p {
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.5;
}

/* ========================================== */
/* FOOTER                                      */
/* ========================================== */
.footer-section {
    text-align: center;
    padding-top: 10px;
}

.footer-circle {
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: 50%;
    border: 1.5px solid #ffadd6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.footer-circle:hover {
    transform: rotate(-5deg) scale(1.05);
    background: #fff0f5;
}

.text-wrapper-56 {
    font-family: "Dreamy Notes Script", cursive;
    font-size: 18px;
    color: #5b1133;
}

.footer-text {
    font-size: 12px;
    opacity: 0.6;
    line-height: 1.5;
}


/* ========================================== */
/* 🌟 5 UNIQUE SOFT ANIMATIONS (Like main page)*/
/* ========================================== */

/* 1. SKY FLOAT (Headings) */
.anim-sky {
    opacity: 0;
    transform: translateY(60px);
    filter: blur(2px);
    transition: all 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-sky.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* 2. WATER RIPPLE (Form container) */
.anim-ripple {
    opacity: 0;
    transform: translateX(-20px);
    letter-spacing: -1px;
    transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-ripple.revealed {
    opacity: 1;
    transform: translateX(0);
    letter-spacing: normal;
}

/* 3. CLOUD LIFT (Section titles) */
.anim-cloud {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
    transition: all 2.4s ease;
}
.anim-cloud.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* 4. GENTLE RISE (Details section) */
.anim-rise {
    opacity: 0;
    transform: translateY(40px) rotate(-1deg);
    transition: all 2s cubic-bezier(0.23, 1, 0.32, 1);
}
.anim-rise.revealed {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* 5. WIND GLIDE (Footer) */
.anim-wind {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 2.6s ease-out;
}
.anim-wind.revealed {
    opacity: 1;
    transform: translateX(0);
}