* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ivory: #faf8f3;
    --pearl-white: #f5f3ed;
    --soft-beige: #e8e6e1;
    --dark-text: #1a1a1a;
    --medium-text: #4a4a4a;
    --light-text: #8a8a8a;
    --gold: #d4af37;
    --green: #7a9a7a;
    --blue: #6b8fa3;
    --purple: #9a8ba8;
    --gold-accent: #d4af37;
    --spacing-xl: 140px;
    --spacing-lg: 100px;
    --spacing-md: 70px;
    --spacing-sm: 50px;
    --border-radius: 8px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-text);
    background: var(--ivory);
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure footer background is always black and visible */
body > footer.footer,
body > .footer,
html body footer.footer,
html body .footer {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.75;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000000;
    padding: 24px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    padding: 18px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 50px;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.9;
}

.logo img {
    height: 100%;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    gap: 48px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.9);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    padding: 10px;
    transition: var(--transition);
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.mobile-menu-toggle.active {
    color: var(--dark-text);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: white;
    z-index: 1000;
    padding: 80px 30px 30px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--dark-text);
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    opacity: 0.7;
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 8px;
}

.mobile-nav-links a {
    display: block;
    padding: 16px 20px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: rgba(0, 0, 0, 0.04);
    border-left-color: var(--dark-text);
    color: var(--dark-text);
}

/* Page Hero */
.page-hero {
    padding: 200px 0 120px;
    background: linear-gradient(180deg, var(--ivory) 0%, var(--pearl-white) 100%);
    text-align: center;
    position: relative;
    margin-top: 78px;
    overflow: hidden;
}

.about-hero {
    background: linear-gradient(180deg, var(--ivory) 0%, var(--pearl-white) 100%);
}

.about-hero .hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/8ce717394c9a7e6233ff010998285914_black_white.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1;
}

.about-hero .hero-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.about-hero .container {
    position: relative;
    z-index: 3;
}

.about-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.about-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Treatments Hero */
.treatments-hero {
    background: linear-gradient(180deg, var(--ivory) 0%, var(--pearl-white) 100%);
}

.treatments-hero .hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/ChatGPT Image Jan 14, 2026, 09_47_26 AM.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1;
}

.treatments-hero .hero-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.treatments-hero .container {
    position: relative;
    z-index: 3;
}

.treatments-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.treatments-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Products Hero */
.products-hero {
    background: linear-gradient(180deg, var(--ivory) 0%, var(--pearl-white) 100%);
}

.products-hero .hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/Screenshot 2026-01-13 181727.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1;
}

.products-hero .hero-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.products-hero .container {
    position: relative;
    z-index: 3;
}

.products-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.products-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Salon Professionals Hero */
.salon-professionals-hero {
    background: linear-gradient(180deg, var(--ivory) 0%, var(--pearl-white) 100%);
}

.salon-professionals-hero .hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/84d218dd1c55ee9a1af6faf3db0e5578.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1;
}

.salon-professionals-hero .hero-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.salon-professionals-hero .container {
    position: relative;
    z-index: 3;
}

.salon-professionals-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.salon-professionals-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 24px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--medium-text);
    letter-spacing: 0.2px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Styles */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* Ensure footer is not affected by section styles */
.section + .footer,
.section + footer,
section + .footer,
section + footer {
    background: #000000 !important;
    background-color: #000000 !important;
    margin-top: var(--spacing-xl) !important;
}

/* Homepage footer (after reviews-section) should not have extra margin */
.reviews-section + .footer,
.reviews-section + footer {
    margin-top: 0 !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-title {
    font-size: 3.8rem;
    font-weight: 300;
    letter-spacing: -1.5px;
    text-align: center;
    margin-bottom: var(--spacing-md);
    opacity: 0;
    transform: translateY(30px);
    line-height: 1.2;
}

.section-title.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--medium-text);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 0.1px;
}

