/* 
    TPDFC - Premium Dental CSS
    Theme: Olive Green, Dark Brown, Warm Gold 
*/
:root {
    /* Color Palette */
    --primary: #4f553a;        /* Olive Green */
    --primary-light: #6a7150;
    --primary-dark: #3a3f2b;
    --secondary: #d9b46e;      /* Warm Gold */
    --secondary-hover: #c5a059;
    --dark: #3a281e;           /* Dark Brown */
    --dark-light: #523b2c;
    --light: #ffffff;
    --off-white: #f8f7f5;
    --gray-light: #eaeaea;
    --text-main: #2b2723;
    --text-muted: #6b635e;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Utilities */
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 15px rgba(58, 40, 30, 0.05);
    --shadow-md: 0 10px 30px rgba(58, 40, 30, 0.08);
    --shadow-lg: 0 20px 40px rgba(79, 85, 58, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.max-w-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.lead-text { font-size: 1.15rem; line-height: 1.8; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-gold {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.btn-outline-gold:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-text {
    background-color: transparent;
    color: var(--dark);
    padding: 0;
    border-bottom: 2px solid var(--secondary);
    border-radius: 0;
}
.btn-text:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Top Bar */
.top-bar {
    background-color: var(--dark);
    color: var(--light);
    font-size: 0.85rem;
    padding: 0.6rem 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.contact-details {
    display: flex;
    gap: 1.5rem;
}
.contact-details a, .location-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dfdfdf;
}
.contact-details a:hover { color: var(--secondary); }
.top-bar svg {
    width: 14px;
    height: 14px;
    fill: var(--secondary);
}

/* Header */
.header {
    background-color: var(--light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}
.logo {
    display: flex;
    align-items: center;
    position: relative;
    width: 120px;
    height: 60px;
    z-index: 1100;
}
.logo .logo-img {
    height: 120px;
    width: 120px;
    object-fit: contain;
    border-radius: 50%;
    border: 4px solid var(--light);
    background-color: var(--light);
    box-shadow: 0 4px 15px rgba(58, 40, 30, 0.15);
    position: absolute;
    top: -1.2rem;
    left: 0;
    z-index: 1100;
    transition: var(--transition);
}
.logo .logo-img:hover {
    transform: scale(1.05);
}
.logo-text-placeholder {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--primary); }

.nav-cta {
    margin-left: 2rem;
    padding: 0.6rem 1.5rem;
}

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

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--off-white);
    overflow: hidden;
    padding: 5rem 0 7rem;
}
.hero-bg-accent {
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background-color: var(--primary);
    background-image: linear-gradient(rgba(79, 85, 58, 0.75), rgba(79, 85, 58, 0.75)), url('https://images.unsplash.com/photo-1598256989800-fea5f6c8d768?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-bottom-left-radius: 120px;
    z-index: 0;
}
.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
.hero-features {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}
.feat-item {
    flex: 1;
}
.feat-title {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.feat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.hero-visual {
    position: relative;
}
.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    border-top-right-radius: 120px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background-color: var(--secondary);
    color: var(--dark);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--off-white);
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

.exp-year {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}
.exp-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Intro Section */
.intro-container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: center;
}
.intro-image-block {
    position: relative;
}
.intro-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.intro-decorative-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius-md);
    z-index: 1;
}
.section-tag {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}
.section-heading {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.section-paragraph {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.custom-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.custom-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.custom-list li::before {
    content: '✔';
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Hero Section - Dentaire Theme Style (Parallax) */
.hero-dentaire-theme {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 750px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Parallax background layer - separate div for JS-driven movement */
.hero-parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height so image can shift without gaps */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    will-change: transform;
    z-index: 0;
}

.hero-dentaire-theme .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(58, 40, 30, 0.75); /* Theme Dark Brown with 75% opacity for warm premium overlay */
    z-index: 1;
}

.hero-dentaire-theme .slide-content-wrapper {
    position: relative;
    width: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content-dentaire {
    text-align: center;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography & Content Layout */
.section-title-dentaire {
    margin-bottom: 2rem;
}

.subtitle-dentaire {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.2rem;
}

.subtitle-dentaire .subtitle-icon {
    color: var(--secondary); /* Warm Gold */
    font-size: 16px;
    animation: zoom 1s linear infinite;
}

.title-dentaire {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.desc-dentaire {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 1.25vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto;
}

.hero-content-body-dentaire {
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 760px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

/* Button style with arrow circle - Primary Theme Gold Style */
.btn-dentaire {
    display: inline-flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--dark); /* Dark Brown text on Gold */
    background-color: var(--secondary); /* Warm Gold */
    text-transform: capitalize;
    padding: 14px 50px 14px 22px;
    border-radius: 99px;
    border: none;
    transition: all 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(217, 180, 110, 0.2);
}

.btn-dentaire:hover {
    color: #ffffff; /* Transitions to white on hover */
    box-shadow: 0 10px 25px rgba(79, 85, 58, 0.35);
}

.btn-dentaire::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    /* Inline SVG of arrow pointing top-right filled with Gold (%23d9b46e) */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d9b46e'><path d='M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6H6z'/></svg>");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px auto;
    transform: translateY(-50%);
    transition: all 0.4s ease-in-out;
}

.btn-dentaire:hover::before {
    transform: translateY(-50%) rotate(45deg);
    background-size: 14px auto;
    /* Change arrow color to Olive Green (%234f553a) on hover */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234f553a'><path d='M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6H6z'/></svg>");
}

.btn-dentaire::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    border-radius: 99px;
    background: var(--primary); /* Olive Green fill on hover */
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.btn-dentaire:hover::after {
    width: 100%;
}

/* Secondary Button inside CTA bar (Outlined Theme Gold style) */
.btn-dentaire.btn-dentaire-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 12px 48px 12px 20px;
    box-shadow: none;
}

.btn-dentaire.btn-dentaire-secondary::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d9b46e'><path d='M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6H6z'/></svg>");
    right: 8px;
    width: 28px;
    height: 28px;
}

.btn-dentaire.btn-dentaire-secondary:hover {
    color: var(--dark);
    background-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(217, 180, 110, 0.15);
}

.btn-dentaire.btn-dentaire-secondary:hover::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a281e'><path d='M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6H6z'/></svg>");
}

.btn-dentaire.btn-dentaire-secondary::after {
    display: none; /* No overlay transition needed for outlined hover */
}

/* Google Rating */
.google-rating-dentaire {
    width: 100%;
}

.google-rating-dentaire ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.google-rating-dentaire ul li {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #ffffff;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 5px;
}

.google-rating-dentaire ul li span {
    color: var(--secondary);
    font-weight: 700;
    margin-left: 5px;
}

.google-rating-dentaire ul li.stars {
    display: flex;
    gap: 4px;
}

.google-rating-dentaire ul li.stars span {
    color: var(--secondary);
    font-size: 16px;
    margin: 0;
}

/* Call To Action Bar (Below Bar) */
.cta-box-dentaire {
    background-color: var(--primary); /* Theme Olive Green background */
    padding: 40px 0;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.cta-container-dentaire {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.cta-col {
    display: flex;
    align-items: center;
}

.cta-col:not(:nth-child(3)) {
    border-right: 1px solid rgba(217, 180, 110, 0.25); /* Gold tinted border divider */
    padding-right: 2rem;
}

.cta-btn-col {
    justify-content: flex-end;
}

.cta-item-dentaire {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-icon-dentaire {
    color: var(--secondary); /* Warm Gold */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon-dentaire svg {
    width: 36px;
    height: 36px;
}

.cta-content-dentaire {
    color: #ffffff;
}

.cta-content-dentaire h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.cta-content-dentaire p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-content-dentaire p a {
    color: #ffffff;
    transition: var(--transition);
}

.cta-content-dentaire p a:hover {
    color: var(--secondary);
}

/* Entry Animations - Auto-play on load via CSS keyframes */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-dentaire-theme .subtitle-dentaire {
    animation: heroFadeUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s both;
}
.hero-dentaire-theme .title-dentaire {
    animation: heroFadeUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}
.hero-dentaire-theme .desc-dentaire {
    animation: heroFadeUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s both;
}
.hero-dentaire-theme .hero-content-body-dentaire {
    animation: heroFadeUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
}
.hero-dentaire-theme .google-rating-dentaire {
    animation: heroFadeUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.75s both;
}

@keyframes zoom {
    0% { transform: scale(1); }
    50% { transform: scale(0.85); }
    100% { transform: scale(1); }
}

/* Mobile Menu Toggle Button Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Transform hamburger to X when active */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .top-bar {
        display: none;
    }

    .header-inner {
        padding: 0.8rem 1.5rem;
    }

    .logo {
        width: 70px;
        height: 70px;
        position: relative;
    }
    .logo .logo-img {
        width: 70px;
        height: 70px;
        position: relative;
        top: 0;
        left: 0;
        border: none;
        box-shadow: none;
        background-color: transparent;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--light);
        flex-direction: column;
        align-items: center;
        padding: 2.5rem 2rem;
        box-shadow: 0 15px 30px rgba(58, 40, 30, 0.1);
        border-top: 1px solid var(--gray-light);
        z-index: 1000;
        gap: 1.5rem;
    }

    .nav.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .hero-dentaire-theme {
        height: 85vh;
        min-height: 600px;
    }
    .cta-container-dentaire {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .cta-btn-col {
        grid-column: span 2;
        justify-content: center;
    }
    .cta-col:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-dentaire-theme {
        height: auto;
        min-height: unset;
        padding: 120px 0 80px;
    }
    .hero-content-dentaire {
        padding: 0 1rem;
    }
    .cta-container-dentaire {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .cta-col {
        border-right: none !important;
        padding-right: 0 !important;
        justify-content: center;
    }
    .cta-item-dentaire {
        flex-direction: column;
        gap: 0.8rem;
    }
    .cta-btn-col {
        grid-column: span 1;
    }
}

/* Common Inner Pages */
.page-header {
    background-color: var(--primary);
    color: var(--light);
    padding: 6rem 0 4rem;
    text-align: center;
}
.page-title {
    color: var(--secondary);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.page-subtitle {
    font-size: 1.2rem;
    color: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--gray-light);
    background: transparent;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-info-panel h2 { margin-bottom: 1rem; }
.contact-item { margin-bottom: 1.5rem; }
.contact-item strong { display: block; color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem;}
.contact-form-panel {
    background: var(--light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.contact-form-panel h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Footer */
.footer {
    background-color: #3d2a1a;
    color: var(--light);
    padding-top: 5rem;
}
.footer-logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-heading {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: #cccccc; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-info-list { display: flex; flex-direction: column; gap: 1rem; color: #cccccc; }
.footer-contact-item { display: flex; gap: 1rem; }
.footer-contact-item svg { width: 20px; height: 20px; fill: var(--secondary); flex-shrink: 0; }
.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    color: #aaaaaa;
    font-size: 0.9rem;
}
.admin-link { color: var(--secondary); }
.admin-link:hover { color: var(--light); }

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .intro-container, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-bg-accent { width: 100%; height: 60%; }
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .custom-list {
        grid-template-columns: 1fr;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Services Showcase Section Styling */
.services-showcase {
    background-color: var(--light);
}
.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}
.service-card {
    background: var(--light);
    border: 1px solid var(--secondary);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(79, 85, 58, 0.06);
    transition: var(--transition);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}
.service-card:hover .service-card-number {
    color: rgba(61, 42, 26, 0.09);
    transform: scale(1.05);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background-color: var(--secondary);
    border-color: var(--secondary);
}
.service-card-icon {
    width: 56px;
    height: 56px;
    background-color: var(--secondary);
    color: #3d2a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.service-card:hover .service-card-icon {
    background-color: #3d2a1a;
    color: var(--secondary);
    transform: scale(1.05);
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--dark);
    margin: 0;
    transition: var(--transition);
}
.service-card:hover h3 {
    color: #3d2a1a;
}
.service-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    transition: var(--transition);
}
.service-card:hover p {
    color: #3d2a1a;
}
.service-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}
.service-card-link:hover {
    color: var(--secondary);
}
.service-card:hover .service-card-link {
    color: #3d2a1a;
}

/* Patient Testimonials Section */
.testimonials-section {
    background-color: var(--primary);
    color: var(--light);
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
}
.testimonials-section .section-tag {
    color: var(--secondary);
}
.testimonials-section .section-heading {
    color: var(--light);
}
.testimonials-section .section-paragraph {
    color: rgba(255, 255, 255, 0.8);
}
.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
}

.testimonials-grid {
    display: flex;
    gap: 2.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
    padding: 1rem 0.5rem;
}

.testimonials-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.67rem);
    scroll-snap-align: start;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    font-family: var(--font-heading);
    color: rgba(217, 180, 110, 0.12);
    line-height: 1;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--secondary);
    transform: translateY(-8px);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: var(--secondary);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-content {
    font-size: 0.96rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    flex-grow: 1;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.2rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(217, 180, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
    font-family: var(--font-heading);
    font-size: 1rem;
}

.testimonial-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--light);
    margin: 0 0 0.15rem 0;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

/* Testimonials Navigation Controls */
.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonials-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(217, 180, 110, 0.3);
    background: rgba(255, 255, 255, 0.03);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonials-nav-btn svg {
    transition: transform 0.2s ease;
}

.testimonials-nav-btn:hover {
    border-color: var(--secondary);
    background-color: var(--secondary);
    color: var(--primary);
}

.testimonials-nav-btn.prev-btn:hover svg {
    transform: translateX(-2px);
}

.testimonials-nav-btn.next-btn:hover svg {
    transform: translateX(2px);
}

.testimonials-nav-btn:disabled {
    opacity: 0.25;
    pointer-events: none;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
}

/* Wide screen side arrows positioning */
@media (min-width: 1200px) {
    .testimonials-controls {
        position: static;
        margin-top: 0;
        display: block;
    }
    .testimonials-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .testimonials-nav-btn.prev-btn {
        left: -75px;
    }
    .testimonials-nav-btn.next-btn {
        right: -75px;
    }
    .testimonials-nav-btn.prev-btn:hover {
        transform: translateY(-50%) translateX(-3px);
    }
    .testimonials-nav-btn.next-btn:hover {
        transform: translateY(-50%) translateX(3px);
    }
}

@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 5rem 0;
    }
    .testimonials-grid {
        gap: 1.5rem;
    }
    .testimonial-card {
        flex: 0 0 100%;
        padding: 2.2rem 1.8rem;
    }
}

