/*==================================
GANESH AMBULANCE SERVICE
Premium Responsive CSS - Part 1
===================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f7f9fc;
    color:#222;
    overflow-x:hidden;
    line-height:1.7;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:#d6001c;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#ececec;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/*================ NAVBAR ================*/

nav{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    padding:18px 8%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:rgba(0,0,0,.25);

    backdrop-filter:blur(10px);

    z-index:9999;

    transition:.4s;

}

.logo img{

    height:85px;

    width:auto;

}

nav ul{

    display:flex;

    align-items:center;

    gap:35px;

}

nav ul li a{

    color:#fff;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

nav ul li a:hover{

    color:#ffcccc;

}

.call-btn{

    background:#d6001c;

    color:#fff;

    padding:14px 26px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.call-btn:hover{

    background:#b10018;

    transform:translateY(-3px);

}

/*================ HERO ================*/

.hero{

    position:relative;

    min-height:100vh;

    background:url("images/2.jpeg") center center/cover no-repeat;

    display:flex;

    align-items:center;

}

.overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

    rgba(0,0,0,.65),

    rgba(0,25,60,.75));

}

.hero-content{

    position:relative;

    width:90%;

    max-width:1200px;

    margin:auto;

    color:#fff;

    z-index:5;

}

.hero-content h4{

    color:#ffb6b6;

    letter-spacing:3px;

    font-size:18px;

    margin-bottom:15px;

}

.hero-content h1{

    font-size:64px;

    line-height:1.15;

    font-weight:800;

    max-width:720px;

}

.hero-content p{

    margin-top:25px;

    max-width:620px;

    font-size:18px;

    opacity:.95;

}

/*================ BUTTONS ================*/

.hero-buttons{

    display:flex;

    gap:20px;

    margin-top:35px;

}

.btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:#d6001c;

    color:#fff;

    padding:16px 34px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.btn:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 30px rgba(214,0,28,.35);

}

.btn2{

    background:#25D366;

}

.btn2:hover{

    box-shadow:0 12px 30px rgba(37,211,102,.35);

}

/*================ HERO BOXES ================*/

.hero-boxes{

    display:flex;

    gap:25px;

    margin-top:60px;

    flex-wrap:wrap;

}

.box{

    width:180px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(12px);

    border-radius:18px;

    padding:28px;

    text-align:center;

    border:1px solid rgba(255,255,255,.2);

}

.box h3{

    font-size:30px;

    color:#fff;

}

.box p{

    margin-top:8px;

    font-size:15px;

}

/*================ SECTION TITLE ================*/

section{

    padding:90px 8%;

}

section h5{

    text-align:center;

    color:#d6001c;

    letter-spacing:2px;

    margin-bottom:10px;

}

section h2{

    text-align:center;

    font-size:40px;

    margin-bottom:55px;

}

/*================ MOBILE ================*/

@media(max-width:992px){

.hero-content h1{

font-size:46px;

}

nav{

padding:15px 5%;

}

nav ul{

gap:20px;

}

.logo img{

height:70px;

}

}

/* ================= MOBILE ================= */

@media (max-width:768px){

nav{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:15px;
    background:#07264d;
}

.logo img{
    height:70px;
    margin-bottom:15px;
}

nav ul{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin:10px 0;
}

nav ul li{
    list-style:none;
}

nav ul li a{
    color:#fff;
    font-size:18px;
    font-weight:600;
}

.call-btn{
    width:100%;
    max-width:320px;
    text-align:center;
    margin-top:15px;
    padding:15px;
}

.hero{
    min-height:100vh;
    background-position:center center;
    background-size:cover;
}

.hero-content{
    text-align:center;
    padding:170px 20px 50px;
}

.hero-content h1{
    font-size:34px;
    line-height:1.2;
}

.hero-content h4{
    font-size:18px;
}

.hero-content p{
    font-size:16px;
}

.hero-buttons{
    justify-content:center;
}

.btn{
    width:100%;
    max-width:320px;
    justify-content:center;
}

.hero-boxes{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    margin-top:40px;
}

.box{
    width:100%;
}
}

@media(max-width:480px){

.hero-content h1{

font-size:28px;

}

section h2{

font-size:30px;

}

.btn{

width:100%;

justify-content:center;

}

.hero-boxes{

flex-direction:column;

align-items:center;

}

.box{

width:100%;

max-width:300px;

}

}