/* ==========================================================================
   NANDI IVF - GLOBAL COMPONENTS STYLESHEET (components.css)
   Header, Navigation, Megamenu, Mobile Drawer, Footer, Appointment Modal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SITE HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 1px solid #F1E5E9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.site-header.is-sticky {
    box-shadow: 0 8px 30px rgba(232, 62, 122, 0.08);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.02);
}

/* Header Right: Two Tiers */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    flex: 1;
}

/* Header Top Info Bar */
.header-top-bar {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.82rem;
    color: #64748B;
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-info-item svg {
    color: #E83E7A;
    flex-shrink: 0;
}

.top-info-item a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.top-info-item a:hover {
    color: #E83E7A;
}

/* Main Navigation Bar */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    padding: 0.5rem 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link svg {
    transition: transform 0.2s ease;
}

.nav-item:hover > .nav-link svg {
    transform: rotate(180deg);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: #E83E7A;
    border-radius: 99px;
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-item.active > .nav-link {
    color: #E83E7A;
}

.nav-link:hover::after,
.nav-item.active > .nav-link::after {
    width: 100%;
}

/* Dropdown Mega-Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #FFFFFF;
    border: 1px solid #F1E5E9;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.09);
    padding: 0.75rem;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 230px);
    gap: 0.25rem 0.5rem;
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
}

.dropdown-item a {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.18s ease;
}

.dropdown-item a:hover {
    background: #FFF4F7;
    color: #E83E7A;
    padding-left: 1.05rem;
}

/* Header Action Button */
.header-btn {
    background: #E83E7A;
    color: #FFFFFF !important;
    border-radius: 999px;
    padding: 0.55rem 1.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(232, 62, 122, 0.28);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.header-btn:hover {
    background: #C92F68;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 47, 104, 0.38);
}

/* Mobile Header Controls */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 0.65rem;
}

.mobile-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 38px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: #FFF0F5;
    border: 1px solid #FCE4EC;
    color: #E83E7A;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mobile-phone-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.mobile-phone-btn:hover,
.mobile-phone-btn:active {
    background: #E83E7A;
    color: #FFFFFF;
    border-color: #E83E7A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 62, 122, 0.25);
}

.mobile-quick-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #E83E7A 0%, #C92F68 100%);
    color: #FFFFFF !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(232, 62, 122, 0.28);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.mobile-quick-book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(201, 47, 104, 0.38);
}

/* Animated Hamburger Toggle Button */
.mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.5px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #F1E5E9;
    color: #1E293B;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.mobile-toggle:hover {
    background: #FFF4F7;
    border-color: #FAD2DF;
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background-color: #334155;
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease, width 0.2s ease;
    transform-origin: center;
}

/* Transform hamburger to X when active */
.mobile-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
    background-color: #E83E7A;
}

.mobile-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
    background-color: #E83E7A;
}

/* Body Scroll Lock */
body.mobile-menu-locked {
    overflow: hidden !important;
    touch-action: none;
}

/* Mobile Drawer Overlay Backdrop */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Off-Canvas Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 350px;
    max-width: 88vw;
    background: #FFFFFF;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.16);
}

.mobile-nav-drawer.is-open {
    transform: translateX(0);
}

/* Drawer Header */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #F1E5E9;
    background: #FFFFFF;
    flex-shrink: 0;
}

.mobile-drawer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.mobile-drawer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748B;
    padding: 0;
    transition: all 0.2s ease;
}

.mobile-nav-close svg {
    width: 18px;
    height: 18px;
}

.mobile-nav-close:hover {
    background: #FFF0F5;
    color: #E83E7A;
    border-color: #FCE4EC;
    transform: rotate(90deg);
}

/* Drawer Scrollable Body */
.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-drawer-tagline {
    text-align: center;
}

.tagline-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    color: #E83E7A;
    background: #FFF4F7;
    border: 1px solid #FAD2DF;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

/* Drawer Navigation List */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-item {
    border-bottom: 1px solid #F8FAFC;
    padding-bottom: 0.15rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 0.65rem;
    font-size: 0.96rem;
    font-weight: 600;
    color: #1E293B;
    text-decoration: none;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.2s ease;
}

.mobile-nav-link .nav-text {
    flex: 1;
}

.mobile-nav-link:hover {
    color: #E83E7A;
    background: #FFF4F7;
    padding-left: 0.85rem;
}

.mobile-nav-item.active > .mobile-nav-link {
    color: #E83E7A;
    background: #FFF4F7;
    font-weight: 700;
}

