* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f5f9ff;
    color: #1a2c3e;
    overflow-x: hidden;
}

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

.fade-up {
    animation: fadeInUp 0.7s ease forwards;
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

/* ========== NAVBAR ========== */
.navbar {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.logo-area:hover {
    transform: scale(1.02);
}

.logo-icon {
    background: linear-gradient(135deg, #0a5c8e, #1e88b5);
    width: 52px;
    height: 52px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.9rem;
    font-weight: bold;
    box-shadow: 0 8px 16px rgba(10, 92, 142, 0.25);
}

.logo-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a5c8e;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.logo-text span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #2c9cd4;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #1f3e4b;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0f7bc2;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #e63946;
    color: white;
    border-radius: 30px;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    font-weight: bold;
}

/* ========== HERO SECTION WITH SLIDESHOW ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.slideshow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slideshow-bg .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-bg .slide.active {
    opacity: 1;
}

.hero .overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 35, 55, 0.65), rgba(0, 20, 40, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    min-height: 4.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 2rem;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: #0f7bc2;
    border: none;
    padding: 14px 38px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 40px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #0a5f96;
    transform: scale(1.02);
}

.btn-sm {
    background: #e9f0f5;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 1rem;
    margin-right: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-sm:hover {
    background: #0f7bc2;
    color: white;
}

.btn-secondary {
    margin-top: 10px;
    width: 100%;
    background: #ddd;
    border: none;
    padding: 10px;
    border-radius: 30px;
    cursor: pointer;
}

.whatsapp-green {
    background: #25D366;
    color: white;
}

.whatsapp-green:hover {
    background: #1da851;
}

/* ========== CONTAINERS & CARDS ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #0a3b52;
    border-left: 6px solid #2c9cd4;
    padding-left: 1rem;
}

.search-card,
.cv-card,
.ambulance-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.feature-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: -2rem;
}

.feature-card {
    background: white;
    border-radius: 28px;
    padding: 1.5rem;
    text-align: center;
    width: 280px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.feature-card i {
    font-size: 2.5rem;
    color: #0f7bc2;
}

/* ========== PREGNANCY CARD ========== */
.pregnancy-card {
    background: linear-gradient(135deg, #ffe9f0, #fff0f5);
    border-left: 8px solid #e84393;
    margin-top: 2rem;
    border-radius: 28px;
    padding: 1.8rem;
}

.pregnancy-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pregnancy-content i {
    font-size: 3rem;
    color: #e84393;
}

.pregnancy-content h2 {
    color: #b13e6b;
}

.pregnancy-btn {
    background: #e84393;
    color: white;
}

.pregnancy-btn:hover {
    background: #c1357c;
}

/* ========== DOCTORS SECTION ========== */
.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.filter-chip {
    background: #eef3fc;
    padding: 8px 22px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-chip.active,
.filter-chip:hover {
    background: #0f7bc2;
    color: white;
}

.search-input {
    width: 100%;
    padding: 14px;
    border-radius: 60px;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
}

.doctor-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 1.5rem;
    transition: 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.doctor-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.doctor-spec {
    color: #0f7bc2;
    font-weight: 600;
    margin-bottom: 1rem;
}

.detail-row {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========== AMBULANCE SECTION ========== */
.ambulance-icon {
    font-size: 4rem;
    color: #e63946;
}

.ambulance-card {
    text-align: center;
}

.ambulance-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* ========== MAP ========== */
.map-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 28px;
    border: 0;
}

/* ========== CV SECTION ========== */
.cv-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.cv-info {
    flex: 1;
}

.cv-info h3 {
    margin-top: 1rem;
}

.cv-info ul {
    margin-left: 1.5rem;
}

.cv-contact {
    flex: 1;
    background: #f0f7fe;
    border-radius: 28px;
    padding: 1.5rem;
    text-align: center;
}

.cv-contact i {
    font-size: 3rem;
}

/* ========== CART SIDEBAR ========== */
.cart-sidebar {
    position: fixed;
    right: -380px;
    top: 0;
    width: 360px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    transition: 0.3s;
    padding: 2rem 1.2rem;
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-total {
    font-weight: bold;
    margin: 1rem 0;
}

.checkout-btn {
    width: 100%;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.overlay.active {
    display: block;
}

/* ========== PAYMENT MODAL ========== */
.payment-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    z-index: 1200;
    width: 90%;
    max-width: 450px;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 25px 40px black;
}

.payment-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 20px;
    border: 1px solid #ccc;
}

.payment-row {
    display: flex;
    gap: 10px;
}

.payment-input.half {
    flex: 1;
}

.bank-logos {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.bank-badge {
    background: #f0f4f8;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-weight: 500;
}

/* ========== FOOTER ========== */
footer {
    background: #0a2a38;
    color: #cddfe7;
    text-align: center;
    padding: 2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 760px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}