:root {
    --goaid-red: #FF0000;
    --goaid-red-hover: #E53E3E;
    --goaid-blue: #2471B7;
    --goaid-dark: #2D3748;
    --goaid-gray: #718096;
    --goaid-black: #333333;
    --goaid-light: #FFFFF;
}

body {
    font-family: 'Inter', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--goaid-black);
}

p {
    font-size: 1.15rem;
    line-height: 1.5;
}

.navbar {
    padding: 0;
}

.cta-container .btn-danger {
    background-color: #2370b6 !important;
    border: 1px solid #2370b6 !important;
    padding: 10px 40px;
    border-radius: 25px;
    font-family: 'Inter', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.hero-section {
    background-image: url("../images/ambulance.jpg");
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    color: white;
    position: relative;
    z-index: 1;
}

.elementor-background-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #daeaff 45%, transparent 65%);
    /*background: linear-gradient(45deg, #2370b6 35%, transparent 65%);*/
    content: '';
    z-index: -1;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.navbar-brand {
    font-size: 1.5rem;
}

.hero-content h1 {
    line-height: 1.2;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

#home p {
    font-size: 1.25rem;
    font-weight: 500;
}

.plane-container {
    transition: transform 0.3s ease;
}

.plane-container:hover {
    transform: translateY(-10px);
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.medical-image img {
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .hero-section {
        min-height: 80vh !important;
    }
}


.text-primary {
    color: var(--goaid-blue) !important;
}

.bg-danger, .btn-danger {
    background-color: var(--goaid-red) !important;
    border: 1px solid var(--goaid-red) !important;
}

#home .btn-primary {
    background-color: var(--goaid-blue) !important;
    border: 1px solid var(--goaid-blue) !important;
    border-radius: 25px;
    font-weight: 500;
}

.btn-primary, .bg-primary {
    background-color: #2370b6 !important;
    border: 1px solid #2370b6 !important;
}

.btn-rounded {
    border-radius: 25px !important;
}

/* About Us*/
#services {
    padding: 100px 0;
}

/* Stats Counter */
.stats-counter {
    background-color: #1e1e1e;
    background-image: url('https://www.goaid.in/wp-content/uploads/2023/12/Air-Ambulance-Service.webp'); /* optional: background image */
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.stats-counter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(218, 234, 255, 0.95);
    z-index: -1;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
}

.stat-number span {
    color: var(--goaid-blue);
    margin-left: 3px;
}

.stat-label {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.text-danger {
    color: var(--goaid-blue) !important;
}

/* Section 4 */
.ambulance-services {
    padding: 100px 0;
}

#ambulanceTabs {
    overflow: hidden;
    padding: 0 0 10px 0;
    width: 65%;
    margin: 0 auto;
}

.ambulance-services .nav-item {
    background-color: #fff;
}

.ambulance-services .nav-tabs .nav-link {
    background: #fff;
    color: #000;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 10px 10px 0 0;
    padding: 20px 20px;
    box-shadow: 0 5px 10px rgba(255, 223, 223, 0.18);
    border: 1px solid #e3eff4;
    margin: 0 1px;
}

.ambulance-services .nav-tabs .nav-link.active, .ambulance-services .nav-tabs .nav-link:hover {
    background-color: #dc3545;
    color: #fff;
    border-bottom: none;
    position: relative;
}

.ambulance-services .nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: #dc3545;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.ambulance-services .tab-content {
    background-color: #fff;
    margin-top: -35px;
    padding: 75px 50px 20px 50px;
    border: 0;
    box-shadow: 0 5px 10px rgba(255, 223, 223, 0.18);
}


/* Section 5*/

.private-jet-section {
    /*background-image: linear-gradient(45deg, #daeaff 45%, #eff6ff 65%);*/
    color: #fff;
    padding: 100px 0;
}

.jet-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.jet-image-box {
    position: relative;
    max-width: 500px;
}

.jet-main-img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.features-card {
    background-color: #FFEAEA;
    color: var(--goaid-dark);;
    border-radius: 12px;
    padding: 20px;
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.features-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-card li {
    margin-bottom: 15px;
    font-size: 14px;
}

.features-card li:last-child {
    margin-bottom: 0px;
}

.features-card i {
    color: var(--goaid-red);
    background-color: transparent;
    border-radius: 50%;
    padding: 4px;
    margin-right: 8px;
}

.jet-text-box {
    max-width: 600px;
}

.jet-text-box .subheading {
    font-size: 16px;
    color: var(--goaid-blue);
    letter-spacing: 2px;
    font-weight: 500;
}

.jet-text-box h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--goaid-dark);
    margin: 15px 0;
}

