/* 
   Razelia Healthcare - Premium Design System
   Colors Extracted from Brand Logo
*/

:root {
    --color-primary-navy: #004383;
    --color-accent-gold: #b39247;
    --color-accent-red: #9c0014;
    
    /* Soft Tints & Variations */
    --color-navy-light: #f0f5fa;
    --color-navy-dark: #002244;
    --color-gold-light: #faf8f2;
    --color-gold-dark: #8e7132;
    --color-red-light: #fff5f6;
    
    /* Neutral Shades */
    --color-text-dark: #000000;
    --color-text-muted: #111111;
    --color-bg-light: #f8fafc;
    --color-white: #ffffff;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Border Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 20px 40px rgba(0, 67, 131, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(0, 67, 131, 0.1);
    
    /* Transition */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary-navy);
}

.text-gold {
    color: var(--color-accent-gold) !important;
}

.text-red {
    color: var(--color-accent-red) !important;
}

.bg-gold-light {
    background-color: var(--color-gold-light) !important;
}

.bg-navy-light {
    background-color: var(--color-navy-light) !important;
}

.bg-navy-dark {
    background: linear-gradient(rgba(0, 34, 68, 0.82), rgba(0, 34, 68, 0.82)), url('../images/footer-bg.png') no-repeat center center !important;
    background-size: cover !important;
}

.bg-custom-pattern {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.45) 15%, rgba(255, 255, 255, 0.45) 85%, rgba(255, 255, 255, 1) 100%), url('../images/background.png') no-repeat center center !important;
    background-size: cover !important;
    background-attachment: scroll !important;
}

/* Section Spacing & Flat Dividers */
section {
    padding: 35px 0;
    position: relative;
}

.curved-top {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.curved-bottom {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Header Wrapper & Top Bar */
.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    transition: var(--transition-smooth);
}

.top-bar {
    background-color: var(--color-navy-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 6px 0;
    transition: var(--transition-smooth);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.top-bar a:hover {
    color: var(--color-accent-gold) !important;
}

.header-wrapper.header-scrolled {
    box-shadow: var(--shadow-soft);
}

.header-wrapper.header-scrolled .top-bar {
    margin-top: -45px;
    opacity: 0;
    pointer-events: none;
}

/* Sticky Navigation */
.navbar-custom {
    position: relative;
    width: 100%;
    transition: var(--transition-smooth);
    padding: 5px 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-custom.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar-custom.navbar-scrolled .nav-link {
    color: var(--color-primary-navy) !important;
}

.navbar-custom.navbar-scrolled .btn-nav-outline {
    border-color: var(--color-primary-navy) !important;
    color: var(--color-primary-navy) !important;
    background: transparent !important;
}

.navbar-custom.navbar-scrolled .btn-nav-outline:hover {
    background-color: var(--color-primary-navy) !important;
    color: var(--color-white) !important;
}

.navbar-custom .navbar-brand img {
    height: 75px;
    width: auto;
    transition: var(--transition-smooth);
    filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.95)) drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.85));
}

.navbar-custom.navbar-scrolled .navbar-brand img {
    height: 65px;
}

@media (min-width: 992px) {
    .navbar-custom.navbar-scrolled .navbar-brand img {
        filter: none;
    }
}

.navbar-custom .nav-link {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-white) !important;
    padding: 10px 15px !important;
    transition: var(--transition-smooth);
}

}

@media (min-width: 992px) {
    .navbar-custom .nav-item.dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    .navbar-custom .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: var(--transition-smooth);
    }
}