.section-subtitle.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.large-text {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--medium-text);
    margin-bottom: 32px;
    letter-spacing: 0.1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 750px;
    background: linear-gradient(180deg, var(--ivory) 0%, var(--pearl-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 78px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/Screenshot 2026-01-13 181727.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@media (max-width: 768px) {
    .hero-background {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
}

@media (min-width: 769px) {
    .hero-background {
        background-size: cover;
        background-position: center center;
    }
}

@media (orientation: portrait) {
    .hero-background {
        background-size: cover;
        background-position: center top;
    }
}

@media (orientation: landscape) {
    .hero-background {
        background-size: cover;
        background-position: center center;
    }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    padding: 0 60px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 32px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.3px;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Philosophy Section */
.philosophy {
    background: white;
}

.philosophy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.philosophy-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
}

.philosophy-content {
    text-align: left;
}

.philosophy-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--medium-text);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 0.1px;
}

.philosophy-text:last-child {
    margin-bottom: 0;
}

.philosophy-text.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 968px) {
    .philosophy-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .philosophy-content {
        text-align: center;
    }
    
    .philosophy-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .philosophy-wrapper {
        gap: 30px;
    }
    
    .philosophy-image {
        height: 350px;
    }
}

/* About Page */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-block {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.about-text-block p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--medium-text);
    margin-bottom: 24px;
    letter-spacing: 0.1px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: var(--spacing-md);
}

.value-item {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.value-item h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.value-item p {
    color: var(--medium-text);
    line-height: 1.8;
    font-size: 1rem;
}

/* Treatments Grid */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: var(--spacing-lg);
}

.treatment-card {
    background: white;
    padding: 64px 48px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.treatment-card.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.08);
}

.treatment-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 20px;
    transition: var(--transition);
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.treatment-card:hover .treatment-image {
    transform: scale(1.1) translateY(-5px);
}

.treatment-card h3 {
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.treatment-card p {
    color: var(--medium-text);
    line-height: 1.85;
    font-size: 1.05rem;
}

/* Treatment Detail Page */
.treatments-detail-grid {
    display: grid;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.treatment-detail-card {
    background: white;
    padding: 72px 64px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.treatment-detail-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.treatment-detail-card h2 {
    font-size: 2.8rem;
    font-weight: 300;
    margin: 32px 0 24px;
    letter-spacing: -0.5px;
}

.treatment-description {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--medium-text);
    margin-bottom: 48px;
    letter-spacing: 0.1px;
}

.treatment-benefits,
.treatment-usage {
    text-align: left;
    margin-top: 48px;
}

.treatment-benefits h3,
.treatment-usage h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.treatment-benefits ul {
    list-style: none;
    padding-left: 0;
}

.treatment-benefits li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--medium-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.treatment-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-size: 1.8rem;
    font-weight: 300;
}

.treatment-usage p {
    color: var(--medium-text);
    line-height: 1.85;
    font-size: 1.05rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: var(--spacing-lg);
}

.product-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.product-card-link,
.product-card-link *,
.product-card-link *::before,
.product-card-link *::after {
    text-decoration: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

.product-card-link:hover .product-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.1);
}

.product-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    cursor: pointer;
}

.product-card.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 420px;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 32px;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 40px 36px;
    text-align: center;
}

.product-info *,
.product-info *::before,
.product-info *::after {
    text-decoration: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

.product-category {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--dark-text);
    text-decoration: none !important;
    border-bottom: none !important;
}

.product-category.green { color: var(--dark-text); }
.product-category.blue { color: var(--dark-text); }
.product-category.purple { color: var(--dark-text); }
.product-category.gold { color: var(--dark-text); }

.product-name {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
    line-height: 1.3;
    color: var(--dark-text);
    text-decoration: none !important;
    border-bottom: none !important;
}

.product-description {
    font-size: 0.98rem;
    color: var(--medium-text);
    line-height: 1.75;
    margin-bottom: 24px;
}

.product-volume {
    font-size: 0.9rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none !important;
    border-bottom: none !important;
}

.product-price {
    font-size: 2rem;
    font-weight: 300;
    margin: 28px 0;
    color: var(--dark-text);
    letter-spacing: 0.5px;
    text-decoration: none !important;
    border-bottom: none !important;
}

