/* Deeva Home Care Services - Ultra Premium Design */
:root {
    /* Dark doctor blue → light blue gradient palette */
    --blue-dark: #1a5276;
    --blue-mid: #2471a3;
    --blue-accent: #2980b9;
    --blue-light: #5dade2;
    --blue-pale: #85c1e9;
    --blue-soft: #d6eaf8;
    --white: #ffffff;
    --gray-bg: #f3f3f3;
    --gray-text: #5a6c7d;
    --shadow-sm: 0 2px 8px rgba(26, 82, 118, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 82, 118, 0.1);
    --shadow-lg: 0 8px 32px rgba(26, 82, 118, 0.14);
    --gradient-hero: linear-gradient(135deg, #1a5276 0%, #2471a3 40%, #2980b9 70%, #5dade2 100%);
    --gradient-header: linear-gradient(135deg, #1a5276 0%, #2471a3 50%, #5dade2 100%);
    --gradient-footer: linear-gradient(180deg, #2471a3 0%, #1a5276 100%);
    --gradient-btn: linear-gradient(135deg, #2471a3 0%, #1a5276 100%);
    --gradient-btn-hover: linear-gradient(135deg, #5dade2 0%, #2471a3 100%);
    --radius-card: 12px;
    --radius-btn: 50px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2d3436;
    line-height: 1.65;
    background: var(--gray-bg);
}

/* Bold headings sitewide */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700 !important;
    color: var(--blue-dark);
}

h1, .h1 { font-size: 1.85rem; }
h2, .h2 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.25rem; }

.main-content {
    min-height: 60vh;
}

/* ========== Page card layout (white container) ========== */
.page-section {
    background: transparent;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.page-section .container {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .page-section .container {
        padding: 2.5rem 2rem;
    }
}

/* ========== Header - gradient dark blue ========== */
.site-header {
    box-shadow: 0 2px 16px rgba(26, 82, 118, 0.18);
}

.site-header .navbar {
    background: var(--gradient-header) !important;
    padding: 0.6rem 0;
}

.site-header .navbar-brand {
    font-size: 1.1rem;
    font-weight: 700 !important;
    color: var(--white) !important;
    max-width: 70%;
    flex-shrink: 1;
}

.site-header .navbar-brand .site-logo {
    max-height: 40px;
    width: auto;
    height: auto;
}

@media (max-width: 576px) {
    .site-header .navbar-brand {
        max-width: 60%;
    }
    .site-header .navbar-brand .site-logo {
        max-height: 32px;
    }
}

.site-header .navbar-brand:hover {
    color: var(--blue-pale) !important;
}

.site-header .nav-link {
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.site-header .nav-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.12);
}

.site-header .nav-link.btn {
    background: var(--white);
    color: var(--blue-dark) !important;
    border: none;
}

.site-header .nav-link.btn:hover {
    background: var(--blue-pale);
    color: var(--blue-dark) !important;
}

.site-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.site-header .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* ========== Hero - premium gradient ========== */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(93, 173, 226, 0.28) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .display-5 {
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-section .lead {
    opacity: 0.95;
    font-weight: 500;
}

.hero-section .btn-light {
    background: var(--white);
    color: var(--blue-dark) !important;
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow-sm);
}

.hero-section .btn-light:hover {
    background: var(--blue-pale);
    color: var(--blue-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero-section .btn-outline-light {
    border-width: 2px;
    font-weight: 600;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    color: var(--white) !important;
}

/* ========== Hero Image Slider ========== */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slider-section .carousel,
.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item {
    height: 420px;
}

@media (min-width: 768px) {
    .hero-slider-section .carousel,
    .hero-slider-section .carousel-inner,
    .hero-slider-section .carousel-item {
        height: 520px;
    }
}

@media (min-width: 992px) {
    .hero-slider-section .carousel,
    .hero-slider-section .carousel-inner,
    .hero-slider-section .carousel-item {
        height: 580px;
    }
}

.hero-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--blue-dark);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.85) 0%, rgba(36, 113, 163, 0.75) 50%, rgba(26, 82, 118, 0.8) 100%);
    pointer-events: none;
}

.hero-slider-section .carousel-caption {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2;
}

.hero-slide-caption .container {
    max-width: 900px;
}

.hero-brand-name {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide-caption h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-slide-text {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    font-weight: 500;
}

.hero-slider-section .btn-light {
    background: var(--white);
    color: var(--blue-dark) !important;
    font-weight: 600;
    border: none;
    box-shadow: var(--shadow-md);
}

.hero-slider-section .btn-light:hover {
    background: var(--blue-pale);
    color: var(--blue-dark) !important;
}

.hero-slider-section .btn-success {
    background: #25d366;
    border: none;
    font-weight: 600;
}

.hero-slider-section .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.hero-slider-section .carousel-indicators button.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.hero-slider-section .carousel-control-prev-icon,
.hero-slider-section .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 1rem;
}

.hero-slider-section .carousel-control-prev-icon:hover,
.hero-slider-section .carousel-control-next-icon:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.home-care-carousel-section .carousel-item img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

/* ========== Service cards ========== */
.service-card {
    background: var(--white);
    border: 1px solid rgba(26, 82, 118, 0.08);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-pale);
}