.jet-text-box p {
    color: var(--goaid-dark);
    margin-bottom: 10px;
    font-size: 1.15rem;
    display: flex;
}

.jet-text-box p .text-danger {
    margin-right: 10px;
    color: var(--goaid-red) !important;
}

.btn-view {
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
}


/* Why Us */
.why-choose {
    padding: 100px 20px;
    text-align: center;
    /*background-image: linear-gradient(45deg, #daeaff 45%, #eff6ff 65%);*/
    background-image: linear-gradient(45deg, #eff6ff 45%, #eff6ff 65%);
}

.why-choose h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-choose .subtitle {
    color: #666;
    margin-bottom: 40px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-box {
    background-color: transparent;
    border: 1px solid #e8ebf1;
    border-radius: 12px;
    padding: 25px;
    width: 400px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    /*background-image: linear-gradient(45deg, #daeaff 45%, #eff6ff 15%);*/
    background-image: linear-gradient(45deg, #daeaff 45%, #daeaff 15%);
    transform: translateY(-5px);
}

.icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon i {
    font-size: 20px;
    color: #fff;
}

/* Icon background colors */
.bg-blue {
    background-color: #2563eb;
}

.bg-green {
    background-color: #10b981;
}

.bg-red {
    background-color: #ef4444;
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0f172a;
    font-weight: 600;
}

.feature-box p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
}


.faq-section {
    background-image: linear-gradient(45deg, #eff6ff 45%, #eff6ff 65%);
    padding: 100px 0;
}

.accordion-button {
    font-weight: 600;
}


.accordion-flush .accordion-item, .accordion-header, .accordion-button {
    border-radius: 50px !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}

.blog-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin: 0 10px;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-slider .card-img-top {
    height: 250px;
    object-fit: cover;
}

.slick-prev, .slick-next {
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slick-prev:before, .slick-next:before {
    color: #000;
    font-size: 20px;
}

/* Our Clients */
.our-clients {
    background-image: linear-gradient(45deg, #eff6ff 45%, #eff6ff 65%);
}

.partner-box {
    padding: 20px 30px;
    margin: 10px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.partner-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.slick-slide {
    display: flex;
    justify-content: center;
}

/* CTA */
.emergency-banner {
    background-color: #1f77c7;
    padding: 100px 0;
}

.footer {
    background-color: #0d1523;
    padding: 100px 0;
}

.footer h6 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.footer li {
    font-size: 1.15rem;
    line-height: 1.5;
    padding: 5px 0;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .fab,
.footer .fas {
    font-size: 14px;
}


/* Responsive CSS */
@media (max-width: 500px) {
    p {
        font-size: 1rem;
    }

    .elementor-background-overlay {
        background: linear-gradient(0deg, #daeaff 45%, transparent 65%);
    }

    #home .align-items-center {
        align-items: flex-end !important;
    }

    #home .position-relative {
        top: 175px !important;
    }

    .display-4 {
        font-size: calc(1.25rem + 2vw);
    }

    .display-5 {
        font-size: calc(1.05rem + 1.75vw);
    }

    #home p {
        font-size: 1.05rem;
    }

    .btn-emergency, #home .btn-primary {
        padding: 10px 15px !important;
        font-size: 16px;
    }

    #services, .why-choose, .ambulance-services, .stats-counter, .private-jet-section, .faq-section, .blog-section, .emergency-banner {
        padding: 50px 0;
    }

    #services .badge {
        margin-top: 15px;
    }

    #services .btn {
        font-size: 14px;
    }

    .why-choose h2 {
        font-size: 24px;
    }

    .feature-box p {
        font-size: 1rem;
    }

    #ambulanceTabs {
        padding: 0 0 10px 0;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: left !important;
    }

    .ambulance-services .nav-tabs .nav-link {
        padding: 10px 10px;
        width: 100%;
        min-width: 200px;
    }

    .ambulance-services .tab-content {
        padding: 50px 0 20px 0;
    }

    .features-card {
        bottom: -40px;
        left: 50%;
        width: 250px;
        transform: translateX(-50%);
    }

    .jet-text-box {
        margin-top: 25px;
    }

    .jet-text-box .subheading {
        margin-top: 20px;
    }

    .jet-text-box h2 {
        font-size: 26px;
    }

    .jet-text-box p {
        font-size: 1rem;
    }
}
