/* ═══════════════════════════════════════════
   DENTAL MATTERS - Premium Dental Website
   ═══════════════════════════════════════════ */

/* ── Reset & Custom Properties ── */
:root {
    --black: #3A2C22;
    --charcoal: #4E3E32;
    --dark-grey: #6E5F54;
    --medium-grey: #A09080;
    --light-grey: #F5EDE3;
    --off-white: #FDF9F4;
    --white: #FFFEF9;
    --navy: #A09080;
    --cyan: #c9a882;
    --cyan-dark: #b08c6a;
    --cyan-glow: rgba(201, 168, 130, 0.2);
    --beige: #F0DFC8;
    --beige-dark: #c9a882;

    --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

    --nav-height: 80px;
    --container-max: 1380px;
    --container-padding: 48px;
    --section-padding: 80px;
    --border-radius: 16px;
    --border-radius-sm: 8px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

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


/* ── Typography ── */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--beige-dark);
    margin-bottom: 16px;
    position: relative;
    padding-left: 32px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--beige-dark);
    transform: translateY(-50%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--charcoal);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.section-header .section-tag {
    padding-left: 0;
}

.section-header .section-tag::before {
    display: none;
}


/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

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

.btn-primary:hover {
    background: var(--black);
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.btn-navy:hover {
    background: #8a7060;
    border-color: #8a7060;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44, 44, 44, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}


/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(58, 44, 34, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

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

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0px;
    padding: 10px 10px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu > li > a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-menu > li > a svg {
    display: none;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--charcoal);
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown li a:hover {
    background: var(--light-grey);
    color: var(--beige-dark);
}

/* Nested Sub-Dropdown (flyout) */
.sub-dropdown > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.sub-dropdown > a .sub-arrow {
    transform: rotate(-90deg);
    opacity: 0.4;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 8px;
}

.sub-dropdown:hover > a .sub-arrow {
    opacity: 1;
}

.sub-dropdown > .dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(58,44,34,0.82) 0%, rgba(78,62,50,0.55) 50%, rgba(58,44,34,0.35) 100%),
        linear-gradient(to top, rgba(58,44,34,0.65) 0%, transparent 50%),
        linear-gradient(to bottom right, rgba(240, 223, 200, 0.12) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    padding-top: var(--nav-height);
}

.hero-text {
    max-width: 640px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--beige-dark);
    margin-bottom: 24px;
    padding: 8px 20px;
    border: 1px solid rgba(195, 180, 154, 0.4);
    border-radius: 50px;
    background: rgba(195, 180, 154, 0.15);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.text-accent {
    background: linear-gradient(135deg, var(--beige-dark), var(--beige));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-blurb {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

.hero-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}


/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
}


.about > .container {
    position: relative;
    z-index: 1;
}

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

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    filter: grayscale(50%) brightness(0.9);
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--beige-dark);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-credential-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-top: -40px;
    position: relative;
    z-index: 2;
    max-width: 360px;
    margin-left: auto;
}

.credential-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(195, 180, 154, 0.2);
    border-radius: 12px;
    color: var(--beige-dark);
}

.about-credential-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--charcoal);
}

.about-credential-card p {
    font-size: 0.8rem;
    color: var(--medium-grey);
    margin-top: 2px;
}

.about-signature {
    max-width: 200px;
    margin: 32px 0;
}

.about-signature img {
    width: auto;
    height: auto;
}

.about-body p {
    color: var(--charcoal);
    margin-bottom: 16px;
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-credential-strip {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.credential-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--beige-dark);
    line-height: 1;
}

.credential-label {
    display: block;
    font-size: 0.8rem;
    color: var(--medium-grey);
    margin-top: 4px;
    font-weight: 500;
}

.credential-divider {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,0.1);
}


/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services {
    padding: var(--section-padding) 0;
    background: var(--beige);
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 50px;
    background: var(--white);
    color: var(--medium-grey);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
}