.service-card .card-body {
    padding: 1.35rem;
}

.service-card .text-primary,
.service-card .bi {
    color: var(--blue-accent) !important;
}

.service-card .btn-outline-primary {
    border-color: var(--blue-accent);
    color: var(--blue-accent);
    font-weight: 600;
}

.service-card .btn-outline-primary:hover {
    background: var(--gradient-btn);
    border-color: transparent;
    color: var(--white) !important;
}

/* ========== Service page – Book / WhatsApp / Call CTA ========== */
.service-booking-cta {
    background: rgba(26, 82, 118, 0.06);
    border: 1px solid rgba(26, 82, 118, 0.12);
    border-radius: var(--radius-card);
    padding: 1.5rem;
}

.service-booking-cta .btn-success {
    background: #25d366;
    border: none;
    font-weight: 600;
}

/* ========== Services grid – entire card clickable ========== */
.services-grid .service-grid-card {
    background: var(--white);
    border: 1px solid rgba(26, 82, 118, 0.08);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    color: var(--blue-dark);
}

.services-grid .service-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
    color: var(--blue-dark);
}

.services-grid .service-grid-card .card-body {
    padding: 1.25rem 1.5rem;
}

.services-grid .service-grid-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(26, 82, 118, 0.1);
    color: var(--blue-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.services-grid .service-grid-card:hover .service-grid-icon {
    background: var(--blue-accent);
    color: var(--white);
}

.services-grid .service-grid-title {
    font-weight: 700;
    color: inherit;
}

.services-grid .service-grid-arrow {
    display: inline-block;
    margin-top: 0.25rem;
    color: var(--blue-accent);
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.services-grid .service-grid-card:hover .service-grid-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ========== Home page – premium service cards (entire card clickable) ========== */
.home-services-grid .home-service-card {
    background: var(--white);
    border: 1px solid rgba(26, 82, 118, 0.08);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    color: var(--blue-dark);
}

.home-services-grid .home-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
    color: var(--blue-dark);
}

.home-services-grid .home-service-card .card-body {
    padding: 1.5rem;
}

.home-services-grid .home-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.12) 0%, rgba(93, 173, 226, 0.15) 100%);
    color: var(--blue-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.home-services-grid .home-service-card:hover .home-service-icon {
    background: var(--gradient-btn);
    color: var(--white);
    transform: scale(1.05);
}

.home-services-grid .home-service-title {
    font-weight: 700;
    color: inherit;
    margin-bottom: 0.5rem;
}

.home-services-grid .home-service-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.home-services-grid .home-service-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-accent);
    opacity: 0.9;
    transition: opacity 0.25s ease, transform 0.25s ease, gap 0.25s ease;
}

.home-services-grid .home-service-card:hover .home-service-arrow {
    opacity: 1;
    gap: 0.5rem;
}

.home-services-grid .home-service-arrow i {
    transition: transform 0.25s ease;
}

.home-services-grid .home-service-card:hover .home-service-arrow i {
    transform: translateX(4px);
}

/* ========== Buttons ========== */
.btn-primary {
    background: var(--gradient-btn);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(41, 128, 185, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: var(--gradient-btn-hover);
    box-shadow: 0 6px 20px rgba(41, 128, 185, 0.5);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-width: 2px;
    border-color: var(--blue-accent);
    color: var(--blue-accent);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--gradient-btn);
    border-color: transparent;
    color: var(--white) !important;
}

/* ========== CTA section ========== */
.bg-primary {
    background: var(--gradient-hero) !important;
    position: relative;
}

.bg-primary .btn-light {
    background: var(--white);
    color: var(--blue-dark) !important;
    font-weight: 600;
}

.bg-primary .btn-success {
    background: #25d366;
    border: none;
    font-weight: 600;
}

