/*
 * Nutri-Talk Main Stylesheet
 * Brand colors: Earthy green, Sage, Terracotta, Cream/Beige
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #2E7D32;      /* Vibrant Forest/Leaf Green */
    --color-primary-light: #388E3C;/* Lighter Forest Green */
    --color-secondary: #81C784;    /* Light Green Accent */
    --color-secondary-light: #E8F5E9; /* Very Light Green Tint */
    --color-accent: #FBC02D;       /* Warm Sunny Yellow */
    --color-accent-hover: #F5B000; /* Darker Sunny Yellow */
    --color-bg: #FAFBFA;           /* Clean Off-white/Cream */
    --color-bg-card: #ffffff;
    --color-text: #1E2B22;         /* Dark Green-Charcoal */
    --color-text-light: #4A5A4E;   /* Muted Green-Charcoal */
    --color-border: #E8EFE9;       /* Light Sage Border */
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(59, 140, 102, 0.04);
    --shadow-md: 0 8px 24px rgba(59, 140, 102, 0.06);
    --shadow-lg: 0 16px 40px rgba(59, 140, 102, 0.1);
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: var(--radius-full);
}

h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 0.5rem;
}

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

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--color-accent);
    color: #ffffff;
}

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

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
}

/* Header & Nav */
header.site-header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

header.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    background-color: rgba(252, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

/* Transparent Header State (when on top of Hero) */
header.site-header:not(.scrolled) .logo a {
    color: var(--color-accent);
}
header.site-header:not(.scrolled) .logo-icon {
    fill: var(--color-accent);
}
header.site-header:not(.scrolled) .nav-link {
    color: #000000;
}
header.site-header:not(.scrolled) .nav-link::after {
    background-color: var(--color-accent);
}
header.site-header:not(.scrolled) .nav-link:hover, 
header.site-header:not(.scrolled) .nav-link.active {
    color: var(--color-accent);
}

/* Yellow hamburger button on dark homepage hero when header is transparent */
body:has(.hero) header.site-header:not(.scrolled) .nav-toggle span {
    background-color: var(--color-accent);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: color var(--transition-smooth);
}

.logo-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
    transition: fill var(--transition-smooth);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #000000;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
}

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

.btn-nav-cta {
    border-radius: var(--radius-full) !important;
    padding: 0.6rem 1.4rem !important;
    font-size: 0.9rem !important;
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    transition: var(--transition-smooth) !important;
}

.btn-nav-cta:hover {
    background-color: var(--color-accent) !important;
    color: var(--color-text) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
}


.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #000000;
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    width: 100%;
    text-align: left;
}

.hero-eyebrow {
    display: block;
    font-family: var(--font-body);
    color: var(--color-accent);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white svg {
    transition: transform var(--transition-smooth);
}

.btn-outline-white:hover svg {
    transform: scale(1.1);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 34, 20, 0.8) 0%, rgba(15, 34, 20, 0.55) 50%, rgba(15, 34, 20, 0.3) 100%);
    z-index: 5;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Section Common Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

/* Page Heroes Styling */
.about-page-hero,
.services-page-hero,
.blogs-page-hero,
.contact-page-hero {
    position: relative;
    padding: 8rem 0 6rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-secondary-light);
}

.about-page-hero::before,
.services-page-hero::before,
.blogs-page-hero::before,
.contact-page-hero::before {
    display: none;
}

.about-page-hero .container,
.services-page-hero .container,
.blogs-page-hero .container,
.contact-page-hero .container {
    position: relative;
    z-index: 2;
}

.about-page-hero,
.services-page-hero,
.blogs-page-hero,
.contact-page-hero {
    background-color: var(--color-secondary-light); /* Clean pastel sage green background */
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-graphics {
    position: relative;
}

.about-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

.about-profile {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background-color: var(--color-secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 3rem;
    color: var(--color-primary);
    border: 3px solid var(--color-primary);
}

.about-name {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.about-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    font-weight: 600;
}

.about-bio {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.credentials-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.credentials-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.credentials-list li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    fill: var(--color-secondary);
}

/* Services Section */
/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.service-img-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-smooth);
}

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

