/* Doctor J Premium Dental Care - Main Stylesheet */
/* Design System & Variables */

:root {
    /* Premium Color Palette */
    --primary: #2d8735;
    --primary-dark: #2d8735;
    --primary-light: #0E9AA3;
    --secondary: #E8F4F4;
    --accent: #FFB84D;
    --accent-hover: #FFA826;

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #FAFBFC;
    --gray-100: #F5F7FA;
    --gray-200: #E9ECF1;
    --gray-300: #D3D9E3;
    --gray-400: #B8C2D3;
    --gray-500: #8896AB;
    --gray-600: #5D6B81;
    --gray-700: #3E4A5C;
    --gray-800: #2A3342;
    --gray-900: #1A202C;
    --black: #0A0E1A;

    /* Typography */
    --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', 'Georgia', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(10, 14, 26, 0.08);
    --shadow-md: 0 4px 6px rgba(10, 14, 26, 0.06), 0 1px 3px rgba(10, 14, 26, 0.08);
    --shadow-lg: 0 10px 25px rgba(10, 14, 26, 0.08), 0 4px 10px rgba(10, 14, 26, 0.04);
    --shadow-xl: 0 20px 40px rgba(10, 14, 26, 0.1), 0 8px 16px rgba(10, 14, 26, 0.06);
    --shadow-2xl: 0 30px 60px rgba(10, 14, 26, 0.15), 0 12px 24px rgba(10, 14, 26, 0.08);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-index */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 50;
    --z-overlay: 100;
    --z-modal: 200;
    --z-notification: 300;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: var(--z-sticky);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

/* ── Logo ── */
.nav-brand {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo:hover .logo-main { color: var(--primary); }

.logo-icon {
    width: 38px;
    height: 38px;
    color: var(--primary);
    flex-shrink: 0;
}

.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    transition: color 0.2s;
    white-space: nowrap;
}

.logo-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 3px;
    white-space: nowrap;
}

/* ── Nav Menu ── */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 11px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.1px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(45, 135, 53, 0.06);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(45, 135, 53, 0.08);
}

.nav-link .fa-chevron-down {
    font-size: 0.65rem;
    opacity: 0.7;
    transition: transform 0.2s;
}

.nav-item:hover .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}

/* ── Dropdown ── */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 230px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    border-radius: 9px;
    color: var(--gray-700);
    font-size: 0.87rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(45, 135, 53, 0.07);
    color: var(--primary);
}

.dropdown-item i {
    width: 18px;
    font-size: 0.85rem;
    color: var(--primary);
    opacity: 0.85;
    flex-shrink: 0;
}

/* ── Nav Actions ── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-divider {
    width: 1px;
    height: 22px;
    background: var(--gray-200);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--gray-600);
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-phone:hover {
    color: var(--primary);
}

.nav-phone i {
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(45, 135, 53, 0.1);
    padding: 7px;
    border-radius: 50%;
}

/* ── Mobile Toggle ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-toggle:hover {
    background: var(--gray-100);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.25s ease;
    display: block;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(10, 123, 131, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 123, 131, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-nav {
    padding: 9px 20px;
    background: linear-gradient(135deg, #2d8735, #1e6b25);
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 10px rgba(45, 135, 53, 0.35);
    border-radius: var(--radius-full);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-nav:hover {
    background: linear-gradient(135deg, #1e6b25, #155120);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 135, 53, 0.45);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 20s linear infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 40%,
            rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding-top: 72px;
    /* Offset for navbar */
}

/* Enhancing typography for premium feel */
.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-700);
}

/* Adjust visual elements if needed for new layout */
.hero-visual {
    /* Hide the old static image visual if we rely on the bg now, 
       BUT the user asked for bg images. 
       We might want to keep the floating cards but remove the main image frame?
       Let's keep the existing right-side visual for now as it adds 'structure' 
       or we can simplify it. 
       The current right side has an image frame. Let's make it floaty transparent 
       or just keep the cards.
       For now, let's keep the content layout as is but refined.
    */
    display: block;
    /* Ensure it stays visible */
}

/* Frame removed as requested */
.hero-image-frame {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

/* Restored & Enhanced Hero Elements */
.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: var(--spacing-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 5;
    white-space: nowrap;
}

.floating-card i {
    color: var(--primary);
    font-size: 1.25rem;
    background: rgba(45, 135, 53, 0.1);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-1 {
    top: 15%;
    left: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40%;
    right: -50px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 5%;
    left: 0;
    animation-delay: 4s;
}

/* Sections */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 123, 131, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--gray-100);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    min-width: 140px;
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.experience-badge .text {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 8px;
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.credential {
    padding: 6px 14px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
}

.about-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.expertise-areas {
    margin-bottom: var(--spacing-xl);
}

.expertise-areas h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.expertise-item i {
    color: var(--primary);
    font-size: 1.125rem;
}

.doctor-quote {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(10, 123, 131, 0.05), rgba(10, 123, 131, 0.02));
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.8;
}

.doctor-quote cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: var(--spacing-sm);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(10, 123, 131, 0.02), transparent);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(10, 123, 131, 0.1), rgba(10, 123, 131, 0.05));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.service-features {
    margin-bottom: var(--spacing-md);
}

