﻿/* ------------------------------
   GLOBAL RESET
------------------------------ */

html, body {
    margin: 0;
    padding: 0;
}



* {
    margin: 1px 5px 0 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ------------------------------
   HEADER
------------------------------ */
.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;    
    background: #831d1df2;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15x;
}

/* Doctor Information */
.header-info {
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    margin-left: 20px;
    white-space: nowrap;
}

.header-info span {
    display: inline-block; /* ensures margin applies cleanly */
}


.header {
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}


.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* ------------------------------
   NAVIGATION
------------------------------ */
.navigation {
    display: flex;
    gap: 20px;
    margin-right:35px;
}

.navigation a {
    padding: 10px 12px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s ease;
    display: inline-block;
}

.navigation a:hover,
.navigation a.active {
    background-color: #d5a2a2 !important;
    color: #000 !important;
}

/* ------------------------------
   HAMBURGER FOR MOBILE
------------------------------ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

.menu-close,
.menu-header {
    display: none;
}

/* ------------------------------
   RESPONSIVE NAVIGATION
------------------------------ */
@media (max-width: 768px) 
{    
     .menu-header {
        display: flex;
    }

    .menu-close {
        display: block;
    }
    
  .navigation {
    position: fixed;
    inset: 0 auto 0 0;
    width: 50%;
    max-width: 320px;
    height: 100vh;

    display: flex;
    flex-direction: column;

    background: #831d1df2;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;

    visibility: hidden;
    z-index: 99999;
}

.navigation.active {
    transform: translateX(0);
    visibility: visible;
    margin-right
}

/* 🔹 HEADER ROW */
.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 16px;
}

/* optional title */
.menu-title {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

/* ❌ button */
.menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

/* menu items */
.navigation a {
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
}

.navigation a.active {
    background: rgba(255,255,255,0.2);
}


 .header-info {
        width: 100%;
        margin: 10px 0;
        font-size: 14px;
        white-space:normal;
        color : #ffffff;
    }
    
    .navigation.show {
        display: flex;
    }

    .hamburger {
        display: flex;
        margin-left:5px;
    }
}

.menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;

    position: absolute;
    top: 12px;
    right: 15px;

    line-height: 1;
}

.menu-close:hover {
    opacity: 0.8;
}


/* Main slider container */
.slideshow-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

/* Each slide takes full space and stacks */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;   /* behind text */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fade animation */
.fade {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* Banner text + button */
.banner-quote {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10; /* ABOVE slides */
}

/* Explore button */
.banner-btn {
    display: inline-block;
    margin-top: 50px;
    padding: 12px 28px;
    background: #d4a156;
    color: #3b1d0b;
    font-size: 18px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.banner-btn:hover {
    background: #b58334;
    transform: scale(1.07);
}

/* Previous/Next buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 12px;
    color: white;
    font-size: 20px;
    background: rgba(0,0,0,0.4);
    border-radius: 3px;
    transform: translateY(-50%);
    user-select: none;
    z-index: 20; /* So arrows stay above slides */
}

.next { right: 10px; }
.prev { left: 10px; }

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.7);
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .prev, .next {
        padding: 8px;
        font-size: 16px;
    }

    .banner-quote h2 {
        font-size: 50px;
    }

    .banner-btn {
        padding: 10px 22px;
        font-size: 16px;
    }
}

/* Service boxes wrapper */
.services-over-banner {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: -80px auto 20px auto; /* bigger overlap */
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 10;
}

/* Each box – slimmer width, taller height */
.service-box {
    background: #fff;
    width: 22%;              /* reduced width */
    min-width: 180px;
    height: 180px;           /* increased height */
    padding: 25px 15px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.15);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Icon */
.service-box img {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px auto;
    object-fit: cover;
}

/* Title */
.service-box h4 {
    font-size: 15px;
    color: #6b3e18;
    margin-top: 5px;
}

/* Hover effect */
.service-box:hover {
    transform: translateY(-6px);
}

/* Mob*


/* Mobile Responsive */
@media (max-width: 768px) {
    .services-over-banner {
        flex-direction: column;
        margin: -40px auto 10px auto;
    }

    .service-box {
        width: 90%;
        margin: auto;
    }
}

