/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent horizontal scroll on mobile */
html {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    position: relative;
    /* Improve mobile scrolling - iOS Safari fixes */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pan-x pinch-zoom;
    overscroll-behavior-y: auto;
    overscroll-behavior-x: none;
    /* Fix for iOS Safari scroll issues - DO NOT use height: 100% */
    min-height: 100%;
    height: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    position: relative;
    /* Improve mobile scrolling - iOS Safari fixes */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pan-x pinch-zoom;
    overscroll-behavior-y: auto;
    overscroll-behavior-x: none;
    /* Fix for iOS Safari scroll issues - DO NOT use height: 100% */
    min-height: 100%;
    height: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

main, .main-content {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
    /* Improve mobile scrolling - iOS Safari fixes */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pan-x pinch-zoom;
    /* Fix for iOS Safari scroll issues - ensure content can scroll */
    position: relative;
    min-height: auto;
    height: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@import url('https://fonts.cdnfonts.com/css/moon-time');

:root {
    --beige: #F5F5DC;
    --beige-light: #FEFCF8;
    --beige-dark: #E8E2D4;
    --black: #000000;
    --black-light: #1A1A1A;
    --gold: #d1ab76;
    --gold-light: #e9c9a1;
    --gold-dark: #b68e53;
    --white: #FFFFFF;
    --gray: #4A4A4A;
    --gray-light: #8B8B8B;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--beige-light);
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    position: relative;
    /* Improve mobile scrolling - iOS Safari fixes */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pan-x pinch-zoom;
    overscroll-behavior-y: auto;
    overscroll-behavior-x: none;
    /* Fix for iOS Safari scroll issues - DO NOT use height: 100% */
    min-height: 100%;
    height: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Unified course background wordmark */
body.page-course {
    position: relative;
}

body.page-course::before {
    content: "Become your own boss";
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    font-family: 'Moon Time', 'Dancing Script', cursive;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #000000;
    opacity: 0.08; /* subtle, readable but not distracting */
    pointer-events: none;
    white-space: normal;
    text-align: center;
    padding: 0 20px;
    margin: 0;
    z-index: 0;
    will-change: transform;
    line-height: 1.1;
    word-wrap: break-word;
    box-sizing: border-box;
    display: block;
}

/* Ensure page content sits above the background wordmark */
body.page-course > * {
    position: relative;
    z-index: 1;
}

/* Disable previous background text on old class to prevent duplication */
body.page-lash-lift::before {
    content: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    /* Improve mobile scroll performance */
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-top: 40px;
    padding-bottom: 20px;
}

.logo-image {
    height: 210px;
    width: auto;
    margin-bottom: 25px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Special styling for shop link */
.nav-item-shop {
    margin-left: auto;
    padding-left: 2rem;
    border-left: 2px solid var(--beige-dark);
}

.nav-item-cart {
    padding-left: 1rem;
    border-left: 2px solid var(--beige-dark);
}

.shop-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--gold);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.shop-link:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 171, 118, 0.4);
}

.shop-link::after {
    display: none;
}

.cart-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--beige-light);
    color: var(--black) !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--gold);
}

.cart-nav-link:hover {
    background-color: var(--gold);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 171, 118, 0.4);
}

.cart-nav-link::after {
    display: none;
}

.cart-badge {
    background-color: var(--gold-dark);
    color: var(--white);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-light) 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero-banner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: clamp(320px, 65vw, 720px);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.18);
    margin-bottom: 70px;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 30%;
}

.hero-content {
    padding: 60px 20px 20px;
    max-width: 1200px;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-intro {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Hero Gallery Section */
.hero-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    width: 100%;
    padding: 0 20px;
}

.hero-gallery-item {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hero-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero--academy {
    justify-content: flex-start;
    padding: 330px 0 160px;
}

.hero--academy .hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero--academy .hero-content {
    margin-bottom: 0;
    text-align: center;
}

.hero--academy .hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.academy-hero-programs {
    width: 100%;
}

/* FAQ Section */
.academy-faq {
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--beige) 100%);
    padding: 100px 0;
}

.academy-faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.academy-faq-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--black);
    margin-bottom: 0.5rem;
}

.academy-faq-header p {
    color: var(--gray);
}

.academy-faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(209, 171, 118, 0.35);
    border-radius: 16px;
    padding: 0.25rem 1rem;
    box-shadow: 0 16px 35px rgba(0,0,0,0.06);
}

.faq-item[open] {
    background: #fffdf8;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 0.25rem;
    font-weight: 600;
    color: var(--black);
    position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--gold-dark);
}

.faq-item[open] summary::after {
    content: '–';
}

.faq-content {
    color: var(--gray);
    padding: 0 0.25rem 1rem;
    line-height: 1.7;
}

.academy-showcase-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--black);
    text-align: center;
    margin-bottom: 0.75rem;
}

.academy-showcase-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 3-column centered grid for Skin Clinic */
.academy-grid--three {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    max-width: 1080px;
    margin: 0 auto;
}

.academy-grid--three .academy-card-image {
    aspect-ratio: 4 / 5; /* taller images */
}

/* Ensure Skin Clinic images fill the frame completely */
.academy-grid--three .academy-card-image picture {
    width: 100%;
    height: 100%;
    display: block;
}

.academy-grid--three .academy-card-image picture img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.academy-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(209, 171, 118, 0.3);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    min-height: 100%;
}

.academy-card:hover,
.academy-card:focus-visible {
    transform: translateY(-12px);
    box-shadow: 0 36px 70px rgba(0, 0, 0, 0.18);
    border-color: var(--gold);
    outline: none;
}

.academy-card-image {
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.academy-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.masterclass-collage {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
}

.masterclass-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.academy-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #d1ab76, #b68e53);
    color: var(--white);
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: rotate(5deg);
    z-index: 10;
    white-space: nowrap;
    line-height: 1.4;
}

.academy-card-badge-multi {
    white-space: normal;
    font-size: 0.55rem;
    padding: 8px 12px;
    line-height: 1.5;
    max-width: 140px;
    text-align: left;
}

