/* Magnificence Beauty Lounge - Main Stylesheet */

/* ===============================================
   CUSTOM FONTS & RESET
   =============================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e2e67;
    --primary-color-text: #cee6fe;
    --primary-blue: #89CFF0;
    --dark-blue: #5FB3D9;
    --light-blue: #C5E7F5;
    --baby-blue: #B4E4F7;
    --accent-pink: #FFB6C1;
    --primary-gray: #6B6B6B;
    --dark-gray: #4A4A4A;
    --light-gray: #F5F5F5;
    --navy-blue: #1e2e67;
    --cream: #F0F8FF;
    --white: #FFFFFF;
    --text-dark: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===============================================
   NAVIGATION BAR
   =============================================== */

.navbar {
    background: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

a.nav-logo:hover {
    opacity: 0.9;
}

.nav-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1e2e67;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

/* Services Dropdown - Desktop */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle-text {
    font-weight: 500;
}

.dropdown-icon {
    font-size: 0.6rem;
    opacity: 0.8;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu-wrapper {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top left;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.25s ease;
    z-index: 1001;
}

.dropdown-menu {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(30, 46, 103, 0.12),
                0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 46, 103, 0.08);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    text-align: center;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu-header {
    padding: 0.75rem 1.25rem 0.5rem;
    text-align: center;
}

.dropdown-menu-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-gray);
    display: block;
}

.dropdown-divider {
    height: 1px;
    margin: 0.5rem 1rem;
    background: rgba(30, 46, 103, 0.1);
}

.dropdown-menu a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1e2e67;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: center;
}

.dropdown-menu a:hover {
    background: rgba(30, 46, 103, 0.06);
    color: #1e2e67;
}

.dropdown-menu a.active {
    background: rgba(30, 46, 103, 0.08);
    color: #1e2e67;
}

.nav-item.dropdown:hover .dropdown-menu-wrapper,
.nav-item.dropdown.open .dropdown-menu-wrapper,
.nav-item.dropdown:hover > .dropdown-menu,
.nav-item.dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-item.dropdown:hover .dropdown-icon,
.nav-item.dropdown.open .dropdown-icon {
    transform: rotate(180deg);
}

/* Fallback: dropdown without wrapper (e.g. booking.php) */
.nav-item.dropdown > .dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top left;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.25s ease;
    z-index: 1001;
}

.nav-menu li a {
    color: #1e2e67;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e2e67;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #1e2e67;
}

.btn-book-now {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white) !important;
    padding: 0.75rem 2rem !important;
    border-radius: 30px;
    font-weight: 600;
    
    transition: all 0.3s ease;
}

/* Button Hover Effects - Dark Blue with White Text */
.btn-book-now:hover {
    background: #1e2e67 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
   
}

.btn-book-now::after {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1e2e67;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

/* Body scroll lock when mobile menu is open */
body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
}

/* ===============================================
   HERO SECTION
   =============================================== */

   .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: calc(72px + 1rem) 20px 4rem;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to right, rgba(27,27,27,0.85), rgba(27,27,27,0.5)),
        url('assets/mblc.jpg') center/cover no-repeat;
        
    filter: blur(3px);
    transform: scale(1.1); /* prevents white edges */
    z-index: -1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary-blue);
    display: block;
    font-style: italic;
}

.hero-content p {
    font-size: 1.1rem;
    color: whitesmoke;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;

    /* Same style */
    background: var(--white);
    color: var(--navy-blue);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover,
.btn-secondary:hover {
    background: #1e2e67;
    color: var(--white);
    border-color: #1e2e67;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ===============================================
   GLASS SKIN PROMOTIONAL SECTION
   =============================================== */

.glass-skin-promo {
    padding: 5rem 1.5rem 6rem;
    position: relative;
    overflow: hidden;
}

.glass-skin-promo-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #d4ebe8 0%, #c5e0ed 25%, #d8d4eb 60%, #e2e8f5 100%);
    z-index: 0;
}

.glass-skin-promo-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 70%);
    pointer-events: none;
}

.glass-skin-promo-bg::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 45%;
    height: 50%;
    background: radial-gradient(circle, rgba(200,220,240,0.4) 0%, transparent 70%);
    pointer-events: none;
}

.glass-skin-promo-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.glass-skin-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #8b9dc4 0%, #6b7fa8 100%);
    padding: 0.45rem 1.25rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(107, 127, 168, 0.4);
}

.glass-skin-headline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #1e2e67;
    margin-bottom: 0.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.glass-skin-tagline {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: #4a6b8a;
    margin-bottom: 2.25rem;
    font-weight: 500;
}

