@font-face {
    font-family: 'poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'poppins', sans-serif !important;
}

:root {
    /* --primary: #fe6a77; */
    --primary: #FF0078;
    /* --secondary: #FF8E9A; */
    --secondary: #FF0078;
    --light: #ffffff;
    --dark: #000000;
}



/* =========================
  Fonts
========================= */

.font-xl {
    font-size: 2.5vw !important;
    font-weight: 600 !important;
}


.font-large {
    font-size: 2vw !important;
    font-weight: 600 !important;
}

.font-medium {
    font-size: 1.6vw !important;
    font-weight: 600 !important;
}

.font-small {
    font-size: 1.25vw !important;
    font-weight: 500 !important;
}

.font-tiny {
    font-size: 1vw !important;
}

@media screen and (max-width: 768px) {

    .font-xl {
        font-size: 6vw !important;
    }

    .font-large {
        font-size: 5vw !important;
    }

    .font-medium {
        font-size: 4.2vw !important;
    }

    .font-small {
        font-size: 3.5vw !important;
    }

    .font-tiny {
        font-size: 3vw !important;
    }
}

/* =========================
  Button Styles
========================= */

.button {
    border: none;
    /* remove default border */
    outline: none;
    background-color: var(--primary);
    padding: 12px 18px;
    border-radius: 25px;
    color: #FFFFFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* optional: soft shadow */
}

.button-outline {
    border: 2px solid #C9A13F;
    /* remove default border */
    outline: none;
    background-color: transparent;
    padding: 8px 18px;
    border-radius: 25px;
    color: #000;
}

.button-outline:hover {
    background-color: #f47c7c;
    color: #fff;
}

.button:hover {
    background: #F28482;
    /* darker gold on hover */
}

.color-primary {
    color: var(--secondary) !important;
}

.heading-underline {
    position: relative;
    padding: 0 0 1% 0;
    margin: 0 0 4% 0;
}

.heading-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    /* control underline length */
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
    /* optional rounded edge */
}

@media screen and (max-width: 768px) {
    .heading-underline {
        padding: 0 0 2.5% 0;
        margin: 0 0 4% 0;
    }
}


/* =========================
   Dynamic Island Navbar
========================= */
.navbar.dynamic-island {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

/* Shrink effect on scroll */
.navbar.dynamic-island.scrolled {
    top: 10px;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Brand Logo */
.navbar.dynamic-island .navbar-brand img {
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Nav Links */
.navbar.dynamic-island .nav-link {
    position: relative;
    color: #333 !important;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    transition: color 0.3s ease;
}

.navbar.dynamic-island .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar.dynamic-island .nav-link:hover::after,
.navbar.dynamic-island .nav-link.active::after {
    width: 100%;
}

.nav-item {
    margin: 0 5%;
}


/* =========================
   Hamburger Icon (Right-to-Left)
========================= */
.navbar-toggler {
    border: none !important;
    background: none;
    outline: none !important;
    padding: 0 !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.hamburger {
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.hamburger span {
    position: absolute;
    height: 3px;
    background: #000;
    border-radius: 50px;
    right: 0;
    transition: all 0.3s ease-in-out;
}

/* Top bar (short, left) */
.hamburger span:nth-child(1) {
    width: 60%;
    top: 0;
    right: 0;
}

/* Middle bar (full width) */
.hamburger span:nth-child(2) {
    width: 100%;
    top: 8px;
}

/* Bottom bar (short, right) */
.hamburger span:nth-child(3) {
    width: 50%;
    bottom: 0;
    right: 0;
}

/* Active X animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
    width: 100%;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 8px;
    width: 100%;
}

/* =========================
   Mobile Menu Animation
========================= */
@media (max-width: 768px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        position: fixed !important;
        top: 80px;
        left: 0;
        width: 100%;
        padding: 5%;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease-in-out;
        z-index: 999;
        text-align: center;
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        padding: 0.5rem 0;
        margin: 2.5% auto;
    }

    .container {
        padding: 0 !important;
    }
}


/* =========================
   Section Styles
========================= */
section {
    padding: 5%;
}

@media (max-width: 768px) {
    section {
        padding: 20% 5%;
    }

}

/* =========================
   Hero Banner Styles
========================= */
.hero-banner {
    position: relative;
    height: 100vh;
    /* full screen */
    background: url('../img/banner-1.webp') center center/cover no-repeat;
}

.hero-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 1;
}

.text-box {
    margin: auto 5% auto 0%;
}

.hero-banner .container {
    z-index: 2;
    width: 50%;
    margin: auto 5% auto 5%;
}

.hero-banner .btn {
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-banner .btn:hover {
    background: #000;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-banner {
        height: 100vh;
    }

    .hero-banner .container {
        width: 90%;
        margin: auto 5% auto 5%;
    }
}

/* =========================
 About Section Styles
========================= */

/* .about-container {
    margin: 5%;
} */

.about-box div {
    width: 47.5% !important;
}

.about-box div img {
    width: 100%;
    border-radius: 0.375rem;
}

.about-text h3 {

    margin-bottom: 5%;
}

.about-text p {
    text-align: justify;
}

@media (max-width: 768px) {
    .about-box div {
        margin: 2.5% 0;
        width: 100% !important;
    }

    .about-text h3 {
        text-align: center;
        margin-bottom: 10%;
    }
}


/* =========================
   Program Styles
========================= */

.program-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #D7C8EB 0%, #F1BDD5 50%, #FFC3C9 100%);
}



.program-section h3,
#faqs h3,
#testimonial h3,
.feedback h3,
.appointment-section h3 {
    text-align: center;
    margin-bottom: 5%;
}

.course-card {
    width: 340px;
    max-width: 360px;
    background: #fff;
    border: 0;
    /* border-radius: 12px !important; */
    overflow: hidden;
    /* box-shadow: 0 8px 28px rgba(0, 102, 255, 0.12); */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatGlow 4s ease-in-out infinite;
    transform-origin: center;
    margin: auto;
}

/* ✨ Float + Glow Animation */
@keyframes floatGlow {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 28px rgba(244, 124, 124, 0.12);
        /* updated */
    }

    50% {
        transform: translateY(-8px);
        box-shadow: 0 16px 48px rgba(244, 124, 124, 0.25);
        /* updated */
    }
}

.course-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(244, 124, 124, 0.3);
    /* updated */
    animation-play-state: paused;
}