/* Modern CTA Section */
.modern-cta-section {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}
.modern-cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.modern-cta-content {
    padding-right: 2rem;
}
.modern-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.m-feat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}
.m-icon {
    color: var(--secondary);
    font-size: 1.2rem;
}
.modern-cta-visual {
    position: relative;
    border-radius: var(--radius-lg);
    border-top-right-radius: 120px;
    border-bottom-left-radius: 120px;
    overflow: visible;
}
.modern-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    display: block;
    border-radius: inherit;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.modern-glass-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--secondary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: floatCard 6s ease-in-out infinite;
}
.modern-glass-card:hover {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 45px rgba(58, 40, 30, 0.15);
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
.glass-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.modern-glass-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--dark);
}
.modern-glass-card p {
    font-size: 0.85rem;
    color: var(--dark);
    opacity: 0.8;
    margin: 0;
}

@media (max-width: 992px) {
    .modern-cta-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .modern-cta-content {
        padding-right: 0;
        text-align: center;
    }
    .modern-features-list {
        text-align: left;
    }
    .modern-cta-visual {
        margin-top: 2rem;
        border-radius: var(--radius-lg);
    }
    .modern-glass-card {
        left: 20px;
        right: 20px;
        bottom: -30px;
        max-width: calc(100% - 40px);
    }
}
@media (max-width: 576px) {
    .modern-features-list {
        grid-template-columns: 1fr;
    }
    .modern-glass-card {
        padding: 1.5rem;
    }
}