.nav-icon-link {
    color: var(--color-white);
    transition: var(--transition-smooth);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.navbar-custom.navbar-scrolled .nav-icon-link {
    color: var(--color-primary-navy) !important;
    background: var(--color-navy-light);
}

.nav-icon-link:hover {
    color: var(--color-white) !important;
    background: var(--color-accent-gold) !important;
    transform: scale(1.05);
}

.navbar-custom.navbar-scrolled .nav-icon-link:hover {
    color: var(--color-white) !important;
    background: var(--color-accent-gold) !important;
}

.badge-nav {
    font-size: 10px;
    padding: 3px 6px;
}


/* Buttons */
.btn-premium {
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-premium-red {
    background-color: var(--color-accent-red);
    color: var(--color-white);
    border: 1px solid var(--color-accent-red);
}

.btn-premium-red:hover {
    background-color: #800010;
    color: var(--color-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(156, 0, 20, 0.2);
}

.btn-premium-gold {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
    border: 1px solid var(--color-accent-gold);
}

.btn-premium-gold:hover {
    background-color: #947837;
    color: var(--color-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(179, 146, 71, 0.2);
}

.btn-premium:disabled,
.btn-premium.disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

.btn-premium-gold:disabled,
.btn-premium-gold.disabled {
    background-color: var(--color-accent-gold) !important;
    border-color: var(--color-accent-gold) !important;
    color: var(--color-white) !important;
}

.btn-premium-red:disabled,
.btn-premium-red.disabled {
    background-color: var(--color-accent-red) !important;
    border-color: var(--color-accent-red) !important;
    color: var(--color-white) !important;
}

.btn-nav-outline {
    border: 2px solid var(--color-white);
    color: var(--color-white) !important;
    background: rgba(0, 34, 68, 0.25) !important;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-nav-outline:hover {
    background: var(--color-accent-gold) !important;
    border-color: var(--color-accent-gold) !important;
    color: var(--color-white) !important;
    transform: translateY(-3px);
}

.btn-outline-theme {
    border: 2px solid var(--color-primary-navy);
    color: var(--color-primary-navy) !important;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 28px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.btn-outline-theme:hover {
    background: var(--color-primary-navy);
    color: var(--color-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 67, 131, 0.15);
}



/* Hero Slider */
.hero-slider-section {
    padding: 0;
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 450px;
    max-height: 650px;
    background-color: #051d38;
}

.hero-slider-container {
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: relative;
    overflow: hidden;
    height: 100%;
    background-color: #051d38;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .hero-slider-section {
        margin-top: 85px;
        height: auto;
        aspect-ratio: 1920 / 680;
        min-height: 200px;
        background-color: transparent;
    }
    .hero-slide,
    .hero-slide-bg {
        background-size: 100% 100%;
        background-position: center center;
        background-color: transparent;
    }
}

@media (max-width: 575.98px) {
    .hero-slider-section {
        margin-top: 80px;
        height: auto;
        aspect-ratio: 1920 / 680;
        min-height: 130px;
        background-color: transparent;
    }
    .hero-slide,
    .hero-slide-bg {
        background-size: 100% 100%;
        background-position: center center;
        background-color: transparent;
    }
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,34,68,0.4) 0%, rgba(0,34,68,0.2) 60%, rgba(0,34,68,0.6) 100%);
}

/* Custom Swiper Controls */
.hero-slider-section .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-white);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.hero-slider-section .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-accent-gold);
    width: 30px;
    border-radius: 6px;
}

.hero-slider-section .swiper-button-prev,
.hero-slider-section .swiper-button-next {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

@media (max-width: 767.98px) {
    .hero-slider-section .swiper-button-prev,
    .hero-slider-section .swiper-button-next {
        width: 38px;
        height: 38px;
    }
    .hero-slider-section .swiper-button-prev:after,
    .hero-slider-section .swiper-button-next:after {
        font-size: 14px;
    }
}

.hero-slider-section .swiper-button-prev:after,
.hero-slider-section .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
}

.hero-slider-section .swiper-button-prev:hover,
.hero-slider-section .swiper-button-next:hover {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
}

/* Floating Quick Access Panel */
.quick-access-panel {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding: 0 15px;
}

.glass-panel-content {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(0, 67, 131, 0.12), 0 5px 15px rgba(179, 146, 71, 0.05);
    padding: 25px 35px;
}

.quick-access-item {
    text-align: center;
    padding: 18px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    color: var(--color-primary-navy);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
}

