/* FANTASY LEGENDARY HERO CSS */

:root {
    --royal-navy: #0b1c2e;
    --royal-gold: #d4af37;
    --royal-gold-light: #f9d976;
    --platinum: #e5e4e2;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-serif: 'Cairo', sans-serif;
    --font-heading: 'Cairo', sans-serif;
    /* Cairo font */
}

/* 1. MAIN CONTAINER */
.fantasy-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
    color: #fff;
    padding-top: 60px;
    /* Header space */
}

/* 2. BACKGROUND & PARALLAX */
.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 10s ease;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* 3. MYSTIC OVERLAY */
/* A rich, deep gradient that makes text pop and adds mystery */
.hero-mystic-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(11, 28, 46, 0.4) 0%, rgba(5, 15, 25, 0.95) 80%);
    z-index: 2;
    mix-blend-mode: multiply;
    /* Adds depth */
}

/* Overlay 2 for shine */
.fantasy-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    z-index: 3;
    pointer-events: none;
}

/* 4. CONTENT LAYOUT */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 5. TYPOGRAPHY & TEXT */
.hero-text-block {
    max-width: 700px;
    opacity: 0;
    animation: fadeSlideUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

.crown-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--royal-gold);
    border-radius: 50px;
    color: var(--royal-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.fantasy-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.golden-text {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.fantasy-desc {
    font-size: 1.3rem;
    color: var(--platinum);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 300;
}

/* 6. BUTTONS */
.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-royal {
    position: relative;
    padding: 18px 40px;
    background: linear-gradient(45deg, #bf953f, #e3c472);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-royal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* Shimmer Effect */
.shimmer-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: 0.5s;
}

.btn-royal:hover::before {
    left: 100%;
}

.btn-outline-royal {
    padding: 18px 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-royal:hover {
    border-color: var(--royal-gold);
    color: var(--royal-gold);
    background: rgba(255, 255, 255, 0.05);
}

/* 7. MIRAGE CARD (RIGHT) */
.mirage-card-wrapper {
    perspective: 1000px;
    opacity: 0;
    animation: fadeSlideLeft 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.8s;
}

.mirage-card {
    position: relative;
    width: 360px;
    /* Increased for single line text */
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    /* Extremely subtle */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

/* Removed hover effect for stability as requested */
/*.mirage-card:hover {
    transform: rotateX(5deg) rotateY(-5deg);
}*/

/* Inner Glow */
.card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--royal-gold);
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}


.card-content {
    position: relative;
    z-index: 1;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Ensures text and value are vertically aligned */
    margin-bottom: 12px;
    /* Slightly reduced margin for tighter look */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separation */
    padding-bottom: 8px;
}

.stat-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.b-text {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 300;
}

.b-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.separator-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 10px 0;
    /* Reduced from 20px */
}

.live-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--royal-gold);
    justify-content: flex-end;
    white-space: nowrap;
    /* Forces single line */
}


.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
    animation: pulseGreen 2s infinite;
}