.service-card-content {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.service-accent-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background-color: var(--color-secondary-light);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-accent-icon svg {
    width: 18px;
    height: 18px;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-primary);
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    transition: var(--transition-fast);
    align-self: flex-start;
}

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

/* Why Choose Us Section */
.why-us {
    background-color: var(--color-secondary-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-us-feature {
    display: flex;
    gap: 1.25rem;
}

.why-us-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.why-us-feature-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.why-us-feature-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.why-us-feature-text p {
    font-size: 0.95rem;
    margin: 0;
}

.why-us-image-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--color-border);
}

.why-us-image-card h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials-carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform var(--transition-smooth);
}

.testimonial-card {
    min-width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.testimonial-bubble {
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transform: rotate(45deg);
}

.testimonial-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 45px;
}

.testimonial-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: var(--color-secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
    font-family: var(--font-body);
}

.testimonial-author-info p {
    font-size: 0.8rem;
    margin: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: #ffffff;
    border: 1px solid var(--color-border);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    color: var(--color-primary);
}

.carousel-btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: var(--color-border);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--color-accent);
    width: 20px;
}

/* Contact Section & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
}

.contact-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--color-secondary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-item-text h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-body);
}

.contact-item-text p, .contact-item-text a {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
}

.contact-item-text a:hover {
    color: var(--color-accent);
}

.map-wrapper {
    width: 100%;
    height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form-panel {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
}

.form-control {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
    color: var(--color-text);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(115, 144, 114, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Captcha & HoneyPot styling */