.quick-access-item i {
    font-size: 32px;
    color: var(--color-accent-gold);
    transition: var(--transition-smooth);
}

.quick-access-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.3px;
}

.quick-access-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(179, 146, 71, 0.15);
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.quick-access-item:hover i {
    color: var(--color-accent-red);
}

/* Premium Brand Story */
.story-image-container {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.story-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.story-badge-card {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    border-radius: var(--radius-md);
    padding: 25px;
    max-width: 260px;
    transition: var(--transition-smooth);
}

.story-badge-card:hover {
    transform: translateY(-5px);
}

.story-badge-card .stat-num {
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-accent-gold);
    line-height: 1;
}

.story-badge-card .stat-lbl {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 5px;
}

/* Product Discovery - Asymmetrical Lookbook Grid */
.showcase-block-large {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.showcase-block-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.showcase-block-large:hover img {
    transform: scale(1.04);
}

.showcase-large-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(179, 146, 71, 0.2);
    border-radius: var(--radius-sm);
    padding: 30px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.showcase-large-overlay h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-primary-navy);
}

.showcase-large-overlay p {
    font-size: 13.5px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Wide horizontal split showcase */
.showcase-block-wide {
    display: flex;
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 238px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.showcase-block-wide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(179, 146, 71, 0.2);
}

.showcase-wide-img {
    width: 45%;
    position: relative;
    overflow: hidden;
}

.showcase-wide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.showcase-block-wide:hover .showcase-wide-img img {
    transform: scale(1.04);
}

.showcase-wide-details {
    width: 55%;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid rgba(179, 146, 71, 0.1);
}

.showcase-wide-details h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-primary-navy);
}

.showcase-wide-details p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Layout for 1 Large Left, 3 Wide Right */
.showcase-block-large.as-three-split {
    height: 588px;
}
.showcase-block-wide.as-three-split {
    height: 180px;
}
.showcase-block-wide.as-three-split .showcase-wide-details {
    padding: 15px 25px;
}
.showcase-block-wide.as-three-split .showcase-wide-details h3 {
    font-size: 18px;
    margin-bottom: 4px;
}
.showcase-block-wide.as-three-split .showcase-wide-details p {
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.3;
}
.showcase-block-large.as-three-split .btn-premium,
.showcase-block-wide.as-three-split .showcase-wide-details .btn-premium {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
}

/* New Premium 4-Column Discovery Card */
.discovery-card-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(179, 146, 71, 0.1);
}

.discovery-card-wrap:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-accent-gold);
}

.discovery-card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.discovery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.discovery-card-wrap:hover .discovery-card-image img {
    transform: scale(1.05);
}

.discovery-card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(179, 146, 71, 0.2);
    border-radius: var(--radius-sm);
    padding: 22px 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.discovery-card-wrap:hover .discovery-card-overlay {
    background: rgba(255, 255, 255, 1);
    border-color: var(--color-accent-gold);
}

.discovery-card-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-primary-navy);
}

.discovery-card-overlay p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
}

.discovery-card-overlay .btn-premium {
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
}

/* Featured Treatments */
.treatment-row {
    margin-bottom: 80px;
    align-items: center;
}

.treatment-row:last-child {
    margin-bottom: 0;
}

.treatment-img-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.treatment-img-wrap img {
    width: 100%;
    height: auto;
    transition: var(--transition-smooth);
}

.treatment-row:hover img {
    transform: scale(1.03);
}

.treatment-accent-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(179, 146, 71, 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* Minimal Editorial List for Treatment Journey */
.journey-timeline-wrapper {
    padding: 30px 0;
}

.journey-timeline-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 30px;
}

.journey-timeline-item {
    width: 18%;
    text-align: center;
    transition: var(--transition-smooth);
}

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

.journey-step-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 600;
    color: var(--color-accent-gold);
    display: block;
    margin-bottom: 12px;
}

.journey-timeline-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary-navy);
    margin-bottom: 10px;
}