.glass-skin-image-wrap {
    margin: 2rem 0 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(30, 46, 103, 0.12), 0 0 0 1px rgba(255,255,255,0.8) inset;
    border: 1px solid rgba(255,255,255,0.9);
}

.glass-skin-image {
    width: 100%;
    max-width: 580px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
}

.glass-skin-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3d4f5f;
    max-width: 560px;
    margin: 0 auto 2.25rem;
    font-weight: 500;
}

.glass-skin-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 2.5rem;
}

.glass-skin-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(30, 46, 103, 0.08), 0 0 0 1px rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.95);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-skin-product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(30, 46, 103, 0.12);
}

.glass-skin-product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e2e67;
}

.glass-skin-product-benefits {
    font-size: 0.8rem;
    color: #5a6b7d;
    margin-top: 0.35rem;
}

.glass-skin-cta {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    background: linear-gradient(135deg, #1e2e67 0%, #2d3d7a 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    box-shadow: 0 8px 28px rgba(30, 46, 103, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.03em;
}

.glass-skin-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(30, 46, 103, 0.45);
}

@media (max-width: 768px) {
    .glass-skin-promo {
        padding: 3.5rem 1rem 4.5rem;
    }
    .glass-skin-image-wrap {
        padding: 1.25rem;
    }
    .glass-skin-products {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===============================================
   PROMO CARDS (SOCIAL-MEDIA STYLE BANNER)
   =============================================== */

.promo-cards-section {
    padding: 3rem 1.5rem 3.5rem;
    background: #f8f9fb;
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.promo-cards-container {
    max-width: 1200px;
    margin: 0 auto;
}

.promo-cards-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #1e2e67;
    text-align: center;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
}

.promo-cards-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #5a6b7d;
    margin-bottom: 2.5rem;
}

.promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.promo-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.promo-card-link:focus {
    outline: 2px solid #1e2e67;
    outline-offset: 2px;
}

.promo-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(30, 46, 103, 0.06), 0 0 0 1px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    isolation: isolate;
}

.promo-card:hover {
    box-shadow: 0 12px 40px rgba(30, 46, 103, 0.1), 0 0 0 1px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.promo-card-image-wrap {
    height: 240px;
    background: #eef3f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.promo-card-image-wrap img.promo-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
    background: #eef3f8;
}

.promo-card-content {
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #fff;
    position: relative;
    z-index: 2;
}

.promo-card-category {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #89CFF0;
    margin-bottom: 0.75rem;
}

.promo-card-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e2e67;
    margin-bottom: 0.85rem;
    line-height: 1.25;
}

.promo-card-benefits {
    font-size: 1rem;
    color: #6B6B6B;
    line-height: 1.55;
    margin: 0;
}

/* Product details modal (Magnificence Collection) */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.25s ease, opacity 0.25s ease;
}

.product-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.product-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 46, 103, 0.4);
    cursor: pointer;
}

.product-modal-content {
    position: relative;
    background: #fff;
    border-radius: 18px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(30, 46, 103, 0.2);
}

.product-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: rgba(0,0,0,0.06);
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    color: #1e2e67;
    transition: background 0.2s ease;
}

.product-modal-close:hover {
    background: rgba(0,0,0,0.1);
}

.product-modal-body {
    display: flex;
    flex-direction: column;
}

.product-modal-image-wrap {
    background: #eef3f8;
    overflow: hidden;
    flex-shrink: 0;
    max-height: 70vh;
}

.product-modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    object-position: center;
    display: block;
    vertical-align: middle;
}


@media (max-width: 900px) {
    .promo-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-layout-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .category-layout-two-column .category-intro {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 600px) {
    .promo-cards-section {
        padding: 3rem 1rem 4rem;
    }
    .promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .promo-card-image-wrap {
        height: 220px;
    }
    .promo-card-content {
        padding: 1.5rem 1.25rem 1.75rem;
    }
    .promo-card-heading {
        font-size: 1.35rem;
    }
    .promo-card-benefits {
        font-size: 0.95rem;
    }
}

/* ===============================================
   ABOUT SECTION
   =============================================== */

.about {
    padding: 6rem 2rem;
    background: var(--white);
}

.about-page-hero {
    padding-top: 2rem;
}

/* About page banner (matches index hero feel) */
.about-page-banner {
    color: #fff;
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(30, 46, 103, 0.88), rgba(30, 46, 103, 0.75)),
        url('assets/mblc.jpg') center/cover no-repeat;
    filter: blur(3px);
    transform: scale(1.1); /* prevents white edges from blur */
    z-index: 0;
}