@media (max-width: 768px) {
    .academy-card-badge {
        font-size: 0.65rem;
        padding: 6px 12px;
        top: 10px;
        right: 10px;
    }
    
    .academy-card-badge-multi {
        font-size: 0.5rem;
        padding: 6px 10px;
        max-width: 120px;
        top: 10px;
        right: 10px;
        line-height: 1.4;
    }
}

.academy-card-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(209, 171, 118, 0.1) 10px,
        rgba(209, 171, 118, 0.1) 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.academy-card:hover .academy-card-image img,
.academy-card:focus-visible .academy-card-image img,
.academy-card:hover .academy-card-placeholder,
.academy-card:focus-visible .academy-card-placeholder {
    transform: scale(1.08);
}

.academy-card:hover .masterclass-collage img,
.academy-card:focus-visible .masterclass-collage img {
    transform: scale(1.08);
}

.academy-card-title {
    font-size: 1.35rem;
    text-align: center;
    color: var(--black);
    padding: 1.75rem 1rem 2rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.academy-card:hover .academy-card-title,
.academy-card:focus-visible .academy-card-title {
    color: var(--gold-dark);
}

.academy-contact {
    background: var(--white);
    padding: 120px 0;
}

.academy-contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.academy-contact-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--black);
    margin-bottom: 0.75rem;
}

.academy-contact-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.academy-contact-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
}

.academy-contact-info {
    display: grid;
    gap: 1.75rem;
}

.academy-contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.academy-contact-item i {
    font-size: 1.5rem;
    color: var(--gold);
    background: rgba(209, 171, 118, 0.18);
    padding: 0.85rem;
    border-radius: 12px;
}

.academy-contact-item h3 {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.35rem;
}

.academy-contact-item p {
    color: var(--gray);
    line-height: 1.6;
}

.academy-contact-form {
    background: var(--beige-light);
    padding: 2.5rem;
    border-radius: 26px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 1.5rem;
}

.academy-contact-form input,
.academy-contact-form select,
.academy-contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(209, 171, 118, 0.4);
    background: var(--white);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: var(--black);
}

.academy-contact-form input:focus,
.academy-contact-form select:focus,
.academy-contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(209, 171, 118, 0.2);
}

.academy-contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.academy-contact-form .btn {
    justify-self: start;
    padding: 15px 38px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #d1ab76;
    color: var(--black);
    box-shadow: 0 4px 15px rgba(209, 171, 118, 0.4);
    font-weight: 700;
}

.btn-primary.btn-accent {
    background-color: #d1ab76 !important;
    color: var(--black);
    box-shadow: 0 4px 15px rgba(209, 171, 118, 0.4);
}

.btn-primary.btn-accent:hover {
    background-color: #b68e53 !important;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(209, 171, 118, 0.6);
}

.btn-primary:hover {
    background-color: #b68e53;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    text-decoration: none;
    color: inherit;
    background-color: var(--beige-light);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--beige-dark);
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
    text-decoration: none;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(209, 171, 118, 0.4);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.service-card:focus-visible {
    outline: 3px solid rgba(209, 171, 118, 0.6);
    outline-offset: 6px;
    text-decoration: none;
}

.service-card:hover h3,
.service-card:focus-visible h3 {
    color: var(--gold-dark);
}

.service-card:hover p,
.service-card:focus-visible p {
    color: var(--black);
}

/* Service Detail */
.service-detail {
    padding: 260px 0 140px;
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--white) 100%);
    min-height: 100vh;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Extra spacing from navbar for pages without background wordmark */
.service-detail--extra-top {
    padding-top: 360px;
}

.service-detail .container {
    max-width: 920px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0 20px;
}

.service-detail-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: rgba(209, 171, 118, 0.18);
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* ensure over content stays above background text */
.service-detail-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.service-detail-subtitle {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 600;
    color: var(--gold-dark);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.service-detail-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.service-detail-grid--four {
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    justify-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.service-detail-grid--features {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-detail-grid--lashes,
.service-detail-grid--benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.service-detail-grid--lashes .service-card-static,
.service-detail-grid--benefits .service-card-static {
    flex: 0 1 260px;
}

.service-detail-section {
    margin-top: 3rem;
    text-align: left;
}

.service-detail-section h2,
.service-detail-section h3 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.service-detail-section p:not(.service-detail-note) {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-detail-columns {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Fixed 3 equal columns variant */
.service-detail-columns--three {
    grid-template-columns: repeat(3, 1fr);
}

/* Fixed 2 equal columns variant (for pricing) */
.service-detail-columns--two {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.service-detail-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

/* Equal-height, evenly balanced columns for long bullet lists */
.service-detail-list--columns {
    display: block; /* override grid */
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
    column-gap: 2rem;
}

.service-detail-list--columns li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 0.75rem;
}

.service-detail-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--black);
    line-height: 1.6;
}

.service-detail-list li::before {
    content: '';
    position: absolute;
    left: 0.35rem;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--gold);
}

.service-detail-list-inline-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.service-detail-list--inline {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 1rem 2rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.service-detail-timeline {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.service-detail-timeline li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    background: rgba(209, 171, 118, 0.12);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    color: var(--black);
    font-weight: 500;
}

.service-detail-note {
    color: var(--gray);
    font-style: italic;
    margin-top: 1.5rem;
}

.service-detail-pricing {
    background: rgba(209, 171, 118, 0.14);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
}

.service-detail-pricing-label {
    font-weight: 600;
    color: var(--black);
    letter-spacing: 0.04em;
}

.service-detail-pricing-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.service-detail-highlight--light {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(209, 171, 118, 0.4);
}

/* Kit content table */
.service-detail-table-wrapper {
    margin-top: 1rem;
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.service-detail-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 620px;
    max-width: 100%;
    box-sizing: border-box;
}

.service-detail-table thead th {
    text-align: left;
    background: rgba(209, 171, 118, 0.18);
    color: var(--black);
    padding: 14px 16px;
    font-weight: 700;
}

.service-detail-table tbody td {
    padding: 12px 16px;
    border-top: 1px solid rgba(209, 171, 118, 0.25);
}

.service-detail-table tbody tr:nth-child(odd) td {
    background: rgba(209, 171, 118, 0.08);
}

.service-detail-table tbody tr:hover td {
    background: rgba(209, 171, 118, 0.14);
}

.service-card-static {
    cursor: default;
}

.service-card-static:hover,
.service-card-static:focus-visible {
    transform: translateY(0);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.06);
    border-color: var(--beige-dark);
    outline: none;
}

.service-card-static:hover h3,
.service-card-static:hover p {
    color: inherit;
}

.service-card-static .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 16px rgba(209, 171, 118, 0.3);
}

.service-card-static .service-icon i {
    font-size: 1.6rem;
}

.service-card-static h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--gold-dark);
}