.journey-timeline-item p {
    font-size: 13.5px;
    line-height: 1.5;
}

/* Mobile responsive timeline stack */
@media (max-width: 991px) {
    .journey-timeline-row {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .journey-timeline-item {
        width: 100%;
        max-width: 320px;
    }
}



/* Featured Products */
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-5px);
}

.product-img-holder {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.product-img-holder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-img-holder .img-secondary {
    opacity: 0;
}

.product-card:hover .product-img-holder .img-primary {
    opacity: 0;
    transform: scale(1.08);
}

.product-card:hover .product-img-holder .img-secondary {
    opacity: 1;
    transform: scale(1.08);
}

.wishlist-trigger-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary-navy);
    border: none;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 5;
}

.wishlist-trigger-btn:hover {
    background: var(--color-accent-red);
    color: var(--color-white) !important;
    transform: scale(1.08);
}

.product-details {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    font-weight: 600;
    margin-bottom: 5px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-title a {
    color: var(--color-primary-navy);
    text-decoration: none;
}

.product-price {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: var(--color-accent-red);
}

/* Healthcare Highlights List (Editorial Style) */
.highlight-list-item {
    border-bottom: 1px solid rgba(179, 146, 71, 0.15);
    padding-bottom: 20px;
    transition: var(--transition-smooth);
}

.highlight-list-item:hover {
    transform: translateX(8px);
}

.highlight-num {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-accent-gold);
}


/* Wellness Articles Magazine Layout */
.magazine-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 40px;
}

.blog-featured {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--color-white);
}

.blog-featured-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.blog-side-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.blog-mini-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.blog-mini-img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* Customer Reviews Floating Organic Cards */
.reviews-container {
    height: 600px;
    position: relative;
}

/* Improved Reviews Section Cards */
.reviews-container {
    height: auto;
    position: relative;
}

.review-card {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
    padding: 30px;
    height: 100%;
    transition: var(--transition-smooth);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-accent-gold);
}

/* Product Button Styles */
.product-btn-cart {
    background-color: var(--color-primary-navy);
    color: var(--color-white) !important;
    border: 1px solid var(--color-primary-navy);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    padding: 8px 10px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.product-btn-cart:hover {
    background-color: #002d59;
    color: var(--color-white) !important;
}

.product-btn-buy {
    background-color: var(--color-accent-red);
    color: var(--color-white) !important;
    border: 1px solid var(--color-accent-red);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    padding: 8px 10px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.product-btn-buy:hover {
    background-color: #800010;
    color: var(--color-white) !important;
}


/* Pinterest style Instagram Gallery */
.pin-gallery {
    column-count: 4;
    column-gap: 20px;
}

.pin-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.pin-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.pin-item:hover img {
    transform: scale(1.06);
}

.pin-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 67, 131, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    opacity: 0;
    transition: var(--transition-smooth);
}

.pin-item:hover .pin-hover {
    opacity: 1;
}

/* Offcanvas & Mobile Nav dropdowns */
.offcanvas-body .accordion-button:not(.collapsed) {
    background-color: var(--color-navy-light);
    color: var(--color-primary-navy);
}

/* Ensure offcanvas overlays the fixed header */
.offcanvas {
    z-index: 1060 !important;
}
.offcanvas-backdrop {
    z-index: 1055 !important;
}

/* Style offcanvas mobile nav simple links to match accordion buttons exactly */
#accordionMobileMenu .accordion-item a.nav-link {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    font-size: 1rem !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    color: var(--color-text-dark) !important;
    background-color: var(--color-white) !important;
    border: 0 !important;
    border-bottom: none !important;
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

#accordionMobileMenu .accordion-item a.nav-link:hover {
    background-color: var(--color-navy-light) !important;
    color: var(--color-primary-navy) !important;
}

/* Style offcanvas mobile nav dropdown submenus for a premium nested layout */
.offcanvas-body .accordion-collapse .accordion-body {
    background-color: #f5f7fa !important; /* Soft grey-blue tint for nesting */
    padding: 8px 0 8px 10px !important; /* Visual indentation */
    border-left: 3px solid var(--color-accent-gold) !important; /* Left vertical guide line in gold */
}