/* 🖼 Image Styling */
.course-card img,
.card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover img {
    transform: scale(1.06);
}

/* 🎓 Badge */
.badge-duration {
    position: absolute;
    right: 12px;
    top: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    /* font-size: 0.78rem; */
    padding: 0.25rem 0.6rem;
    border-radius: 5px;
}

/* 📄 Content Section */
.card-content {
    padding: 18px 20px;
}

.card-title {
    /* font-size: 1.15rem; */
    font-weight: 600;
    color: var(--primary) !important;
    margin: 0 0 8px;
}

.card-text {
    /* font-size: 0.95rem; */
    margin-bottom: 16px;
    line-height: 1.5;
    text-align: justify;
}

/* 🔽 Read More (Expandable Text) */
.extra-text {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

.extra-text.open {
    max-height: fit-content;
    /* Adjust based on content length */
    opacity: 1;
    margin-top: 10px;
}

/* 🔗 Read More Link */
a.read-more {
    color: #0066ff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

a.read-more:hover {
    text-decoration: underline;
}

/* 📦 Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta {
    font-size: 0.85rem;
    color: #8a96a6;
}


.two-col-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10%;
    align-items: center;
    padding: 5%;
    margin: 0 5%;
}

.two-col-section h3 span,
.two-col-section p a {
    color: var(--secondary) !important;
}

.left {
    width: 45% !important;
}

.right {
    padding: 0 5%;
    width: 45% !important;
}



.right ul {
    list-style: none;
    padding: 0;
}

.right li {
    padding: 10px 0;
}

.right li i {
    color: var(--secondary);
    margin-right: 10px;
}

.urgent-box {
    border: 1px solid var(--secondary);
    border-radius: 0.375rem;
    padding: 5%;
    width: 100%;
    margin: 5% auto 0 auto;
}

.urgent-box p {
    margin: 0 !important;
}


/* 📱 Responsive */
@media (max-width: 768px) {

    .program-section h3,
    #faqs h3,
    #testimonial h3,
    .feedback h3,
    .appointment-section h3 {
        text-align: center;
        margin-bottom: 10%;
    }

    .course-card {
        width: 100%;
    }

    .two-col-section {
        flex-direction: column;
    }

    .left,
    .right {
        width: 100% !important;
        padding: 0;
        margin: 2.5% 0;

    }
}

/* ===========================================
   UNIVERSAL FLOATING SVG DECORATION SYSTEM
   (Use ANY nutrition SVG you download)
=========================================== */

.float-svg {
    position: absolute;
    z-index: 2;
    /* Under card, above background */
    animation: floatAnim 7s ease-in-out infinite;
    pointer-events: none;
    /* Don’t block clicks */
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
    /* border-radius: 0.375rem; */

    border-radius: 50%;
    opacity: 0.9;
}

/* Individual positions (edit freely) */
.svg1 {
    top: 15%;
    left: 12.5%;
    width: 7vw;
    /* animation-delay: 0s; */
}

.svg2 {
    bottom: 15%;
    left: 2.5%;
    width: 10vw;
    /* opacity: 0.15; */
    /* animation-delay: 4s; */
}

.svg3 {
    bottom: 15%;
    right: 12.5%;
    width: 7vw;
    /* animation-delay: 2s; */
}


.svg4 {
    top: 15%;
    right: 2.5%;
    width: 10vw;
    /* animation-delay: 4s; */
}

.svg5 {
    top: 50%;
    left: 25%;
    width: 5vw;
    /* animation-delay: 4s; */
}

.svg6 {
    top: 40%;
    right: 25%;
    width: 5vw;
    /* animation-delay: 4s; */
}


/* Combined Floating + Breathing Animation */
@keyframes floatAnim {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06); /* breathing expand */
    }
}


