/* ==========================================================================
   DIVYANSH AMBULANCE SERVICES - CUSTOM STYLE SHEET
   ========================================================================== */

/* 1. Imports */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* 2. Custom CSS Variables (Design System) */
:root {
    /* Color Palette */
    --primary: #0a3d62;          /* Deep Trustworthy Navy Blue */
    --primary-light: #1e5c8a;    /* Lighter Navy for hovers */
    --primary-rgb: 10, 61, 98;   /* Navy Blue in RGB for overlays */
    --secondary: #e55039;        /* Emergency Red-Orange */
    --secondary-hover: #cf3d27;  /* Emergency Red-Orange Hover */
    --secondary-rgb: 229, 80, 57;/* Red-Orange in RGB */
    --accent: #00b4d8;           /* Medical Cyan */
    --accent-light: #e0f7fc;     /* Soft Cyan Tint */
    
    /* Neutrals */
    --dark: #1e272e;             /* Charcoal */
    --dark-light: #2f3640;       /* Lighter Charcoal */
    --light: #f8f9fa;            /* Soft White Background */
    --white: #ffffff;
    --gray-100: #f1f2f6;
    --gray-200: #dfe4ea;
    --gray-300: #ced6e0;
    --gray-600: #747d8c;
    --gray-700: #57606f;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Shadow Systems */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
    --shadow-colored: 0 10px 20px rgba(10, 61, 98, 0.15);
    --shadow-secondary: 0 8px 16px rgba(229, 80, 57, 0.25);

    /* Layout & Transitions */
    --transition-fast: all 0.2s ease-in-out;
    --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --max-width: 1200px;
}

/* 3. Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 4. Global Utility Classes */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--gray-600) !important; }
.text-white { color: var(--white) !important; }

.bg-light { background-color: var(--light); }
.bg-primary { background-color: var(--primary); }
.bg-dark { background-color: var(--dark); }

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

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(10, 61, 98, 0.25);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(229, 80, 57, 0.35);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

/* 5. Header / Navigation */
.top-bar {
    background-color: var(--dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-info i {
    color: var(--secondary);
}

.top-bar-socials {
    display: flex;
    gap: 15px;
}

.top-bar-socials a:hover {
    color: var(--secondary);
}

/* Main Navbar */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

/* Class added via JS on scroll */
.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition-normal);
}

.site-header.scrolled .navbar {
    padding: 10px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
}

/* Services Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-sm);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-normal);
    z-index: 1100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.dropdown-item a:hover {
    background-color: var(--gray-100);
    color: var(--primary);
    padding-left: 25px;
}

/* Call Out Phone CTA */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(229, 80, 57, 0.1);
    color: var(--secondary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-secondary 2s infinite;
}

.phone-cta-text {
    display: flex;
    flex-direction: column;
}

.phone-cta-text span {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    font-weight: 600;
}

.phone-cta-text a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-heading);
}

.phone-cta-text a:hover {
    color: var(--secondary);
}

/* Hamburger mobile menu button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1200;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Mobile responsive menu overlay */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

/* 6. Hero Banner Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(10, 61, 98, 0.8), rgba(10, 61, 98, 0.75)), url('../assets/images/hero_ambulance.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    background-color: rgba(229, 80, 57, 0.1);
    padding: 6px 16px;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--secondary);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Quick Helpline Section */
.quick-helpline {
    background-color: var(--secondary);
    color: var(--white);
    padding: 25px 0;
    position: relative;
    z-index: 10;
    margin-top: -40px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
}

.quick-helpline-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.quick-helpline-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quick-helpline-info i {
    font-size: 2.5rem;
}

.quick-helpline-info h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 2px;
}

.quick-helpline-info p {
    margin: 0;
    opacity: 0.9;
}

/* 7. About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-colored);
    text-align: center;
    width: 170px;
}

.about-badge h3 {
    font-size: 2.5rem;
    color: var(--white);
    line-height: 1;
}

.about-badge p {
    font-size: 0.85rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.section-tag {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-item i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.about-feature-item span {
    font-weight: 600;
    color: var(--dark);
}

/* 8. Services Grid Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 61, 98, 0.1);
}

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-icon-badge {
    position: absolute;
    bottom: -20px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-secondary);
    z-index: 10;
}

.service-info {
    padding: 35px 25px 25px;
}

.service-info h3 {
    margin-bottom: 12px;
}

.service-info p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-heading);
}

.service-link:hover {
    color: var(--secondary);
}

/* 9. Why Choose Us Section */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

.why-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--border-radius-md);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: var(--transition-normal);
}

.why-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.why-text h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.why-text p {
    margin: 0;
    font-size: 0.9rem;
}

.why-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-colored);
}