.tab-btn.active {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
}

.service-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.service-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.services-grid .service-card {
    flex: 0 1 calc(25% - 18px);
    min-width: 240px;
    max-width: 320px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.service-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.service-card-content {
    padding: 28px;
}

.service-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.service-card-content p {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}

.service-link:hover {
    gap: 10px;
}

.service-link svg {
    transition: var(--transition);
}


/* ═══════════════════════════════════════════
   SMILE GALLERY
   ═══════════════════════════════════════════ */
.smile-gallery {
    padding: 0;
    background: var(--navy);
}

.smile-gallery .section-tag {
    color: var(--beige);
}

.smile-gallery .section-tag::before {
    background: var(--beige);
}

.smile-gallery .section-title {
    color: var(--white);
}

.gallery-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.gallery-text-col p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 16px;
}

.gallery-image-wrapper {
    margin-left: auto;
}

.gallery-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}


/* ═══════════════════════════════════════════
   FAQs
   ═══════════════════════════════════════════ */
.faqs {
    padding: var(--section-padding) 0;
    background: var(--beige);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.faq-header-col .section-title {
    margin-bottom: 16px;
}

.faq-header-col p {
    color: var(--charcoal);
    margin-bottom: 32px;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0,0,0,0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--beige-dark);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--beige-dark);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.8;
    padding: 0 16px;
}


/* ═══════════════════════════════════════════
   MEDICAL AID
   ═══════════════════════════════════════════ */
.medical-aid {
    padding: var(--section-padding) 0;
    background: var(--white);
    overflow: hidden;
}

.medical-aid-carousel {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.medical-aid-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.medical-aid-logo {
    flex-shrink: 0;
    height: 72px;
    display: flex;
    align-items: center;
}

.medical-aid-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    background: var(--white);
    border-radius: 8px;
    padding: 8px;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════ */
.reviews {
    padding: var(--section-padding) 0;
    background: var(--navy);
}

.reviews .section-tag {
    color: var(--beige);
}

.reviews .section-tag::before {
    display: none;
}

.reviews .section-title {
    color: var(--white);
}

.reviews .section-subtitle {
    color: rgba(255, 255, 255, 0.92);
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    margin: 0 8px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 36px;
    border: 1px solid rgba(0,0,0,0.04);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--beige-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
}

.review-author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--charcoal);
}

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

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
}

.carousel-btn:hover {
    border-color: var(--beige);
    color: var(--beige);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--beige);
    width: 24px;
    border-radius: 4px;
}


/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
}


.contact > .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--beige);
    padding: 48px;
    border-radius: var(--border-radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 2px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    background: var(--white);
    color: var(--charcoal);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--beige-dark);
    box-shadow: 0 0 0 4px var(--cyan-glow);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237A7268' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.contact-info-card {
    background: var(--navy);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--beige);
}

.contact-info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    background: #2e2e2e;
    padding: 80px 0 0;
    color: rgba(255,255,255,0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    height: 64px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links ul li a {
    font-size: 1.05rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--beige);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--beige-dark);
}

.footer-contact-item span {
    color: rgba(255,255,255,0.6);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}


.footer-legal {
    margin-top: 8px;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--beige);
}


/* ═══════════════════════════════════════════
   BOTTOM CONTACT BANNER
   ═══════════════════════════════════════════ */
.contact-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 720px;
    width: calc(100% - 48px);
    background: var(--navy);
    padding: 16px 48px 16px 32px;
    z-index: 997;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: slideUpBanner 0.5s ease forwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

        .page-content .content-body ol li {
            padding: 10px 0 10px 22px;
            position: relative;
            font-size: 20px;
            line-height: 1.7;
            color: var(--dark-grey);
            border-bottom: 1px solid rgba(195, 180, 154, 0.2);
            margin-left: 20px;
        }

        .page-content .content-body ol {
            padding: 0;
            margin-bottom: 28px;
        }