/* Quote Section */
.quote-section {
    width: 100%;
    height: 200px; /* adjust height if needed */
    position: relative;
    background: linear-gradient(135deg, #6b3e18, #a56e42, #e0c3a3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
}


/* Quote Centered on Banner */
.banner-quote {
    position: absolute;
    top: 50%;                 /* vertical center */
    left: 50%;                /* horizontal center */
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 0 20px;
    z-index: 10;
    width: 90%;               /* ensures text fits on mobile */
    font-weight:bold;
}

.banner-quote h2 {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.banner-quote p {
    font-size: 35px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.banner-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    background: #d4a156; /* Brighter gold so visible */
    color: #3b1d0b;
    font-size: 18px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
}

.banner-btn:hover {
    background: #b58334;
    transform: scale(1.07);
}


/* Product Section */
.product-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fafafa;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    font-family: Arial, sans-serif;
}

/* Section Title */
.product-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    color: #333;
}

/* Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}


/* Section Title */
.product-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    color: #333;
}


/* Product Card */
.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-features.limited li {
    display: none;
}

.product-features.limited li:nth-child(-n+2) {
    display: list-item;
}

/* optional polish */
.read-more {
    font-size: 13px;
    color: #d52424;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
}


/* Product Image Wrapper */
.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 12px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Name */
.product-name {
    font-size: 20px;
    font-weight: bold;
    color: #444;
    margin: 10px 0 5px;
}

/* Product Description */
.product-desc {
    font-size: 14px;
    color: #666;
    margin: 5px 0 10px;
}

/* Price */
.product-price {
    font-size: 18px;
    color: #b12704;
    margin-bottom: 15px;
}


/* -------------------------------- */
/* 📱 MOBILE RESPONSIVENESS */
/* -------------------------------- */

/* Tablets */
@media (max-width: 768px) {
    .product-section {
        width: 95%;
        padding: 20px;
    }

    .product-image {
        height: 180px;
    }

    .product-title {
        font-size: 26px;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 160px;
    }

    .product-title {
        font-size: 24px;
    }
}

/* Product Section Header */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 10px;
}

.product-title {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}


.product-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff5ea;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: "Segoe UI", sans-serif;
}

/* Heading stays fixed at top of section */
.product-heading {
    position: relative;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #e0d4c3;
}


/* Product Cards */
.product-card {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}


/* Footer Base */
.site-footer {
    background: #6b1f1f;          /* clinic theme dark red */
    color: #fff;
    padding: 50px 20px 20px;
    margin-top: 50px;
    font-family: sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

.footer-section {
    flex: 1 1 220px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 10px;
    font-size: 20px;
}

.footer-section p {
    margin: 5px 0;
    line-height: 1.6;
    font-size: 14px;
}

/* Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: #ffefef;
    text-decoration: none;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #ffd2d2;
}

.social-icons img {
  width: 50px;
  margin: 10px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.15);
  opacity: 0.8;
}


/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #b87171;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 6px;                /* reduced gap */
        padding: 12px 10px;
    }

    .footer-section {
        width: 100%;
        max-height:125px;
        margin: 0;               /* 🔥 remove section margin */
        padding: 0;
        text-align: center;
    }

    /* RESET DEFAULT MARGINS */
    .footer-section h3,
    .footer-section h4 {
        margin: 4px 0;
    }

    .footer-section p {
        margin: 3px 0;
        font-size: 13px;
        line-height: 1.4;
    }

    .footer-section ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .footer-section ul li {
        margin: 3px 0;
        font-size: 13px;
    }

    .footer-section ul li a {
        font-size: 13px;
    }

    .social-icons {
        margin-top: 4px;
    }

    .social-icons img {
        width: 32px;
        margin: 4px;
    }
}



}


/* CONTACT PAGE */
.contact-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff5ea;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: "Segoe UI", sans-serif;
}

.contact-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
}

.contact-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 40px;
    color: #6a1b1b;
    font-weight: 700;
}

/* Container: Form + Addresses */
.contact-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* ========== CONTACT FORM ========== */
.contact-form {
    flex: 1 1 500px;
    background: #fff5f5;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e6c2c2;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.contact-form h2 {
    margin-bottom: 15px;
    color: #6a1b1b;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 6px;
    border: 1px solid #c7a4a4;
    font-size: 15px;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8c2a2a;
    box-shadow: 0 0 4px rgba(140, 42, 42, 0.3);
}