.sep-dot {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(0, 255, 136, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

/* Old pulseGold removed in favor of this generic pulse if needed, or keep both */
@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* 8. PARTICLES (Floating Orbs) */
.particles-container {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.3;
    animation: floatParticle 10s infinite linear;
}

.p1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 30%;
    animation-duration: 8s;
}

.p2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.p3 {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 80%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.p4 {
    width: 5px;
    height: 5px;
    top: 80%;
    left: 60%;
    animation-duration: 15s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* 9. SCROLL INDICATOR */
.scroll-magic {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-magic span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-magic .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--royal-gold), transparent);
    animation: dropLine 2s infinite;
}

@keyframes dropLine {
    0% {
        height: 0;
        opacity: 0;
    }

    50% {
        height: 60px;
        opacity: 1;
    }

    100% {
        height: 0;
        opacity: 0;
        transform: translateY(60px);
    }
}

/* KEYFRAMES */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */
@media(max-width: 991px) {
    .fantasy-title {
        font-size: 4.5rem !important;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text-block {
        margin-bottom: 50px;
    }

    .hero-actions {
        justify-content: center;
    }

    .mirage-card-wrapper {
        display: none;
        /* Hide complex 3D element on mobile for simplicity, or keep if desired */
    }

    /* Fix button text wrapping on mobile */
    .btn-royal,
    .btn-outline-royal {
        padding: 14px 20px;
        font-size: 11px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
}

/* LUXURY RIBBON (Bottom of Hero) */
.luxury-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(11, 28, 46, 0.9));
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.ribbon-content {
    display: flex;
    gap: 60px;
    align-items: center;
    opacity: 0.7;
}

.ribbon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ribbon-item i {
    color: var(--royal-gold);
    font-size: 1.2rem;
}

/* RESPONSIVE RIBBON */
@media(max-width: 768px) {
    .luxury-ribbon {
        display: none;
        /* Hide on mobile to save space */
    }
}/* HOME SECTIONS (Philosophy, Services, etc.) */

/* --- 1. WHY CHOOSE US (Luxury Gold Edition) --- */
.philosophy-section {
    padding: 60px 0;
    /* Rich Champagne Gold Gradient */
    background: linear-gradient(135deg, #fffbf0 0%, #f7f1e1 100%);
    position: relative;
    overflow: hidden;
}

.philosophy-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Image larger */
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.philosoph-content {
    order: 2;
    /* Text on Right */
}

/* New Badge Style - Gold */
.sub-label-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}

/* Feature Title (Same as Section Title) - Unified with Hero h1 */
.feature-title,
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1a1a1a;
    /* Sharp Black */
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 700;
}



.feature-title span,
.section-title span,
.discovery-title span,
.gallery-title span {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
    display: inline-block;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

/* Cleanup old specific selectors if they conflict, though specificity of above should win if placed correctly.
   However, let's just make sure we don't have conflicting rules. */
.section-title .blue-highlight {
    /* Removed specific color to use the shared rule above */
    font-style: normal;
}

.philosophy-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #444;
    /* Darker Grey for better readability on gold */
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Features List (Icons + Text) */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon-box {
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #d4af37, #f9d976);
    /* Gold Gradient Icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    /* White icon on Gold */
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.feature-text h4 {
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 5px;
    font-weight: 700;
}

.feature-text p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

/* Image Side - Clean Rounded */
.philosophy-image-wrapper {
    order: 1;
    /* Image Left */
    position: relative;
}

.philosophy-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    mix-blend-mode: multiply;
    /* Hides white background */
    /* border removal for cleaner blend */
    box-shadow: 0 25px 60px rgba(181, 149, 47, 0.1);
}


/* --- LUXURY REELS SECTION --- */
.reels-section {
    padding: 60px 0;
    background: #fdfaf0;
    /* Light cream to match luxury theme */
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.reel-item {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    aspect-ratio: 9 / 16;
    /* Perfect vertical proportion */
    width: 100%;
    max-height: 700px;
    /* Increased significantly to show all controls */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #d4af37;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin: 0 auto;
}

.reel-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25);
}

.reel-item iframe {
    width: 100%;
    /* Reset zoom to 100% to ensure no UI elements are cut off */
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto;
}

/* Luxury Overlay to catch clicks and prevent unintentional pauses */
.reel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 30%);
    z-index: 2;
    pointer-events: none;
    /* Let clicks through or block them as desired */
}

.reel-error {
    color: #d4af37;
    padding: 20px;
    z-index: 3;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .reels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .reel-item {
        max-height: 520px;
    }
}

@media (max-width: 500px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row on mobile */
        gap: 10px;
        padding: 0 10px;
    }

    .reel-item {
        max-height: 320px;
        border-radius: 12px;
        border-width: 1px;
    }
}

/* --- Gallery Mobile Adjustments --- */
@media (max-width: 768px) {
    .gallery-card {
        height: 500px;
    }
}

/* --- 2. LUXURY SERVICES GRID --- */
.services-section {
    padding: 60px 0 100px;
    background: #f8f9fa;
    /* Off-white for separation */
}

.sec-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1300px;
    /* Wider container for grid */
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.service-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    opacity: 0.8;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    transition: 0.4s;
}

.service-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
}

.service-icon-large {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: 0.4s;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: 0.4s;
}