.about-page-banner-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.02em;
}

.about-page-tagline {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* About page content section - subtle background like index */
.about-page-content {
    background: linear-gradient(180deg, #f8fafc 0%, #f0f7fc 100%);
    padding: 3rem 2rem 4rem;
}

.about-page-content .about-features {
    margin-top: 0;
}

/* Feature icons: single color (brand blue) */
.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: var(--primary-blue);
}

.feature-icon i {
    color: inherit;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '✧';
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-left: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--primary-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.feature-number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    border-radius: 1px;
}

.feature-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--primary-gray);
    font-size: 0.95rem;
}

/* Responsive design for feature numbers */
@media (max-width: 768px) {
    .feature-number {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .feature-number::after {
        width: 25px;
        bottom: -8px;
    }
}

@media (max-width: 600px) {
    .feature-number {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .feature-number::after {
        width: 20px;
        bottom: -6px;
    }
}

/* ===============================================
   SERVICES SECTION
   =============================================== */

.services {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #f0f7fc 0%, #e8f2f8 100%);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.services-categories {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 2rem;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--navy-blue);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #1e2e67;
    color: var(--white);
    border-color: #1e2e67;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
    justify-items: stretch;
    align-items: stretch;
}

.services-grid-preview {
    max-width: 1100px;
    margin: 0 auto;
    justify-items: stretch;
}

/* Preview grid for signature services - 3 cards per row */
.services-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
    justify-items: stretch;
    align-items: stretch;
}

/* Full-width services preview layout (homepage: intro + 3 cards in a row) */
.services-preview-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.services-preview-layout .services-preview-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.services-preview-layout .services-preview-intro .section-title {
    margin-bottom: 1rem;
}

.services-preview-layout .services-preview-intro .section-subtitle {
    margin-bottom: 0.75rem;
}

.services-preview-layout .services-preview-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.services-preview-layout .services-preview-intro a.btn-book-now {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #A7D9EE 0%, #89CFF0 50%, #87CEEB 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 2px 12px rgba(137, 207, 240, 0.35);
}

.services-preview-layout .services-preview-intro a.btn-book-now:hover {
    background: linear-gradient(180deg, #89CFF0 0%, #5FB3D9 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(95, 179, 217, 0.4);
}

.services-preview-layout .services-grid-preview {
    width: 100%;
    max-width: none;
    margin-top: 0;
}

.services-preview-layout .services-view-all {
    text-align: center;
    margin-top: 2rem;
}

/* Category-specific layouts */
.category-layout-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: flex-start;
}

.category-layout-two-column .category-intro {
    padding-right: 1rem;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    text-align: left;
}

/* Right column: menu title + tagline left-aligned (reference) */
.category-menu-header {
    text-align: left;
    margin-bottom: 2rem;
}
.category-menu-header .section-subtitle {
    margin-bottom: 0;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(30, 46, 103, 0.06), 0 0 0 1px rgba(167, 217, 238, 0.2);
    border: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(30, 46, 103, 0.1), 0 0 0 1px rgba(167, 217, 238, 0.25);
}

.service-card--preview {
    border-radius: 16px;
    min-height: 380px;
}

.service-card--preview:hover {
    transform: translateY(-4px);
}

/* Shared service image container: fixed 4:3 aspect ratio (admin + all service pages) */
.service-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f8f8f8;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 4 / 3) {
    .service-image {
        height: 220px;
        min-height: 220px;
    }
}

/* Align image area with card top when inside a service card */
.service-card .service-image {
    border-radius: 16px 16px 0 0;
    margin: 0;
}

/* Service images: fit inside fixed-ratio container, no stretch/crop/zoom */
.service-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    min-width: 0;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
    box-sizing: border-box;
}

/* Placeholder when no image: fills container, centered icon */
.service-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2.5rem;
    box-sizing: border-box;
}