.buy-now-btn {
    width: 100%;
    padding: 18px 24px;
    min-height: 48px;
    background: var(--dark-text);
    color: white;
    border: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 500;
    border-radius: var(--border-radius);
    margin-top: 8px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.buy-now-btn:hover {
    background: var(--medium-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Product Detail Page Styles */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-image {
    width: 100%;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: var(--border-radius);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-detail-title {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--dark-text);
    letter-spacing: 0.5px;
    margin: 8px 0;
}

.product-availability {
    font-size: 0.95rem;
    color: var(--medium-text);
    font-style: italic;
    margin: 0;
}

.product-description-full {
    margin: 24px 0;
}

.product-description-full p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--medium-text);
    margin-bottom: 20px;
    letter-spacing: 0.1px;
}

.product-description-full p:last-child {
    margin-bottom: 0;
}

.product-benefits {
    margin: 32px 0;
    padding: 32px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-benefits h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
    color: var(--dark-text);
}

.product-benefits ul {
    list-style: none;
    padding-left: 0;
}

.product-benefits li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--medium-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.product-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-text);
    font-size: 1.8rem;
    font-weight: 300;
}

.buy-now-btn-large {
    width: 100%;
    padding: 20px 32px;
    min-height: 56px;
    background: var(--dark-text);
    color: white;
    border: none;
    font-size: 18px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 500;
    border-radius: var(--border-radius);
    margin-top: 16px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.buy-now-btn-large:hover {
    background: var(--medium-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 968px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-detail-image {
        position: static;
        padding: 40px;
    }
    
    .product-detail-title {
        font-size: 2.2rem;
    }
    
    .product-price-large {
        font-size: 2rem;
    }
}

/* Science Section */
.science {
    background: white;
}

.science-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.science-content {
    text-align: left;
}

.science-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--medium-text);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 0.1px;
}

.science-text:last-child {
    margin-bottom: 0;
}

.science-text.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.science-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.science-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
}

@media (max-width: 968px) {
    .science-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .science-content {
        text-align: center;
    }
    
    .science-image {
        height: 400px;
    }
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: var(--spacing-lg);
}

.trust-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    padding: 40px 32px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.trust-item.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-item h4 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.trust-item p {
    color: var(--medium-text);
    line-height: 1.85;
    font-size: 1.05rem;
}

/* Professional Page */
.professional-content {
    max-width: 1200px;
    margin: 0 auto;
}

.professional-intro {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: var(--spacing-lg) 0;
}

.benefit-card {
    background: white;
    padding: 48px 40px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.08);
}

.benefit-card h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.2px;
}

.benefit-card p {
    color: var(--medium-text);
    line-height: 1.85;
    font-size: 1.05rem;
}

