:root {
    --primary: #1a73e8;
    --primary-light: #e8f0fe;
    --secondary: #34a853;
    --accent: #fbbc04;
    --text-dark: #202124;
    --text-light: #5f6368;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: #0d62d9;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

/* Logo with Text */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    gap: 12px;
    opacity: 0;
    animation: logoEntrance 1s ease-out 0.5s forwards;
    z-index: 1001;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: var(--transition);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    display: block !important;
}

/* Logo Hover Effects */
.logo:hover .logo-image {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo:hover .logo-text {
    color: #0d62d9;
    text-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(255, 255, 255, 0.9);
    transform: translateX(2px);
}

/* Logo Entrance Animation */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    60% {
        transform: translateY(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Desktop WhatsApp */
.whatsapp-icon {
    font-size: 1.8rem;
    color: #25D366;
    transition: var(--transition);
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}

/* Mobile Menu Close Button - Hidden by default */
.mobile-menu-close {
    display: none;
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 1002;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Show close button only when menu is active */
nav ul.active ~ .mobile-menu-close {
    display: flex;
}

/* ===== MOBILE WHATSAPP BUTTON - FIXED ===== */
.floating-whatsapp-mobile {
    display: none;
    position: fixed;
    left: 15px;
    bottom: 25px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 50px;
    box-shadow: 
        0 4px 15px rgba(37, 211, 102, 0.4),
        0 0 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: whatsappGlow 2s ease-in-out infinite alternate;
}

.floating-whatsapp-mobile:hover {
    background: #128C7E;
    transform: scale(1.05);
    box-shadow: 
        0 6px 20px rgba(37, 211, 102, 0.6),
        0 0 25px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp-mobile i {
    font-size: 1.3rem;
}

/* WhatsApp Glow Animation */
@keyframes whatsappGlow {
    0% {
        box-shadow: 
            0 4px 15px rgba(37, 211, 102, 0.4),
            0 0 20px rgba(37, 211, 102, 0.3);
    }
    100% {
        box-shadow: 
            0 4px 15px rgba(37, 211, 102, 0.6),
            0 0 25px rgba(37, 211, 102, 0.5);
    }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

/* Hero Slider Background Images */
.slide:nth-child(1) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('slide-one.jpg');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('slide-two.jpg');
}

.slide:nth-child(3) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('slide-three.jpg');
}

.slide-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ===== LOGO MARQUEE ===== */
.logo-marquee {
    background: var(--light-bg);
    padding: 40px 0;
    overflow: hidden;
}

.marquee-container {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    margin: 0 30px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-weight: 600;
    color: var(--primary);
}

.marquee-item:hover {
    transform: translateY(-5px);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ===== SPECIALISTS SECTION ===== */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.specialist-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    text-align: center;
}

.specialist-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        15px 15px 30px rgba(0, 0, 0, 0.15),
        -15px -15px 30px rgba(255, 255, 255, 0.9);
}

.specialist-image-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
}

.specialist-card:hover .specialist-image-circle {
    transform: scale(1.05);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 25px rgba(0, 0, 0, 0.15);
}

.specialist-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.specialist-card:hover .specialist-image-circle img {
    transform: scale(1.1);
}

.specialist-info h3 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.specialist-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.specialist-card:hover .specialist-info h3::after {
    width: 60px;
}

.specialist-title {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.specialist-info p {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Animation for card entrance */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.specialist-card {
    animation: cardEntrance 0.6s ease-out;
}

.specialist-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: var(--light-bg);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 8px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

/* Social Links Styling */
/* Social Media Section */
.social-media-section {
    background: var(--light-bg);
    padding: 60px 0;
}

.social-links-center {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-links-center .social-icon {
    flex-direction: column;
    width: 100px;
    height: 100px;
    background: var(--white);
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.social-links-center .social-icon i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.social-text {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links-center .social-icon:hover .social-text {
    opacity: 1;
}

@media (max-width: 768px) {
    .social-links-center {
        gap: 15px;
    }
    
    .social-links-center .social-icon {
        width: 80px;
        height: 80px;
    }
    
    .social-links-center .social-icon i {
        font-size: 1.7rem;
    }
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-icon i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

/* Instagram Specific */
.social-icon[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon[href*="instagram"]:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

/* YouTube Specific */
.social-icon[href*="youtube"] {
    background: #FF0000;
}

.social-icon[href*="youtube"]:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* WhatsApp Specific */
.social-icon[href*="whatsapp"] {
    background: #25D366;
}

.social-icon[href*="whatsapp"]:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* LinkedIn Specific */
.social-icon[href*="linkedin"] {
    background: #0077B5;
}

.social-icon[href*="linkedin"]:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

/* Hover Effects for All Icons */
.social-icon:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* Social Icons in Footer */
footer .social-links {
    justify-content: flex-start;
}

footer .social-icon {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

footer .social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Responsive Social Icons */
@media (max-width: 768px) {
    .social-links {
        gap: 12px;
        justify-content: center;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
    }
    
    .social-icon i {
        font-size: 1.2rem;
    }
    
    footer .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .social-links {
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon i {
        font-size: 1.1rem;
    }
}
/* ===== FOOTER ===== */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* ===== 3D ELEMENTS ===== */
.tooth-3d {
    width: 100px;
    height: 120px;
    position: absolute;
    background: var(--white);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.tooth-3d::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--primary-light);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

/* ===== CHATBOT - FIXED FOR MOBILE VISIBILITY ===== */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

.chatbot-header {
    background: var(--primary);
    color: var(--white);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 60px;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.message {
    max-width: 85%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 18px;
    line-height: 1.4;
    word-wrap: break-word;
    font-size: 0.9rem;
}

.bot-message {
    align-self: flex-start;
    background: var(--light-bg);
    border-bottom-left-radius: 5px;
}

.user-message {
    align-self: flex-end;
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 5px;
}

.chatbot-input {
    display: flex;
    padding: 12px 15px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    background: var(--white);
}

.chatbot-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    min-height: 45px;
}

.chatbot-input button {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-input button:hover {
    background: #0d62d9;
}

.chatbot-input button i {
    font-size: 1.1rem;
}

/* ===== MOBILE CHATBOT FIXES - RIGHT CORNER ===== */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 80px; /* Move above WhatsApp button */
        right: 15px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .chatbot-window {
        width: 320px;
        height: 450px;
        bottom: 70px;
        right: 0;
        max-width: calc(100vw - 30px); /* Ensure it doesn't go off-screen */
    }
    
    .chatbot-header {
        padding: 10px 12px;
        min-height: 55px;
    }
    
    .chatbot-header h3 {
        font-size: 1.1rem;
    }
    
    .chatbot-messages {
        padding: 12px;
        flex: 1;
        min-height: 200px;
    }
    
    .message {
        max-width: 90%;
        padding: 8px 12px;
        margin-bottom: 10px;
        font-size: 0.85rem;
    }
    
    .chatbot-input {
        padding: 10px 12px;
        gap: 8px;
        min-height: 70px;
    }
    
    .chatbot-input input {
        padding: 10px 12px;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .chatbot-input button {
        width: 40px;
        height: 40px;
    }
    
    .chatbot-input button i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .chatbot-container {
        bottom: 70px;
        right: 10px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .chatbot-window {
        width: 300px;
        height: 420px;
        bottom: 65px;
        max-width: calc(100vw - 20px);
    }
    
    /* Ensure it stays on screen on very small devices */
    @media (max-width: 320px) {
        .chatbot-window {
            width: 280px;
            right: -5px;
        }
    }
    
    .chatbot-header {
        padding: 8px 10px;
        min-height: 50px;
    }
    
    .chatbot-header h3 {
        font-size: 1rem;
    }
    
    .chatbot-messages {
        padding: 10px;
    }
    
    .message {
        max-width: 92%;
        padding: 7px 10px;
        margin-bottom: 8px;
        font-size: 0.8rem;
    }
    
    .chatbot-input {
        padding: 8px 10px;
        gap: 6px;
        min-height: 65px;
    }
    
    .chatbot-input input {
        padding: 8px 10px;
        font-size: 0.8rem;
        min-height: 38px;
    }
    
    .chatbot-input button {
        width: 38px;
        height: 38px;
    }
    
    .chatbot-input button i {
        font-size: 0.9rem;
    }
}

/* Extra small devices - Ensure everything fits */
@media (max-width: 400px) {
    .chatbot-window {
        width: 280px;
        height: 400px;
    }
    
    .chatbot-messages {
        padding: 8px;
    }
    
    .message {
        max-width: 95%;
        font-size: 0.8rem;
    }
    
    .chatbot-input {
        padding: 8px;
    }
}

/* Ensure proper z-index hierarchy */
.floating-whatsapp-mobile {
    z-index: 998;
}

.chatbot-container,
.chatbot-toggle,
.chatbot-window {
    z-index: 999;
}

/* Chatbot input focus states */
.chatbot-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

/* Scrollbar styling for chatbot messages */
.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Ensure all elements are visible and properly sized */
.chatbot-window * {
    box-sizing: border-box;
}

/* Prevent horizontal overflow */
.chatbot-window {
    overflow: hidden;
}

.chatbot-messages {
    overflow-x: hidden;
}

/* Make sure send button is always visible and clickable */
.chatbot-input button {
    position: relative;
    z-index: 1;
}

/* Emergency fix for very small screens */
@media (max-width: 280px) {
    .chatbot-window {
        width: 260px;
        height: 380px;
        right: -10px;
    }
    
    .chatbot-input {
        padding: 6px 8px;
    }
    
    .chatbot-input input {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
}
/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE STYLES ===== */

/* Tablet and Mobile View (768px and below) */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 15px;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
        order: 3;
        margin-left: auto;
    }
    
    /* Hide desktop WhatsApp */
    .desktop-whatsapp {
        display: none;
    }
    
    /* Show mobile WhatsApp - FIXED */
    .floating-whatsapp-mobile {
        display: flex !important;
    }
    
    /* Logo adjustments for tablet */
    .logo {
        gap: 8px;
        order: 1;
        flex: 1;
    }
    
    .logo-image {
        height: 38px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
    
    /* Social links center on mobile */
    .social-links {
        justify-content: center;
    }
    
    footer .social-links {
        justify-content: center;
    }
    
    /* Navigation menu */
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 80px;
        padding-left: 30px;
        transition: var(--transition);
        z-index: 1000;
        margin: 0;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        left: 0;
    }
    
    /* Close button - only show when menu is active */
    .mobile-menu-close {
        display: none;
    }
    
    nav ul.active ~ .mobile-menu-close {
        display: flex;
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
    }
    
    nav ul li a {
        font-size: 1.1rem;
        padding: 8px 0;
        display: block;
        width: 100%;
    }
    
    /* Content adjustments */
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .chatbot-window {
        width: 300px;
        height: 450px;
    }
    
    .specialist-image-circle {
        width: 180px;
        height: 180px;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .about-image, .contact-info, .contact-form {
        width: 100%;
    }
    
    .specialists-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile View (576px and below) */
@media (max-width: 576px) {
    .header-container {
        padding: 10px 12px;
    }
    
    .logo {
        gap: 6px;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .logo-text {
        font-size: 0.75rem;
        letter-spacing: 0.2px;
    }
    
    .mobile-menu-btn {
        font-size: 1.3rem;
    }
    
    .floating-whatsapp-mobile {
        left: 12px;
        bottom: 20px;
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .floating-whatsapp-mobile i {
        font-size: 1.2rem;
    }
    
    nav ul {
        width: 250px;
        padding-left: 25px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .chatbot-window {
        width: 280px;
        right: -20px;
    }
    
    .specialist-image-circle {
        width: 160px;
        height: 160px;
    }
    
    .specialist-card {
        padding: 25px 20px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon i {
        font-size: 1.1rem;
    }
}

/* Small Mobile View (400px and below) */
@media (max-width: 400px) {
    .logo-text {
        font-size: 0.65rem;
        letter-spacing: 0.1px;
    }
    
    .logo-image {
        height: 28px;
    }
    
    .logo {
        gap: 4px;
    }
    
    .floating-whatsapp-mobile {
        left: 10px;
        bottom: 15px;
        padding: 8px 12px;
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .floating-whatsapp-mobile i {
        font-size: 1.1rem;
    }
    
    .floating-whatsapp-mobile span {
        display: block;
    }
}

/* Ensure logo text never hides completely */
@media (max-width: 350px) {
    .logo-text {
        font-size: 0.6rem;
    }
    
    .logo-image {
        height: 26px;
    }
}

/* Force WhatsApp button display on mobile - Emergency Fix */
@media (max-width: 768px) {
    .floating-whatsapp-mobile {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}