.cta-buttons {
    gap: 0.75rem 1rem;
}

.cta-buttons .btn {
    margin: 0.25rem;
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        margin: 0 0.5rem;
    }
    .cta-buttons .btn {
        margin: 0.25rem 0;
    }
}

/* ========== Footer - dark blue gradient ========== */
.site-footer {
    background: var(--gradient-footer) !important;
    color: var(--white);
    padding-top: 2.5rem !important;
    padding-bottom: 1.5rem !important;
}

.site-footer h5,
.site-footer h6 {
    color: var(--white) !important;
    font-weight: 700 !important;
}

.site-footer a:hover {
    color: var(--blue-pale) !important;
}

.site-footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    background: transparent;
    padding: 0 0 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--blue-accent);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--gray-text);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--gray-text);
}

/* ========== Cards (e.g. contact sidebar) ========== */
.card {
    border-radius: var(--radius-card);
    border: 1px solid rgba(26, 82, 118, 0.1);
    box-shadow: var(--shadow-sm);
}

.card .card-body .h5,
.card .card-body h2,
.card .card-body h3 {
    color: var(--blue-dark) !important;
    font-weight: 700 !important;
}

/* ========== WhatsApp floating button ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    color: var(--white) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

/* ========== Forms ========== */
.form-control:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 0.2rem rgba(93, 173, 226, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--blue-dark);
}

/* ========== Section titles ========== */
.page-section h1,
.page-section .h1 {
    color: var(--blue-dark) !important;
    margin-bottom: 0.5rem;
}

.page-section .lead.text-muted {
    color: var(--gray-text) !important;
    font-weight: 500;
}

/* ========== Index: services section on gray bg ========== */
/* ========== Home – Discount offers (below hero) ========== */
.discount-offers {
    background: linear-gradient(180deg, rgba(26, 82, 118, 0.06) 0%, var(--gray-bg) 100%);
}

.discount-card {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 82, 118, 0.1);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.discount-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.discount-card-2 .discount-badge {
    background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-dark) 100%);
}

.discount-content {
    padding-right: 4rem;
}

.discount-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.5rem;
}

.discount-desc {
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.5;
}

.discount-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-accent);
    margin-top: 0.75rem;
}

.discount-card:hover .discount-cta {
    color: var(--blue-dark);
}

.discount-card:hover .discount-cta i {
    transform: translateX(4px);
}

.discount-cta i {
    transition: transform 0.2s ease;
}

.section-services {
    background: var(--gray-bg);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.section-services .container {
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .section-services .container {
        padding: 2.5rem 2rem;
    }
}

.section-services h2 {
    color: var(--blue-dark) !important;
    font-weight: 700 !important;
}

/* ========== Alerts ========== */
.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 8px;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-radius: 8px;
}

/* ========== List styling in content ========== */
.page-section ul:not(.list-unstyled) li {
    margin-bottom: 0.35rem;
}

/* Service page content cards */
.service-content-card {
    border-radius: var(--radius-card);
    border: 1px solid rgba(26, 82, 118, 0.1);
}

.service-content-card .card-body {
    padding: 1.5rem;
}

.service-content-card .card-body p {
    color: #2d3436;
    line-height: 1.65;
}

.service-content-card .card-body ul {
    padding-left: 1.25rem;
}

.service-content-card.discount-highlight {
    border-left: 4px solid var(--blue-accent);
    background: linear-gradient(90deg, rgba(26, 82, 118, 0.06) 0%, transparent 100%);
}

.service-content-card.discount-highlight .card-body h2 {
    color: var(--blue-dark) !important;
    font-weight: 700 !important;
}

.page-section .container {
    color: #2d3436;
}

/* ========== About page – premium contact card ========== */
.about-contact-card {
    border-radius: var(--radius-card);
    border: 1px solid rgba(26, 82, 118, 0.12);
}

.about-contact-item {
    transition: color 0.2s ease, transform 0.2s ease;
}

.about-contact-item:hover {
    color: var(--blue-accent) !important;
}

.about-contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.1) 0%, rgba(93, 173, 226, 0.12) 100%);
    color: var(--blue-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.about-contact-item:hover .about-contact-icon {
    background: var(--gradient-btn);
    color: var(--white);
}

.about-contact-text {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ========== Responsive ========== */
@media (max-width: 991.98px) {
    .hero-section .display-5 {
        font-size: 1.65rem;
    }
    .site-header .navbar-collapse {
        background: rgba(26, 82, 118, 0.98);
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        margin-top: 0.5rem;
    }
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
