/* CANNES LIONS STYLE - COMPLETE RESTORED */

:root {
    /* Palette */
    --primary-blue: #088edd;
    --primary-dark: #066bb0;
    --accent-gold: #C69214;
    --soft-gray: #F9F9F9;
    --text-dark: #333333;
    --text-white: #FFFFFF;

    /* Fonts */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-xl: 1440px;
    --transition-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--white);
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* NAVBAR - DARK LINKS (Default) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    transition: all 0.5s var(--transition-slow);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: all 0.5s ease;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #1A1A1A;
    /* Dark Gray */
    position: relative;
    padding: 10px 0;
}

.nav-link::before,
.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #1A1A1A;
    /* Dark Gray */
    transition: width 0.3s ease;
}

.nav-link::before {
    top: 0;
}

.nav-link::after {
    bottom: 0;
}

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

.btn-nav-cta {
    padding: 12px 28px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    border: 2px solid var(--primary-blue);
}

.btn-nav-cta:hover {
    background: #fff;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* DROPDOWN MENU */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    display: block;
    /* Ensure it takes layout when visible */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s;
    border-bottom: 1px solid #f9f9f9;
    white-space: nowrap;
    /* Prevent wrapping */
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f0f8ff;
    color: var(--primary-blue);
    padding-left: 25px;
}

