html {
    scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

/* Enhanced Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* NEW: Smooth slide from left for headings */
@keyframes slideFromLeftSmooth {
    from {
        transform: translateX(-80px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* NEW: Bounce slide animation */
@keyframes bounceSlideLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    60% {
        transform: translateX(10px);
        opacity: 0.8;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes colorChange {
    0% {
        background-color: #e67e22;
    }

    50% {
        background-color: #f39c12;
    }

    100% {
        background-color: #e67e22;
    }
}

/* NEW: Counter animation */
@keyframes countUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Navigation Styles */
nav {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    padding: 0.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 110;
    animation: fadeIn 0.8s ease-out forwards;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 0;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #e67e22;
    text-decoration: none;
    animation: slideInFromLeft 0.8s ease-out 0.2s both;
    display: inline-block;
}


.logo:hover {
    animation: pulse 1s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.nav-menu li:nth-child(1) {
    animation-delay: 0.3s;
}

.nav-menu li:nth-child(2) {
    animation-delay: 0.4s;
}

.nav-menu li:nth-child(3) {
    animation-delay: 0.5s;
}

.nav-menu li:nth-child(4) {
    animation-delay: 0.6s;
}

.nav-menu li:nth-child(5) {
    animation-delay: 0.7s;
}

.nav-menu li:nth-child(6) {
    animation-delay: 0.8s;
}

.nav-menu li:nth-child(7) {
    animation-delay: 0.9s;
}

.nav-menu li:nth-child(8) {
    animation-delay: 1.0s;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e67e22;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #e67e22;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Appointment Button Styles */
.appointment-btn {
    display: inline-block;
    background-color: #e67e22;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    animation: slideInFromRight 0.8s ease-out 1.0s both;
}

.appointment-btn:hover {
    background-color: #ec991c;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: heroBackgroundSlide 20s infinite;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    border-radius: 8px;
    max-width: 800px;
}

.hero-overlay h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    animation: slideInFromTop 1s ease-out 0.5s both;
}

.hero-overlay p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: slideInFromBottom 1s ease-out 0.7s both;
}

.cta-btn {
    display: inline-block;
    background-color: #e67e22;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: none !important;
    transition: none !important;
}

.cta-btn:hover {
    background-color: #cf6a1c;
    /* Darker orange on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    /* Slightly deeper shadow */
}

.vendor-btn {
    background-color: #2ecc71;
    color: white;
}

.vendor-btn:hover {
    animation: none;
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

@keyframes heroBackgroundSlide {
    0% {
        background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836');
    }

    33% {
        background-image: url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c');
    }

    66% {
        background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4');
    }

    100% {
        background-image: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836');
    }
}

/* About Us Section */
.about {
    padding: 5rem 2rem;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-content {
    flex: 1;
    min-width: 300px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.about-image {
    flex: 1;
    min-width: 400px;
    position: relative;
    opacity: 0;
    animation: slideInFromRight 1s ease-out 0.7s forwards;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about h2 {
    color: #e67e22;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    animation: slideInFromLeft 1.2s ease-out 0.8s both;
}

.about h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #e67e22;
    bottom: -10px;
    left: 0;
}

/* NEW: Enhanced animations for Our Story and Our Values */
.about h3 {
    color: #333;
    margin: 1.5rem 0 1rem;
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.6s ease;
}

.about h3.animate-slide {
    animation: bounceSlideLeft 1s ease-out forwards;
}

.about h3:nth-of-type(1) {
    animation-delay: 1.2s;
}

.about h3:nth-of-type(2) {
    animation-delay: 1.8s;
}

.about p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.about p:nth-of-type(1) {
    animation-delay: 1s;
}

.about p:nth-of-type(2) {
    animation-delay: 1.4s;
}

.about p:nth-of-type(3) {
    animation-delay: 2s;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.stat-item:nth-child(1) {
    animation-delay: 1s;
}

.stat-item:nth-child(2) {
    animation-delay: 1.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 1.4s;
}

.stat-item:nth-child(4) {
    animation-delay: 1.6s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    background-color: #e67e22;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    /* NEW: Counter animation ready */
    animation: countUp 0.5s ease-out;
}

.stat-item:hover .stat-number {
    color: white;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
}

/* Why Us Section */
.why-us {
    padding: 5rem 2rem;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-us h2 {
    text-align: center;
    color: #e67e22;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    animation: slideInFromTop 1s ease-out 0.3s both;
}

.why-us h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #e67e22;
    bottom: -10px;
    left: 25%;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.benefit-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.3s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.5s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.7s;
}

.benefit-card:nth-child(4) {
    animation-delay: 0.9s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    color: #e67e22;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(15deg) scale(1.2);
}

.benefit-card h3 {
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.benefit-card:hover h3 {
    color: #e67e22;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
    text-align: center;
}

.testimonials {
    margin-top: 4rem;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.testimonials h3 {
    text-align: center;
    color: #e67e22;
    margin-bottom: 2rem;
    animation: slideFromLeftSmooth 1s ease-out 1.2s both;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-item {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    position: relative;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.testimonial-item:nth-child(1) {
    animation-delay: 1.4s;
}

.testimonial-item:nth-child(2) {
    animation-delay: 1.6s;
}

.testimonial-item:nth-child(3) {
    animation-delay: 1.8s;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(230, 126, 34, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    color: #e67e22;
    text-align: right;
}

.testimonial-location {
    font-size: 0.9rem;
    color: #777;
    text-align: right;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.features div {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background-color: white;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.features div:nth-child(1) {
    animation-delay: 0.5s;
}

.features div:nth-child(2) {
    animation-delay: 0.7s;
}

.features div:nth-child(3) {
    animation-delay: 0.9s;
}

.features div:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
}

.features h3 {
    color: #e67e22;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    animation: slideFromLeftSmooth 0.8s ease-out forwards;
}

.features div:hover h3 {
    transform: scale(1.1);
}

.features p {
    transition: all 0.3s ease;
}

.features div:hover p {
    transform: translateY(5px);
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    color: #e67e22;
    margin-bottom: 2rem;
    display: inline-block;
    animation: slideFromLeftSmooth 1s ease-out 1.2s both;
}

.contact h2:hover {
    animation: pulse 1s infinite;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    align-items: stretch;
}

.contact-info div {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    min-height: 200px;
    background: white;
    padding: 2rem 4rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-info div:nth-child(1) {
    animation-delay: 1.4s;
}

.contact-info div:nth-child(2) {
    animation-delay: 1.6s;
}

.contact-info div:nth-child(3) {
    animation-delay: 1.8s;
}

.contact-info div h3 {
    margin: 0 0 0.5rem 0;
    color: #e67e22;
    font-weight: 600;
    animation: slideFromLeftSmooth 0.6s ease-out forwards;
}

.contact-info div p {
    margin: 0;
    line-height: 1.4;
    color: #555;
    font-size: 0.95rem;
}

.contact-info div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out 2s forwards;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.form-group input:focus+label,
.form-group textarea:focus+label {
    color: #e67e22;
    transform: translateX(5px);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
    outline: none;
    transform: translateY(-2px);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    text-align: left;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.footer-section:nth-child(1) {
    animation-delay: 2.2s;
}

.footer-section:nth-child(2) {
    animation-delay: 2.4s;
}

.footer-section:nth-child(3) {
    animation-delay: 2.6s;
}

.footer-section h3 {
    color: #e67e22;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    animation: slideFromLeftSmooth 0.8s ease-out forwards;
}

.footer-section h3:hover {
    transform: skewX(-10deg);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-section li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e67e22;
}

.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #555;
    opacity: 0;
    animation: fadeIn 1s ease-out 2.8s forwards;
}

/* Floating food icons animation */
.floating-icon {
    position: absolute;
    opacity: 0.7;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    font-size: 2rem;
    animation-delay: 0s;
    animation-duration: 5s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    left: 15%;
    font-size: 1.5rem;
    animation-delay: 1s;
    animation-duration: 7s;
}

.floating-icon:nth-child(3) {
    top: 40%;
    right: 10%;
    font-size: 2.5rem;
    animation-delay: 0.5s;
    animation-duration: 6s;
}

.floating-icon:nth-child(4) {
    top: 70%;
    right: 15%;
    font-size: 1.8rem;
    animation-delay: 1.5s;
    animation-duration: 8s;
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 120;
    overflow-y: auto;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 2rem 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: slideInFromTop 0.4s ease forwards;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: 90vh;
    overflow-y: auto;
}

.modal h2 {
    font-size: 1.8rem;
    color: #e67e22;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.modal label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #333;
}

.modal input[type="text"],
.modal input[type="email"],
.modal input[type="tel"],
.modal input[type="password"],
.modal input[type="number"],
.modal select,
.modal textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal input[type="datetime-local"] {
    width: 100%;
    padding: 0.7rem 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal input[type="text"]:focus,
.modal input[type="email"]:focus,
.modal input[type="tel"]:focus,
.modal input[type="password"]:focus,
.modal input[type="number"]:focus,
.modal select:focus,
.modal textarea:focus,
.modal input[type="datetime-local"]:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 6px 2px rgba(230, 126, 34, 0.3);
}

.modal button.submit-btn {
    background-color: #e67e22;
    color: white;
    padding: 0.8rem 0;
    width: 100%;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 0.2rem;
}

.modal button.submit-btn:hover {
    background-color: #cf6a1c;
}

.modal button.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #e67e22;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s ease;
}

.modal button.close-btn:hover {
    color: #cf6a1c;
}

/* Success Message Styles */
.success-message {
    display: none;
    background-color: #2ecc71;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* Accessibility focus outline for modal buttons */
.modal button:focus,
.nav-menu a:focus,
.appointment-btn:focus {
    outline: 3px solid #e67e22;
    outline-offset: 2px;
}

/* Google Login Button */
.google-login-btn {
    background-color: #4285f4;
    color: white;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    margin-top: 0.6rem;
    transition: background-color 0.3s ease;
}

.google-login-btn:hover {
    background-color: #3368c8;
}

.google-login-btn svg {
    width: 20px;
    height: 20px;
}

/* AI Chatbot Styles - Fixed Version */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

#chatbot-container.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

#chatbot-header {
    background-color: #e67e22;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    cursor: default;
}

#chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
}

#chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.chatbot-message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
    word-wrap: break-word;
}

.user-message {
    background-color: #e67e22;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.bot-message {
    background-color: #eee;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

#chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: white;
}

#chatbot-query {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

#chatbot-query:focus {
    border-color: #e67e22;
}

#chatbot-send {
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbot-send:hover {
    background-color: #d46b15;
}

#chatbot-launcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #e67e22;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    border: none;
    animation: pulse 2s infinite;
}

#chatbot-launcher:hover {
    animation: none;
    transform: scale(1.1);
}

/* Gmail Logo Button */
.gmail-float-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    border: none;
    transition: all 0.3s ease;
}

.gmail-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.gmail-float-btn img {
    width: 40px;
    height: 40px;
}

/* NEW: Intersection Observer Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.slide-left-on-scroll {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-left-on-scroll.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Calendar Styles */
.calendar {
    width: 100%;
    margin: 20px 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.calendar-nav button {
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.calendar-nav button:hover {
    background: #d46b15;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day-header {
    text-align: center;
    font-weight: bold;
    padding: 5px;
    color: #555;
}

.calendar-day {
    text-align: center;
    padding: 10px 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-day:hover {
    background: #f0f0f0;
}

.calendar-day.selected {
    background: #e67e22;
    color: white;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.time-slots {
    margin-top: 20px;
}

.time-slots h4 {
    margin-bottom: 10px;
    color: #333;
}

.slot-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 15px;
}

#formStep {
    display: none;
}


.time-slot {
    padding: 8px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot:hover {
    background: #e0e0e0;
}

.time-slot.selected {
    background: #e67e22;
    color: white;
}

.time-slot.disabled {
    background: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    z-index: 1000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    h1,
    .hero-overlay h1 {
        font-size: 2.2rem;
    }

    h2,
    .about h2,
    .why-us h2 {
        font-size: 2rem;
    }

    h3,
    .about h3,
    .benefit-card h3 {
        font-size: 1.5rem;
    }

    .contact-info div {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        margin-top: 0;
        z-index: 100;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 1rem;
        animation: none;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem 0;
    }

    .appointment-btn {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .hero-overlay {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image {
        order: -1;
        min-width: 100%;
    }

    .benefit-card {
        min-width: 100%;
    }

    .testimonial-item {
        min-width: 100%;
    }

    .contact-info div {
        min-width: 100%;
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section ul {
        padding: 0;
    }

    /* Chatbot adjustments */
    #chatbot-container {
        width: 100%;
        height: 70vh;
        right: 0;
        bottom: 0;
        border-radius: 10px 10px 0 0;
    }

    #chatbot-launcher {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }

    .gmail-float-btn {
        bottom: 70px;
        right: 10px;
        width: 50px;
        height: 50px;
    }

    .gmail-float-btn img {
        width: 30px;
        height: 30px;
    }

    /* Calendar adjustments */
    .calendar-day {
        padding: 5px;
        font-size: 0.9rem;
    }

    .slot-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .time-slot {
        padding: 6px 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    /* Typography adjustments for small screens */
    h1,
    .hero-overlay h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }

    h2,
    .about h2,
    .why-us h2 {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }

    h3,
    .benefit-card h3,
    .features h3 {
        font-size: 1.3rem !important;
    }

    /* Center the "Why Choose" heading properly */
    .why-us h2 {
        text-align: center;
        color: #e67e22;
        margin-bottom: 3rem;
        animation: slideInFromTop 1s ease-out 0.3s both;
        width: 100%;
    }

    .why-us h2::after {
        left: 25%;
    }

    .cta-btn,
    .appointment-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .stat-item {
        min-width: 120px;
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .slot-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal {
        padding: 1.5rem;
    }

    /* Ensure contact info boxes are full width */
    .contact-info div {
        min-width: 100%;
        padding: 1.5rem;
    }
}