.service-card-static p {
    color: var(--gray);
    margin-bottom: 0;
}

.service-detail-highlight {
    background: var(--beige);
    border-radius: 24px;
    padding: 2.5rem 2.75rem;
    margin-top: 1rem;
    color: var(--black);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.service-detail-highlight h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-detail-highlight p {
    color: var(--gray);
}

.service-detail-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.service-detail-actions .btn {
    min-width: 220px;
}

/* Service Detail Page */
.service-detail-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: rgba(209, 171, 118, 0.18);
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.service-detail-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.service-detail-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.service-detail-highlight {
    background: var(--beige);
    border-radius: 24px;
    padding: 2.5rem 2.75rem;
    margin-top: 2.5rem;
    color: var(--black);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

.service-detail-highlight h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-detail-highlight p {
    color: var(--gray);
}

.service-detail-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.service-detail-actions .btn {
    min-width: 220px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--beige) 0%, var(--beige-light) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo {
    width: min(360px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
    border: 3px solid rgba(209, 171, 118, 0.65);
    filter: saturate(1.05) contrast(1.03);
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--white) 100%);
}

.gallery .container {
    max-width: 1400px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 0;
    background: var(--gallery-image, linear-gradient(135deg, rgba(209, 171, 118, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%));
    background-size: cover;
    background-position: center;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
    transition: opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.gallery-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 38px 75px rgba(0, 0, 0, 0.25);
}

.gallery-card:hover::before {
    opacity: 0.35;
}

.gallery-card:focus-visible {
    outline: 3px solid rgba(209, 171, 118, 0.7);
    outline-offset: 6px;
}

.gallery-card-overlay {
    display: none;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(18, 14, 10, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 2000;
}

.gallery-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-modal-image {
    max-width: min(1000px, 90vw);
    max-height: 85vh;
    border-radius: 24px;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(209, 171, 118, 0.45);
    background-color: var(--beige-dark);
}

.gallery-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.8rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.gallery-modal-close:hover {
    transform: scale(1.08);
    color: var(--gold-light);
}

.gallery + .contact {
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--beige) 100%);
}

@media (min-width: 1600px) {
    .gallery .container {
        max-width: 1600px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(320px, 1fr));
    }
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(260px, 1fr));
    }

    .academy-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }

    /* Skin clinic 3-column -> 2-column on medium */
    .academy-grid--three {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        max-width: 780px;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }

    .academy-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .academy-contact-content {
        grid-template-columns: 1fr;
    }

    .academy-contact-form {
        padding: 2.25rem;
    }

    /* Reduce columns on medium screens */
    .service-detail-list--columns {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }

    .academy-grid--three {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        max-width: 700px;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--beige-light);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--gold-dark);
}

.contact-details h3 {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.contact-details a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--gold-dark);
}

.contact-form-wrapper {
    background-color: var(--beige-light);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--beige-dark);
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.form-intro {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-form {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--beige-dark);
    border-radius: 10px;
    font-size: 1rem;
    background-color: var(--white);
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: none;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-loading {
    display: inline-block;
    margin-left: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 50px 0 20px;
    border-top: 3px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-light);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--black-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--black-light);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-light);
}