.hp-field {
    display: none !important;
    visibility: hidden !important;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.captcha-box {
    background-color: var(--color-secondary-light);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    letter-spacing: 2px;
    user-select: none;
    border: 1px dashed var(--color-secondary);
}

.captcha-input-group {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Form status feedback */
.form-status {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #e2f0d9;
    color: #385723;
    border: 1px solid #c5e1b2;
}

.form-status.error {
    display: block;
    background-color: #fce4d6;
    color: #c65911;
    border: 1px solid #f8cbad;
}

/* Footer Section */
footer.site-footer {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 3rem 0 1.5rem 0;
    font-size: 0.95rem;
}

footer.site-footer p {
    color: rgba(255, 255, 255, 0.7);
}

footer.site-footer h3, footer.site-footer h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

footer.site-footer h4::after {
    display: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links-list a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-hours-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.footer-hours-day {
    font-weight: 500;
}

.footer-hours-time {
    color: rgba(255, 255, 255, 0.7);
}

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

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

.admin-login-link {
    display: inline-block;
    transition: var(--transition-fast);
}

.admin-login-link:hover svg {
    opacity: 1 !important;
    color: var(--color-accent) !important;
}

/* Animations */
@keyframes blob-morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    50% {
        border-radius: 60% 40% 50% 50% / 50% 60% 40% 60%;
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Fade in Scroll reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   Admin Dashboard Styles
   ========================================================================== */
.admin-body {
    background-color: #f7f9f6;
    margin: 0;
    font-family: var(--font-body);
}

.admin-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    background-color: var(--color-primary);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 4px 0 10px rgba(59, 140, 102, 0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.admin-nav-toggle {
    display: none;
}

.admin-sidebar-overlay {
    display: none;
}

.admin-sidebar-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
}

.admin-sidebar-header h3 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.admin-sidebar-header p {
    color: var(--color-secondary);
    font-size: 0.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.sidebar-link:hover {
    background-color: rgba(255,255,255,0.08);
    color: #ffffff;
}

/* Main Area */
.admin-main {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-x: auto;
}

.admin-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 1.5rem;
}

.admin-header-bar h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.admin-header-bar h2::after {
    display: none;
}

.admin-user-info {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.admin-content-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Admin Table styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th, .admin-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.admin-table th {
    background-color: var(--color-secondary-light);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-table td {
    font-size: 0.95rem;
}

.admin-table-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.admin-table-excerpt {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-light);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        height: auto;
        min-height: 85vh;
        padding: 120px 0 60px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-description {
        margin: 0 auto 2rem auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-overlay {
        background: rgba(15, 34, 20, 0.7); /* Slightly darker overlay for mobile contrast */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* Admin Sidebar Slide Drawer Layout on Mobile/Tablets */
    .admin-wrapper {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px;
        height: 100vh;
        z-index: 10000;
        transform: translateX(-100%);
        transition: transform var(--transition-smooth);
        display: flex;
        flex-direction: column;
        border-right: 1px solid rgba(255,255,255,0.05);
        border-bottom: none;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-sidebar-header {
        margin-bottom: 3rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 1.5rem;
    }
    
    .admin-sidebar-header h3 {
        font-size: 1.5rem;
    }
    
    .admin-sidebar-header p {
        display: block;
        font-size: 0.8rem;
    }
    
    .admin-sidebar-menu {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 0;
        width: 100%;
        height: 100%;
        justify-content: flex-start;
    }
    
    .sidebar-link {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        flex-direction: row;
        gap: 0.75rem;
        color: rgba(255,255,255,0.75) !important;
        background-color: transparent !important;
    }

    .sidebar-link:hover {
        background-color: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }

    .admin-main {
        padding: 1.5rem;
    }

    /* Floating Hamburger Button for Admin */
    .admin-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10001;
        padding: 0;
        position: fixed;
        top: 30px;
        left: 20px;
    }
    
    .admin-nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--color-primary);
        border-radius: 2px;
        transition: var(--transition-smooth);
    }
    
    .admin-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: #ffffff;
    }
    
    .admin-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .admin-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color: #ffffff;
    }
    
    .admin-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 9999;
        display: none;
        backdrop-filter: blur(2px);
    }
    
    .admin-sidebar-overlay.active {
        display: block;
    }
    
    .admin-header-bar {
        padding-left: 45px; /* Space for fixed hamburger button */
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-bg);
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        transition: var(--transition-smooth);
        z-index: 999;
        box-shadow: var(--shadow-md);
        gap: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .admin-main {
        padding: 1.25rem;
    }
    
    .admin-content-card {
        padding: 1.25rem; /* Maximize writing screen space on mobile */
        border-radius: var(--radius-sm);
    }
    
    .admin-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-bottom: 1rem;
    }
    
    .admin-header-bar h2 {
        font-size: 1.35rem;
    }

    /* Make admin table scrollable on small mobile screens */
    .admin-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   Blog & Grid Styles
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.blog-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.blog-card-image-box {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background-color: var(--color-secondary-light);
    position: relative;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    opacity: 0.6;
}

.blog-card-img-placeholder svg {
    width: 60px;
    height: 60px;
    fill: currentColor;
}

.blog-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-btn {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.blog-card-btn:hover {
    color: var(--color-primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition-fast);
    background-color: #ffffff;
}

.page-link:hover, .page-link.active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

@media (max-width: 992px) {
    .admin-wrapper {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        padding: 1.5rem;
    }
    
    .admin-sidebar-header {
        margin-bottom: 1.5rem;
    }
}

/* Floating WhatsApp & Booking Action Buttons */
.booking-float-card {
    position: fixed;
    bottom: 102px;
    right: 30px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #388E3C 100%);
    color: #ffffff !important;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.4);
    z-index: 999;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.booking-float-card:hover {
    background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
    color: var(--color-accent) !important;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.55);
    border-color: var(--color-accent);
}

.booking-float-card .calendar-icon {
    flex-shrink: 0;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

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

@media (max-width: 768px) {
    .booking-float-card {
        bottom: 82px;
        right: 20px;
        padding: 0.55rem 1rem;
        font-size: 0.88rem;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 769px) {
    .order-md-1 {
        order: 1;
    }
    .order-md-2 {
        order: 2;
    }
}

/* Language switcher button and typography overrides */
body.lang-si {
    --font-heading: 'Noto Sans Sinhala', 'Playfair Display', Georgia, serif;
    --font-body: 'Noto Sans Sinhala', 'Poppins', system-ui, -apple-system, sans-serif;
    letter-spacing: 0px !important;
}

body.lang-si h1, 
body.lang-si h2, 
body.lang-si h3, 
body.lang-si h4, 
body.lang-si h5, 
body.lang-si h6, 
body.lang-si p, 
body.lang-si span, 
body.lang-si a, 
body.lang-si button, 
body.lang-si input, 
body.lang-si select, 
body.lang-si textarea {
    line-height: 1.8;
}

/* Adjust font sizes for Sinhala readability as Noto Sans Sinhala is naturally larger */
body.lang-si {
    font-size: 0.95rem;
}
body.lang-si h1 {
    font-size: 2.15rem;
}
body.lang-si h2 {
    font-size: 1.75rem;
}
body.lang-si h3 {
    font-size: 1.4rem;
}
body.lang-si .hero-content h1 {
    font-size: 3.1rem;
}
body.lang-si .hero-description {
    font-size: 1rem;
}
body.lang-si .nav-link {
    font-size: 0.85rem;
}
body.lang-si .btn {
    font-size: 0.85rem;
}

.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    transition: var(--transition-fast);
    background-color: transparent;
    color: var(--color-text-light);
    font-weight: 500;
}

.lang-toggle-btn::after {
    display: none !important;
}

.lang-toggle-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background-color: var(--color-secondary-light);
}

.lang-toggle-btn svg.globe-icon {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.lang-toggle-btn:hover svg.globe-icon {
    transform: rotate(15deg);
}

@media (max-width: 991px) {
    .nav-lang-item {
        margin: 0.5rem 0;
    }
    .lang-toggle-btn {
        justify-content: center;
        width: 100%;
        border-color: rgba(255, 255, 255, 0.2);
        color: white;
    }
    .lang-toggle-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: white;
        color: white;
    }
}

/* ==========================================
   APPOINTMENT BOOKING SYSTEM STYLES
   ========================================== */

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}
.badge-ongoing {
    background-color: #E3F2FD;
    color: #1565C0;
    border: 1px solid #BBDEFB;
}
.badge-completed {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}
.badge-confirmed {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}
.badge-pending {
    background-color: #FFF8E1;
    color: #F57C00;
    border: 1px solid #FFE082;
}
.badge-draft {
    background-color: #ECEFF1;
    color: #546E7A;
    border: 1px solid #CFD8DC;
}
.badge-cancelled {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* Booking Cards */
.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.booking-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.booking-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.booking-card:hover::before {
    opacity: 1;
}
.booking-card.confirmed::before {
    background-color: #2E7D32;
    opacity: 1;
}
.booking-card.pending::before {
    background-color: #FBC02D;
    opacity: 1;
}
.booking-card.draft::before {
    background-color: #90A4AE;
    opacity: 1;
}
.booking-card.cancelled::before {
    background-color: #E53935;
    opacity: 1;
}

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.5rem;
}
.booking-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}
.booking-card-meta {
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}
.booking-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.booking-card-meta-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}
.booking-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

