@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
    /* Primary Colors */
    --primary: #6c47ff;
    --secondary: #f7b801;
    --accent: #ffeedd;

    /* Background Colors */
    --nav-bg: #fff;
    --hero-bg: linear-gradient(120deg, #f8f7fd 65%, #ffeedd 100%);
    --main-bg: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f4 100%);
    --card-bg: #ffffff;
    --image-bg: #f8f9fa;

    /* Text Colors */
    --text: #22223b;
    --text-light: #6b6b6b;
    --text-white: #ffffff;
    --text-dark: #121212;

    /* Interactive Colors */
    --orange: #ff7b29;
    --orange-light: #f7be15;
    --orange-dark: #e7ae03;

    /* Effects */
    --shadow: 0 4px 24px 0 rgba(108, 71, 255, .08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-light: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-product: 0 2px 6px rgba(255, 193, 7, 0.4);

    /* Sizing */
    --radius: 2.2rem;
    --radius-medium: 20px;
    --radius-small: 15px;
    --radius-button: 2em;

    /* Transitions */
    --transition: 0.18s cubic-bezier(.4, 0, .2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s;

    /* Borders */
    --border: 1.5px solid;
    --border-light: 1px solid rgba(255, 123, 41, 0.1);
    --border-white: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========== Generic Resets ========== */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: var(--hero-bg);
    color: var(--text);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    font-family: 'Roboto', sans-serif;
    font-family: 'Manrope', sans-serif;



}

/* ========== Header & Navigation ========== */
header {
    width: 100%;
    background: transparent;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 8vw 1.2rem 8vw;
    position: relative;
    z-index: 1000;
    transition: box-shadow 0.2s;
}

.logo {
    font-family: 'Pacifico', cursive, sans-serif;
    font-size: 2.2rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    user-select: none;
}

.logo .dot {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.2em 0.5em;
    border-radius: 12px;
    position: relative;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: width .29s cubic-bezier(.4, 0, .2, 1);
}

.nav-links li a:hover::after,
.nav-links li a:focus::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 0.9rem;
}

.btn {
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-button);
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: background var(--transition), color var(--transition), border var(--transition);
    outline: none;
}

.btn-login {
    background: transparent;
    color: var(--primary);
    border: var(--border) var(--primary);
}

.btn-login:hover,
.btn-login:focus {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-signup {
    background: var(--primary);
    color: var(--text-white);
    border: var(--border) var(--primary);
}

.btn-signup:hover,
.btn-signup:focus {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
    transition: color var(--transition);
    margin-left: 1rem;
}

.menu-btn:focus {
    outline: 2px solid var(--secondary);
}

/* ========== Hero Section ========== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3.5rem 8vw 2.5rem 8vw;
    min-height: 70vh;
    background: var(--hero-bg);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    margin-top: 1.2rem;
}

.hero-content {
    max-width: 540px;
    flex: 1 1 50%;
}

.hero-title {
    font-size: clamp(2.3rem, 6vw, 3.3rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.hero-title-highlight {
    color: var(--secondary);
    font-weight: 900;
}

.hero-description {
    font-size: 1.17rem;
    color: var(--text-light);
    margin-bottom: 2.1rem;
    line-height: 1.7;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 2px 12px 0 #f7b80122;
    border: var(--border) var(--secondary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary);
    color: var(--text-white);
    border: var(--border) var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: var(--border) var(--primary);
    font-weight: 600;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary);
    color: var(--text-white);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px #6c47ff22);
    padding: 1.2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========== Main Section ========== */
.main {
    padding: 6rem 8vw;
    background: var(--main-bg);
    position: relative;
    overflow: hidden;
}

/* ========== Featured Products Section ========== */
.main-featured-products {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
}

/* Header Section */
.main-featured-header {
    text-align: left;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-featured-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    position: relative;
}

.main-featured-description {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 650px;
    line-height: 1.7;
    font-weight: 400;
}

/* Controls Container */
.main-featured-products-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-medium);
    border: var(--border-white);
    gap: 2.5rem;
    box-shadow: var(--shadow-medium);
}

/* Category Navigation */
.main-featured-product-category {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.category-btn {
    background: transparent;
    color: var(--orange-light);
    border: var(--border) var(--orange);
    border-radius: var(--radius-button);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.7rem 2rem;
    cursor: pointer;
    transition: all var(--transition);
}

.category-btn:hover,
.category-btn[aria-pressed="true"] {
    background: var(--orange);
    color: var(--text-white);
}

/* Arrow Navigation */
.arrow {
    display: flex;
    gap: 1rem;
}

.arrow-left,
.arrow-right {
    background: var(--orange);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition);
}