.service-list {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
    transition-delay: 0.1s;
    border-left: 1px solid var(--color-gold);
    padding-left: 15px;
}

.service-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
    transition-delay: 0.2s;
}

/* Hover Effects */
.service-card:hover .service-bg {
    transform: scale(1.1);
    opacity: 0.6;
    /* Darken bg slightly on hover */
}

.service-card:hover .service-icon-large,
.service-card:hover .service-title,
.service-card:hover .service-list,
.service-card:hover .service-link-btn {
    transform: translateY(0);
    opacity: 1;
}

.service-card:hover .service-title {
    color: var(--color-gold);
}


/* RESPONSIVE */
@media(max-width: 991px) {
    .philosophy-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .philosophy-image-wrapper {
        order: -1;
        /* Image first on mobile? Or Text first? Let's keep text first usually, but image is nice visually. Let's keep Default. */
    }

    .exp-badge {
        right: 0;
        left: auto;
        bottom: 20px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* --- 2. FEATURE BLOCKS (Alternating Services) --- */
.feature-block-section {
    padding: 0;
}

.feature-block {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Background Variations */
.bg-cream {
    background: #fffcf5;
    /* Warm Cream for Dental */
}

.bg-lavender {
    background: #ffffff;
    /* Clean White */
}

.bg-mint {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    /* Platinum Silver Gradient */
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Alternating Layout */
.feature-block.reverse .feature-container {
    flex-direction: row-reverse;
}

/* Content Side */
.feature-content {
    flex: 1;
}

.feature-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.badge-gold {
    background: #fff2d1;
    color: #b58d30;
}

.badge-purple {
    background: #fff9e6;
    color: #b8941f;
}

.badge-blue {
    background: #fff9e6;
    color: #b8941f;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 700;
}

.title-highlight {
    font-style: normal;
    /* Color set inline or via specific class per block */
}

.feature-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Specific Feature List */
.block-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.b-feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Modern Feature Icons */
.b-icon {
    min-width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.5);
    /* Glass feel */
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    /* Smooth rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.b-icon i {
    font-size: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #a08123 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.b-feature-item:hover .b-icon {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Remove old solid backgrounds */
.icon-gold,
.icon-purple,
.icon-blue {
    background: transparent !important;
}

.b-text h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}

.b-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Image Side */
.feature-img-wrapper {
    flex: 1;
    position: relative;
}

.feature-main-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Buttons */
.btn-block-primary {
    padding: 15px 35px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.btn-gold {
    background: linear-gradient(45deg, #d4af37, #f7d794);
    color: #fff;
}

.btn-purple {
    background: linear-gradient(45deg, #d4af37, #f7d794);
    color: #fff;
}

.btn-blue {
    background: linear-gradient(45deg, #d4af37, #f7d794);
    color: #fff;
}

.btn-block-outline {
    padding: 15px 30px;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    margin-left: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.btn-block-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Trust Footer in Block */
.block-trust {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #777;
    align-items: center;
}

.trust-star {
    color: #f5a623;
    margin-right: 5px;
}

/* RESPONSIVE */
@media(max-width: 991px) {
    .feature-container {
        flex-direction: column !important;
        /* Force column for both normal and reverse */
        gap: 50px;
        text-align: center;
    }

    .feature-block.reverse .feature-container {
        flex-direction: column;
    }

    .b-feature-item {
        text-align: left;
        /* Keep list aligned left for readability */
    }

    .feature-title {
        font-size: 2.5rem;
    }
}

/* --- 3. DISCOVERY SECTION (Interactive Tabs) --- */
.discovery-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    text-align: center;
}

.discovery-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.discovery-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #f4f4f4;
    color: var(--color-navy);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.discovery-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--color-navy);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.discovery-title span {
    color: var(--color-gold);
    font-style: normal;
}

.discovery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 35px;
    border-radius: 50px;
    border: 1px solid #eee;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.tab-btn:hover {
    border-color: var(--color-navy);
    color: var(--color-navy);
}

.tab-btn.active {
    background: var(--color-navy);
    color: #fff;
    border-color: var(--color-navy);
    box-shadow: 0 10px 20px rgba(11, 28, 46, 0.2);
}

/* Tab Content Layout */
.tab-content {
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.discovery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.disco-img-wrap img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.disco-category-label {
    font-size: 12px;
    font-weight: 700;
    color: #f5a623;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    background: #fff9eb;
    padding: 8px 16px;
    border-radius: 4px;
}

.disco-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--color-navy);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.15;
}

.disco-desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* Service Pills Grid */
.service-pill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.service-pill {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.service-pill:hover {
    background: #eaf5ff;
    color: var(--color-navy);
    transform: translateX(5px);
}

.service-pill i {
    font-size: 8px;
    color: #cbd5e0;
}

.service-pill:hover i {
    color: var(--color-navy);
}

.disco-actions {
    display: flex;
    gap: 15px;
}

@media(max-width: 991px) {
    .discovery-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-pill-grid {
        text-align: left;
    }

    .disco-actions {
        justify-content: center;
    }
}

/* --- 4. LUXURY DUAL GALLERY SLIDER --- */
.gallery-section {
    padding: 100px 0;
    background: #fffcf5;
    /* Warm Cream */
    color: #333;
    position: relative;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1a1a1a;
    margin-top: 15px;
    font-weight: 700;
    line-height: 1.15;
}

.gallery-viewport {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.gallery-slide {
    min-width: 50%;
    /* 2 slides visible */
    padding: 0 15px;
    box-sizing: border-box;
    position: relative;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    height: 650px;
    /* Increased height for vertical look */
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Show top part first to avoid cropping faces/labels */
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
    /* Sophisticated slow zoom */
}

/* Hide captions on hover as per user request */
.gallery-caption {
    display: none !important;
}

/* Nav Buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    z-index: 10;
    transition: 0.3s;
    outline: none;
}

.gallery-nav:hover {
    background: #d4af37;
    color: #fff;
    border-color: #d4af37;
}

.nav-prev {
    left: 0px;
}

.nav-next {
    right: 0px;
}

@media(max-width: 768px) {
    .gallery-slide {
        min-width: 100%;
        /* 1 slide on mobile */
    }

    .gallery-viewport {
        padding: 0 20px;
    }

    .nav-prev {
        left: 10px;
    }

    .nav-next {
        right: 10px;
    }
}

/* --- 5. LUXURY TESTIMONIALS (Slider Edition) --- */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.testimonials-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Slider Viewport */
.testi-viewport {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
    /* Space for arrows */
    overflow: hidden;
}

.testi-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* will-change: transform; -> Optimization */
}

.testi-slide {
    min-width: 33.333%;
    /* 3 slides visible by default */
    padding: 15px;
    box-sizing: border-box;
    /* transition: opacity 0.3s; */
}

/* Card Styling */
.testi-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    /* Equal height */
    text-align: left;
    /* Better reading */
    position: relative;
    display: flex;
    flex-direction: column;
}

.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.quote-icon {
    font-size: 1.5rem;
    color: #eaddcf;
    margin-bottom: 20px;
}

.testi-stars {
    color: #f5a623;
    font-size: 13px;
    margin-bottom: 15px;
}

.testi-text {
    font-family: 'Cairo', sans-serif !important;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    font-style: normal;
    margin-bottom: 25px;
    flex-grow: 1;
    /* Pushes author to bottom */
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

/* Initials Avatar */
.initials-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b58d30);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    border: 2px solid #fff;
    font-family: 'Cairo', sans-serif !important;
}

.author-info h5 {
    font-family: 'Cairo', sans-serif !important;
    font-size: 1rem;
    color: #0b1c2e;
    margin: 0;
    font-weight: 700;
}

.author-info span {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verified-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #25D366;
    background: #eafff1;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Nav Buttons */
.testi-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0b1c2e;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.testi-nav:hover {
    background: #d4af37;
    color: #fff;
    border-color: #d4af37;
}

.t-prev {
    left: 0;
}

.t-next {
    right: 0;
}

/* Google Badge */
.testi-google-badge {
    margin-top: 60px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

/* Responsive */
@media(max-width: 991px) {
    .testi-slide {
        min-width: 50%;
        /* 2 slides */
    }
}

@media(max-width: 768px) {
    .testi-slide {
        min-width: 100%;
        /* 1 slide */
    }

    .testi-viewport {
        padding: 0 20px;
    }

    .testi-nav {
        display: none;
        /* Swipe only on mobile usually cleaner, or keep small arrows */
    }
}

/* PREMIUM LIGHTBOX STYLES */
.premium-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 28, 46, 0.98);
    /* Deep dark blue for luxury feel */
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    backdrop-filter: blur(15px);
    transition: opacity 0.4s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border: 3px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
    object-fit: contain;
    animation: zoomIn 0.4s ease-out;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 200;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover {
    color: #d4af37;
    transform: rotate(90deg);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        border-width: 2px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}

/* ============================================
   OUR EXPERTS SECTION
============================================ */
.experts-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fdfaf0 0%, #ffffff 100%);
}

.experts-header {
    text-align: center;
    margin-bottom: 60px;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.expert-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
}

.expert-img-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.expert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.expert-card:hover .expert-img {
    transform: scale(1.05);
}

.expert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 28, 46, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.expert-card:hover .expert-overlay {
    opacity: 1;
}

.expert-info {
    padding: 30px;
    text-align: center;
    background: #fff;
}

.expert-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
    color: #0b1c2e;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.expert-title {
    font-size: 0.95rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.expert-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fdfaf0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b1c2e;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 16px;
}