.offcanvas-body .accordion-collapse .accordion-body a.dropdown-item {
    display: block !important;
    padding: 10px 20px 10px 24px !important; /* Indent sub-links under text guide */
    font-size: 0.92rem !important;
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    color: var(--color-primary-navy) !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    transition: var(--transition-smooth);
}

.offcanvas-body .accordion-collapse .accordion-body a.dropdown-item:hover {
    color: var(--color-accent-gold) !important;
    padding-left: 32px !important; /* Smooth sliding hover micro-animation */
}

/* Footer Back to Top */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-accent-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary-navy);
    transform: translateY(-5px);
}

/* Floating WhatsApp Action Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: var(--color-white) !important;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsapp-pulse 2s infinite;
    text-decoration: none;
    overflow: hidden;
    padding: 0;
}

.whatsapp-tooltip {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-right: 0;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    width: 170px;
    padding: 0 20px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.6);
}

.whatsapp-float:hover .whatsapp-tooltip {
    max-width: 150px;
    opacity: 1;
    margin-right: 10px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mega dropdown menu styling */
.nav-item-mega {
    position: static;
}

.mega-dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    border: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-premium);
    padding: 30px;
    margin-top: 0 !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    transition: var(--transition-smooth);
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
}

.nav-item:hover .mega-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    border-bottom: 2px solid var(--color-accent-gold);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.mega-dropdown-link {
    color: var(--color-primary-navy);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    display: block;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.mega-dropdown-link:hover {
    color: var(--color-accent-gold);
    transform: translateX(5px);
}

/* Responsive styles */
@media (max-width: 991.98px) {
    section {
        padding: 30px 0;
    }
    
    .navbar-custom {
        background: var(--color-primary-navy);
        padding: 15px 0;
    }
    
    .navbar-custom .nav-link {
        color: var(--color-primary-navy) !important;
    }
    
    .navbar-custom.navbar-scrolled {
        background: var(--color-primary-navy);
    }
    
    .navbar-custom.navbar-scrolled .nav-link {
        color: var(--color-white) !important;
    }
    
    .quick-access-panel {
        margin-top: -30px;
    }
    
    .glass-panel-content {
        padding: 20px;
    }
    
    .discovery-grid {
        grid-template-columns: 1fr;
    }
    
    .discovery-card-1, .discovery-card-2, .discovery-card-3 {
        grid-column: span 12;
        height: 350px;
    }
    
    .discovery-card-3 {
        flex-direction: column;
    }
    
    .discovery-card-3 .discovery-img {
        width: 100%;
        height: 50%;
    }
    
    .journey-container {
        flex-direction: column;
        gap: 40px;
        padding-left: 30px;
    }
    
    .journey-container::before {
        top: 0;
        bottom: 0;
        left: 40px;
        width: 3px;
        height: auto;
        background: repeating-linear-gradient(180deg, var(--color-accent-gold), var(--color-accent-gold) 10px, transparent 10px, transparent 20px);
    }
    
    .journey-step {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .journey-circle {
        margin: 0;
    }
    
    /* Responsive Float Button adjustments */
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
    }
    
    .back-to-top {
        bottom: 85px !important;
        right: 20px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
    }
    
    .highlight-row {
        grid-template-columns: 1fr;
    }
    
    .magazine-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-container {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .review-float-card {
        position: static;
        max-width: 100%;
        animation: none;
    }
    
    .pin-gallery {
        column-count: 2;
    }
}

@media (max-width: 575.98px) {
    .pin-gallery {
        column-count: 1;
    }
    
}

/* Desktop Dropdown Hover Trigger & Theme Styling */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: var(--radius-sm) !important;
        margin-top: 0;
        background-color: var(--color-white);
        box-shadow: var(--shadow-premium);
        border: 1px solid var(--border-color);
        padding: 10px 0;
    }
    
    .dropdown-menu .dropdown-item {
        font-family: var(--font-body);
        font-size: 14px;
        color: var(--color-primary-navy);
        transition: var(--transition-smooth);
        padding: 10px 24px;
    }
    
    .dropdown-menu .dropdown-item:hover {
        background-color: var(--color-primary-navy) !important;
        color: var(--color-white) !important;
    }
}

