@charset "UTF-8";

/* ======================================
   HUE DENTAL - STYLE SHEET
   Modern & Professional Dental Clinic
====================================== */

/* ======================================
   LOCAL FONTS - Playfair Display
====================================== */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display/playfair-display-v40-latin-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/playfair-display/playfair-display-v40-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/playfair-display/playfair-display-v40-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-display/playfair-display-v40-latin-700.woff2') format('woff2');
}

/* ======================================
   LOCAL FONTS - Poppins
====================================== */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/poppins/poppins-v24-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins/poppins-v24-latin-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins/poppins-v24-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins/poppins-v24-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins/poppins-v24-latin-700.woff2') format('woff2');
}

/* ======================================
   CSS VARIABLES
====================================== */
:root {
    --primary: #3b8ad5;
    --primary-light: #64a6e5;
    --primary-dark: #185c9d;
    --accent: #f5e6d3;
    --accent-light: #fff8f0;
    --text-dark: #2c2c2c;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-cream: #fffefb;
    --bg-light: #fafafa;
    --white: #ffffff;
    --border-light: #f0e6d3;

    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --header-height: 90px;
    --container-width: 1580px;
    /*--container-width: 1280px;*/
    --section-padding: 120px;
    --section-padding-mobile: 60px;

    --transition-fast: 0.3s ease;
    --transition-normal: 0.45s ease;
    --transition-slow: 0.75s ease;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-round: 50px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-medium);
    background: var(--white);
    overflow-x: hidden;
    max-width: 100%;
    letter-spacing: 0.01em;
    min-width: 280px;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ======================================
   UTILITY CLASSES
====================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: var(--section-padding) 0;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ======================================
   TYPOGRAPHY
====================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    /*letter-spacing: 0.35em;*/
    /*text-transform: uppercase;*/
    color: #fff8e7;
    opacity: 0.95;
    /*color: var(--accent-light);*/
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    opacity: 0.9;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.section-desc2 {
    font-size: 15px;
    max-width: 1000px;
    text-align: left;
    margin: 0 auto;
    padding: 30px 0 0;
    color: var(--text-light);
    line-height: 1.6;
    letter-spacing: 0.01em;
    word-break: keep-all;
}

.services-footer {
    text-align: center;
    margin-top: 80px;
}

/* ======================================
   BUTTONS
====================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 44px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-round);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2);
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.15);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
}

/* ======================================
   HEADER / NAVIGATION
====================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.2);
    min-width: 280px;
}

.header .container {
    max-width: 1920px;
    min-width: 0;
    overflow: hidden;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}




/*.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}*/


.header .logo {
    display: block;
    width: 133px;
    height: 46px;
    background: url(../images/31_logo_w.svg) center no-repeat;
    background-size: 100% auto;
    font-size: 0;
}

.header.scrolled .logo {
    background: url(../images/31_logo.svg) center no-repeat;
    background-size: 100% auto;
}

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

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.05em;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    transition: width var(--transition-normal);
}

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

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-cta {
    padding: 12px 28px;
    font-size: 0.8rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    padding: 8px 6px;
    cursor: pointer;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
}

.header.scrolled .menu-toggle span {
    background: var(--primary-dark);
}

.menu-toggle.hidden {
    display: none !important;
}

.mobile-nav-close.hidden {
    display: none !important;
}

.mobile-nav-close.active {
    display: flex !important;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 32px;
    padding: 0 40px;
}

.mobile-nav-link {
    /*font-family: var(--font-display);*/
    font-size: 20px;
    color: var(--white);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary-light);
}

.mobile-nav-close {
    display: none;
    flex-direction: column;
    width: 40px;
    height: 40px;
    padding: 8px 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    transition: all var(--transition-fast);
    border: none;
    background: none;
}

.header.scrolled .mobile-nav-close {
    color: var(--primary-dark);
}

.mobile-nav-close:hover {
    opacity: 0.7;
}

/* ======================================
   HERO SECTION
====================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: var(--primary-dark);*/
    overflow: hidden;


}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    background-image: url(../images/new.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    animation: heroReveal 3s ease-out forwards;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
    animation: float 30s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(255, 248, 240, 0.08) 0%, transparent 60%);
    animation: float 22.5s ease-in-out infinite reverse;
}

@media screen and (max-width: 768px) {

    .hero-bg::before,
    .hero-bg::after {
        animation: none;
        transform: none;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, 30px) rotate(5deg);
    }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: scale(1.08);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


@media screen and (max-width: 1024px) {
    .hero-bg {
        background-size: cover;
        background-position: center center;
        animation: heroReveal 3s ease-out forwards;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--header-height) 20px 40px;
}

.hero-subtitle {
    margin-bottom: 24px;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    margin-bottom: 32px;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 1);
    /*max-width: 600px;*/
    margin: 0 auto 48px;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-buttons>a {
    background: rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: bounce 3s infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #ffffff, transparent);
    /*background: linear-gradient(to bottom, var(--accent), transparent);*/
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUpFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================
   HERO IMAGES SECTION
====================================== */
.hero-images {
    background: var(--white);
    padding: 80px 0;
}

.hero-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    opacity: 0;
}