.partnership-cta {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    margin-top: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.partnership-cta h2 {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.partnership-cta p {
    font-size: 1.15rem;
    color: var(--medium-text);
    line-height: 1.85;
    margin-bottom: 36px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: var(--dark-text);
    color: white;
    text-decoration: none;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: var(--transition);
    border-radius: var(--border-radius);
    font-size: 13.5px;
}

.cta-button:hover {
    background: var(--medium-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.info-block {
    margin-bottom: 48px;
}

.info-block h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.info-block p {
    color: var(--medium-text);
    line-height: 1.85;
    font-size: 1.05rem;
}

.contact-form-container {
    background: white;
    padding: 56px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-form-container h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 36px;
    letter-spacing: -0.3px;
}

.contact-form {
    width: 100%;
}

/* Reviews Section */
.reviews-section {
    width: 100%;
    background: linear-gradient(180deg, var(--ivory) 0%, var(--pearl-white) 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.reviews-slider {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.reviews-track {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.review-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.review-content {
    text-align: center;
    padding: 50px 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.stars {
    font-size: 1.8rem;
    color: #f4c430;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--medium-text);
    margin-bottom: 40px;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.review-author {
    margin-top: 30px;
}

.review-author strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.review-author span {
    font-size: 0.95rem;
    color: var(--medium-text);
}

.review-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--dark-text);
    width: 32px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .reviews-track {
        height: 450px;
    }
    
    .review-content {
        padding: 40px 30px;
    }
    
    .review-text {
        font-size: 1.05rem;
    }
    
    .stars {
        font-size: 1.5rem;
    }
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.gold-accent-line::before {
    left: 0;
}

.gold-accent-line::after {
    right: 0;
}

    font-weight: 400;
    color: var(--medium-text);
    margin: 0;
    line-height: 1.85;
    letter-spacing: 0.01em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    direction: rtl;
}

/* Footer */
footer.footer,
.footer,
footer,
body > footer,
body footer.footer {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    color: white !important;
    padding: var(--spacing-lg) 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    clear: both !important;
    position: relative !important;
    box-sizing: border-box !important;
    display: block !important;
    min-height: auto !important;
    overflow: visible !important;
}

.footer .container,
footer .container,
.footer > .container {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: var(--spacing-md);
    background: transparent !important;
}

.footer-section {
    color: white !important;
}

.footer-section * {
    color: inherit;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    padding: 4px 0;
    text-transform: uppercase;
    color: #ffffff !important;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.8;
    margin-bottom: 12px;
    padding: 4px 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    padding: 4px 0;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem;
    background: transparent !important;
    background-color: transparent !important;
}

.footer-bottom p {
    padding: 4px 0;
}

/* Final override to ensure footer is always black */
html body footer,
html body .footer,
html body footer.footer {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

/* Enquiry Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: white;
    padding: 56px;
    max-width: 640px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--medium-text);
    line-height: 1;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark-text);
}

.popup-content h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 36px;
    letter-spacing: -0.3px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    font-size: 15.5px;
    font-family: inherit;
    transition: var(--transition);
    border-radius: var(--border-radius);
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--dark-text);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

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

.submit-btn {
    width: 100%;
    padding: 18px 24px;
    min-height: 48px;
    background: var(--dark-text);
    color: white;
    border: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 12px;
    border-radius: var(--border-radius);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.submit-btn:hover {
    background: var(--medium-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .nav-container {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .arabic-headline {
        font-size: 3.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 60px;
        --spacing-lg: 50px;
        --spacing-md: 30px;
    }
    
    .hero {
        min-height: 600px;
        margin-top: 70px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .philosophy-wrapper,
    .science-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .philosophy-content,
    .science-content {
        text-align: center;
    }
    
    .philosophy-text,
    .science-text {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .popup-content {
        padding: 40px 32px;
    }
    
    .treatment-detail-card {
        padding: 48px 32px;
    }
    
    .contact-form-container {
        padding: 40px 32px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 16px 0;
    }
    
    .logo img {
        max-width: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer {
        padding: 50px 0;
    }
    
    /* Adjust footer top margin on mobile */
    .section + .footer,
    .section + footer {
        margin-top: var(--spacing-xl) !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .treatment-card,
    .product-card {
        padding: 30px 20px;
    }
    
    .mobile-nav {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .arabic-headline {
        font-size: 2.2rem;
    }
    
    .arabic-subheading {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .mobile-nav {
        width: 90%;
    }
    
    .mobile-nav-links a {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-background {
        background-position: center top;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-section {
        text-align: center;
    }
}

@media (orientation: portrait) and (max-width: 768px) {
    .hero-background {
        background-size: cover;
        background-position: center top;
    }
}

@media (orientation: landscape) and (max-width: 768px) {
    .hero-background {
        background-size: cover;
        background-position: center center;
    }
}

/* CRITICAL: Footer must always have black background - highest priority */
html body footer.footer,
html body .footer,
html body footer,
body > footer.footer,
body > .footer,
body > footer,
footer.footer,
.footer,
footer {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

/* Add top margin to footer on pages where it follows a section (not homepage) */
.section + .footer,
.section + footer,
section + .footer,
section + footer {
    margin-top: var(--spacing-xl) !important;
}

/* Homepage footer (after reviews-section) should not have extra margin */
.reviews-section + .footer,
.reviews-section + footer {
    margin-top: 0 !important;
}