.social-link:hover {
    background: #d4af37;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

/* Responsive */
@media (max-width: 991px) {
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .expert-img-wrapper {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
        gap: 15px;
        padding: 0 10px;
    }

    .expert-img-wrapper {
        height: 240px;
        /* Reduced height for 2-col layout */
    }

    .expert-info {
        padding: 15px 10px;
    }

    .expert-name {
        font-size: 0.75rem !important;
        /* Force small size */
        margin-bottom: 3px !important;
        white-space: nowrap !important;
        /* Force single line */
        overflow: hidden !important;
        /* Handle overflow */
        text-overflow: ellipsis !important;
        width: 100% !important;
        display: block !important;
    }

    .expert-title {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .expert-social .social-link {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
    }
}

/* ============================================
   PREMIUM CONTACT POPUP FORM
============================================ */
.contact-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 28, 46, 0.95);
    backdrop-filter: blur(15px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.contact-popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #fdfaf0 100%);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(212, 175, 55, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    animation: slideUp 0.4s ease-out;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(212, 175, 55, 0.1);
    color: #0b1c2e;
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: #d4af37;
    color: #fff;
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    padding: 40px 30px 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.popup-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4af37 0%, #f0d573 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b1c2e;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.popup-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.popup-form {
    padding: 30px;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0b1c2e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label i {
    color: #d4af37;
    margin-right: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #0b1c2e;
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-actions {
    margin-top: 30px;
}

.btn-popup-submit {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-popup-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.btn-popup-submit i {
    font-size: 20px;
}

.popup-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.popup-footer p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.popup-footer i {
    color: #d4af37;
    margin-right: 6px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .contact-popup-content {
        width: 95%;
        border-radius: 20px;
    }

    .popup-header {
        padding: 30px 20px 15px;
    }

    .popup-title {
        font-size: 1.5rem;
    }

    .popup-form {
        padding: 20px;
    }

    .popup-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

/* ============================================
   INTL-TEL-INPUT CUSTOM STYLING
============================================ */
.iti {
    width: 100%;
}

.iti__flag-container {
    padding: 0;
}

.iti__selected-flag {
    padding: 0 12px;
    background: rgba(212, 175, 55, 0.05);
    border-right: 2px solid rgba(212, 175, 55, 0.2);
}

.iti__selected-flag:hover {
    background: rgba(212, 175, 55, 0.1);
}

.iti__country-list {
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.2);
    max-height: 250px;
}

.iti__country {
    padding: 10px 15px;
}

.iti__country:hover {
    background: rgba(212, 175, 55, 0.1);
}

.iti__country.iti__highlight {
    background: rgba(212, 175, 55, 0.2);
}

.iti__dial-code {
    color: #d4af37;
    font-weight: 600;
}

.phone-input-intl {
    padding-left: 95px !important;
}

input.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1) !important;
}

/* ============================================
   FEATURE BLOCK BUTTONS
============================================ */
.block-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
}

.btn-block-primary,
.btn-block-outline {
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    flex: 0 0 auto;
    white-space: nowrap;
}

.btn-block-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f0d573 100%);
    color: #000;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-block-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.btn-block-outline {
    background: transparent;
    color: #0b1c2e;
    border: 2px solid rgba(11, 28, 46, 0.2);
}