/* Mobile scroll optimizations */
@media (max-width: 768px) {
    /* Improve scroll performance on mobile */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Optimize fixed elements for better scroll performance */
    .navbar,
    .back-to-top-btn {
        will-change: transform;
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Disable smooth scroll on mobile */
    html {
        scroll-behavior: auto !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        padding-top: 15px !important;
        padding-bottom: 10px !important;
    }

    .logo-image {
        height: 120px !important;
        margin-bottom: 10px !important;
    }

.nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 90px 0 50px;
        min-height: auto;
    }

    .hero--academy {
        padding: 120px 0 80px;
    }

    .academy-showcase-subtitle {
        margin-bottom: 2rem;
    }

    .hero-banner {
        height: clamp(200px, 50vh, 400px) !important;
        margin-bottom: 30px !important;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-banner-image {
        object-position: center 20% !important;
    }

    .hero-content {
        padding: 20px 20px 20px !important;
        margin-bottom: 1rem !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .service-detail-section {
        margin-top: 2.5rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Service detail mobile fixes */
    .service-detail {
        padding: 200px 0 80px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1;
    }
    
    .service-detail .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: block !important;
        visibility: visible !important;
    }
    
    .service-detail-title {
        font-size: 2rem;
        padding: 0 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
        visibility: visible;
    }
    
    .service-detail-subtitle {
        font-size: 1.5rem;
        padding: 0 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
        visibility: visible;
    }
    
    .service-detail-description {
        font-size: 1rem;
        padding: 0 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
        visibility: visible;
    }
    
    .service-detail-section h2,
    .service-detail-section h3,
    .service-detail-section h4 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .service-detail-section p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .service-detail-timeline {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .service-detail-timeline li {
        flex-wrap: wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-detail-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .service-detail-grid--four {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 10px;
    }
    
    .service-detail-highlight {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .service-detail-highlight h2 {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-detail-highlight p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
    }
    
    .service-detail-list-inline-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 5px;
    }
    
    .service-detail-list--inline {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .service-detail-list--inline li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding-left: 1.5rem;
    }
    
    .service-detail-columns {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .service-detail-columns--three {
        grid-template-columns: 1fr !important;
    }
    
    .service-detail-columns--two {
        grid-template-columns: 1fr !important;
    }
    
    .service-detail-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .service-detail-table {
        min-width: 500px;
        font-size: 0.9rem;
    }
    
    .service-detail-table thead th,
    .service-detail-table tbody td {
        padding: 10px 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-detail-pricing {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .service-card {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        padding: 2rem 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
    }
    
    .service-card p {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
    }
    
    .service-detail-actions {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 10px;
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-detail-actions .btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-detail-timeline li {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-detail-pricing {
        align-items: stretch;
    }

    .academy-contact {
        padding: 90px 0;
    }

    .academy-contact-form {
        padding: 2rem;
    }

    body.page-lash-lift::before {
        font-size: clamp(3rem, 20vw, 6rem);
        letter-spacing: 0.05em;
        opacity: 0.8;
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-placeholder {
        width: 250px;
        height: 250px;
    }

    .about-placeholder i {
        font-size: 4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .gallery-card {
        min-height: 320px;
    }

    .gallery-modal-image {
        max-height: 60vh;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 2rem;
    }

    .contact-items-grid {
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.25rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .logo-image {
        height: 100px;
        margin-bottom: 8px;
    }

    .hero {
        padding: 70px 0 40px;
        min-height: auto;
    }

    .hero--academy {
        padding: 100px 0 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-banner {
        height: clamp(180px, 45vh, 320px) !important;
        margin-bottom: 25px !important;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-banner-image {
        object-position: center 15% !important;
    }

    .nav-container {
        padding-top: 10px !important;
        padding-bottom: 8px !important;
    }

    .logo-image {
        height: 100px !important;
        margin-bottom: 8px !important;
    }

    .hero-content {
        padding: 15px 15px 15px !important;
        margin-bottom: 0.5rem !important;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-card {
        min-height: 240px;
    }

    .gallery-modal {
        padding: 30px 15px;
    }

    .gallery-modal-close {
        top: 20px;
        right: 20px;
    }

    /* Single column on small screens */
    .service-detail-columns--three {
        grid-template-columns: 1fr;
    }
    
    /* Service detail small mobile fixes */
    .service-detail {
        padding: 180px 0 60px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .service-detail .container {
        padding: 0 10px;
        display: block !important;
        visibility: visible !important;
    }
    
    .service-detail-title {
        font-size: 1.75rem;
        padding: 0 5px;
        display: block;
        visibility: visible;
    }
    
    .service-detail-subtitle {
        font-size: 1.3rem;
        padding: 0 5px;
        display: block;
        visibility: visible;
    }
    
    .service-detail-description {
        font-size: 0.95rem;
        padding: 0 5px;
        display: block;
        visibility: visible;
    }
    
    .service-detail-section {
        display: block;
        visibility: visible;
    }
    
    .service-detail-section h2,
    .service-detail-section h3,
    .service-detail-section h4 {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-detail-grid {
        padding: 0 5px;
        gap: 1rem;
    }
    
    .service-detail-grid--four {
        padding: 0 5px;
        gap: 1rem;
    }
    
    .service-detail-highlight {
        padding: 1.5rem 1rem;
    }
    
    .service-detail-highlight h2 {
        font-size: 1.3rem;
    }
    
    .service-detail-list-inline-wrapper {
        padding: 0 3px;
    }
    
    .service-detail-list--inline {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    
    .service-detail-columns {
        grid-template-columns: 1fr !important;
    }
    
    .service-detail-columns--three {
        grid-template-columns: 1fr !important;
    }
    
    .service-detail-columns--two {
        grid-template-columns: 1fr !important;
    }
    
    .service-detail-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .service-detail-table {
        min-width: 450px;
        font-size: 0.85rem;
    }
    
    .service-detail-table thead th,
    .service-detail-table tbody td {
        padding: 8px 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-detail-pricing {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        padding: 0 3px;
    }
    
    .service-card p {
        font-size: 0.9rem;
        padding: 0 3px;
    }
    
    .service-detail-actions {
        padding: 0 5px;
    }
    
    .service-detail-actions .btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .academy-grid--three {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

/* Smooth scrolling - disabled on mobile for better scroll performance */
html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    html {
        scroll-behavior: auto;
    }
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.about-text,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--beige-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 5px;
    border: 1px solid var(--beige-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--black) 100%);
}

/* Massage Chair Styles */
.hero--massage {
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-light) 100%);
    padding: 320px 0 150px;
    text-align: center;
    min-height: auto;
}

.hero--massage .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero--massage .hero-content {
    margin-bottom: 0;
}

.hero--massage .hero-title {
    font-size: 3.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 700;
}

.hero--massage .hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-top: 1rem;
    font-weight: 300;
}

.hero-media--massage {
    width: min(560px, 90vw);
    border-radius: 24px;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.6));
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.12);
}

.hero-media--massage picture,
.hero-media--massage img {
    width: 100%;
    display: block;
}

.hero-media--massage img {
    height: auto;
}

.massage-intro {
    padding: 80px 0;
    background: var(--white);
}

.massage-intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.massage-intro-text {
    text-align: left;
}

.massage-intro-card {
    background: var(--beige-light);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 28px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.massage-intro-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgba(209, 171, 118, 0.35);
    pointer-events: none;
}

.accent-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    background: rgba(209, 171, 118, 0.15);
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.massage-intro-text .lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.massage-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.intro-body {
    display: grid;
    gap: 1.2rem;
}

.intro-body p {
    margin-bottom: 0;
}

.intro-highlight {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(209, 171, 118, 0.2);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.intro-highlight h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.intro-highlight p {
    margin: 0;
    color: var(--gray);
}

.massage-benefits {
    padding: 80px 0;
    background: var(--beige-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title--left {
    text-align: left;
    margin-left: 0;
}

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

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

.massage-pricing {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--beige) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.pricing-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 1.05rem;
    color: var(--gray);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row strong {
    font-size: 1.1rem;
    color: var(--black);
}

.massage-techniques {
    padding: 80px 0;
    background: var(--white);
}

.techniques-content {
    max-width: 1000px;
    margin: 0 auto;
}

.technique-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--beige-light);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.technique-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.technique-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.technique-text {
    flex: 1;
}

.technique-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.technique-text p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

.massage-target {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-light) 100%);
}

.target-content {
    max-width: 900px;
    margin: 0 auto;
}

.target-text {
    text-align: left;
}

.target-text .lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 2rem;
    font-weight: 400;
}

.target-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.target-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.target-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.target-list li i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.target-list li span {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

.target-list li strong {
    color: var(--black);
    font-weight: 600;
}

.massage-faq {
    padding: 80px 0;
    background: var(--white);
}

/* Responsive adjustments for massage chair sections */
@media (max-width: 768px) {
    .hero--massage {
        padding: 200px 0 90px;
    }

    .hero--massage .hero-title {
        font-size: 2.5rem;
    }

    .hero--massage .hero-subtitle {
        font-size: 1.2rem;
    }

    .massage-intro,
    .massage-benefits,
    .massage-techniques,
    .massage-target,
    .massage-faq {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2rem;
    }

    .technique-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .technique-item:hover {
        transform: translateY(5px);
    }

    .technique-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .target-list li {
        flex-direction: column;
        gap: 0.75rem;
    }

    .massage-intro-text .lead-text,
    .target-text .lead-text {
        font-size: 1.1rem;
    }

    .massage-intro-text p {
        font-size: 1rem;
    }

    .massage-intro-card {
        padding: 2rem;
    }

    .intro-highlight {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 2rem;
    }
}

/* Pricing Section Styles */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--white) 100%);
    min-height: auto;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    display: block;
    visibility: visible;
    position: relative;
    z-index: 1;
}

.pricing-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
}

.pricing-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.pricing-category {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(209, 171, 118, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.pricing-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.12);
}

.pricing-category-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(209, 171, 118, 0.3);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pricing-category-title {
    font-size: 2rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(209, 171, 118, 0.15);
    border-radius: 12px;
}

.pricing-category-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--beige-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.pricing-item:hover {
    background: rgba(209, 171, 118, 0.12);
    border-left-color: var(--gold);
    transform: translateX(4px);
}

.pricing-item-sub {
    margin-left: 1.5rem;
    background: rgba(209, 171, 118, 0.08);
    padding: 0.75rem 1rem;
    border-left: 2px solid var(--gold);
}

.pricing-service {
    font-size: 1.05rem;
    color: var(--black);
    font-weight: 500;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.pricing-item-sub .pricing-service {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-price {
    font-size: 1.2rem;
    color: var(--gold-dark);
    font-weight: 700;
    margin-left: 1rem;
    white-space: nowrap;
}

.pricing-item-sub .pricing-price {
    font-size: 1.05rem;
    color: var(--gold);
}

.pricing-note {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(209, 171, 118, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.pricing-note em {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
    line-height: 1.5;
}

/* Responsive adjustments for pricing */
@media (max-width: 992px) {
    .pricing-category {
        padding: 2rem;
    }

    .pricing-category-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-category-title {
        font-size: 1.75rem;
        padding: 0.4rem 1.25rem;
    }
}

/* Pricing Navigation Buttons */
.pricing-nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.pricing-nav-buttons .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 8px rgba(209, 171, 118, 0.15);
}

.pricing-nav-buttons .nav-btn i {
    font-size: 0.9rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.pricing-nav-buttons .nav-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 171, 118, 0.3);
}

.pricing-nav-buttons .nav-btn:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.pricing-nav-buttons .nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(209, 171, 118, 0.2);
}

/* Pricing Quote */
.pricing-quote {
    margin-top: 1.5rem;
    padding: 1.5rem 0;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    max-width: 100%;
}

.pricing-quote:hover {
    opacity: 1;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 300;
    font-style: italic;
    color: var(--gray);
    letter-spacing: 0.08em;
    text-transform: lowercase;
    margin: 0;
    line-height: 1.6;
    position: relative;
    padding: 0 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0.5;
    font-family: 'Playfair Display', serif;
}

.quote-text::before {
    margin-right: 0.5rem;
}

.quote-text::after {
    margin-left: 0.5rem;
}

/* Back to top button in pricing categories */
.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 8px rgba(209, 171, 118, 0.25);
    white-space: nowrap;
}

.back-to-top-btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 171, 118, 0.4);
}

.back-to-top-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(209, 171, 118, 0.3);
}

.back-to-top-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    
    /* Disable smooth scroll on mobile for better performance */
    @media (max-width: 768px) {
        scroll-behavior: auto;
    }
}

/* Offset for fixed header when scrolling */
.pricing-category {
    scroll-margin-top: 350px;
}

@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
        overflow-x: hidden;
    }
    
    .pricing-section {
        padding: 40px 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1;
    }
    
    .pricing-section .container {
        display: block !important;
        visibility: visible !important;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    /* Hero section adjustments for pricing page on mobile */
    .hero {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        min-height: auto;
        padding: 120px 0 40px;
    }
    
    .hero .hero-content {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: block;
        visibility: visible;
    }

    .hero .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
        visibility: visible;
    }

    .hero .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: block;
        visibility: visible;
    }
    
    .pricing-section {
        display: block;
        visibility: visible;
        position: relative;
        z-index: 1;
    }
    
    .pricing-category {
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .pricing-nav-buttons {
        margin-top: 1.5rem;
        padding: 1.5rem 1rem;
        gap: 0.6rem;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .pricing-nav-buttons .nav-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        flex: 0 1 calc(50% - 0.3rem);
        min-width: 0;
        max-width: calc(50% - 0.3rem);
        justify-content: center;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .pricing-category {
        padding: 1.5rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .pricing-category-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .pricing-column {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .pricing-category-title {
        font-size: 1.5rem;
        padding: 0.35rem 1rem;
    }

    .pricing-item {
        padding: 0.85rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-price {
        margin-left: 0;
        align-self: flex-end;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .pricing-item-sub {
        margin-left: 1rem;
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        box-sizing: border-box;
    }

    .pricing-service {
        font-size: 1rem;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .pricing-price {
        font-size: 1.1rem;
    }

    .pricing-category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-to-top-btn {
        align-self: flex-end;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .pricing-quote {
        margin-top: 1rem;
        padding: 1rem 0;
    }

    .quote-text {
        font-size: 1.1rem;
        padding: 0 1rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 480px) {
    /* Prevent horizontal scroll on small mobile */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        max-width: 100%;
        padding: 0 10px;
        overflow-x: hidden;
    }
    
    .pricing-section {
        padding: 60px 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    /* Hero section adjustments for pricing page on small mobile */
    .hero {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        min-height: auto;
        padding: 100px 0 30px;
    }
    
    .hero .hero-content {
        padding: 15px 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: block;
        visibility: visible;
    }

    .hero .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
        display: block;
        visibility: visible;
    }

    .hero .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
        display: block;
        visibility: visible;
    }
    
    .pricing-section {
        display: block;
        visibility: visible;
        position: relative;
        z-index: 1;
        padding: 40px 0;
    }
    
    .pricing-category {
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .pricing-nav-buttons {
        margin-top: 1.25rem;
        padding: 1rem 0.5rem;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .pricing-nav-buttons .nav-btn {
        padding: 0.65rem 0.85rem;
        font-size: 0.75rem;
        flex: 0 1 calc(50% - 0.25rem);
        min-width: 0;
        max-width: calc(50% - 0.25rem);
        gap: 0.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        line-height: 1.3;
    }

    .pricing-nav-buttons .nav-btn i {
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .pricing-category {
        padding: 1.25rem;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .pricing-category-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        grid-template-columns: 1fr;
    }
    
    .pricing-column {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .pricing-category-header {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        flex-wrap: wrap;
    }
    
    .pricing-category-title {
        font-size: 1.3rem;
        padding: 0.4rem 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .back-to-top-btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.7rem;
    }

    .back-to-top-btn i {
        font-size: 0.7rem;
    }

    .pricing-quote {
        margin-top: 1rem;
        padding: 0.8rem 0;
    }

    .quote-text {
        font-size: 1rem;
        padding: 0 0.8rem;
        letter-spacing: 0.06em;
    }

    .quote-text::before,
    .quote-text::after {
        font-size: 1.3rem;
    }

    .pricing-category-title {
        font-size: 1.3rem;
    }

    .pricing-item {
        padding: 0.75rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .pricing-item-sub {
        margin-left: 0.75rem;
        width: calc(100% - 0.75rem);
        max-width: calc(100% - 0.75rem);
        box-sizing: border-box;
    }

    .pricing-service {
        font-size: 0.95rem;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .pricing-price {
        font-size: 1rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Gift Cards Section */
.gift-cards-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--white) 100%);
}

/* Smaller hero banner for gift cards page only */
body.gift-cards-page .hero .hero-banner {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 2rem auto 3rem;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    background: transparent;
}

body.gift-cards-page .hero .hero-banner-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
}

.gift-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gift-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(209, 171, 118, 0.2);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.gift-card:hover::before {
    transform: scaleX(1);
}

.gift-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 65px rgba(209, 171, 118, 0.2);
    border-color: var(--gold);
}

.gift-card-featured {
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, var(--white) 0%, rgba(209, 171, 118, 0.05) 100%);
}

.gift-card-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(209, 171, 118, 0.3);
    z-index: 10;
}

.gift-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.gift-card-header i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.gift-card:hover .gift-card-header i {
    transform: scale(1.1) rotate(5deg);
}

.gift-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--black);
    font-weight: 700;
    margin: 0;
}

.gift-card-price {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(209, 171, 118, 0.2);
    border-bottom: 1px solid rgba(209, 171, 118, 0.2);
}

.price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-dark);
    display: inline-block;
    position: relative;
}

.gift-card-content {
    flex: 1;
    margin-bottom: 2rem;
}

.gift-card-description {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.gift-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gift-card-features li {
    padding: 0.75rem 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.gift-card-features li i {
    color: var(--gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.gift-card-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(209, 171, 118, 0.3);
}

.gift-card-btn:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 171, 118, 0.4);
}

.gift-card-btn:active {
    transform: translateY(0);
}

/* Gift Info Section */
.gift-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gift-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(209, 171, 118, 0.15);
    transition: all 0.3s ease;
}

.gift-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(209, 171, 118, 0.15);
    border-color: var(--gold);
}

.gift-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(209, 171, 118, 0.3);
}

.gift-info-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.gift-info-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Gift CTA */
.gift-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(209, 171, 118, 0.1) 0%, rgba(209, 171, 118, 0.05) 100%);
    border-radius: 24px;
    border: 1px solid rgba(209, 171, 118, 0.2);
}

.gift-cta-text {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .gift-cards-section {
        padding: 80px 0;
    }

    .gift-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }

    .gift-card {
        padding: 2rem;
    }

    .gift-info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
    }

    .gift-cta {
        padding: 2rem 1.5rem;
        margin-top: 3rem;
    }

    .gift-cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .gift-cards-section {
        padding: 60px 0;
    }

    .gift-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .gift-card-header h3 {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .gift-info-card {
        padding: 1.5rem;
    }
}

/* Gift Card Modal */
.gift-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.gift-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.gift-modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.gift-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 2px solid rgba(209, 171, 118, 0.2);
}