.contact-form button {
    background: #6a1b1b;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

.contact-form button:hover {
    background: #8c2a2a;
}

.contact-submit-btn {
    display: block !important;
    width: 100%;
    background: #6a1b1b !important;  /* force theme color */
    color: #fff !important;          /* force white text */
    padding: 12px 28px;
    border: none !important;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: #8c2a2a !important; /* hover color */
    transform: scale(1.03);
}



/* ========== ADDRESS SECTION ========== */
.contact-addresses {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* One address card */
.address-box {
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e0caca;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.address-box h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #6a1b1b;
    font-weight: bold;
}

.address-box p {
    margin: 4px 0;
    font-size: 15px;
}

/* MAP FIX */
.address-box iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 8px;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form,
    .contact-addresses {
        width: 100%;
    }

    .address-box {
        text-align: center;
    }

    .address-box iframe {
        height: 220px;
    }
}


/* services page */ 

.services-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff5ea;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: "Segoe UI", sans-serif;
}

.services-title {
    text-align: center;
    font-size: 32px;
    color: #6a1b1b;
    margin-bottom: 10px;
    font-weight: 700;
}

.services-subtitle {
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
    color: #444;
}

/* GRID LAYOUT */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* SERVICE CARD */
.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e4cfcf;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #e4cfcf;
}

.service-card h3 {
    margin: 15px;
    font-size: 20px;
    color: #6a1b1b;
}

.service-card p {
    margin: 0 15px 20px 15px;
    color: #555;
    font-size: 15px;
}

/* BUTTON */
.service-btn {
    display: inline-block;
    margin: 0 15px 20px;
    padding: 10px 18px;
    background: #6a1b1b;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.service-btn:hover {
    background: #8c2a2a;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 600px) {
    .services-title {
        font-size: 26px;
    }

    .service-card img {
        height: 150px;
    }

    .service-card h3 {
        font-size: 18px;
    }
}

/* Welcome Section */
.welcome-section {
    padding: 60px 20px;
    background: #f9f4ee;
}

.welcome-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Left Image */
.welcome-image {
    flex: 1;
}

.welcome-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Right Content */
.welcome-content {
    flex: 1;
}

.welcome-content h2 {
    font-size: 32px;
    color: #6b3e18;
    margin-bottom: 15px;
}

.welcome-content p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.welcome-btn {
    display: inline-block;
    background: #6b3e18;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .welcome-container {
        flex-direction: column;
        text-align: center;
    }

    .welcome-image img {
        width: 90%;
        margin: auto;
    }

    .welcome-content h2 {
        font-size: 26px;
    }
}


/* Testimonials Section */
.testimonial-section {
    background: linear-gradient(135deg, #fff7f0, #f2e7da);
    padding: 70px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Soft floating circles (background decoration) */
.testimonial-section::before,
.testimonial-section::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 6s infinite ease-in-out;
}
.testimonial-section::before {
    top: -40px;
    left: -40px;
}
.testimonial-section::after {
    bottom: -40px;
    right: -40px;
}

/* Animation for floating background elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.testimonial-section h2 {
    font-size: 32px;
    color: #6b3e18;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.testimonial-section h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #6b3e18;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
    animation: slideIn 1s ease forwards;
    opacity: 0;
}

@keyframes slideIn {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

/* Container */
.testimonial-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Testimonial Box with Glassmorphism */
.testimonial-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    width: 30%;
    min-width: 280px;
    border-radius: 18px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0px 8px 25px rgba(0,0,0,0.12);
    text-align: left;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

/* Box appearing animation */
@keyframes fadeUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0px); opacity: 1; }
}

/* Hover: Lift + Glow */
.testimonial-box:hover {
    transform: translateY(-10px);
    box-shadow: 0px 12px 30px rgba(0,0,0,0.18);
}

.testimonial-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.testimonial-box span {
    font-weight: 700;
    color: #6b3e18;
    text-align: right;
    display: block;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 600px) {
    .testimonial-box {
        width: 100%;
    }
    .testimonial-section h2 {
        font-size: 26px;
    }
}

/* Product Highlights */
.product-highlight-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #f9e9e0, #fefaf6);
    text-align: center;
}

.product-highlight-section h2 {
    font-size: 28px;
    color: #6b3e18;
    margin-bottom: 30px;
}

.product-card {
    background: #faf6f0;
    width: 30%;
    min-width: 260px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    color: #6b3e18;
    font-size: 18px;
    margin-bottom: 10px;
}

.product-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 15px;
}

.product-card .btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    background: #6b3e18;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.product-features {
    list-style-type: disc;
    padding-left: 75px;
    text-align: left;
}

.product-info {
    margin-top: 10px;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .product-card {
        width: 100%;
    }

    .product-highlight-section h2 {
        font-size: 24px;
    }
}