.service-features li {
    padding: 8px 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 24px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 12px;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, var(--secondary), rgba(232, 244, 244, 0.3));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-lg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    background: var(--gray-100);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-md);
}

.stars i {
    color: var(--accent);
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--gray-900);
}

.author-title {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Appointment Section */
.appointment {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.appointment-info .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.appointment-info .section-title {
    color: var(--white);
}

.appointment-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.contact-info {
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-item span {
    color: var(--white);
    font-size: 1.125rem;
}

.office-hours h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.hours-grid {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-row:last-child {
    border-bottom: none;
}

/* Appointment Form */
.appointment-form-wrapper {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 123, 131, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Booking Portal Card */
.booking-portal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.booking-portal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(45,135,53,0.3);
}

.booking-portal-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--gray-900);
    font-weight: 700;
    margin-bottom: 14px;
}

.booking-portal-desc {
    font-size: 0.97rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 420px;
}

.booking-portal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-portal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.93rem;
    color: var(--gray-700);
}

.booking-portal-features li i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.booking-portal-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding: 16px 28px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.booking-portal-alt {
    font-size: 0.87rem;
    color: var(--gray-500);
    margin: 0;
}

.booking-portal-alt a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.booking-portal-alt a:hover {
    text-decoration: underline;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: var(--spacing-lg);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: var(--spacing-3xl) 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* Footer */
/* ── Footer ── */
.footer {
    background: linear-gradient(160deg, #0f2a16 0%, #0c2028 100%);
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    position: relative;
}

.footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #2d8735, #0E9AA3 50%, #2d8735);
}

.footer-top {
    padding: 72px 0 60px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.5fr 1.2fr 1.8fr;
    gap: 52px;
}

/* Brand column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
}

.footer-logo .logo-main {
    color: var(--white);
    font-size: 1.35rem;
}

.footer-logo .logo-sub {
    color: rgba(255,255,255,0.4);
    font-size: 0.67rem;
    letter-spacing: 1.2px;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    margin-bottom: 22px;
    max-width: 300px;
}

.footer-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2d8735, #1e6b25);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 26px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(45,135,53,0.35);
    white-space: nowrap;
}

.footer-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,135,53,0.5);
}

/* Social icons */
.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Column headings */
.footer-title {
    color: var(--white);
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.855rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a::before {
    content: '›';
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

/* Contact column */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.footer-contact .contact-item i {
    width: 34px;
    height: 34px;
    background: rgba(45,135,53,0.14);
    color: #4caf67;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
    border: 1px solid rgba(45,135,53,0.2);
}

.footer-contact .contact-item p {
    margin: 0;
    font-size: 0.855rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.65;
}

.footer-contact .contact-item a {
    color: rgba(255,255,255,0.58);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact .contact-item a:hover {
    color: white;
}

/* Footer bottom bar */
.footer-bottom {
    padding: 18px 0;
    background: rgba(0,0,0,0.25);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright p,
.developer-credit p {
    font-size: 0.79rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

.developer-credit a {
    color: rgba(45,135,53,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.developer-credit a:hover {
    color: #4caf67;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.79rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: rgba(255,255,255,0.75);
}

.separator {
    color: rgba(255,255,255,0.15);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-sticky);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    z-index: var(--z-sticky);
}

.whatsapp-float:hover {
    background: #22c55e;
    transform: scale(1.1);
    box-shadow: var(--shadow-2xl);
}

/* Hide phone text on medium screens to save space */
@media (max-width: 1200px) {
    .nav-phone span { display: none; }
    .nav-divider { display: none; }
    .nav-phone { gap: 0; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 72px);
        background: var(--white);
        flex-direction: column;
        padding: 24px 20px;
        box-shadow: none;
        transition: left 0.3s ease;
        align-items: flex-start;
        overflow-y: auto;
        gap: 4px;
    }

    .nav-menu.active {
        left: 0;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        z-index: 60;
    }

    .nav-toggle span {
        background: var(--gray-700);
    }

    .nav-actions {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .appointment-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: space-around;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom-links {
        gap: 14px;
    }
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
    padding: 96px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item.open {
    box-shadow: 0 6px 24px rgba(45,135,53,0.1);
    border-color: rgba(45,135,53,0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: color 0.25s;
}

.faq-question:hover,
.faq-item.open .faq-question {
    color: var(--primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(45,135,53,0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: background 0.25s, transform 0.3s;
}

.faq-item.open .faq-icon {
    background: var(--primary);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s;
}

.faq-answer p {
    padding: 0 28px 22px;
    font-size: 0.94rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin: 0;
}

.faq-answer p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero {
        padding-top: 100px;
    }

    .floating-card {
        display: none;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}