.gift-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--black);
    margin: 0;
    font-weight: 700;
}

.gift-modal-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--gray);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gift-modal-close:hover {
    background: var(--beige-light);
    color: var(--gold-dark);
    transform: rotate(90deg);
}

.gift-modal-form {
    padding: 2rem;
}

.gift-modal-form .form-group {
    margin-bottom: 1.5rem;
}

.gift-modal-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
}

.gift-modal-form input[type="text"],
.gift-modal-form input[type="email"],
.gift-modal-form input[type="tel"],
.gift-modal-form input[type="number"],
.gift-modal-form select,
.gift-modal-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid rgba(209, 171, 118, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--black);
}

.gift-modal-form input:focus,
.gift-modal-form select:focus,
.gift-modal-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(209, 171, 118, 0.1);
}

.service-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.service-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(209, 171, 118, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
}

.service-checkbox-label:hover {
    border-color: var(--gold);
    background: rgba(209, 171, 118, 0.05);
}

.service-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.service-checkbox-label input[type="checkbox"]:checked + span {
    color: var(--gold-dark);
    font-weight: 600;
}

.service-checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: var(--gold);
    background: rgba(209, 171, 118, 0.1);
}

.gift-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(209, 171, 118, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--gray);
    border: 2px solid rgba(209, 171, 118, 0.3);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    border-color: var(--gray);
    background: var(--beige-light);
    color: var(--black);
}