/* About Section */
.about-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff5ea;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: "Segoe UI", sans-serif;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Image */
.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Text Content */
.about-content {
    flex: 1;
    min-width: 280px;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #6b1f1f; /* Rudra Ayurved Theme */
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

/* Button */
.about-btn {
    display: inline-block;
    background: #6b1f1f;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: 0.3s;
}

.about-btn:hover {
    background: #8f2d2d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-image img {
        max-width: 90%;
    }
}

/* Base Section */
.feature-area {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9e9e0, #fefaf6);
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.feature-heading {
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 700;
    color: #5e1c1c;
}

/* Grid Layout */
.feature-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Glass Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Icon */
.feature-icon img {
    width: 250px;
    height: 175px;
    margin-bottom: 20px;
    transition: 0.3s ease;
    border-radius :8px;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.15);
}

/* Text */
.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #6b1f1f;
}

.feature-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Button */
.feature-btn {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 50px;
    background: #6b1f1f;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s ease;
}

.feature-btn:hover {
    background: #8f2d2d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .feature-heading {
        font-size: 30px;
    }
}


.happy-customers {
    margin-top: 50px;
    padding: 50px 20px;
    background: linear-gradient(135deg, #fff7f0, #f2e7da);
    text-align: center;
    border-radius: 8px;
}

.happy-customers h2 {
    font-size: 28px;
    color: #6b3e18;
    margin-bottom: 30px;
}

.customer-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-box {
    background: #fff;
    padding: 25px 20px;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-box h3 {
    font-size: 32px;
    color: #2f5d3f;
    margin: 0;
}

.stat-box p {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* Mobile */
@media (max-width: 768px) {
    .stat-box {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .stat-box {
        width: 100%;
    }
}

//* Section */
.clinic-highlights {
   padding: 80px 20px;
    background: linear-gradient(135deg, #f9e9e0, #fefaf6);
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.clinic-highlights h2 {
    font-size: 28px;
    color: #6b3e18;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
}

/* Grid layout */
.highlights-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Card */
.highlight-card {
    background: #f7faf7;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: left;
}

.highlight-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.highlight-card img:hover {
    transform: scale(1.03);
}

.highlight-card h3 {
    font-size: 18px;
    color: #2f5d3f;
    margin: 12px 0 8px;
}

.highlight-card ul {
    padding-left: 18px;
    margin: 0;
}

.highlight-card ul li {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.clinic-highlights h2,
.section-subtitle {
    text-align: center;
}

.highlights-grid {
    text-align: left;   /* cards remain clean */
}


/* Tablet */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        text-align: center;
    }

    .highlight-card ul {
        text-align: left;
        display: inline-block;
    }
}


/* Lightbox Overlay - MUST BE FIXED POSITION */
#lightbox {
    display: none;                /* IMPORTANT */
    position: fixed;              /* IMPORTANT */
    z-index: 99999;               /* IMPORTANT */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

/* Image inside popup */
#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}

.cart-btn {
    position: fixed;
    top: 8px;
    right: 8px;
    background: #d52424;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100000;

    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn span {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ffcc00;
    color: #000;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 600;
}


.cart-add-btn
{
    width: 100%;
    padding: 12px;
    border: none;
    background: #d9534f;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.cart-panel {
    position: fixed;
    top: 80px;
    right: 0px;
    width: 375px;
    height: calc(100vh - 100px);
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    z-index: 99999;

    display: none;
    flex-direction: column;

    overflow: hidden; /* 🔥 IMPORTANT */
}

.cart-panel.open {
    display: flex;
}


.cart-panel.open {
    display: flex;                 /* ✅ OPEN STATE */
}


.cart-panel h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: #6b1f1f !important;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.cart-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

..cart-panel ul li {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}


/* Small fixed remove button */
.cart-panel ul li button.remove-btn {
    background: #e57373;
    color: #fff;
    border: none;
    border-radius: 50%; /* circular */
    width: 22px;        /* fixed width */
    height: 22px;       /* fixed height */
    line-height: 22px;  /* vertical center text */
    padding: 0;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    flex-shrink: 0;     /* prevent shrinking/stretching */
    transition: 0.3s ease;
}

.cart-panel ul li button.remove-btn:hover {
    background: #d32f2f;
}

.cart-panel button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    background: #d9534f; 
}

.cart-panel .whatsapp-btn {
   background: #d9534f; 
}

.cart-panel .close-btn {
   background: #d9534f;
}

.cart-input {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.cart-input label {
    font-size: 13px;
    margin-bottom: 4px;
    color: #6b1f1f;
    font-weight: 500;
}

.cart-input input {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    transition: 0.3s ease;
}

.cart-input input:focus {
    border-color: #6b1f1f;
    box-shadow: 0 0 5px rgba(107,31,31,0.4);
}


.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 260px;
    max-width: 320px;
    padding: 14px 18px;
    background: #2e7d32;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 2147483647; /* 🔥 super safe */

    opacity: 0;
    visibility: hidden;      /* ✅ REQUIRED */
    transform: translateY(-20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Show */
.toast.show {
    opacity: 1;
    visibility: visible;     /* ✅ REQUIRED */
    transform: translateY(0);
}


/* Variants */
.toast.success {
    background: #2e7d32; /* green */
}

.toast.error {
    background: #b71c1c; /* red */
}

.toast.info {
    background: #6b1f1f; /* your theme color */
}

.cart-note {
    background: #fff3cd;       /* light yellow for attention */
    color: #856404;            /* dark yellow text */
    padding: 10px 12px;
    border-left: 4px solid #ffeeba; /* subtle border */
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: Arial, sans-serif;
}

.cart-item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.cart-item img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.cart-item-info strong {
    color: #333;
    line-height: 1.2;
}

.cart-item-info span {
    color: #6b1f1f;
    font-weight: 600;
    font-size: 13px;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cart-item-info .price {
    color: #4CAF50;
    font-weight: 600;
    margin-top: 2px;
}

.cart-items-wrapper {
    max-height: 220px;        /* controls list height */
    overflow-y: auto;         /* ✅ scrollbar */
    margin-bottom: 12px;
    padding-right: 4px;       /* avoids scrollbar overlap */
}


.cart-total {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.cart-panel button {
    flex-shrink: 0;         /* 🔥 prevent shrinking */
}


.cart-panel {
    justify-content: space-between;
}

.cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.cart-actions button {
    flex: 1;
}


@media (max-width: 768px) {

    .cart-btn {
        top: 10x;
        right: 5px;

        padding: 6px;          /* smaller button */
        z-index: 100001;       /* above menu */
    }

    .cart-btn img,
    .cart-btn i,
    .cart-btn svg {
        width: 18px;
        height: 18px;
    }

    .cart-btn span {
        top: -5px;
        right: -5px;
        font-size: 10px;
        padding: 1px 5px;
    }
}


/* Button styles */
.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-danger {
    background: #d32f2f;
    color: #fff;
}


/* Empty cart should NOT use full height */
.cart-panel.empty {
    height: auto;
    max-height: 300px;
}


.empty-cart {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #6b1f1f;
}

.empty-cart p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.btn-shop {
    background: #d9534f;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cart-close-btn:hover {
    opacity: 0.8;
}


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    cursor: pointer;
}

/* Tooltip */
.whatsapp-float::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 65px;
    background: #222;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

/* Tooltip arrow */
.whatsapp-float::before {
    content: "";
    position: absolute;
    right: 58px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #222;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show tooltip on hover */
.whatsapp-float:hover::after,
.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}


/* ==============================
   CATEGORY ROW (HORIZONTAL)
============================== */

.category-section {
    width: 100%;
    padding: 20px 10px;
    background: #f9f4ee;
}

.category-row {
    display: flex;
    gap: 16px;

    justify-content: center;      /* 👈 CENTER */
    align-items: center;

    overflow-x: auto;
    padding: 10px 5px;
    scroll-snap-type: x mandatory;
}


/* Hide scrollbar (optional) */
.category-row::-webkit-scrollbar {
    display: none;
}

/* Category Item */
.category-item {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
    scroll-snap-align: start;
}

/* Circular Image */
.category-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d52424;
    padding: 2px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Category Text */
.category-item span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

/* Hover effect */
.category-item:hover img {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border-color: #000; /* or your theme color */
}

/* Optional text highlight */
.category-item:hover span {
    color: #d52424;
}

.category-block {
    margin-top: 50px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: left;
    color: #831d1d;
}

.category-block:target {
    animation: highlight 1.2s ease;
}

@keyframes highlight {
    from { background-color: #fff3f3; }
    to { background-color: transparent; }
}


@media (max-width: 480px) {
    .category-item img {
        width: 60px;
        height: 60px;
    }

    .category-item span {
        font-size: 12px;
    }
}

@media (hover: none) {
    .category-item:hover img {
        transform: none;
        box-shadow: none;
    }
}


@media (max-width: 992px) {
    .category-item img {
        width: 120px;
        height: 120px;
    }
}