.stat-card:nth-child(even) {
    background-color: var(--secondary);
    box-shadow: var(--shadow-secondary);
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 10. Support Banner */
.support-banner {
    background: linear-gradient(rgba(10, 61, 98, 0.9), rgba(10, 61, 98, 0.9)), url('../assets/images/hero_ambulance.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.support-banner h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.support-banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 11. Hyderabad Service Areas */
.areas-section {
    background-color: var(--light);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.area-card {
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.area-card:hover {
    border-bottom: 2px solid var(--secondary);
    transform: translateY(-2px);
}

.area-card i {
    color: var(--secondary);
}

.area-card span {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

/* 12. Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(10, 61, 98, 0.08);
    position: absolute;
    top: 20px;
    right: 25px;
}

.rating {
    color: #ffb800;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* 13. Image Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 61, 98, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox container */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    background: transparent;
    border: none;
}

/* 14. FAQ Section */
.faq-section {
    background-color: var(--light);
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-accordion {
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.faq-accordion.active {
    border-color: rgba(10, 61, 98, 0.2);
    box-shadow: var(--shadow-md);
}

.faq-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
    transition: var(--transition-fast);
}

.faq-header h3 {
    font-size: 1.05rem;
    margin: 0;
    padding-right: 20px;
}

.faq-icon-toggle {
    font-size: 0.875rem;
    transition: var(--transition-normal);
}

.faq-accordion.active .faq-icon-toggle {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: var(--white);
}

.faq-accordion.active .faq-body {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-content {
    padding: 0 25px 25px;
    border-top: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

/* 15. Contact Section & Map */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    display: flex;
    gap: 20px;
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(10, 61, 98, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.contact-text p, .contact-text a {
    margin: 0;
    font-size: 0.95rem;
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-300);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Map Embed */
.map-container {
    margin-top: 50px;
    height: 400px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 16. Footer Section */
.site-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 0;
    border-top: 5px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-about img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}

/* Map widget in footer */
.footer-map {
    height: 150px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* 17. Floating Action Icons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1500;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    transition: var(--transition-normal);
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.floating-whatsapp {
    background-color: #25d366;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
    animation: bounce 2s infinite;
}

.floating-call {
    background-color: #e55039;
    box-shadow: 0 6px 16px rgba(229, 80, 57, 0.3);
    animation: pulse-secondary 2.5s infinite;
}

/* 18. Service Subpages Styling */
.service-hero {
    position: relative;
    background-image: linear-gradient(rgba(10, 61, 98, 0.85), rgba(10, 61, 98, 0.85)), url('../assets/images/hero_ambulance.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.service-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
}

.breadcrumbs {
    display: inline-flex;
    gap: 8px;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: var(--border-radius-sm);
}

.breadcrumbs a:hover {
    color: var(--secondary);
}

.service-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-main-text h2 {
    margin-bottom: 20px;
}

.service-main-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.service-main-text ul {
    margin-bottom: 25px;
    padding-left: 20px;
    list-style-type: square;
}

.service-main-text li {
    margin-bottom: 8px;
}

.service-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.service-images-grid img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.sidebar-widget {
    background-color: var(--light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-200);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.sidebar-services-list li {
    margin-bottom: 12px;
}

.sidebar-services-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.sidebar-services-list a:hover, .sidebar-services-list li.active a {
    background-color: var(--primary);
    color: var(--white);
}

.sidebar-services-list a i {
    font-size: 0.8rem;
}

.sidebar-cta-widget {
    background: linear-gradient(rgba(10, 61, 98, 0.95), rgba(10, 61, 98, 0.95)), url('../assets/images/hero_ambulance.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
}

.sidebar-cta-widget h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.sidebar-cta-widget p {
    font-size: 0.9rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.sidebar-cta-phone {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* Toast alert notification styling */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    display: none;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: slideInRight 0.3s ease-out;
    border-left: 5px solid var(--secondary);
}

/* 19. Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse-secondary {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 80, 57, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(229, 80, 57, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 80, 57, 0);
    }
}

@keyframes pulse-primary {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 61, 98, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(10, 61, 98, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(10, 61, 98, 0);
    }
}

/* 20. Responsive Media Queries */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.85rem; }
    
    .navbar {
        padding: 20px 0;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 40px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        z-index: 1100;
        gap: 20px;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-item {
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        transform: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background-color: var(--gray-100);
        border-radius: var(--border-radius-sm);
        margin-top: 5px;
    }
    .nav-item.active-dropdown .dropdown-menu {
        max-height: 400px;
    }
    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 10px;
        border-radius: var(--border-radius-sm);
    }
    .nav-link:hover {
        background-color: var(--gray-100);
    }
    .hamburger {
        display: flex;
    }
    .nav-cta {
        display: none; /* Show phone CTA inside navbar top, hide from navbar end on tablet */
    }
    .hero {
        height: 70vh;
    }
    .about-grid, .why-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-info {
        flex-direction: column;
        gap: 5px;
    }
    .top-bar-socials {
        display: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .quick-helpline-box {
        flex-direction: column;
        text-align: center;
    }
    .quick-helpline-info {
        flex-direction: column;
        gap: 10px;
    }
    .about-badge {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
    .services-grid, .testimonials-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-content-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    .hero-ctas .btn {
        width: 100%;
    }
    .floating-actions {
        bottom: 20px;
        left: 20px;
    }
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}