.btn-block-outline:hover {
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-2px);
}

/* Mobile: Equal button sizes using Grid for perfect alignment */
@media (max-width: 768px) {
    .block-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .btn-block-primary,
    .btn-block-outline {
        width: 100% !important;
        flex: none !important;
        max-width: none !important;
        padding: 10px 4px !important;
        margin: 0 !important;

        /* Text handling */
        font-size: 11px !important;
        white-space: normal !important;
        /* Allow wrap */
        line-height: 1.2 !important;
        gap: 4px !important;
        /* Smaller gap between icon and text */

        /* Flex centered */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Force black color AND gold gradient on primary button to override specific bg classes */
.btn-block-primary {
    color: #000 !important;
    background: linear-gradient(135deg, #d4af37 0%, #f0d573 100%) !important;
}

.btn-block-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4) !important;
}

/* --- CLINIC TOUR SECTION (SLIDER EDITION) --- */
.clinic-tour-section {
    padding: 100px 0;
    background: #fdfdfd;
    /* Very subtle off-white */
    position: relative;
    user-select: none;
    /* Prevent text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.clinic-slider-wrapper {
    position: relative;
    max-width: 1400px;
    /* Wider for slider */
    margin: 60px auto 0;
    padding: 0 50px;
    /* Space for arrows */
}

.clinic-viewport {
    overflow: hidden;
    width: 100%;
    /* Ensure no touch actions interfere with horizontal swipe regarding browser defaults if needed,
       though we want vertical scroll to still work usually.
       pan-y allows vertical scroll but captures horizontal */
    touch-action: pan-y;
}

.clinic-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: grab;
    /* Width will be dynamic based on children */
}