.arrow {
    font-size: 0.6em;
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Fix dropdown arrow color in transparent mode */
.navbar.home-transparent:not(.scrolled) .nav-link .arrow {
    color: inherit;
}

/* NAVBAR SCROLLED & HOME SPECIAL */
.navbar.home-transparent {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    border-bottom: none;
    box-shadow: none;
}

.navbar.home-transparent:not(.scrolled) .nav-link {
    color: #1A1A1A;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.navbar.home-transparent:not(.scrolled) .nav-link::before,
.navbar.home-transparent:not(.scrolled) .nav-link::after {
    background: #1A1A1A;
}

.navbar.scrolled {
    height: 80px;
    background: rgba(8, 142, 221, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-link {
    color: white;
}

.navbar.scrolled .nav-link::before,
.navbar.scrolled .nav-link::after {
    background: white;
}

.logo-white {
    display: none;
}

.navbar.scrolled .logo-normal {
    display: none;
}

.navbar.scrolled .logo-white {
    display: block;
}

/* .navbar.scrolled .logo-img {
    filter: brightness(0) invert(1);
} */

.navbar.scrolled .btn-nav-cta {
    background: transparent;
    border-color: white;
    color: white;
}

.navbar.scrolled .btn-nav-cta:hover {
    background: white;
    border-color: white;
    color: var(--primary-blue);
}

/* HERO */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../imagens/recepcao.png') center/cover;
    z-index: 1;
    transform: scale(1.0);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(0deg, var(--primary-blue) 0%, rgba(8, 142, 221, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 5vh;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.brand-line {
    width: 30px;
    height: 1px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.brand-text {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-family: var(--font-display);
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero-title span {
    font-style: italic;
    color: #EEE;
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #F0F0F0;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    padding-left: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.btn-group {
    display: flex;
    gap: 20px;
}

.btn-grand {
    padding: 15px 35px;
    background: white;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.btn-grand:hover {
    transform: translateY(-3px);
    background: #EEE;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

/* SECTIONS & CONTAINERS */
.section {
    padding: 100px 0;
    position: relative;
}

.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 40px;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 100px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-header {
    background: #F0F8FF;
    padding: 160px 0 60px;
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.page-breadcrumb {
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.6;
    display: block;
    margin-bottom: 1rem;
}

/* WELCOME GRID */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-box {
    position: relative;
    z-index: 1;
    padding: 20px 0 0 20px;
}

.about-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background: var(--primary-blue);
    z-index: -1;
    border-radius: 8px;
}

.about-img-main {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    object-fit: cover;
}

.about-content h2 {
    margin-top: 0;
}

.about-content a {
    color: var(--primary-blue);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-blue);
}

/* MODERN GRID & FEATURE CARDS */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-weight: 700;
}

.feature-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue);
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.feature-link:hover {
    border-bottom-color: var(--primary-blue);
}

/* DIFFERENTIALS */
.differentials {
    background: #F8F9FA;
    padding: 100px 0;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.diff-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.diff-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.diff-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* CTA STRIP */
.cta-strip {
    background: var(--primary-blue);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-strip h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 20%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

/* STATS */
.stats {
    background: var(--primary-blue);
    color: white;
    padding: 80px 0;
    /* box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.1); */
    position: relative;
    z-index: 20;
}

.stats-grid {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.stat-item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 60px;
}

.stat-item-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 4rem;
    font-family: var(--font-display);
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* OTHER PAGES (Services List, Doctor Grid) */
.services-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    border-bottom: 1px solid #eee;
    padding-bottom: 80px;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse .service-text {
    direction: ltr;
}

.service-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Smaller cards */
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.doctor-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
    text-align: center;
    padding: 0 0 20px;
}

/* ... existing hover styles ... */

.doctor-photo {
    width: 100%;
    height: 220px;
    /* Reduced height */
    background: #f4f4f4;
    margin-bottom: 0;
    overflow: hidden;
}

/* ... existing photo img styles ... */

.doctor-info {
    padding: 15px 10px;
    /* Tighter padding */
}

.doctor-info h3 {
    font-size: 1.05rem;
    /* Slightly smaller */
    font-weight: 600;
    /* Softer bold */
    margin-bottom: 5px;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.doctor-info p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.4;
    min-height: 2.5em;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes pulse-green {
    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);
    }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

/* FOOTER REFINED */
footer {
    background: #111;
    color: #aaa;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 1.5fr;
    gap: 50px;
    border-bottom: 1px solid #222;
    padding-bottom: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-bottom: 20px;
    color: #777;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-map h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-contact i,
.footer-contact span.icon {
    color: var(--primary-blue);
    margin-top: 3px;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 8px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.footer-map iframe:hover {
    filter: grayscale(0%);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .hero {
        height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
        background: var(--primary-blue);
        justify-content: center;
    }

    .hero-bg,
    .hero-overlay {
        display: none;
    }

    .hero-content {
        padding: 0 20px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

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

    .hero-desc {
        border: none;
        padding: 0;
    }

    .btn-group {
        flex-direction: column;
    }

    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }

    .stat-item-box {
        padding: 0;
    }

    .stat-item-box:not(:last-child)::after {
        width: 100px;
        height: 1px;
        top: auto;
        bottom: -20px;
        transform: translateX(50%);
        right: 50%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-box {
        padding: 0;
    }

    .about-img-bg {
        display: none;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-row,
    .service-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: -100%;
    /* Hidden by default */
    left: 0;
    width: 100%;
    background: #1A1A1A;
    color: #eee;
    padding: 15px 40px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-top: 2px solid var(--primary-blue);
}

#cookie-banner.show {
    bottom: 0;
}

#cookie-banner p {
    margin: 0;
    font-size: 0.85rem;
    color: #ccc;
    max-width: 800px;
    line-height: 1.4;
}

#cookie-banner .btn-cookie {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
    white-space: nowrap;
}

#cookie-banner .btn-cookie:hover {
    background: white;
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
}


/* HOME MODAL */
.home-modal {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 320px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 15;
    overflow: hidden;
    animation: slideInRight 0.8s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.modal-content {
    padding: 25px;
}

.modal-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.modal-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-blue);
    color: white;
    padding: 12px 0;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    border: none;
}

.modal-btn:hover {
    background: var(--primary-dark);
    color: white;
}

@keyframes slideInRight {
    from {
        transform: translate(50px, -50%);
        opacity: 0;
    }

    to {
        transform: translate(0, -50%);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .home-modal {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 320px;
        margin: 20px auto;
        animation: none;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
}

/* Full Image Mode */
.home-modal.full-image-mode {
    background: transparent;
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.home-modal.full-image-mode .modal-img {
    height: auto;
    max-height: 400px;
    border-radius: 8px;
}/* --- PREMIUM SERVICES MODULE --- */

/* Category Navigation */
.service-nav-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.service-nav-tab {
    padding: 12px 30px;
    background: transparent;
    border: 1px solid #E0E0E0;
    border-radius: 50px;
    color: #666;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.service-nav-tab:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 142, 221, 0.1);
}

.service-nav-tab.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(8, 142, 221, 0.3);
}

/* Premium Card (Zig-Zag Layout Upgrade) */
.premium-service-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    /* Reduced gap from 80px */
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

/* Add a subtle connecting line between items for flow */
.premium-service-row::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #eee, transparent);
    /* Only show if not last child - handled in PHP loop or :last-child css */
}

.premium-service-row:last-child::after {
    display: none;
}

.premium-service-row.reverse {
    grid-template-columns: 0.9fr 1.1fr;
    direction: rtl;
    /* For column ordering */
}

.premium-service-row.reverse .premium-service-content {
    direction: ltr;
    /* Reset text direction */
}

.premium-service-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* More refined shadow */
    transition: all 0.5s var(--transition-slow);
    aspect-ratio: 4/3;
    /* Standardize aspect ratio */
}

.premium-service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-service-row:hover .premium-service-img-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.premium-service-row:hover .premium-service-img-wrapper img {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Overlay gradient for image text visibility if any, or just aesthetic sheen */
.premium-service-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(8, 142, 221, 0.1), transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.premium-service-content {
    padding: 20px 0;
}

.premium-category-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.premium-service-title {
    font-size: 2rem;
    font-family: var(--font-display);
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.premium-service-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.premium-service-text h2,
.premium-service-text h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.premium-service-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.premium-service-text li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #444;
}

.premium-service-text li::before {
    content: '\2022';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: -2px;
}

/* Button for CTA */
.btn-text-arrow {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.btn-text-arrow:hover {
    gap: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {

    .premium-service-row,
    .premium-service-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        /* Reset direction */
        gap: 30px;
        text-align: center;
        background: #fff;
        padding: 40px 20px;
        border-radius: 12px;
        border: 1px solid #f0f0f0;
    }

    .premium-service-row.reverse .premium-service-content {
        direction: ltr;
    }

    .premium-service-text li {
        text-align: left;
        display: inline-block;
        /* Or tweak for center alignment strategy */
    }

    /* Force left align for lists on mobile to be readable */
    .premium-service-text ul {
        display: inline-block;
        text-align: left;
    }
}
/* --- NEW ABOUT GALLERY LAYOUT --- */

.about-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.gallery-collage {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 15px;
    aspect-ratio: 1/1;
    position: relative;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Image Positioning in Grid */
.g-item-1 {
    grid-column: 1 / 9;
    grid-row: 1 / 8;
    z-index: 1;
}

.g-item-2 {
    grid-column: 8 / 13;
    grid-row: 4 / 10;
    z-index: 2;
    border: 5px solid white;
}

.g-item-3 {
    grid-column: 3 / 8;
    grid-row: 7 / 13;
    z-index: 2;
    border: 5px solid white;
}

/* Decorative background circle */
.gallery-collage::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(8, 142, 221, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.premium-text-content {
    padding-left: 20px;
}

.premium-heading {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    position: relative;
}

.premium-heading span {
    color: var(--primary-dark);
    display: block;
}

.premium-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.premium-check-list {
    list-style: none;
    margin-bottom: 3rem;
}

.premium-check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: #fdfdfd;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.premium-check-list li:hover {
    transform: translateX(5px);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-blue);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(8, 142, 221, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .about-gallery-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-collage {
        max-width: 500px;
        margin: 0 auto;
    }

    .premium-heading {
        font-size: 2rem;
    }

    .premium-text-content {
        padding-left: 0;
        text-align: center;
    }

    .premium-check-list li {
        justify-content: center;
        text-align: left;
    }
}
/* --- PREMIUM VISUAL EFFECTS --- */

/* 1. Subtle Floating Animation for Images */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.gallery-item.g-item-2 {
    animation: float 6s ease-in-out infinite;
}

.gallery-item.g-item-3 {
    animation: float 7s ease-in-out infinite 1s;
    /* Delay for async movement */
}

/* 2. Enhanced Hover Effects */
.gallery-item:hover {
    z-index: 10;
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* 3. Gradient Text for Emphasis */
.premium-heading span {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    /* Fallback color already set in base styles */
}

/* 4. Glassmorphism-like Cards for Checklist */
.premium-check-list li {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.premium-check-list li:hover {
    transform: translateY(-3px) translateX(5px);
    box-shadow: 0 10px 20px rgba(8, 142, 221, 0.1);
    background: white;
    border-color: var(--primary-blue);
}

/* 5. Decorative Elements */
.premium-text-content::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(8, 142, 221, 0.05) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}
/* 4th Gallery Item (Small, Floating) */
.g-item-4 {
    grid-column: 9 / 13;
    grid-row: 9 / 13;
    /* Bottom right corner */
    z-index: 3;
    border: 4px solid white;
    width: 80%;
    /* Make it slightly smaller within the cell if needed, or grid handles it */
    justify-self: end;
    align-self: end;
    animation: float 6.5s ease-in-out infinite 0.5s;
}
/ *   - - -   T R E A T M E N T S   &   S E R V I C E S   S E C T I O N   - - -   * /  
  
 . s e c t i o n - h e a d e r   {  
         t e x t - a l i g n :   c e n t e r ;  
         m a x - w i d t h :   7 0 0 p x ;  
         m a r g i n :   0   a u t o   6 0 p x ;  
 }  
  
 . s e c t i o n - h e a d e r   h 2   {  
         f o n t - f a m i l y :   ' M o n t s e r r a t ' ,   s a n s - s e r i f ;  
         f o n t - s i z e :   2 . 5 r e m ;  
         c o l o r :   v a r ( - - p r i m a r y - b l u e ) ;  
         m a r g i n - b o t t o m :   1 r e m ;  
         f o n t - w e i g h t :   7 0 0 ;  
 }  
  
 . s e c t i o n - h e a d e r   p   {  
         f o n t - f a m i l y :   ' I n t e r ' ,   s a n s - s e r i f ;  
         f o n t - s i z e :   1 . 1 r e m ;  
         c o l o r :   # 6 6 6 ;  
         l i n e - h e i g h t :   1 . 6 ;  
 }  
  
 . m o d e r n - g r i d   {  
         d i s p l a y :   g r i d ;  
         g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( a u t o - f i t ,   m i n m a x ( 2 6 0 p x ,   1 f r ) ) ;  
         g a p :   3 0 p x ;  
         m a r g i n - b o t t o m :   5 0 p x ;  
 }  
  
 . f e a t u r e - c a r d   {  
         b a c k g r o u n d :   w h i t e ;  
         p a d d i n g :   4 0 p x   3 0 p x ;  
         b o r d e r - r a d i u s :   1 6 p x ;  
         b o r d e r :   1 p x   s o l i d   # f 0 f 0 f 0 ;  
         t r a n s i t i o n :   a l l   0 . 4 s   c u b i c - b e z i e r ( 0 . 2 5 ,   0 . 8 ,   0 . 2 5 ,   1 ) ;  
         d i s p l a y :   f l e x ;  
         f l e x - d i r e c t i o n :   c o l u m n ;  
         a l i g n - i t e m s :   c e n t e r ;  
         t e x t - a l i g n :   c e n t e r ;  
         h e i g h t :   1 0 0 % ;  
         p o s i t i o n :   r e l a t i v e ;  
         o v e r f l o w :   h i d d e n ;  
 }  
  
 . f e a t u r e - c a r d : h o v e r   {  
         t r a n s f o r m :   t r a n s l a t e Y ( - 1 0 p x ) ;  
         b o x - s h a d o w :   0   2 0 p x   4 0 p x   r g b a ( 8 ,   1 4 2 ,   2 2 1 ,   0 . 1 5 ) ;  
         b o r d e r - c o l o r :   t r a n s p a r e n t ;  
 }  
  
 / *   D e c o r a t i v e   t o p   b o r d e r   o n   h o v e r   * /  
 . f e a t u r e - c a r d : : b e f o r e   {  
         c o n t e n t :   ' ' ;  
         p o s i t i o n :   a b s o l u t e ;  
         t o p :   0 ;  
         l e f t :   0 ;  
         w i d t h :   1 0 0 % ;  
         h e i g h t :   4 p x ;  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 9 0 d e g ,   v a r ( - - p r i m a r y - b l u e ) ,   v a r ( - - p r i m a r y - d a r k ) ) ;  
         t r a n s f o r m :   s c a l e X ( 0 ) ;  
         t r a n s i t i o n :   t r a n s f o r m   0 . 4 s   e a s e ;  
         t r a n s f o r m - o r i g i n :   l e f t ;  
 }  
  
 . f e a t u r e - c a r d : h o v e r : : b e f o r e   {  
         t r a n s f o r m :   s c a l e X ( 1 ) ;  
 }  
  
 . f e a t u r e - i c o n   {  
         w i d t h :   8 0 p x ;  
         h e i g h t :   8 0 p x ;  
         m a r g i n - b o t t o m :   2 5 p x ;  
         p a d d i n g :   1 5 p x ;  
         b a c k g r o u n d :   r g b a ( 8 ,   1 4 2 ,   2 2 1 ,   0 . 0 5 ) ;  
         b o r d e r - r a d i u s :   5 0 % ;  
         d i s p l a y :   f l e x ;  
         a l i g n - i t e m s :   c e n t e r ;  
         j u s t i f y - c o n t e n t :   c e n t e r ;  
         t r a n s i t i o n :   b a c k g r o u n d   0 . 3 s   e a s e ;  
 }  
  
 . f e a t u r e - c a r d : h o v e r   . f e a t u r e - i c o n   {  
         b a c k g r o u n d :   r g b a ( 8 ,   1 4 2 ,   2 2 1 ,   0 . 1 ) ;  
 }  
  
 . f e a t u r e - t i t l e   {  
         f o n t - f a m i l y :   ' M o n t s e r r a t ' ,   s a n s - s e r i f ;  
         f o n t - s i z e :   1 . 2 5 r e m ;  
         f o n t - w e i g h t :   7 0 0 ;  
         c o l o r :   v a r ( - - p r i m a r y - d a r k ) ;  
         m a r g i n - b o t t o m :   1 5 p x ;  
 }  
  
 . f e a t u r e - d e s c   {  
         f o n t - f a m i l y :   ' I n t e r ' ,   s a n s - s e r i f ;  
         f o n t - s i z e :   0 . 9 5 r e m ;  
         c o l o r :   # 7 7 7 ;  
         l i n e - h e i g h t :   1 . 6 ;  
         m a r g i n - b o t t o m :   2 5 p x ;  
         f l e x - g r o w :   1 ;  
         / *   P u s h e s   b u t t o n   d o w n   * /  
 }  
  
 . f e a t u r e - l i n k   {  
         f o n t - f a m i l y :   ' M o n t s e r r a t ' ,   s a n s - s e r i f ;  
         f o n t - s i z e :   0 . 8 5 r e m ;  
         f o n t - w e i g h t :   6 0 0 ;  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
         c o l o r :   v a r ( - - p r i m a r y - b l u e ) ;  
         t e x t - d e c o r a t i o n :   n o n e ;  
         l e t t e r - s p a c i n g :   1 p x ;  
         b o r d e r - b o t t o m :   2 p x   s o l i d   t r a n s p a r e n t ;  
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ;  
 }  
  
 . f e a t u r e - l i n k : h o v e r   {  
         b o r d e r - c o l o r :   v a r ( - - p r i m a r y - b l u e ) ;  
         l e t t e r - s p a c i n g :   2 p x ;  
 }  
 / *   - - -   H E R O   R E F I N E M E N T S   - - -   * /  
  
 / *   R e m o v e   i n l i n e   s t y l e s   a n d   u s e   t h i s   c l a s s   * /  
 . h e r o - e y e b r o w   {  
         c o l o r :   v a r ( - - p r i m a r y - b l u e ) ;  
         f o n t - f a m i l y :   v a r ( - - f o n t - d i s p l a y ) ;  
         f o n t - w e i g h t :   7 0 0 ;  
         l e t t e r - s p a c i n g :   3 p x ;  
         t e x t - t r a n s f o r m :   u p p e r c a s e ;  
         m a r g i n - b o t t o m :   2 4 p x ;  
         f o n t - s i z e :   0 . 8 5 r e m ;  
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 9 ) ;  
         d i s p l a y :   i n l i n e - b l o c k ;  
         p a d d i n g :   8 p x   2 0 p x ;  
         b o r d e r - r a d i u s :   5 0 p x ;  
         b o x - s h a d o w :   0   4 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 2 ) ;  
         b a c k d r o p - f i l t e r :   b l u r ( 5 p x ) ;  
         t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ;  
 }  
  
 . h e r o - e y e b r o w : h o v e r   {  
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ;  
 }  
  
 . h e r o - t i t l e   {  
         f o n t - s i z e :   4 . 5 r e m ;  
         / *   I n c r e a s e d   f r o m   3 . 5 r e m   * /  
         l i n e - h e i g h t :   1 . 0 5 ;  
         m a r g i n - b o t t o m :   2 5 p x ;  
         f o n t - w e i g h t :   8 0 0 ;  
         / *   B o l d e r   * /  
         l e t t e r - s p a c i n g :   - 1 p x ;  
         / *   T i g h t e r   f o r   d i s p l a y   f o n t   * /  
 }  
  
 . h e r o - t i t l e   s p a n   {  
         f o n t - f a m i l y :   ' P l a y f a i r   D i s p l a y ' ,   s e r i f ;  
         / *   O p t i o n a l :   m i x   f o n t s   f o r   p r e m i u m   f e e l   i f   a v a i l a b l e ,   e l s e   f a l l b a c k   * /  
         f o n t - s t y l e :   i t a l i c ;  
         f o n t - w e i g h t :   4 0 0 ;  
 }  
  
 . h e r o - d e s c   {  
         f o n t - s i z e :   1 . 2 5 r e m ;  
         m a x - w i d t h :   6 5 0 p x ;  
         l i n e - h e i g h t :   1 . 7 ;  
         m a r g i n - b o t t o m :   4 0 p x ;  
         f o n t - w e i g h t :   4 0 0 ;  
         t e x t - s h a d o w :   0   2 p x   1 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 8 ) ;  
         / *   S t r o n g e r   s h a d o w   f o r   r e a d a b i l i t y   * /  
         b o r d e r - l e f t :   3 p x   s o l i d   v a r ( - - p r i m a r y - b l u e ) ;  
         / *   A c c e n t   c o l o r   b o r d e r   * /  
         b a c k g r o u n d :   r g b a ( 0 ,   0 ,   0 ,   0 . 2 ) ;  
         / *   S l i g h t   b a c k g r o u n d   f o r   r e a d a b i l i t y   * /  
         p a d d i n g :   1 5 p x   2 0 p x ;  
         b o r d e r - r a d i u s :   0   8 p x   8 p x   0 ;  
         b a c k d r o p - f i l t e r :   b l u r ( 2 p x ) ;  
 }  
  
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   {  
         . h e r o - t i t l e   {  
                 f o n t - s i z e :   3 r e m ;  
         }  
 }  
 / *   - - -   T R E A T M E N T   I C O N S   R E S I Z E   - - -   * /  
  
 . f e a t u r e - i c o n   {  
         w i d t h :   1 1 0 p x ;  
         / *   I n c r e a s e d   f r o m   8 0 p x   * /  
         h e i g h t :   1 1 0 p x ;  
         / *   I n c r e a s e d   f r o m   8 0 p x   * /  
         p a d d i n g :   2 0 p x ;  
         / *   I n c r e a s e d   p a d d i n g   t o   k e e p   i c o n   p r o p o r t i o n a l   * /  
         b a c k g r o u n d :   r g b a ( 8 ,   1 4 2 ,   2 2 1 ,   0 . 0 3 ) ;  
         / *   S l i g h t l y   l i g h t e r   b g   * /  
 }  
  
 / *   E n s u r e   i m a g e s   i n s i d e   a r e   s t a n d a r d i z e d   * /  
 . f e a t u r e - i c o n   i m g   {  
         w i d t h :   1 0 0 % ;  
         h e i g h t :   1 0 0 % ;  
         o b j e c t - f i t :   c o n t a i n ;  
         / *   K e e p s   a s p e c t   r a t i o   * /  
         f i l t e r :   d r o p - s h a d o w ( 0   5 p x   1 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 ) ) ;  
         / *   A d d s   d e p t h   t o   t h e   i c o n   i t s e l f   * /  
         t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ;  
 }  
  
 . f e a t u r e - c a r d : h o v e r   . f e a t u r e - i c o n   i m g   {  
         t r a n s f o r m :   s c a l e ( 1 . 1 ) ;  
 }  
 