/* Count badge on dropdown */
.count-badge {
    font-size: 0.72rem;
    font-weight: 700;
    background: #FFF0F5;
    color: #E83E7A;
    border: 1px solid #FCE4EC;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin-right: 0.4rem;
}

.chevron-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #94A3B8;
    transition: transform 0.28s ease, color 0.2s ease;
}

.mobile-dropdown-toggle[aria-expanded="true"] .chevron-icon,
.mobile-submenu.is-open ~ .chevron-icon,
.mobile-dropdown-toggle.is-open .chevron-icon {
    transform: rotate(180deg);
    color: #E83E7A;
}

/* Submenu Accordion */
.mobile-submenu {
    display: none;
    list-style: none;
    padding: 0.35rem 0 0.6rem 0.85rem;
    margin: 0.2rem 0 0.5rem 0.75rem;
    border-left: 2px solid #FAD2DF;
}

.mobile-submenu.is-open {
    display: block;
    animation: fadeInSubmenu 0.25s ease forwards;
}

@keyframes fadeInSubmenu {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-submenu li a {
    display: block;
    padding: 0.45rem 0.65rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.18s ease;
}

.mobile-submenu li a:hover {
    color: #E83E7A;
    background: #FFF4F7;
    padding-left: 0.85rem;
}

/* Direct Contact Info Box inside Drawer */
.mobile-contact-box {
    background: #FDF9FA;
    border: 1px solid #F7E7EC;
    border-radius: 14px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-box-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    margin-bottom: -0.2rem;
}

.contact-box-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #334155;
    transition: all 0.2s ease;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #F1E5E9;
    color: #E83E7A;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 15px;
    height: 15px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text .label {
    font-size: 0.72rem;
    color: #64748B;
}

.contact-text .value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1E293B;
}

.contact-box-item:hover .contact-text .value {
    color: #E83E7A;
}

/* Drawer Sticky Footer Actions */
.mobile-drawer-footer {
    padding: 1.15rem 1.25rem;
    border-top: 1px solid #F1E5E9;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-shrink: 0;
}

.mobile-drawer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, #E83E7A 0%, #C92F68 100%);
    color: #FFFFFF !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(232, 62, 122, 0.32);
    transition: all 0.25s ease;
}

.mobile-drawer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 47, 104, 0.42);
}

.mobile-drawer-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 12px;
    background: #25D366;
    color: #FFFFFF !important;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
    transition: all 0.25s ease;
}

.mobile-drawer-whatsapp i {
    font-size: 1.15rem;
}

.mobile-drawer-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
}

/* --------------------------------------------------------------------------
   2. GLOBAL FOOTER (MODERN LUXURY 5-COLUMN DIRECTORY)
   -------------------------------------------------------------------------- */
.site-footer {
    background: #181416;
    color: #E2D9DD;
    padding: 4.5rem 0 0;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.site-footer a {
    color: #B5A8AF;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #E83E7A;
}

/* Top Newsletter & Connect Strip */
.footer-top-bar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.25rem 2.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.footer-newsletter-text h3 {
    font-size: 1.45rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.35rem;
    font-family: 'Lora', serif;
}

.footer-newsletter-text p {
    font-size: 0.92rem;
    color: #A39A9F;
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 480px;
    width: 100%;
}

.footer-newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    color: #FFFFFF;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.footer-newsletter-input:focus {
    border-color: #E83E7A;
}

.footer-newsletter-input::placeholder {
    color: #7A7276;
}

.footer-newsletter-btn {
    background: #E83E7A;
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.85rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(232, 62, 122, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.footer-newsletter-btn:hover {
    background: #C92F68;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 47, 104, 0.4);
}

/* 5-Column Directory Grid */
.footer-grid-5col {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.3fr 1.3fr 1.3fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #A39A9F;
    margin: 0.85rem 0 1.25rem;
}

.footer-col-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #E83E7A;
    border-radius: 99px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: #A39A9F;
    line-height: 1.5;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: #E83E7A;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-socials {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #E83E7A;
    border-color: #E83E7A;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links li {
    list-style: none !important;
    list-style-type: none !important;
}

.footer-links li::marker {
    display: none !important;
    content: "" !important;
}

.footer-links li a {
    font-size: 0.87rem;
    color: #A39A9F;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.footer-links li a:hover {
    color: #E83E7A;
    transform: translateX(4px);
}

/* Statutory Disclaimer Card */
.footer-disclaimer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #E83E7A;
    border-radius: 14px;
    padding: 1.35rem 1.75rem;
    margin: 2.75rem 0 2rem;
    position: relative;
    backdrop-filter: blur(8px);
}

