:root {
    /* Sophisticated HSL-based Palette */
    --primary-h: 204;
    --primary-s: 89%;
    --primary-l: 57%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-hover: hsl(var(--primary-h), var(--primary-s), 45%);
    --primary-light: hsl(var(--primary-h), var(--primary-s), 95%);
    
    --secondary-h: 145;
    --secondary-s: 48%;
    --secondary-l: 56%;
    --secondary: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));
    
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    
    --radius-xl: 32px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --shadow-premium: 0 20px 50px -12px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
    
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-blur: blur(20px);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

p { margin-bottom: 16px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-small { font-size: 0.875rem; }
.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }
.mt-3 { margin-top: 16px; }
.mt-2 { margin-top: 8px; }
.mt-1 { margin-top: 4px; }
.mr-3 { margin-right: 16px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-large { padding: 14px 32px; font-size: 1.1rem; }
.btn-small { padding: 8px 16px; font-size: 0.875rem; }

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(46, 163, 242, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 163, 242, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(91, 194, 139, 0.3);
}
.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

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

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

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(46, 163, 242, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.badge-secondary {
    background-color: rgba(91, 194, 139, 0.1);
    color: var(--secondary);
}

/* Glass Card & Section Polish */
.glass-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(241, 245, 249, 1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Entrance Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.reveal {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-delay-1 { animation-delay: 0.2s; }
.reveal-delay-2 { animation-delay: 0.4s; }
.reveal-delay-3 { animation-delay: 0.6s; }

/* Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    padding: 16px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

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

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-weight: 500;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    position: fixed;
    top: 90px; /* Adjust based on navbar height */
    left: 0;
    width: 100%;
    background: var(--bg-main);
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
}
.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
    color: var(--text-dark);
}

/* Floating Buttons */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-call {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(46, 163, 242, 0.4);
    z-index: 100;
    transition: var(--transition);
    animation: pulse-blue 2s infinite;
}
.floating-call:hover {
    transform: scale(1.1);
}
@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(46, 163, 242, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(46, 163, 242, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 163, 242, 0); }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.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.7) 50%, rgba(255,255,255,0) 100%);
}
.hero-content {
    max-width: 600px;
}
.hero p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: #475569;
}
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Services */
.section-header {
    max-width: 600px;
    margin: 0 auto 50px auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 163, 242, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
.service-card h3 {
    margin-bottom: 0;
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}
.feature-list i {
    margin-top: 4px;
}
.about-image {
    position: relative;
}
.image-wrapper img {
    border-radius: var(--radius-md);
    width: 100%;
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 16px;
}
.experience-badge .number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}
.experience-badge .text {
    font-weight: 500;
    line-height: 1.2;
}

/* Dentist Section */
.dentist-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}
.dentist-image img {
    width: 350px;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.degree {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}
.experience {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 16px;
}
.expertise-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}
.expertise-list li {
    display: inline-flex;
    align-items: center;
}
.expertise-list li::before {
    content: "•";
    color: var(--primary);
    font-size: 20px;
    margin-right: 8px;
    font-weight: bold;
}

/* Gallery Section */
.comparison-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    cursor: ew-resize;
    user-select: none;
    line-height: 0;
}
.comparison-slider .img-bottom {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}
.comparison-slider .img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.comparison-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    color: var(--primary);
    z-index: 10;
}
.comparison-handle::before, .comparison-handle::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 300px;
    background: white;
    z-index: -1;
}
.comparison-handle::before { top: 40px; }
.comparison-handle::after { bottom: 40px; }

/* Gallery Subsections */
.gallery-subsection {
    margin-top: 60px;
}
.subsection-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary);
    position: relative;
    display: inline-block;
}
.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Visual Clinic Tour Carousel */
.tour-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 0 60px;
}

.tour-carousel {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    background: #f1f5f9;
}

.tour-inner {
    display: flex;
    align-items: center; /* Center images vertically in the frame */
    width: 400%;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tour-item {
    width: 25%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center; /* Center content vertically */
    background: #fff;
    min-height: 400px; /* Ensure a consistent minimum frame height */
}

.tour-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
}

.tour-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.tour-prev { left: 0; }
.tour-next { right: 0; }