@media (max-width: 768px) {
    .gift-modal {
        padding: 1rem;
    }

    .gift-modal-content {
        max-height: 95vh;
    }

    .gift-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .gift-modal-header h2 {
        font-size: 1.5rem;
    }

    .gift-modal-form {
        padding: 1.5rem;
    }

    .service-checkboxes {
        grid-template-columns: 1fr;
    }

    .gift-modal-actions {
        flex-direction: column;
    }

    .gift-modal-actions button {
        width: 100%;
    }
}

/* About Page Hero Section */
body.about-page .hero {
    padding: 100px 0 60px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 2rem;
    text-align: left;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Name Section */
.name-section {
    padding: 80px 0;
    background-color: var(--beige-light);
}

.name-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.name-content h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 2rem;
}

.name-content p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    background-color: var(--beige-light);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.team-member-info {
    text-align: center;
}

.team-member-info h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-size: 1rem;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.team-member-description {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    text-align: left;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--beige-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 2rem;
    color: var(--gold-dark);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background-color: var(--white);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 2rem;
}

.mission-content p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--beige-light);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive styles for About page */
@media (max-width: 768px) {
    .hero-intro {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .hero-gallery-item {
        height: 250px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2,
    .name-content h2,
    .mission-content h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .about-text h2,
    .about-text p {
        text-align: center;
    }

    .about-text p,
    .name-content p,
    .mission-content p,
    .cta-section p {
        font-size: 1rem;
    }

    .about-image {
        height: 350px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        padding: 2rem;
    }

    .team-member-info h3 {
        font-size: 1.5rem;
    }

    .team-member-description {
        font-size: 0.95rem;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Shop Section */
/* Category Buttons */
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.category-btn i {
    font-size: 1rem;
    color: var(--gold-dark);
    transition: all 0.3s ease;
}

.category-btn:hover {
    background-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: var(--gold-dark);
}

.category-btn:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.category-btn.active {
    background-color: var(--gold-dark);
    color: var(--white);
    border-color: var(--gold-dark);
    box-shadow: 0 4px 15px rgba(209, 171, 118, 0.4);
}

.category-btn.active i {
    color: var(--white);
}

.category-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.shop-section {
    padding: 100px 0;
    background-color: var(--white);
    min-height: 60vh;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.shop-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid var(--beige-dark);
    border-radius: 10px;
    background-color: var(--white);
    font-size: 1rem;
    color: var(--black);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--gold);
}

.shop-cart-summary {
    display: flex;
    align-items: center;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background-color: var(--beige-light);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cart-link:hover {
    background-color: var(--gold-light);
    color: var(--gold-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    min-height: 200px;
    position: relative;
    z-index: 1;
}

.product-card {
    background-color: var(--beige-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--beige-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 3rem;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.product-volume {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray);
    font-style: normal;
}

.product-description {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.view-details-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.add-to-cart-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
}

.products-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Product Details Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.product-modal-content {
    background-color: var(--white);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

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

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--beige-dark);
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--white) 100%);
}

.product-modal-header h2 {
    font-size: 1.8rem;
    color: var(--black);
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.product-modal-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.product-modal-close:hover {
    color: var(--black);
    background-color: var(--beige-light);
    transform: rotate(90deg);
}

.product-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-modal-image-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--beige-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-modal-price-section {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--beige-dark);
}

.product-modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-dark);
    font-family: 'Playfair Display', serif;
}

.product-modal-description,
.product-modal-usage,
.product-modal-ingredients {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-modal-description h3,
.product-modal-usage h3,
.product-modal-ingredients h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin: 0 0 0.5rem 0;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.product-modal-description p,
.product-modal-usage p,
.product-modal-ingredients p {
    color: var(--gray);
    line-height: 1.8;
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
}

.product-modal-description div p,
.product-modal-usage div p {
    margin-bottom: 0.5rem;
}

.product-modal-actions {
    margin-top: auto;
    padding-top: 1.5rem;
}

.product-modal-actions .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.product-modal-variant-section {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(209, 171, 118, 0.2);
    border-bottom: 1px solid rgba(209, 171, 118, 0.2);
}

.product-modal-variant-section h3 {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-variants {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.variant-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid rgba(209, 171, 118, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--beige-light);
}

.variant-option:hover {
    border-color: var(--gold);
    background: rgba(209, 171, 118, 0.1);
}

.variant-option.selected {
    border-color: var(--gold-dark);
    background: rgba(209, 171, 118, 0.15);
}

.variant-option input[type="radio"] {
    margin-right: 1rem;
    cursor: pointer;
}

.variant-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.variant-volume {
    font-weight: 500;
    color: var(--black);
    font-size: 1rem;
}

.variant-price {
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 1.1rem;
}

/* Responsive for product modal */
@media (max-width: 768px) {
    .product-modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .product-modal-image-container {
        height: 300px;
    }

    .product-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .product-modal-header h3 {
        font-size: 1.5rem;
    }

    .product-buttons {
        flex-direction: column;
        width: 100%;
    }

    .view-details-btn,
    .add-to-cart-btn {
        width: 100%;
    }
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cart-modal-content {
    background-color: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--beige-dark);
}

.cart-modal-header h2 {
    font-size: 1.8rem;
    color: var(--black);
}

.cart-modal-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.cart-modal-close:hover {
    color: var(--black);
    background-color: var(--beige-light);
    transform: rotate(90deg);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.cart-items {
    min-height: 200px;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--beige-dark);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--beige-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 2px solid var(--beige-dark);
    background-color: var(--white);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: var(--gold-light);
    border-color: var(--gold);
}

.cart-item-quantity {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.remove-item-btn:hover {
    color: #d32f2f;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray);
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--beige-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Checkout Form */
.checkout-form {
    padding: 1rem 0;
}

.checkout-form h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.checkout-form .form-group {
    margin-bottom: 1.25rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--beige-dark);
    border-radius: 10px;
    font-size: 1rem;
    background-color: var(--white);
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
    color: var(--black);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(209, 171, 118, 0.1);
}

.checkout-form textarea {
    resize: vertical;
    min-height: 80px;
}

.checkout-summary {
    background-color: var(--beige-light);
    padding: 1.25rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid var(--beige-dark);
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--black);
}

.checkout-summary-item strong {
    font-size: 1.2rem;
    color: var(--gold-dark);
    font-family: 'Playfair Display', serif;
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--beige-dark);
}

.checkout-actions .btn {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* Delivery Options */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.delivery-option {
    display: block;
    cursor: pointer;
}

.delivery-option input[type="radio"] {
    display: none;
}

.delivery-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--beige-dark);
    border-radius: 12px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.delivery-option-content i {
    font-size: 1.5rem;
    color: var(--gold);
    width: 40px;
    text-align: center;
}

.delivery-option-content div {
    flex: 1;
}

.delivery-option-content strong {
    display: block;
    color: var(--black);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.delivery-option-content small {
    display: block;
    color: var(--gray);
    font-size: 0.85rem;
}

.delivery-option input[type="radio"]:checked + .delivery-option-content {
    border-color: var(--gold);
    background-color: rgba(209, 171, 118, 0.1);
    box-shadow: 0 0 0 3px rgba(209, 171, 118, 0.1);
}

.delivery-option:hover .delivery-option-content {
    border-color: var(--gold);
    background-color: rgba(209, 171, 118, 0.05);
}

.delivery-option input[type="radio"]:checked + .delivery-option-content i {
    color: var(--gold-dark);
}

.cart-modal-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cart-total {
    font-size: 1.3rem;
    color: var(--black);
}

.cart-total strong {
    color: var(--gold-dark);
}

/* Checkout Form */
.checkout-form {
    padding: 1rem 0;
}

.checkout-form h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.checkout-form .form-group {
    margin-bottom: 1.25rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--beige-dark);
    border-radius: 10px;
    font-size: 1rem;
    background-color: var(--white);
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
    color: var(--black);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(209, 171, 118, 0.1);
}

.checkout-form textarea {
    resize: vertical;
    min-height: 80px;
}

.checkout-summary {
    background-color: var(--beige-light);
    padding: 1.25rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid var(--beige-dark);
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--black);
}

.checkout-summary-item strong {
    font-size: 1.2rem;
    color: var(--gold-dark);
    font-family: 'Playfair Display', serif;
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--beige-dark);
}