.footer-disclaimer-card p {
    font-size: 0.82rem;
    color: #9E9298;
    line-height: 1.65;
    margin: 0;
    font-weight: 400;
}

.footer-disclaimer-card strong {
    color: #F0E8EC;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 0.35rem;
}

/* Bottom Copyright Bar */
.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.6rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: #8E8288;
}

.copyright-left span {
    color: #A39A9F;
}

.copyright-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.copyright-links a {
    color: #A39A9F;
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright-links a:hover {
    color: #E83E7A;
}

.copyright-branding {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
}

.flymedia-brand {
    color: #E83E7A !important;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.flymedia-brand:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   3. APPOINTMENT POPUP MODAL (CUTE & COMPACT)
   -------------------------------------------------------------------------- */
.appointment-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.appointment-modal-overlay.is-active {
    display: flex;
}

.appointment-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
}

.appointment-modal-dialog {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 780px;
    animation: modalPopIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    0% { opacity: 0; transform: scale(0.92) translateY(12px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.appointment-modal-card {
    background: #FFFFFF;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25);
    position: relative;
}

.appointment-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.appointment-modal-close:hover {
    background: #E83E7A;
    color: #FFFFFF;
    border-color: #E83E7A;
    transform: rotate(90deg);
}

.appointment-modal-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 480px;
}

/* Modal Visual (Left Column) */
.appointment-modal-visual {
    position: relative;
    overflow: hidden;
    background: #FFF0F5;
}

.appointment-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.appointment-visual-overlay {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    padding: 2.5rem 1.35rem 1.35rem;
    color: #FFFFFF;
}

.appointment-visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 600;
    background: rgba(232, 62, 122, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.heart-pulse {
    display: inline-block;
    animation: heartPulseAnim 1.4s ease-in-out infinite;
}

@keyframes heartPulseAnim {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.22); }
}

.appointment-visual-text {
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
    color: #F1F5F9;
}

/* Modal Body (Right Column) */
.appointment-modal-body {
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.appointment-header-block {
    margin-bottom: 1.25rem;
}

.modal-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #E83E7A;
    background: #FFF0F5;
    border: 1px solid rgba(232, 62, 122, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}

.appointment-modal-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    font-family: 'Lora', serif;
}

.appointment-modal-subtitle {
    font-size: 0.86rem;
    color: #64748B;
    margin: 0;
}

/* Form Styles */
.appointment-popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.modal-form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

.required-star {
    color: #E83E7A;
}

.modal-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modal-input-icon {
    position: absolute;
    left: 12px;
    color: #94A3B8;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.modal-field {
    width: 100%;
    padding: 0.7rem 0.9rem 0.7rem 2.35rem;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #0F172A;
    background: #FFFFFF;
    transition: all 0.2s ease;
    font-family: inherit;
}

.modal-field:focus {
    outline: none;
    border-color: #E83E7A;
    box-shadow: 0 0 0 3px rgba(232, 62, 122, 0.12);
}

.textarea-wrapper .modal-input-icon {
    display: none;
}

.modal-textarea {
    padding: 0.7rem 0.9rem;
    resize: vertical;
    min-height: 68px;
    line-height: 1.5;
}

.modal-submit-btn {
    background: linear-gradient(135deg, #E83E7A 0%, #C92F68 100%);
    color: #FFFFFF;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(232, 62, 122, 0.3);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(201, 47, 104, 0.42);
}

.modal-security-note {
    font-size: 0.72rem;
    color: #94A3B8;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.modal-success-card {
    text-align: center;
    padding: 2.5rem 1rem;
}

.success-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.success-icon-wrap svg {
    width: 30px;
    height: 30px;
}

.modal-success-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.modal-success-card p {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE COMPONENT RULES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .dropdown-grid {
        grid-template-columns: repeat(2, 200px);
    }
    .footer-grid-5col {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 991px) {
    .header-top-bar,
    .main-nav {
        display: none;
    }
    .mobile-phone-btn,
    .mobile-toggle {
        display: inline-flex;
    }
    .header-right {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        flex: 0;
    }
}

@media (max-width: 768px) {
    .footer-top-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem;
    }
    .footer-newsletter-form {
        max-width: 100%;
        flex-direction: column;
    }
    .footer-newsletter-btn {
        width: 100%;
    }
    .footer-grid-5col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .appointment-modal-grid {
        grid-template-columns: 1fr;
    }
    .appointment-modal-visual {
        display: none;
    }
    .appointment-modal-body {
        padding: 2rem 1.5rem;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}