/* Footer Link Legibility (Solid White) & Underlined Headings */
footer h5 {
    position: relative;
    padding-bottom: 12px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-accent-gold);
}

footer a {
    color: var(--color-white) !important;
    transition: var(--transition-smooth);
    opacity: 1;
}

footer a:hover {
    color: var(--color-accent-gold) !important;
    opacity: 1;
}

footer p, footer span, footer li {
    color: var(--color-white) !important;
}

/* Global Paragraph Rules - Legibility & Color Hierarchy */
p {
    color: #000000 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* Override for dark backgrounds */
.bg-navy-dark p,
.bg-navy-dark span,
.bg-navy-dark li,
#contact p,
#contact span,
#contact li,
footer p,
footer span,
footer li,
.hero-slider-section p,
.hero-slider-section span {
    color: #ffffff !important;
}

/* Preserves text colors for reviews and light glass overlays */
.review-card p,
.showcase-large-overlay p,
.showcase-wide-details p {
    color: #000000 !important;
}

/* Unified Section Title Styling */
h2.display-5, h2.display-6, .section-title {
    font-family: var(--font-heading) !important;
    font-weight: 500 !important;
    color: var(--color-primary-navy) !important;
    letter-spacing: -0.5px !important;
    line-height: 1.25 !important;
}

/* Dark BG headings override */
.bg-navy-dark h2.display-5,
.bg-navy-dark h2.display-6,
.bg-navy-dark .section-title {
    color: var(--color-white) !important;
}

/* Products Slider Pagination Customization */
.products-slider-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-primary-navy);
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.products-slider-container .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-accent-gold) !important;
    width: 30px;
    border-radius: 6px;
}

/* Inline Styles Cleanup Helpers */
.tracking-wider {
    letter-spacing: 2px !important;
}

.hero-slide-bg-1 {
    background-image: url('../images/slider-1.png');
}

.hero-slide-bg-2 {
    background-image: url('../images/slider-2.png');
}

.hero-slide-bg-3 {
    background-image: url('../images/slider-3.png');
}

.accent-top-left {
    top: -20px !important;
    left: -20px !important;
}

.accent-bottom-right {
    bottom: -20px !important;
    right: -20px !important;
}

.product-details span.text-decoration-line-through {
    font-size: 13px !important;
}

.highlight-brand-card {
    background: linear-gradient(135deg, var(--color-navy-dark), var(--color-primary-navy)) !important;
    border-left: 5px solid var(--color-accent-gold) !important;
}

.footer-logo {
    max-height: 85px !important;
    filter: brightness(0) invert(1) !important;
}