.checkout-actions .btn {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* Responsive styles for shop */
@media (max-width: 768px) {
    .category-buttons {
        gap: 0.75rem;
        padding: 0 10px;
        margin-top: 2rem;
    }

    .category-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
    }

    .category-btn i {
        font-size: 0.9rem;
    }

    .nav-item-shop {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 1rem;
        width: 100%;
    }

    .shop-link {
        justify-content: center;
        width: 100%;
    }

    .shop-header {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-filters {
        width: 100%;
    }

    .filter-select {
        flex: 1;
    }

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

    .cart-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .cart-item {
        flex-wrap: wrap;
    }

    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }

    .checkout-form {
        padding: 0.5rem 0;
    }

    .checkout-form h3 {
        font-size: 1.3rem;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .checkout-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .category-buttons {
        gap: 0.5rem;
        padding: 0 5px;
        margin-top: 1.5rem;
    }

    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 120px;
    }

    .category-btn span {
        display: none;
    }

    .category-btn i {
        font-size: 1.1rem;
    }
}

/* Additional mobile-specific overrides to ensure changes apply */
@media screen and (max-width: 768px) {
    .hero {
        min-height: auto !important;
        padding-top: 90px !important;
        padding-bottom: 50px !important;
    }

    .hero-banner {
        max-height: 400px !important;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        min-height: auto !important;
        padding-top: 70px !important;
        padding-bottom: 40px !important;
    }

    .hero-banner {
        max-height: 320px !important;
    }
}

