/* =========================================
   1. General & Typography (Professional Setup)
   ========================================= */
:root {
    --primary-blue: #0d6efd;
    --medical-teal: #20c997;
    --dark-navy: #0f1c2e;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --card-bg: #ffffff;
    --hover-shadow: 0 15px 35px rgba(13, 110, 253, 0.15); /* Soft Blue Glow */
}

body {
    font-family: 'Times New Roman', Times, serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
}

/* =========================================
   2. Hero Section (Floating Animation)
   ========================================= */
/* Adds a gentle float to the hero image to make it look alive */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-img-container img, 
div[data-aos="zoom-in"] img {
    animation: float 5s ease-in-out infinite;
}

/* =========================================
   3. Service Cards (Premium Healthcare Look)
   ========================================= */
/* Default Card State */
.bg-white.rounded-4, 
.border.rounded-4 {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy professional feel */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hover State - Lifts up with a soft glow */
.bg-white.rounded-4:hover, 
.border.rounded-4:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow) !important;
    border-color: var(--primary-blue) !important;
}

/* Icon Zoom Effect inside cards */
.border.rounded-4:hover .fs-1, 
.bg-white.rounded-4:hover .fs-2 {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

/* =========================================
   4. Why Choose Us (Colored Border Accents)
   ========================================= */
/* Specific hover colors for the "Why Choose Us" section borders */
.border-primary-subtle:hover { background-color: #f0f7ff; border-color: #0d6efd !important; }
.border-success-subtle:hover { background-color: #f0fff4; border-color: #198754 !important; }
.border-warning-subtle:hover { background-color: #fffbf0; border-color: #ffc107 !important; }
.border-info-subtle:hover    { background-color: #f0fdff; border-color: #0dcaf0 !important; }
.border-danger-subtle:hover  { background-color: #fff5f5; border-color: #dc3545 !important; }
.border-secondary-subtle:hover { background-color: #f8f9fa; border-color: #6c757d !important; }

/* =========================================
   5. "Fire" Button (Call to Action)
   ========================================= */
/* A professional gradient button that pulses */
.fire-btn {
    background: linear-gradient(45deg, #0d6efd, #0dcaf0); /* Professional Blue/Cyan Gradient */
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(13, 202, 240, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* If you strictly want the Red/Orange Fire color instead of Blue, uncomment this: */
/*
.fire-btn {
    background: linear-gradient(45deg, #ff512f, #dd2476);
    box-shadow: 0 4px 15px rgba(221, 36, 118, 0.4);
}
*/

.fire-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(13, 202, 240, 0.6);
    color: #fff;
}

/* =========================================
   6. Background Patterns (Subtle Depth)
   ========================================= */
/* Adds a very faint grid to light sections to make it look technical */
section.bg-light, 
section[style*="#f0f4f8"] {
    background-image: radial-gradient(#ced4da 1px, transparent 1px);
    background-size: 24px 24px;
    background-color: #f8f9fa; /* Ensure fallback */
}

/* =========================================
   7. Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.2rem;
    }
    .display-6 {
        font-size: 1.75rem;
    }
    /* Disable floating animation on mobile for better performance */
    .hero-img-container img, 
    div[data-aos="zoom-in"] img {
        animation: none;
    }
}