/* Dashboard Tabs */
.tab-container {
    margin-top: 2rem;
}
.tab-buttons {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}
.tab-button {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-light);
    cursor: pointer;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-fast);
}
.tab-button::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform var(--transition-fast);
}
.tab-button.active {
    color: var(--color-primary);
}
.tab-button.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.tab-content {
    min-height: 200px;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Booking Form Steps and Premium Inputs */
.booking-form-container {
    max-width: 700px;
    margin: 3rem auto;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}
.booking-form-title {
    margin-bottom: 2rem;
    text-align: center;
}
.booking-form-step {
    display: none;
}
.booking-form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
.form-step-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}
.form-step-indicators::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-border);
    z-index: 1;
    transform: translateY(-50%);
}
.form-step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--color-border);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    transition: all var(--transition-fast);
}
.form-step-indicator.active {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
    color: white;
    box-shadow: 0 0 0 4px var(--color-secondary-light);
}
.form-step-indicator.completed {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: white;
}

/* Admin Dashboard Table */
.admin-table-container {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-top: 1.5rem;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.admin-table th {
    background-color: var(--color-secondary-light);
    color: var(--color-primary);
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}
.admin-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text);
    vertical-align: middle;
}
.admin-table tr:last-child td {
    border-bottom: none;
}
.admin-table tr:hover {
    background-color: var(--color-bg);
}