/* iOS Safari Scroll Fixes - CRITICAL FOR APPLE DEVICES */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific fixes - FORCE SCROLLING TO WORK */
    html {
        -webkit-overflow-scrolling: touch !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100% !important;
        position: relative !important;
    }
    
    body {
        -webkit-overflow-scrolling: touch !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: 100% !important;
        position: relative !important;
    }
    
    /* Fix for iOS Safari momentum scrolling */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Ensure all scrollable containers work on iOS */
    main, .main-content {
        -webkit-overflow-scrolling: touch !important;
        overflow-y: visible !important;
        overflow-x: hidden !important;
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
    }
    
    section, article {
        -webkit-overflow-scrolling: touch;
        overflow-y: visible;
        position: relative;
    }
    
    /* Fix for fixed position elements on iOS */
    .navbar, .footer {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* CRITICAL: Fix for academy page specifically */
    .hero--academy,
    .hero--academy .hero-inner,
    .academy-hero-programs,
    .academy-grid,
    .academy-faq,
    .academy-contact {
        -webkit-overflow-scrolling: touch !important;
        overflow-y: visible !important;
        overflow-x: hidden !important;
        height: auto !important;
        position: relative !important;
    }
}

/* Additional iOS Safari scroll optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Prevent iOS Safari from blocking scroll */
    * {
        -webkit-touch-callout: default;
    }
}

/* CRITICAL iOS Safari Scroll Fix - Force scrolling to work */
@media screen and (max-width: 1024px) {
    /* Remove any height restrictions that block scrolling */
    html, body {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Ensure main content can scroll */
    main, .main-content {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        overflow-x: hidden !important;
        position: relative !important;
    }
    
    /* Academy page specific fixes */
    .hero--academy {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }
    
    .academy-hero-programs,
    .academy-grid,
    .academy-faq,
    .academy-contact {
        height: auto !important;
        overflow: visible !important;
        position: relative !important;
    }
}