.clinic-track:active {
    cursor: grabbing;
}

.clinic-slide {
    flex: 0 0 33.333%;
    /* 3 slides visible */
    padding: 0 15px;
    /* Gap between slides */
    box-sizing: border-box;
}

.clinic-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/4;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    /* Prevent image drag highlight specifically */
    -webkit-user-drag: none;
}

.clinic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    /* Prevent image drag natively */
    -webkit-user-drag: none;
    pointer-events: none;
    /* Let clicks pass to card/JS, prevents native drag issues */
}

/* Hover Effects */
.clinic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.2);
}

.clinic-card:hover img {
    transform: scale(1.1);
}

/* Overlay with Icon */
.clinic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
    /* KEY FIX: Let touch pass through the overlay */
}

.clinic-overlay i {
    font-size: 24px;
    color: #fff;
    transform: scale(0.5);
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.clinic-card:hover .clinic-overlay {
    opacity: 1;
}

.clinic-card:hover .clinic-overlay i {
    transform: scale(1);
}

/* Navigation Buttons specific for this slider */
.clinic-prev,
.clinic-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.clinic-prev {
    left: 0;
}

.clinic-next {
    right: 0;
}

.clinic-prev:hover,
.clinic-next:hover {
    background: #d4af37;
    color: #fff;
    border-color: #d4af37;
    transform: translateY(-50%) scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {
    .clinic-slide {
        flex: 0 0 50%;
        /* 2 slides */
    }
}

@media (max-width: 600px) {
    .clinic-slide {
        flex: 0 0 100%;
        /* 1 slide */
    }

    .clinic-slider-wrapper {
        padding: 0 0;
        /* Remove side padding on small mobile, move arrows via flex or hide */
    }

    .clinic-prev,
    .clinic-next {
        display: flex;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .clinic-prev {
        left: 10px;
    }

    .clinic-next {
        right: 10px;
    }
}