.capacity-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}
.capacity-indicator.full {
    background-color: #FFEBEE;
    color: #C62828;
}
.capacity-indicator.available {
    background-color: #E8F5E9;
    color: #2E7D32;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   MOBILE & TABLET RESPONSIVENESS MEDIA QUERIES
   ========================================== */

/* Global Mobile Fixes */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
img {
    max-width: 100%;
    height: auto;
}
input, select, textarea, button, .btn, .nav-link, .saas-menu-link {
    min-height: 44px;
}
.ql-toolbar button, .ql-toolbar select, .ql-toolbar span, .ql-toolbar input,
.ql-container button, .ql-container select, .ql-container span, .ql-container input {
    min-height: 0 !important;
}
input[type="file"] {
    min-height: auto;
}
a, button, .btn, [role="button"], input[type="submit"], input[type="button"] {
    touch-action: manipulation;
}

@media (max-width: 768px) {
    /* Navbar Drawer & Overlay */
    header.site-header {
        background-color: transparent !important;
        box-shadow: none !important;
        border-bottom: 1px solid transparent !important;
        height: 70px !important;
    }
    header.site-header.scrolled {
        background-color: rgba(252, 251, 247, 0.98) !important;
        box-shadow: var(--shadow-sm) !important;
        border-bottom: 1px solid var(--color-border) !important;
    }
    .nav-container {
        height: 70px !important;
    }
    header.site-header:not(.scrolled) .logo a,
    header.site-header.scrolled .logo a {
        color: var(--color-accent) !important;
    }
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1002;
        width: 44px;
        height: 44px;
        position: relative;
    }
    .nav-toggle span {
        background-color: var(--color-accent) !important;
        width: 24px;
        height: 2px;
        margin: 4px 0;
        display: block;
        transition: var(--transition-smooth);
    }
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(15, 34, 20, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5.5rem 1.5rem 2rem 1.5rem;
        gap: 0.75rem;
        z-index: 1001;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu li {
        width: 100%;
    }
    .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        font-size: 1.05rem;
        color: var(--color-text) !important;
        border-bottom: 1px solid var(--color-border);
        padding: 0.5rem 0.25rem;
    }
    .nav-link::after {
        display: none !important;
    }
    .nav-lang-item {
        order: -1;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0.5rem;
    }
    .lang-toggle-btn {
        width: 100%;
        background-color: var(--color-secondary-light) !important;
        color: var(--color-primary) !important;
        border: 1px solid var(--color-primary) !important;
        justify-content: center;
        min-height: 44px;
        border-radius: var(--radius-sm) !important;
    }
    .btn-nav-cta {
        order: -2;
        width: 100%;
        margin-bottom: 1rem;
        text-align: center;
        justify-content: center;
        font-size: 1.05rem !important;
        padding: 0.8rem 1.8rem !important;
        border-radius: var(--radius-sm) !important;
    }
    body.nav-open {
        overflow: hidden;
    }

    /* Hero Section Stacked Column Layout */
    .hero {
        height: auto !important;
        min-height: 60vh !important;
        padding: 7.5rem 0 3.5rem 0 !important;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-content h1 {
        font-size: clamp(28px, 6.5vw, 42px) !important;
        margin-bottom: 1rem !important;
    }
    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 1.75rem !important;
        max-width: 100%;
        line-height: 1.6;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.8rem;
    }
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }
    .hero-slide img {
        height: 100% !important;
        object-fit: cover;
    }

    /* Grids & Cards Stack Layouts */
    .about-grid, .why-us-grid, .order-md-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .about-grid > div,
    .why-us-grid > div {
        order: initial !important;
    }
    .about-graphics,
    .why-us-graphics {
        order: -1 !important;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    .about-card {
        padding: 1.75rem 1.25rem !important;
    }
    .why-us-image-card {
        padding: 2rem 1.25rem !important;
    }
    .why-us-feature {
        gap: 1rem;
    }
    
    /* Services View Stacked */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Blog Views Stacked */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .blog-card {
        flex-direction: column !important;
    }
    .blog-card-image-box {
        width: 100% !important;
        height: 200px !important;
    }
    .blog-single-header h1 {
        font-size: 1.85rem !important;
        margin-bottom: 1.5rem !important;
    }
    .blog-single-content {
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }
    .blog-single-cta {
        padding: 2rem 1.25rem !important;
    }

    /* Appointment Booking Form Flow */
    .booking-form-container {
        padding: 1.5rem 1.25rem !important;
        margin: 1.5rem auto !important;
        border-radius: var(--radius-md) !important;
        box-shadow: var(--shadow-md) !important;
    }
    .form-step-indicators {
        margin-bottom: 1.5rem !important;
    }
    .booking-form-step h3 {
        font-size: 1.2rem !important;
        margin-bottom: 1.25rem !important;
    }
    .booking-form-step label {
        font-size: 0.9rem !important;
    }
    
    /* Admin Off-Canvas & Hamburger styles */
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        width: 260px;
        height: 100vh;
        z-index: 1001;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        background-color: var(--color-primary);
        padding: 1.5rem !important;
    }
    .admin-sidebar.active {
        left: 0;
    }
    .admin-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 1000;
    }
    .admin-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .admin-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        background-color: var(--color-primary);
        border: none;
        border-radius: 8px;
        z-index: 1002;
        cursor: pointer;
        box-shadow: var(--shadow-sm);
    }
    .admin-nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #ffffff;
        margin: 4px 0;
        transition: 0.3s;
    }
    .admin-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .admin-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .admin-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    .admin-main {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 5rem 1rem 2rem 1rem !important;
    }
    .admin-header-bar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start !important;
        margin-bottom: 1.5rem !important;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--color-border);
    }
    .admin-header-bar h2 {
        font-size: 1.5rem !important;
    }
    .admin-content-card {
        padding: 1.5rem 1rem !important;
    }

    /* Admin Table to Stacked Card View Transformation */
    .admin-table-container {
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    .admin-table, .admin-table thead, .admin-table tbody, .admin-table th, .admin-table td, .admin-table tr {
        display: block;
    }
    .admin-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .admin-table tr {
        background: #ffffff;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
        margin-bottom: 1.25rem;
        padding: 1rem 1rem 0.5rem 1rem;
        box-shadow: var(--shadow-sm);
    }
    .admin-table td {
        border: none;
        border-bottom: 1px solid #f2f6f3;
        padding: 0.6rem 0;
        font-size: 0.9rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 40px;
        text-align: right;
        white-space: normal !important;
        word-break: break-word;
    }
    .admin-table td > div {
        text-align: right !important;
        max-width: 65%;
        word-break: break-word;
        white-space: normal !important;
    }
    .admin-table td:last-child {
        border-bottom: none;
    }
    .admin-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--color-primary);
        text-align: left;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    /* Modals become full screen / near full screen on mobile */
    .modal-content, .admin-modal-content {
        width: 95% !important;
        max-width: 100% !important;
        margin: 1rem auto !important;
        padding: 1.5rem !important;
        border-radius: var(--radius-md) !important;
    }
}

/* Hero Section Mobile Language Dropdown */
.hero-lang-dropdown-mobile {
    display: none;
    margin-bottom: 1.25rem;
}

.hero-lang-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 0.4rem 1.75rem 0.4rem 0.85rem;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-lang-select-wrapper:hover,
.hero-lang-select-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--color-accent);
}

.hero-lang-select-wrapper .globe-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.hero-lang-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.hero-lang-select-wrapper select option {
    background-color: #1E2B22;
    color: #ffffff;
    font-size: 0.95rem;
    padding: 0.5rem;
}

.hero-lang-select-wrapper .chevron-icon {
    position: absolute;
    right: 0.75rem;
    color: #ffffff;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-lang-dropdown-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 1.25rem;
    }
}