/* Ensure cards appear above floating SVGs */
.course-card {
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {

.float-svg {
    display: none;
}

}



/* =========================
    FAQs Section
 ========================= */
#faqs {
    background-color: #FFF8F0 !important;
}

.accordion-button:not(.collapsed) {
    color: #FFFFFF !important;
    background-color: var(--secondary) !important;
}

.accordion-button {
    color: var(--bs-secondary-color) !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion {
    width: 60% !important;
    margin: auto;
}

@media (max-width: 768px) {
    .accordion {
        width: 100% !important;
        margin: auto;
    }
}


/* =========================
    Testimonial Section
 ========================= */
#testimonial {
    background-color: #FFF8F0;
}

#testimonial .card-body {
    min-height: 50vh;
    display: flex;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

#testimonialCarousel {
    width: 60% !important;
    margin: auto;
}

@media (max-width: 768px) {
    #testimonialCarousel {
        width: 100% !important;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}


/* =========================
 Feedback Section Styles
 ========================= */
#feedbackSlider {
    width: 60% !important;
    margin: auto;
    border-radius: 0.375rem;
}

.slider-img {
    width: 100%;
    height: 40vh;
    object-fit: contain;
    object-position: center;
    /* background: var(--primary); */
    border-radius: 0.375rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    padding: 10px;
}

/* ✅ Arrows small & elegant */
.slider-arrow {
    filter: invert(100%);
    width: 25px;
    height: 25px;
}

/* ✅ Dots styling */
.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
}

.carousel-indicators .active {
    background-color: #000;
}


@media (max-width: 768px) {
    #feedbackSlider {
        width: 100% !important;
    }
}

/* =========================
 Appointment Section Styles
 ========================= */

.appointment-section {
    /* background: #FDF3DF; */
    background: linear-gradient(90deg, #D7C8EB 0%, #F1BDD5 50%, #FFC3C9 100%);
}

.appointment-card {
    background-color: var(--light);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* border-radius: 12px; */
    padding: 5%;
    width: 60%;
}

.input-box {
    /* border: 2px solid #f4b4b4; */
    padding: 20px;
    border-radius: 12px;
}

.input-box:focus {
    border-color: var(--primary) !important;
    box-shadow: none;
}

.code-box {
    width: 90px;
    border: 2px solid #f4b4b4;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
}

.form-control {
    line-height: 1.8 !important;
}

@media (max-width: 768px) {
    .appointment-card {
        padding: 10% 5%;
        width: 100%;
    }
}

.toast {
    visibility: hidden;
    min-width: 260px;
    background-color: #28a745;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 12px 18px;
    position: fixed;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

/* =========================
   Footer Section
========================= */

.footer-section {
    background-color: #333;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-family: "Poppins", sans-serif;
    padding: 5% 0 2.5% 0;
}



.contact-box {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 18px;
    border-radius: 0.375rem;
    text-align: left;
    padding: 2.5%;
    width: 30%;
}

/* ✅ Floating label effect */
.contact-title {
    position: absolute;
    top: -12px;
    left: 15px;
    background-color: var(--primary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 0.375rem;

}

.contact-info p {
    margin: 2% 0;
    align-items: center;

}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.contact-info i {
    color: var(--primary);
    margin-right: 6px;
    font-size: 1.5vw;
}

.social-icons {
    width: 30%;
}

.social-icons i {
    font-size: 2.5vw;
}

.social-icons a {
    color: var(--primary);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
}

.terms {
    width: 30%;
}

.terms a {
    color: #fff;
    text-decoration: none;

}

.terms a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Modal custom styling */
.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    background-color: #f47c7c;
    color: #fff;
}

.modal-body ul {
    padding-left: 20px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .footer-section {
        padding: 10% 0 5% 0;
    }

    footer .container {
        flex-direction: column;
        gap: 25px;
    }

    .contact-box {
        padding: 5%;
        width: 70%;
    }


    .contact-info i {
        font-size: 4vw;
    }

    .contact-info p {
        margin: 5% 0
    }

    .social-icons {
        width: 70%;
    }

    .social-icons i {
        font-size: 9vw;
    }

    .terms {
        width: 70%;
    }
}