/* About Us Hero Section Styles */
.about-hero {
    position: relative;
    background-color: var(--dark);
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(58, 40, 30, 0.95) 45%, rgba(79, 85, 58, 0.75) 100%), url('../uploads/building_night.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.about-hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

.about-hero-content {
    color: var(--light);
}

.about-hero-tag {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.about-hero-title {
    font-size: 3.5rem;
    color: var(--light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.about-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.about-hero-features {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-feat-item {
    flex: 1;
}

.about-feat-title {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.about-feat-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-hero-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    border-top-right-radius: 120px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.about-hero-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -25px;
    left: -35px;
    background-color: var(--secondary);
    color: var(--dark);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 6px solid var(--dark);
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite;
}

.about-exp-year {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    text-align: center;
}

.about-exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Make it responsive */
@media (max-width: 991px) {
    .about-hero {
        padding: 6rem 0 4rem;
    }
    .about-hero-bg {
        background-image: linear-gradient(to bottom, rgba(58, 40, 30, 0.96) 60%, rgba(79, 85, 58, 0.85) 100%), url('../uploads/building_night.png');
    }
    .about-hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-hero-title {
        font-size: 2.8rem;
    }
    .about-hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    .about-experience-badge {
        bottom: -20px;
        left: -20px;
        width: 120px;
        height: 120px;
        border-width: 4px;
    }
}

/* Values/Presence Grid & Cards Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.presence-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(58, 40, 30, 0.04);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(79, 85, 58, 0.05);
}

.presence-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(58, 40, 30, 0.09);
    border-color: rgba(217, 180, 110, 0.3); /* gold hover outline */
}

.presence-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.presence-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(58, 40, 30, 0.15));
}

.presence-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.presence-card:hover .presence-img {
    transform: scale(1.08);
}

.presence-info {
    padding: 2.5rem 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.presence-title {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.presence-subtitle {
    font-size: 0.82rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.presence-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.presence-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.presence-icon {
    color: var(--secondary); /* gold star bullet */
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.presence-text {
    flex-grow: 1;
}

/* Responsive Presence Grid */
@media (max-width: 991px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .presence-info {
        padding: 2rem 1.8rem;
    }
}

/* Portfolio Intro (New Layout) */
.portfolio-intro-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

.portfolio-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.benefit-icon {
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.benefit-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.benefit-text p {
    font-size: 0.94rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Overlapping Images Design */
.portfolio-img-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 480px;
    margin: 0 auto;
}

.portfolio-img {
    position: absolute;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(58, 40, 30, 0.12);
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid var(--secondary); /* thin gold border */
}

.portfolio-img.img-back {
    top: 0;
    left: 20px;
    width: 290px;
    height: 380px; /* portrait view */
    z-index: 1;
}

.portfolio-img.img-front {
    bottom: 0;
    right: 20px;
    width: 250px;
    height: 330px; /* portrait view */
    z-index: 3;
    box-shadow: 0 20px 45px rgba(58, 40, 30, 0.22);
}

.portfolio-img-container:hover .portfolio-img.img-back {
    transform: translate(-12px, -12px) scale(1.02);
    z-index: 4; /* bring to front on hover */
    box-shadow: 0 25px 50px rgba(58, 40, 30, 0.25);
}

.portfolio-img-container:hover .portfolio-img.img-front {
    transform: translate(12px, 12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(58, 40, 30, 0.3);
}

/* Sleek Pill-Shaped Floating Badges */
.portfolio-badge {
    position: absolute;
    background-color: var(--primary); /* Olive Green */
    color: var(--secondary); /* Warm Gold */
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(58, 40, 30, 0.18);
    border: 1.5px solid rgba(217, 180, 110, 0.3);
    z-index: 10;
    transition: all 0.4s ease;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: inline-block;
    box-shadow: 0 0 8px var(--secondary);
}

/* Position top-left pill on back image */
.portfolio-badge.badge-top {
    top: 30px;
    left: -15px;
}

/* Position bottom-right pill on front image */
.portfolio-badge.badge-bottom {
    bottom: 30px;
    right: -15px;
}

.portfolio-img-container:hover .portfolio-badge {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(58, 40, 30, 0.25);
}

/* Responsive Portfolio Layout */
@media (max-width: 991px) {
    .portfolio-intro-container {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }
    .portfolio-img-container {
        height: 440px;
        max-width: 440px;
        margin: 0 auto;
    }
    .portfolio-img.img-back {
        width: 260px;
        height: 340px;
        left: 10px;
    }
    .portfolio-img.img-front {
        width: 220px;
        height: 290px;
        right: 10px;
    }
    .portfolio-badge.badge-top {
        left: -10px;
        top: 20px;
    }
    .portfolio-badge.badge-bottom {
        right: -10px;
        bottom: 20px;
    }
}

/* Floating Social & Communication Widgets */
.floating-social-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(58, 40, 30, 0.15);
    border: 1px solid var(--gray-light);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--primary);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.15) translateX(-5px);
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(79, 85, 58, 0.25);
}

.social-btn:hover svg {
    transform: rotate(8deg);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #ffffff;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
}

/* Tooltip style */
.social-btn::before, .whatsapp-float::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    background-color: var(--dark);
    color: var(--light);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.social-btn:hover::before, .whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

/* Responsive adjustment so it doesn't clutter mobile screen */
@media (max-width: 768px) {
    .floating-social-sidebar {
        right: 12px;
        gap: 8px;
    }
    .social-btn {
        width: 42px;
        height: 42px;
    }
    .social-btn svg {
        width: 18px;
        height: 18px;
    }
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    /* Hide tooltips on mobile to avoid layout clipping */
    .social-btn::before, .whatsapp-float::before {
        display: none !important;
    }
}