.contact-banner.hidden {
    animation: slideDownBanner 0.3s ease forwards;
    pointer-events: none;
}

@keyframes slideUpBanner {
    from { transform: translateX(-50%) translateY(calc(100% + 24px)); }
    to { transform: translateX(-50%) translateY(0); }
}

@keyframes slideDownBanner {
    from { transform: translateX(-50%) translateY(0); }
    to { transform: translateX(-50%) translateY(calc(100% + 24px)); }
}

.contact-banner-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.contact-banner-text {
    color: var(--white);
}

.contact-banner-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-banner-phone {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.contact-banner-btn {
    white-space: nowrap;
    padding: 10px 24px;
    font-size: 0.85rem;
}

.contact-banner-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
}

.contact-banner-close:hover {
    color: var(--white);
}


/* ═══════════════════════════════════════════
   MARBLE TEXTURE — STRICT ALTERNATING PATTERN
   Every 2nd section gets marble (2, 4, 6, 8):
   1 hero          → no marble (video)
   2 about         → marble, light cream tint
   3 services      → no marble, solid beige
   4 smile-gallery → marble, dark tint (white text)
   5 medical-aid   → no marble, solid white
   6 faqs          → marble, warm beige tint
   7 reviews       → no marble, solid dark
   8 contact       → marble, light cream tint
   ═══════════════════════════════════════════ */

/* 2nd & 8th — light warm-cream tint */
.about,
.contact {
    background-image:
        linear-gradient(rgba(253, 249, 244, 0.52), rgba(253, 249, 244, 0.52)),
        url('../Images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* 4th — dark tint so white text and gallery remain legible */
.smile-gallery {
    background-image:
        linear-gradient(rgba(78, 62, 50, 0.82), rgba(78, 62, 50, 0.82)),
        url('../Images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* 6th — warm beige tint */
.faqs {
    background-image:
        linear-gradient(rgba(240, 223, 200, 0.55), rgba(240, 223, 200, 0.55)),
        url('../Images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* 3rd — solid, no marble */
.services {
    background: var(--beige);
    background-image: none;
}

/* 5th — solid, no marble */
.medical-aid {
    background: var(--white);
    background-image: none;
}

/* Contact form card — lighter tint so more texture shows through */
.contact-form {
    background-image:
        linear-gradient(rgba(240, 223, 200, 0.46), rgba(240, 223, 200, 0.46)),
        url('../Images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
}


/* ═══════════════════════════════════════════
   PAGE HERO  (inner pages)
   ═══════════════════════════════════════════ */
.page-hero {
    background-image:
        linear-gradient(rgba(58, 44, 34, 0.82), rgba(58, 44, 34, 0.72)),
        url('../Images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 0 90px;
    text-align: center;
}

.page-hero .breadcrumb {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 20px;
}

.page-hero .breadcrumb a {
    color: var(--beige-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.page-hero .breadcrumb a:hover { color: var(--beige); }

.page-hero .breadcrumb span { margin: 0 8px; }

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}


/* ═══════════════════════════════════════════
   PAGE CONTENT  (inner pages)
   ═══════════════════════════════════════════ */
.page-content {
    padding: 80px 0;
    background: var(--white);
}

.page-content .content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
    align-items: start;
}

.page-content .content-body h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    margin-top: 50px;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-content .content-body p {
    font-size: 20px;
    line-height: 1.85;
    color: var(--dark-grey);
    margin-bottom: 20px;
}

.page-content .content-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
}

.page-content .content-body ul li {
    padding: 10px 0 10px 22px;
    position: relative;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-grey);
    border-bottom: 1px solid rgba(195, 180, 154, 0.2);
}

.page-content .content-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--beige-dark);
}

/* Sidebar */   

.page-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--black);
    margin-bottom: 20px;
}

.page-sidebar ul {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
}

.page-sidebar ul li a {
    display: block;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark-grey);
    text-decoration: none;
    border-bottom: 1px solid rgba(195, 180, 154, 0.25);
    transition: color 0.2s, padding-left 0.2s;
}

.page-sidebar ul li a:hover,
.page-sidebar ul li a.active {
    color: var(--black);
    padding-left: 8px;
}

/* Treatment cards for category pages */
.treatment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.treatment-card {
    background: var(--white);
    border: 1px solid rgba(195, 180, 154, 0.35);
    border-radius: 12px;
    padding: 36px 28px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.treatment-card:hover {
    box-shadow: 0 8px 32px rgba(58, 44, 34, 0.1);
    transform: translateY(-4px);
}

.treatment-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.treatment-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark-grey);
    margin-bottom: 20px;
}