@media (max-width: 768px) {
    .tour-carousel-wrapper { 
        padding: 0 40px; 
    }
    .tour-carousel {
        background: #fff;
    }
    .tour-item img { 
        height: auto; 
        max-height: none; /* Show full image as requested */
        width: 100%;
        object-fit: contain;
    }
    .tour-nav-btn { 
        width: 32px; 
        height: 32px; 
        background: white; 
        border: 1px solid #ddd;
    }
}

#results {
    background-color: var(--bg-light);
    padding: 80px 0;
}

/* Testimonials */
.testimonial-carousel {
    display: grid;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}
.testimonial-carousel > .testimonial-card {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(0) scale(0.8);
    width: 60%;
    margin: 0 auto;
    z-index: 0;
}
.testimonial-carousel > .testimonial-card.active-slide {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    z-index: 3;
}
.testimonial-carousel > .testimonial-card.prev-slide {
    opacity: 0.5;
    visibility: visible;
    transform: translateX(-55%) scale(0.85);
    z-index: 1;
}
.testimonial-carousel > .testimonial-card.next-slide {
    opacity: 0.5;
    visibility: visible;
    transform: translateX(55%) scale(0.85);
    z-index: 1;
}

@media (max-width: 768px) {
    .testimonial-carousel > .testimonial-card {
        width: 85%;
    }
    .testimonial-carousel > .testimonial-card.prev-slide {
        transform: translateX(-25%) scale(0.85);
    }
    .testimonial-carousel > .testimonial-card.next-slide {
        transform: translateX(25%) scale(0.85);
    }
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-top: 4px solid var(--primary);
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -5px;
    right: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}
.stars {
    color: #f59e0b; /* Golden yellow */
    margin-bottom: 16px;
}
.review-text {
    font-style: italic;
    flex-grow: 1;
}
.reviewer {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 16px;
    margin-bottom: 0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1e81c4 100%);
    padding: 80px 0;
    color: white;
}
.cta-banner h2 {
    color: white;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(46, 163, 242, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-map {
    height: 100%;
    min-height: 400px;
    padding: 0;
    overflow: hidden;
}

/* Appointment Form */
.appointment-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.appointment-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.appointment-form .full-width {
    grid-column: 1 / -1;
}
.appointment-form label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.2);
    background: white;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 80px 0 20px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer h4 {
    color: white;
    margin-bottom: 20px;
}
.footer ul li {
    margin-bottom: 12px;
}
.footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.social-links {
    display: flex;
    gap: 16px;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
}
.social-links a:hover {
    background: var(--primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.875rem;
}

/* Animations */
.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up { transform: translateY(40px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }

.fade-in-up.appear, .fade-in-left.appear, .fade-in-right.appear {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .dentist-wrapper { grid-template-columns: 1fr; text-align: center; }
    .dentist-image img { width: 100%; max-width: 400px; margin: 0 auto; }
    .expertise-list { text-align: left; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-menu-btn { 
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(46, 163, 242, 0.1);
        color: var(--primary);
    }
    .hero-bg img { object-position: right; }
    .hero-overlay { background: linear-gradient(0deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .comparison-slider img, .comparison-after img { width: 100%; max-width: 100%; }
    .appointment-form { grid-template-columns: 1fr; }
}

/* ─── Toast Notification ─── */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-width: 90%;
    text-align: center;
}
.toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.toast-success {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: white;
}
.toast-error {
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: white;
}

/* ─── Form Validation Errors ─── */
.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}
.field-error {
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 2px;
}

/* ─── Button Loading State ─── */
.appointment-form button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

#patTime option:disabled {
    color: #94a3b8;
    background-color: #f1f5f9;
}

#slot-status-summary {
    grid-column: span 2;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: -10px;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 50px;
    transition: var(--transition);
    opacity: 0.9;
    font-weight: 500;
}

/* ─── Dual Doctor and Specialists Grid Styles ─── */
.specialists-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.specialist-item {
    flex: 1 1 240px;
    max-width: 280px;
    padding: 24px;
    text-align: center;
    border-top: 4px solid var(--secondary);
}
.specialist-item:hover {
    transform: translateY(-5px);
}
.specialist-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 16px;
}
.specialist-item h4 {
    margin-bottom: 8px;
    color: var(--text-dark);
}
.specialist-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-extra-sections {
    margin-top: 50px;
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}