.hero-image-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.hero-image-item:hover img {
    transform: scale(1.05);
}

.hero-image-1 {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    animation: fadeInLeft 1.2s ease forwards;
    animation-delay: 0.2s;
}

.hero-image-2 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    animation: fadeInRight 1.2s ease forwards;
    animation-delay: 0.4s;
}

.hero-image-3 {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 400px;
    animation: fadeInUpFromBottom 1.2s ease forwards;
    animation-delay: 0.6s;
}

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

/* ======================================
   ABOUT SECTION
====================================== */
.about {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-cream) 100%);
}

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

.about-image {
    position: relative;
}

.about-image-main {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    gap: 16px 0;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.3);
}

.about-image-accent .years {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
}

.about-image-accent .text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-content .section-label {
    margin-bottom: 12px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    margin-bottom: 24px;
    line-height: 1.85;
    letter-spacing: 0.01em;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    /* align-items: flex-start; */
    align-items: anchor-center;
    gap: 12px;
    line-height: 1.5;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.25);
}

.about-feature-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.about-feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ======================================
   SERVICES SECTION
====================================== */
.services {
    background: var(--white);
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

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

.service-card {
    position: relative;
    background: #fff;
    /*background: var(--bg-cream);*/
    padding: 48px 32px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(151, 151, 151, 0.15);
}

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

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-dark);
    transition: all var(--transition-fast);
}

.service-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform var(--transition-fast);
}

.service-link:hover {
    color: var(--primary);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ======================================
   DOCTOR / TEAM SECTION
====================================== */
.doctor {
    background: var(--white);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.doctor::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 97, 0.05) 100%);
}

.page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.page-grid-type2 {
    align-items: start !important;
    grid-template-columns: 1fr 1fr 1fr;
}

.block-content .section-label {
    color: var(--primary);
}

.block-content .section-title {
    color: var(--text-dark);
    text-align: left;
}

.doctor-name {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.doctor-title {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 32px;
    letter-spacing: 0.05em;
}

.doctor-text {
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.doctor-credentials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.page-grid-type2 .doctor-credentials {
    border-top: none;
}

.credential {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.credential .k1 {
    padding: 0 0 0 30px;
    color: #999;
}

.credential svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
    flex-shrink: 0;
}

.doctor-image {
    position: relative;
}

.doctor-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.doctor-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.doctor-image-wrapper img {
    width: 85%;
    height: 500px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border-radius: 30px;
}

/* ======================================
   CTA / CONTACT SECTION
====================================== */
.cta {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--white) 100%);
    text-align: center;
}

.cta-content {
    /*max-width: 800px;*/
    margin: 0 auto;
}

.cta .section-title {
    margin-bottom: 24px;
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    letter-spacing: 0.01em;
    max-width: 800px;
    margin: 0 auto 48px;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.cta-info-item {
    text-align: center;
}

.cta-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.cta-info-value {
    /*font-family: var(--font-display);*/
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.cta-info-value a {
    color: var(--primary-dark);
}

.cta-info-value a:hover {
    color: var(--primary);
}

.sc-content {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
    color: #888;
    font-weight: 400;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
    margin: 0 0 24px;
}

/* ======================================
   FOOTER
====================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 40px;
    margin: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-link {
    display: block;
    margin-bottom: 16px;
    line-height: 0;
}

.footer-logo {
    width: auto;
    height: 100px;
    max-width: 250px;
    object-fit: contain;
    display: block;
}

.footer-brand .logo {
    margin-bottom: 24px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-contact-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-light);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* ======================================
   PAGE HEADER (for inner pages)
====================================== */
.page-header {
    background: var(--primary-dark);
    padding: 160px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header .hero-subtitle {
    animation: none;
    opacity: 1;
    margin-bottom: 16px;
}

.page-header .hero-title {
    animation: none;
    opacity: 1;
    font-size: clamp(2.5rem, 4vw, 3.3rem);
}

/* ======================================
   ABOUT PAGE SPECIFIC
====================================== */
.about-intro {
    background: var(--white);
}

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

.about-intro-text p {
    margin-bottom: 24px;
    line-height: 1.9;
}

/*.about-intro-text p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 4rem;
    float: left;
    line-height: 1;
    padding-right: 16px;
    color: var(--primary-dark);
}*/

.values {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-cream) 100%);
}

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

.value-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(201, 169, 97, 0.12);
}

.value-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 16px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.value-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    letter-spacing: 0.01em;
}