.treatment-card .card-link {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s, color 0.2s;
}

.treatment-card .card-link:hover {
    gap: 14px;
    color: var(--beige-dark);
}

@media (max-width: 900px) {
    .page-content .content-grid {
        grid-template-columns: 1fr;
    }
    .page-sidebar { position: static; }
}


/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 64px;
    }

    .about-grid {
        gap: 48px;
    }

    .about-images {
        order: -1;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .review-card {
        flex: 0 0 calc(50% - 16px);
    }

    .services-grid .service-card {
        flex: 0 1 calc(50% - 12px);
    }

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 48px;
        --nav-height: 70px;
        --container-padding: 24px;
    }

    /* Mobile Nav */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 32px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

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

    .nav-menu > li > a {
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: 0;
    }

    .dropdown {
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0 0 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.mobile-open .dropdown {
        max-height: 500px;
    }

    .dropdown li a {
        color: rgba(255,255,255,0.6);
        padding: 10px 0;
        border-radius: 0;
    }

    .dropdown li a:hover {
        background: transparent;
        color: var(--beige-dark);
    }

    .sub-dropdown > .dropdown {
        position: static;
        left: auto;
        padding-left: 16px;
    }

    .sub-dropdown > a .sub-arrow {
        transform: rotate(0deg);
    }

    .sub-dropdown.mobile-open > a .sub-arrow {
        transform: rotate(180deg);
    }

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

    .about-images {
        order: -1;
    }

    .about-image-wrapper {
        aspect-ratio: auto;
        max-width: 500px;
    }

    .about-image-accent { display: none; }

    .about-credential-strip {
        gap: 20px;
    }

    /* Services */
    .services-grid .service-card {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .service-tabs {
        gap: 6px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* Gallery */
    .gallery-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-image-wrapper {
        max-width: 500px;
    }

    /* Reviews */
    .review-card {
        flex: 0 0 calc(100% - 16px);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Contact Banner */
    .contact-banner-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .contact-banner {
        padding: 16px 40px 16px 16px;
        bottom: 16px;
    }

    /* Hero */
    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-blurb {
        font-size: 1.1rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        text-align: center;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════
   SERVICE PAGES - Content & Sidebar Styles
   ═══════════════════════════════════════════ */
.content-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

.content-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(58, 44, 34, 0.15);
    pointer-events: none;
}
.content-image-wrapper img { 
    width: 100%;
}
.content-image {
    border-radius: 16px;
    display: block;
    max-width: 100%;
    height: auto;
}

.sidebar-section {
    margin-bottom: 48px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-contact-form {
    padding: 32px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid rgba(195, 180, 154, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-contact-form h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.sidebar-contact-form input,
.sidebar-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid rgba(195, 180, 154, 0.35);
    border-radius: 8px;
    background: var(--white);
    transition: border-color var(--transition);
}

.sidebar-contact-form input:focus,
.sidebar-contact-form textarea:focus {
    outline: none;
    border-color: var(--beige-dark);
}

.sidebar-contact-form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-body);
}

.sidebar-contact-form button {
    width: 100%;
    margin-top: 4px;
}

.sidebar-contact-details {
    padding: 28px;
    border-radius: 12px;
    background: var(--off-white);
    border: 1px solid rgba(195, 180, 154, 0.2);
}

.sidebar-contact-details h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.contact-detail-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--charcoal);
}

.contact-detail-item:last-child {
    margin-bottom: 0;
}

.contact-detail-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--beige-dark);
}