/* Soft horizontal gradient for homepage preview cards (no db image) */
.service-card--preview .service-image {
    background: linear-gradient(90deg, #B0E0E6 0%, #A7D9EE 50%, #87CEEB 100%);
}

.service-card--preview .service-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

/* Signature service images with subtle gradient overlay */
.service-card--preview .service-image-nails {
    background-image: linear-gradient(90deg, rgba(176, 224, 230, 0.35), rgba(135, 206, 235, 0.35)), url('assets/nail.jpg');
}

.service-card--preview .service-image-facial {
    background-image: linear-gradient(90deg, rgba(176, 224, 230, 0.35), rgba(135, 206, 235, 0.35)), url('assets/facial.jpg');
}

.service-card--preview .service-image-brows {
    background-image: linear-gradient(90deg, rgba(176, 224, 230, 0.35), rgba(135, 206, 235, 0.35)), url('assets/brows.jpg');
}

.service-content {
    padding: 1.5rem 1.5rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
    text-align: left;
}

.service-card--preview .service-content {
    padding-bottom: 1.75rem;
}

.service-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: #7eb8da;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.65rem;
    font-family: inherit;
}

.service-card--preview .service-category {
    color: #89CFF0;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2a4a6e;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    flex: 0 0 auto;
    font-family: 'Playfair Display', serif;
}

.service-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
    font-size: 0.9rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.service-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-blue);
}

/* Pill-shaped light blue button (reference) */
.btn-book-service {
    background: #89CFF0;
    color: var(--white);
    border: none;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-book-service:hover {
    background: #5FB3D9;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(95, 179, 217, 0.4);
}

/* Category Layout Variations */
.category-layout-single .services-grid {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 3rem auto 0;
}

.category-layout-two-column .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 1200px;
    margin: 3rem auto 0;
}

.services-grid-compact {
    gap: 1.8rem;
}

/* Services page: single centered layout (services.php) */
.services-page-single {
    padding: 2.5rem 1.5rem 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f7fc 100%);
}

.services-page-container {
    max-width: 960px;
    margin: 0 auto;
}

.services-page-title {
    font-size: clamp(1.75rem, 4vw, 2rem);
    font-weight: 600;
    color: #1e2e67;
    text-align: center;
    margin: 0 0 0.5rem 0;
}

.services-page-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #5a6b7d;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 0 0 2.5rem 0;
}

.services-page-grid .service-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.services-page-grid .service-card .service-image {
    flex-shrink: 0;
}