/* ======================================
   SERVICES PAGE SPECIFIC
====================================== */
.services-intro {
    background: var(--white);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-detail-card {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(201, 169, 97, 0.15);
}

.service-detail-image {
    height: 250px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-detail-card:hover .service-detail-image img {
    transform: scale(1.05);
}

.service-detail-content {
    padding: 32px;
}

.service-detail-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.service-detail-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.service-detail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-detail-list li {
    font-size: 0.9rem;
    color: var(--text-medium);
    padding-left: 20px;
    position: relative;
}

.service-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ======================================
   RESPONSIVE STYLES
====================================== */
@media screen and (max-width: 1330px) {

    .cta-info {
        flex-wrap: wrap;
        gap: 60px 50px;
        justify-content: center;
    }

    .cta-info-item {
        width: calc((100% - 100px) / 3);
    }
}

@media screen and (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .about-grid,
    .page-grid {
        gap: 60px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-logo {
        height: 45px;
        max-width: 190px;
    }

    .cta-info {
        flex-wrap: wrap;
        gap: 60px 0;
        justify-content: center;
    }

    .cta-info-item {
        width: 50%;
    }
}

@media screen and (max-width: 1024px) {
    :root {
        --section-padding: 80px;
        --header-height: 70px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 900px) {

    .about-grid,
    .page-grid,
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-accent {
        bottom: -20px;
        right: auto;
        left: 20px;
        width: 150px;
        height: 150px;
    }

    .about-image-accent .years {
        font-size: 3rem;
    }

    .about-content .section-title,
    .block-content .section-title {
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .doctor-image {
        order: -1;
    }

    .doctor-image-wrapper img {
        width: 90%;
        height: 350px;
        max-width: 512px;
    }


    .about-content {
        text-align: center;
    }

    .block-content .section-label {
        text-align: center;
        width: 100%;
        display: block;
    }

    .values.section .values-grid {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.hidden {
        display: none !important;
    }

    .mobile-nav-close.hidden {
        display: none !important;
    }

    .mobile-nav-close.active {
        display: flex !important;
    }

    .mobile-nav {
        display: block;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-logo {
        height: 40px;
        max-width: 180px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    .page-header {
        padding: 140px 0 80px;
    }

    .hero-bg {
        background-size: cover;
        background-position: center center;
        animation: fadeInBg 1.5s ease forwards;
    }

    .hero-images {
        padding: 60px 0;
    }

    .hero-images-grid {
        gap: 20px;
    }

    .hero-image-3 {
        height: 300px;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --section-padding: 60px;
    }

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

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

    .service-card {
        padding: 32px 24px;
    }

    .about-intro-text p:first-of-type::first-letter {
        font-size: 3rem;
    }

    .footer-logo {
        height: 35px;
        max-width: 160px;
    }

    .hero-images {
        padding: 40px 0;
    }

    .hero-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-image-1 {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }

    .hero-image-2 {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    .hero-image-3 {
        grid-column: 1;
        grid-row: 3;
        height: 250px;
    }

    .cta-info-value {
        font-size: 16px;
    }
}

@media screen and (max-width: 487px) {

    .cta-info-item {
        width: 100%;
    }
}

/* ======================================
   ANIMATIONS
====================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* ======================================
   ACTIVITY DETAIL PAGE
====================================== */
.contact-page iframe {
    border-radius: 20px;
}

.detail-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 40px;
}

.detail-page .pageTitle {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    word-break: keep-all;
}

.detail-page.detail-page-notice .pageTitle {
    font-size: clamp(2rem, 3vw, 2.4rem);
    text-align: left;
}

.detail-page .activity-image {
    margin: 0 auto 32px;
    display: flex;
    justify-content: center;
    line-height: 0;
}

.detail-page .activity-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.detail-page .activity-full-content {
    margin-top: 48px;
    margin-bottom: 48px;
    line-height: 1.8;
    color: var(--text-medium);
    white-space: pre-line;
}

.detail-page .activity-full-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px auto;
    border-radius: var(--radius-sm);
}

.detail-page .activity-full-content p {
    margin-bottom: 20px;
}

.detail-page .activity-full-content h2,
.detail-page .activity-full-content h3,
.detail-page .activity-full-content h4 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.detail-page .activity-actions {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

.detail-page .activity-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.detail-page .activity-actions svg {
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .detail-page {
        padding: 40px 20px;
    }

    .detail-page .pageTitle {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    .detail-page .activity-image {
        margin-bottom: 24px;
    }

    .detail-page .activity-full-content {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .detail-page .activity-actions {
        margin-top: 40px;
        padding-top: 32px;
    }
}

.sc-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
}

/* ======================================
   CONTACT PAGE
====================================== */
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 80px;
}

.contact-item-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal);
}

.contact-item-card:hover {
    transform: translateY(-10px);
}

.contact-item-card .contact-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-item-card .contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-item-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contact-item-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item-card a:hover {
    color: var(--primary);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.map-content svg {
    color: var(--primary);
    margin-bottom: 20px;
}

.map-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.map-content p {
    color: var(--text-light);
    margin-bottom: 24px;
}

@media screen and (max-width: 1024px) {
    .contact-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-item-card {
        padding: 30px 20px;
    }
}
/* ======================================
   GO TO TOP BUTTON
====================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: url(../images/go_top2.png) center no-repeat;
    background-size: contain;
    border: none;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