.sidebar-treatments {
    background: rgba(195, 180, 154, 0.08) !important;
    padding: 32px !important;
    border-radius: 12px;
    border: 1px solid rgba(195, 180, 154, 0.2);
}

.sidebar-treatments h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.sidebar-treatments ul {
    list-style: none;
}

.sidebar-treatments ul li {
    margin-bottom: 10px;
}

.sidebar-treatments ul li:last-child {
    margin-bottom: 16px;
}

.sidebar-treatments ul li a {
    font-size: 0.95rem;
    color: var(--charcoal);
    padding: 8px 0;
    display: block;
    transition: color var(--transition), padding-left var(--transition);
}

.sidebar-treatments ul li a:hover,
.sidebar-treatments ul li a.active {
    color: var(--beige-dark);
    padding-left: 8px;
}

.sidebar-treatments .btn {
    width: 100%;
    margin-top: 8px;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE LAYOUT
   ═══════════════════════════════════════════ */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-page h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.contact-page > p {
    font-size: 20px;
    line-height: 1.85;
    color: var(--dark-grey);
    margin-bottom: 60px;
}

.contact-details-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.contact-detail-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid rgba(195, 180, 154, 0.15);
    border-radius: 16px;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.contact-detail-card:hover {
    box-shadow: 0 12px 32px rgba(195, 180, 154, 0.15);
    transform: translateY(-6px);
    border-color: rgba(195, 180, 154, 0.35);
}

.contact-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(195, 180, 154, 0.15), rgba(195, 180, 154, 0.08));
    border-radius: 16px;
    border: 1px solid rgba(195, 180, 154, 0.25);
    transition: background 0.3s, transform 0.3s;
}

.contact-detail-card:hover .contact-icon-wrapper {
    background: linear-gradient(135deg, rgba(195, 180, 154, 0.25), rgba(195, 180, 154, 0.15));
    transform: scale(1.1);
}

.contact-icon-wrapper svg {
    width: 36px;
    height: 36px;
    color: var(--beige-dark);
}

.contact-card-content {
    width: 100%;
}

.contact-detail-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--black);
    margin-bottom: 12px;
}

.contact-detail-card p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--dark-grey);
    margin: 0;
}

.contact-detail-card a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-block;
}

.contact-detail-card a:hover {
    color: var(--beige-dark);
}

.contact-form-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-map-wrapper {
    flex: 1;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 12px;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE LAYOUT
   ═══════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--black);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.about-content p {
    font-size: 18px;
    line-height: 1.85;
    color: var(--dark-grey);
    margin-bottom: 24px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content p strong {
    color: var(--black);
    font-weight: 600;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-photo-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--off-white);
    border: 1px solid rgba(195, 180, 154, 0.2);
}

.about-photo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(58, 44, 34, 0.08);
    pointer-events: none;
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.about-signature-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background: var(--beige);
    border-radius: 12px;
    min-height: 120px;
}

.about-signature {
    max-width: 90%;
    height: auto;
    display: block;
}


@media (max-width: 900px) {
    .contact-form-map-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-map-wrapper iframe {
        min-height: 400px;
    }

    .contact-details-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .about-content p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .contact-detail-card {
        padding: 32px 24px;
    }

    .contact-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .contact-icon-wrapper svg {
        width: 28px;
        height: 28px;
    }

    .contact-detail-card h4 {
        font-size: 0.9rem;
    }

    .contact-detail-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
    }

    .about-credential-strip {
        flex-direction: column;
        gap: 16px;
    }

    .credential-divider {
        width: 40px;
        height: 1px;
    }
}