.custom-modal-content {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.custom-form-input {
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
}

.custom-modal-btn {
    border-radius: 8px !important;
    font-size: 15px !important;
}

/* Mobile responsive optimizations for showcase cards */
@media (max-width: 767.98px) {
    .showcase-block-large.as-three-split {
        height: 380px !important;
    }
    .showcase-large-overlay {
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
        padding: 15px !important;
    }
    .showcase-large-overlay h3 {
        font-size: 20px !important;
    }
    .showcase-large-overlay p {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }
    .showcase-block-wide.as-three-split {
        height: auto !important;
        flex-direction: column;
    }
    .showcase-block-wide.as-three-split .showcase-wide-img {
        width: 100% !important;
        height: 180px !important;
    }
    .showcase-block-wide.as-three-split .showcase-wide-details {
        width: 100% !important;
        padding: 20px !important;
        border-left: none !important;
        border-top: 2px solid rgba(179, 146, 71, 0.1);
    }
}

/* Mobile responsive optimizations for treatment buttons */
@media (max-width: 576px) {
    .treatment-row .d-flex.flex-wrap {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }
    
    .treatment-row .d-flex.flex-wrap .btn {
        flex: 1 1 50% !important;
        padding: 10px 8px !important;
        font-size: 14px !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}

/* About Us Page Custom Classes */
.active-nav-link {
    color: var(--color-accent-gold) !important;
}

.inner-hero-section {
    padding-top: 155px !important;
    padding-bottom: 75px !important;
    position: relative;
}

.inner-hero-title {
    font-size: clamp(1.4rem, 5.5vw, 3.5rem) !important;
    font-weight: 400 !important;
}

.story-badge-card-navy {
    background-color: var(--color-primary-navy) !important;
    color: var(--color-white) !important;
}

.icon-circle-lg {
    width: 70px;
    height: 70px;
}

.team-card-img {
    height: 350px;
}

@media (max-width: 767.98px) {
    .inner-hero-section {
        padding-top: 95px !important;
        padding-bottom: 25px !important;
    }
}

/* Contact Us Page Custom Classes */
.contact-info-card {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.contact-detail-card {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.contact-detail-card:hover {
    transform: translateX(8px);
    border-color: var(--color-accent-gold);
    box-shadow: var(--shadow-premium);
}

.contact-form-card {
    box-shadow: var(--shadow-premium) !important;
    background-color: var(--color-white);
    border-radius: var(--radius-md) !important;
}

.custom-form-input:focus {
    background-color: var(--color-white) !important;
    border-color: var(--color-accent-gold) !important;
    box-shadow: 0 0 0 3px rgba(179, 146, 71, 0.15) !important;
}

.contact-map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
}

.contact-map-iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

@media (max-width: 767.98px) {
    .contact-map-iframe {
        height: 300px;
    }
}

/* E-commerce Shop Page Custom Classes */
.shop-sidebar {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.filter-group-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary-navy);
    border-bottom: 2px solid var(--color-navy-light);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.filter-list-item {
    font-size: 14px;
    padding: 6px 0;
}

.filter-checkbox-input:checked {
    background-color: var(--color-accent-gold) !important;
    border-color: var(--color-accent-gold) !important;
}

.product-card-shop {
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.product-card-shop:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--color-accent-gold);
}

.product-card-shop .card-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-light);
    aspect-ratio: 4/5;
}

.product-card-shop .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card-shop:hover .card-img-wrapper img {
    transform: scale(1.06);
}

.product-badge-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-badge-sale {
    background-color: var(--color-accent-red);
    color: var(--color-white);
}

.product-badge-new {
    background-color: var(--color-primary-navy);
    color: var(--color-white);
}

.product-wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: var(--color-white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.product-wishlist-btn:hover {
    color: var(--color-accent-red);
    transform: scale(1.1);
}

.product-actions-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 34, 68, 0.85) 0%, rgba(0, 34, 68, 0) 100%);
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
    opacity: 0;
    z-index: 10;
}

.product-card-shop:hover .product-actions-overlay {
    bottom: 0;
    opacity: 1;
}

.product-detail-body {
    padding: 20px;
}

.product-category-lbl {
    font-size: 12px;
    color: var(--color-accent-gold);
    font-weight: 500;
    text-transform: uppercase;
}

.product-name-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin: 6px 0;
}

.product-name-title a {
    color: var(--color-primary-navy);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.product-name-title a:hover {
    color: var(--color-accent-gold);
}

.product-rating-stars {
    color: var(--color-accent-gold);
    font-size: 13px;
    margin-bottom: 8px;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.price-current {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent-red);
    font-size: 17px;
}

.price-original {
    text-decoration: line-through;
    color: #888888;
    font-size: 14px;
}

.product-promo-banner {
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-primary-navy) 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-premium);
}

.newsletter-subscribe-section {
    background: var(--color-navy-light);
    border-top: 1px solid var(--border-color);
}

.sticky-sidebar {
    position: sticky;
    top: 130px;
    z-index: 10;
}