/* Desktop: 3 columns for uniform card layout */
@media (min-width: 1200px) {
    .services-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

/* Tablet: keep 2 columns */
@media (min-width: 769px) and (max-width: 1199px) {
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.services-page-empty {
    text-align: center;
    color: #5a6b7d;
    padding: 2rem;
    margin: 0;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 2rem;
}

.pagination-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}

.pagination-link {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    min-width: 2.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e2e67;
    background: #fff;
    border: 1px solid rgba(30, 46, 103, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pagination-link:hover {
    background: rgba(137, 207, 240, 0.15);
    border-color: #89CFF0;
}

.pagination-link.active {
    background: linear-gradient(135deg, #89CFF0, #1e2e67);
    color: #fff;
    border-color: transparent;
}

.pagination-info {
    font-size: 0.875rem;
    color: #5a6b7d;
    margin: 0;
}

@media (max-width: 768px) {
    .services-page-single {
        padding: 2rem 1rem 3rem;
    }

    .services-page-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .services-page-grid .service-card {
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    .services-page-single {
        margin-top: 72px;
        padding: 1.5rem 0.75rem 2.5rem;
    }

    .services-page-title {
        font-size: 1.5rem;
    }

    .services-page-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .pagination-link {
        padding: 0.45rem 0.75rem;
        min-width: 2.25rem;
        font-size: 0.9rem;
    }

    .pagination-prev,
    .pagination-next {
        min-width: auto;
    }
}

/* Category Intro Section */
.category-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-intro h2 {
    margin-bottom: 1.5rem;
}

.category-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Category intro CTA: pill-shaped, soft light blue gradient (reference) */
.category-intro a.btn-book-now {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #A7D9EE 0%, #89CFF0 50%, #87CEEB 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 2px 12px rgba(137, 207, 240, 0.35);
}
.category-intro a.btn-book-now:hover {
    background: linear-gradient(180deg, #89CFF0 0%, #5FB3D9 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(95, 179, 217, 0.4);
}

/* View All Services link (same pill style as category CTA) */
.services-view-all {
    margin-top: 1.5rem;
}
.services-view-all a.btn-book-now {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #A7D9EE 0%, #89CFF0 50%, #87CEEB 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(137, 207, 240, 0.35);
}
.services-view-all a.btn-book-now:hover {
    background: linear-gradient(180deg, #89CFF0 0%, #5FB3D9 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(95, 179, 217, 0.4);
}

/* Service Image Variations - same soft blue gradient for consistency */
.service-image-nails,
.service-image-facial,
.service-image-brows,
.service-image-eyelash,
.service-image-waxing,
.service-image-laser,
.service-image-hair,
.service-image-gluta {
    background: linear-gradient(90deg, #B0E0E6 0%, #A7D9EE 50%, #87CEEB 100%);
}

/* ===============================================
   PROMOTION BANNER
   =============================================== */

.promotion-banner {
    background: #1e2e67;
    color: #cee6fe;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promotion-banner::before {
    content: '✧';
    position: absolute;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.05);
    top: -3rem;
    left: -2rem;
}

.promotion-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.promotion-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.promotion-content .highlight {
    color: #cee6fe;
    font-size: 3rem;
    display: block;
    margin: 1rem 0;
}

.promotion-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===============================================
   CONTACT SECTION
   =============================================== */

.contact {
    padding: 6rem 2rem;
    background: var(--white);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-info {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.contact-item {
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    min-width: 50px;
}

.contact-item h3 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--primary-gray);
}

.contact-form {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #1e2e67;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 46, 103, 0.6);
}

/* ===============================================
   CONTACT PAGE (contact.php)
   =============================================== */

.contact-page-banner {
    color: #fff;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(30, 46, 103, 0.88), rgba(30, 46, 103, 0.75)),
        url('assets/mblc.jpg') center/cover no-repeat;
    filter: blur(3px);
    transform: scale(1.1); /* prevents white edges from blur */
    z-index: 0;
}

.contact-page-banner-inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.contact-page-tagline {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-page-section {
    padding: 2.5rem 1.5rem 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f7fc 100%);
}

.contact-page-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.contact-form-primary {
    min-width: 0;
}

.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 4px 24px rgba(30, 46, 103, 0.08);
    border: 1px solid rgba(30, 46, 103, 0.06);
}

.contact-form-heading {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e2e67;
    margin: 0 0 1.5rem 0;
}

.contact-form-alert {
    padding: 0.875rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.contact-form-alert--success {
    background: #d4edda;
    color: #155724;
}

.contact-form-alert--error {
    background: #f8d7da;
    color: #721c24;
}

.contact-form-fields .form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 0;
}

.contact-form-fields .form-row--half {
    grid-template-columns: 1fr 1fr;
}

.contact-form-fields .form-group {
    margin-bottom: 1.25rem;
}

.contact-form-fields .form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e2e67;
    margin-bottom: 0.4rem;
}

.contact-form-fields .form-group input,
.contact-form-fields .form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #d0d9e2;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-fields .form-group input:focus,
.contact-form-fields .form-group textarea:focus {
    outline: none;
    border-color: #89CFF0;
    box-shadow: 0 0 0 3px rgba(137, 207, 240, 0.2);
}

.contact-form-fields .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-fields .required {
    color: #c00;
}

.contact-form-fields .form-actions {
    margin-top: 1.5rem;
}

.contact-form-fields .btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
}

/* Get in Touch - secondary (subtle) */
.contact-info-secondary {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    padding: 1.25rem 1.25rem;
    border: 1px solid rgba(30, 46, 103, 0.08);
    box-shadow: 0 2px 16px rgba(30, 46, 103, 0.04);
    min-width: 0;
    overflow: hidden;
}

.contact-info-secondary-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e2e67;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.contact-info-secondary-text {
    font-size: 0.875rem;
    color: #5a6b7d;
    margin: 0 0 1rem 0;
    line-height: 1.45;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-info-secondary-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    min-width: 0;
}

.contact-info-item > div {
    min-width: 0;
    flex: 1;
}

.contact-info-item--link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.contact-info-item--link:hover {
    opacity: 0.85;
}

.contact-info-icon {
    font-size: 1rem;
    color: #89CFF0;
    flex-shrink: 0;
    margin-top: 0.15rem;
    width: 1.25em;
    text-align: center;
}

.contact-info-item p {
    margin: 0;
    font-size: 0.875rem;
    color: #4a5f7f;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-info-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1e2e67;
    margin-bottom: 0.15rem;
}

/* ===============================================
   FOOTER
   =============================================== */

.footer {
    background: #1e2e67;
    color: #cee6fe;
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #cee6fe;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: #cee6fe;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section p {
    margin: 0 0 0.5rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(206, 230, 254, 0.3);
    color: #cee6fe;
}

.footer-bottom p {
    margin: 0;
    padding: 0;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Safe area for notched devices (e.g. iPhone 14 Pro Max) – applied per section and nav */

@media (max-width: 968px) {
    .nav-container {
        padding: max(0.5rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
        min-height: calc(56px + env(safe-area-inset-top, 0px));
        align-items: center;
    }

    .nav-logo img {
        height: 40px;
        max-height: 40px;
    }

    .nav-logo-text {
        font-size: 1.25rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: calc(56px + env(safe-area-inset-top, 0px));
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: left;
        transition: left 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.08);
        padding: 1rem max(1rem, env(safe-area-inset-right)) 2rem max(1rem, env(safe-area-inset-left));
        z-index: 999;
        max-height: calc(100vh - 56px - env(safe-area-inset-top, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: stretch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 0 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        display: block;
        padding: 0.875rem 0.5rem;
        font-size: 1rem;
        border-radius: 8px;
        transition: background-color 0.2s ease;
        min-height: 44px;
        box-sizing: border-box;
    }

    .nav-menu li a:hover {
        background-color: var(--light-gray);
    }

    .nav-menu li a.btn-book-now {
        background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
        color: var(--white) !important;
        margin: 0.5rem 0 0;
        padding: 0.875rem 1.25rem;
        font-weight: 600;
        border-radius: 25px;
        box-shadow: 0 4px 15px rgba(30, 46, 103, 0.3);
        text-align: center;
    }

    .nav-menu li a.btn-book-now:hover {
        background: #1e2e67 !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(30, 46, 103, 0.4);
    }

    .nav-toggle {
        display: flex;
        cursor: pointer;
        padding: 0.5rem;
        font-size: 1.35rem;
        color: var(--navy-blue);
        background: none;
        border: none;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }

    .nav-toggle:hover {
        background-color: rgba(30, 46, 103, 0.08);
    }

    .nav-toggle:focus {
        outline: 2px solid #1e2e67;
        outline-offset: 2px;
    }

    .nav-menu .nav-item.dropdown {
        width: 100%;
        min-width: 0;
    }

    .dropdown-menu-wrapper {
        position: static;
        box-shadow: none;
        background-color: rgba(30, 46, 103, 0.04);
        margin: 0.25rem 0 0;
        border-radius: 8px;
        padding: 0.35rem 0.5rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .nav-item.dropdown.open .dropdown-menu-wrapper {
        max-height: min(440px, 78vh);
        height: min(440px, 78vh);
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 0.5rem;
        padding: 0.875rem 0.5rem !important;
        background: transparent;
        border-radius: 8px;
        font-weight: 500;
    }

    .dropdown-toggle .dropdown-icon {
        transition: transform 0.3s ease;
    }

    .dropdown-toggle.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        background: var(--white);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 0.35rem 0.5rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
    }

    .nav-item.dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        margin: 0.15rem 0;
        padding: 0;
    }

    .dropdown-menu li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        border-radius: 6px;
        text-align: left;
        white-space: normal;
        word-wrap: break-word;
        min-height: 40px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .dropdown-menu-header {
        padding: 0.45rem 0.75rem 0.35rem;
        font-size: 0.75rem;
        color: var(--primary-gray);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin-bottom: 0.35rem;
    }

    .dropdown-divider {
        margin: 0.2rem 0.5rem;
    }

    .hero {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: calc(56px + env(safe-area-inset-top, 0px) + 2rem) max(1rem, env(safe-area-inset-right)) 3rem max(1rem, env(safe-area-inset-left));
        min-height: auto;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        grid-template-columns: unset;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: min(100%, 420px);
        margin: 0 auto;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
        margin-top: 0;
        text-align: center;
        width: 100%;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-image {
        order: 2;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        max-height: 320px;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 280px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        min-height: 48px;
    }

    .about {
        padding: 3rem 1.5rem;
    }

    .about-page-hero {
        padding-top: 1.5rem;
    }

    .about-page-banner {
        padding: 2.5rem 1rem;
    }

    .about-page-content {
        padding: 2.5rem 1rem 3rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .about-features {
        gap: 2rem;
        margin-top: 2.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .services {
        padding: 3rem 1rem;
    }

    .services-preview-layout .services-preview-intro {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .services-preview-layout .services-preview-intro p {
        font-size: 1rem;
    }

    .promotion-banner {
        padding: 2.5rem 1.5rem;
    }

    .promotion-content h2 {
        font-size: 1.75rem;
    }

    .promotion-content .highlight {
        font-size: 2.25rem;
    }

    .promotion-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-container {
        gap: 1.75rem 2rem;
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .footer-section p {
        margin: 0 0 0.5rem 0;
        line-height: 1.5;
        font-size: 0.9rem;
    }

    .footer-section ul li {
        margin-bottom: 0.4rem;
    }

    .social-links {
        margin-top: 0.5rem;
        gap: 0.5rem;
    }

    .footer-bottom {
        padding-top: 1.25rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-fields .form-row--half {
        grid-template-columns: 1fr;
    }

    .contact-info {
        max-width: 100%;
        padding: 0 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
        background: var(--light-gray);
        border-radius: 12px;
        transition: transform 0.3s ease;
    }

    .contact-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .contact-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .contact-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: calc(52px + env(safe-area-inset-top, 0px) + 1.5rem) max(0.75rem, env(safe-area-inset-right)) 2rem max(0.75rem, env(safe-area-inset-left));
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-content {
        margin: 0 auto;
        max-width: min(100%, 380px);
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.25;
        text-align: center;
    }

    .hero-content p {
        font-size: 0.95rem;
        text-align: center;
    }

    .hero-buttons {
        align-items: center;
    }

    .hero-buttons a {
        max-width: 280px;
    }

    .hero-image img {
        max-height: 260px;
    }

    .about {
        padding: 2rem 1rem;
    }

    .about-page-hero {
        padding-top: 1.25rem;
    }

    .about-page-banner {
        padding: 2rem 0.75rem;
    }

    .about-page-title {
        font-size: 1.5rem;
    }

    .about-page-content {
        padding: 2rem 0.75rem 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-features {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .services {
        padding: 2rem 0.75rem;
    }

    .services-preview-layout .services-preview-intro .section-title {
        font-size: 1.5rem;
    }

    .promotion-banner {
        padding: 2rem 1rem;
    }

    .promotion-content h2 {
        font-size: 1.4rem;
    }

    .promotion-content .highlight {
        font-size: 1.85rem;
    }

    .product-modal-content {
        margin: 0 0.75rem;
        max-width: calc(100% - 1.5rem);
    }

    .product-modal-close {
        top: 0.5rem;
        right: 0.5rem;
    }

    .contact {
        padding: 2rem 1rem;
    }

    .contact-page-banner {
        padding: 2rem 1rem;
    }

    .contact-page-title {
        font-size: 1.5rem;
    }

    .contact-page-section {
        padding: 1.75rem 1rem 3rem;
    }

    .contact-page-layout {
        gap: 1.25rem;
    }

    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }

    .contact-form-heading {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .contact-form-fields .form-group {
        margin-bottom: 1rem;
    }

    .contact-info-secondary {
        padding: 1.25rem 1rem;
        min-width: 0;
    }

    .contact-info-secondary-title {
        font-size: 1rem;
    }

    .contact-info-secondary-list {
        gap: 0.75rem;
    }

    .contact-info-item p {
        font-size: 0.85rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .services-view-all a.btn-book-now {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        min-height: 44px;
    }

    .footer {
        padding: 1.25rem 0.75rem 0.75rem;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1rem;
        margin-bottom: 1rem;
    }

    .footer-section {
        min-width: 0;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .footer-section p {
        margin: 0 0 0.35rem 0;
    }

    .footer-section ul {
        padding: 0;
        margin: 0;
    }

    .footer-section ul li {
        margin-bottom: 0.35rem;
    }

    .footer-section ul li a {
        font-size: 0.85rem;
    }

    .social-links {
        margin-top: 0.4rem;
        gap: 0.4rem;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding-top: 1rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.4;
        padding: 0 0.25rem;
    }

    .category-layout-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .category-layout-two-column .category-intro {
        margin-bottom: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-layout-two-column .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .service-card {
        min-height: 360px;
    }
    
    .service-card--preview {
        min-height: 360px;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    /* Mobile navigation - phone sizes */
    .nav-container {
        padding: 0.6rem 0.75rem;
        min-height: 52px;
    }

    .nav-logo img {
        height: 36px;
        max-height: 36px;
    }

    .nav-logo-text {
        font-size: 1.1rem;
    }

    .nav-menu {
        top: calc(52px + env(safe-area-inset-top, 0px));
        padding: 0.75rem max(0.75rem, env(safe-area-inset-right)) 1.5rem max(0.75rem, env(safe-area-inset-left));
        max-height: calc(100vh - 52px - env(safe-area-inset-top, 0px));
    }

    .nav-menu li {
        padding: 0 0.75rem;
    }

    .nav-menu li a {
        padding: 0.75rem 0.5rem;
        font-size: 0.95rem;
    }

    .nav-menu li a.btn-book-now {
        margin-top: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .nav-toggle {
        font-size: 1.25rem;
        min-width: 44px;
        min-height: 44px;
        padding: 0.4rem;
    }

    .nav-item.dropdown.open .dropdown-menu-wrapper {
        max-height: min(420px, 75vh);
        height: min(420px, 75vh);
    }

    .dropdown-menu {
        padding: 0.35rem 0.5rem;
    }

    .dropdown-menu li a {
        padding: 0.5rem 0.7rem;
        font-size: 0.875rem;
        min-height: 40px;
    }

    .dropdown-menu-header {
        padding: 0.4rem 0.7rem 0.3rem;
        font-size: 0.75rem;
    }

    .contact {
        padding: 4rem 1rem;
    }

    .contact-info {
        padding: 0 0.5rem;
    }

    .contact-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .contact-icon {
        font-size: 2rem;
        min-width: 40px;
    }

    .contact-item h3 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content h1 span {
        font-size: 1.35rem;
    }

    .hero-buttons a,
    .hero-buttons button {
        width: 100%;
        max-width: 280px;
    }

    .btn-primary, .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .promo-cards-title {
        font-size: 1.35rem;
    }

    .promotion-content h2 {
        font-size: 1.25rem;
    }

    .promotion-content .highlight {
        font-size: 1.6rem;
    }

    .footer-container {
        gap: 1rem 0.75rem;
        margin-bottom: 0.75rem;
    }

    .footer-section h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.8rem;
    }

    .footer-section ul li {
        margin-bottom: 0.25rem;
    }

    .footer-bottom {
        padding-top: 0.75rem;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* iPhone 14 Pro Max and similar (430px) – organized mobile layout */
@media (max-width: 430px) {
    .nav-container {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .nav-menu li {
        padding: 0 max(0.75rem, env(safe-area-inset-right)) 0 max(0.75rem, env(safe-area-inset-left));
    }

    .nav-item.dropdown.open .dropdown-menu-wrapper {
        max-height: min(400px, 72vh);
        height: min(400px, 72vh);
    }

    .dropdown-menu {
        padding: 0.3rem 0.45rem;
    }

    .dropdown-menu li a {
        padding: 0.48rem 0.65rem;
        font-size: 0.85rem;
        min-height: 38px;
    }

    .dropdown-menu-header {
        padding: 0.38rem 0.65rem 0.28rem;
        font-size: 0.72rem;
    }

    .hero {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-top: calc(52px + env(safe-area-inset-top, 0px) + 1.75rem);
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
        padding-bottom: 2.5rem;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 1.65rem;
        line-height: 1.3;
        text-align: center;
    }

    .hero-content h1 span {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.55;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        gap: 0.75rem;
    }

    .hero-buttons a {
        max-width: 280px;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        min-height: 48px;
    }

    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        max-height: 240px;
    }

    .about {
        padding: 2.5rem max(0.75rem, env(safe-area-inset-right)) 2.5rem max(0.75rem, env(safe-area-inset-left));
    }

    .about-features {
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.25rem 1rem;
    }

    .services {
        padding: 2rem max(0.75rem, env(safe-area-inset-right)) 2rem max(0.75rem, env(safe-area-inset-left));
    }

    .services-preview-layout .services-preview-intro {
        padding: 0 0.25rem;
    }

    .services-preview-layout .services-preview-intro .section-title {
        font-size: 1.4rem;
    }

    .services-preview-layout .services-preview-intro p {
        font-size: 0.95rem;
    }

    .promotion-banner {
        padding: 2rem max(0.75rem, env(safe-area-inset-right)) 2rem max(0.75rem, env(safe-area-inset-left));
    }

    .promotion-content h2 {
        font-size: 1.2rem;
    }

    .promotion-content .highlight {
        font-size: 1.5rem;
    }

    .promotion-content p {
        font-size: 0.95rem;
    }

    .promo-cards-section {
        padding: 2.5rem max(0.75rem, env(safe-area-inset-right)) 3rem max(0.75rem, env(safe-area-inset-left));
    }

    .promo-cards-grid {
        max-width: none;
    }

    .contact {
        padding: 2.5rem max(0.75rem, env(safe-area-inset-right)) 2.5rem max(0.75rem, env(safe-area-inset-left));
    }

    .contact-info h2 {
        font-size: 1.4rem;
    }

    .contact-details {
        gap: 0.875rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .footer {
        padding: 1.5rem max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section ul {
        text-align: center;
    }

    .footer-section ul {
        list-style: none;
    }

    .footer-bottom p {
        font-size: 0.7rem;
        line-height: 1.45;
        text-align: center;
    }
}

/* ===============================================
   ANIMATIONS
   =============================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none !important;
}