.arrow-left {
    background: transparent;
    color: var(--text-dark);
    border: var(--border) var(--orange);
}

.arrow-left:hover {
    background: var(--orange);
    color: var(--text-white);
}

.arrow-right:hover {
    background: var(--orange-dark);
}

/* Products List */
.main-featured-products-list {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Product Card */
.product-card {
    position: relative;
    display: block;
}

/* Product Info Card */
.product-info {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 1.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-slow);
    border: var(--border-light);
}

/* Product Image */
.product-info-image {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: var(--radius-medium);
    padding: 1rem;
    box-shadow: var(--shadow-light);
    background: var(--image-bg);
}

.product-info-image img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: var(--radius-small);
    transition: all var(--transition-slow);
    filter: brightness(1.05) contrast(1.05);
}

.product-info:hover .product-info-image img {
    transform: scale(1.05);
}

/* Product Details */
.product-details {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex-grow: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
    transition: all var(--transition);
    font-family: 'Inter', sans-serif;
}

/* Add to Cart Button */
.add-to-cart-btn {
    background: transparent;
    color: var(--orange-dark);
    border: var(--border) var(--orange);
    border-radius: var(--radius-button);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.7rem 2rem;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: auto;
}

.add-to-cart-btn:hover {
    background: var(--orange);
    color: var(--text-white);
}

/* Product Meta */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.8rem;
    padding-top: 1rem;
    border-top: var(--border-light);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange);
}

.product-rating {
    font-size: 1.1rem;
    filter: drop-shadow(var(--shadow-product));
    transition: all var(--transition);
}

/* Category Filtering */
.product-card[data-category]:not([data-category="Cat"]) {
    display: none;
}

.product-card[data-category="Cat"] {
    display: block;
}

/* ========== Promo Offer Section ========== */
.promo-offer {
    width: 100%;
    background: var(--main-bg);
    border-radius: 2rem;
    box-shadow: 0 8px 32px 0 rgba(108, 71, 255, 0.09);
    margin: 0 auto;
    max-width: 1800px;
    margin-top: 1.5rem;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.promo-img {
    flex: 1 1 170px;
    max-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-img img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.promo-details {
    flex: 2 1 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
}

.promo-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.discount {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 900;
    padding: 0.6rem 1.3rem;
}

.claim-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 2em;
    font-size: 1.03rem;
    font-weight: 600;
    padding: 0.7rem 1.9rem;
    box-shadow: 0 2px 8px #6c47ff2a;
    cursor: pointer;
    transition: background 0.16s, color 0.16s, transform 0.14s, box-shadow 0.14s;
    outline: none;
    letter-spacing: 0.4px;
}

.claim-btn:hover,
.claim-btn:focus {
    background: #f7b801;
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 6px 18px #f7b8012a;
}

.promo-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.promo-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

.promo-desc {
    font-size: 1.07rem;
    color: #22223b;
    opacity: 0.92;
    margin-bottom: 0.1rem;
    max-width: 400px;
}

/* Information section with service highlights */
.info-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--hero-bg);
    border-radius: 2rem;
    box-shadow: 0 8px 32px 0 rgba(108, 71, 255, 0.09);
    padding: 2.5rem 3vw;
    margin: 2.5rem auto;
    max-width: 1200px;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-radius: 1.2rem;
    padding: 1.3rem 2rem;
    min-width: 220px;
}


.info-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.6rem;
}

.info-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.info-divider {
    width: 3px;
    height: 80px;
    background: linear-gradient(180deg, #ffeedd 0%, #6c47ff 100%);
    border-radius: 1em;
    opacity: 0.4;

}

/* mini-category */

.mini-category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
}

.mini-category-card {
    border-radius: 1.2rem;
    padding: 1.7rem 1.3rem;
    min-width: 220px;
    max-width: 210px;

}



.mini-category-card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 1rem;
    margin-bottom: 0.8rem;
}

.mini-category-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    min-height: 2.5em;
}

.mini-category-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 0.6rem;
}

.mini-btn {
    border: none;
    background-color: var(--orange);
    color: var(--text-white);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
}


.number {
    font-size: 1rem;
    font-weight: 800;
    color: #22223b;
    border-radius: 1em;
    text-align: center;
    letter-spacing: 1px;
    user-select: none;
}

/* our-doctors  */
.our-doctors {
    padding: 4rem 8vw;
    text-align: center;
}

.our-doctors-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.our-doctors-description {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #555;
}

.our-doctors-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.our-doctors-gallery {
    flex: 1;
    min-width: 500px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.our-doctors-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.appointment-form {
    width: 100%;
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary, #22223b);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 0.3rem;
}

input,
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    outline: none;
}


.btn-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--orange, #f97316);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #ea580c;
}