/* =================================
   HERO SLIDER
================================= */

.hero-slider img{
height:550px;
object-fit:cover;
}

.carousel-caption{
bottom:120px;
background:rgba(0,0,0,0.45);
padding:25px;
border-radius:10px;
}

.carousel-caption h1{
font-size:45px;
font-weight:700;
}

.carousel-caption p{
font-size:20px;
}


/* =================================
   STICKY HEADER
================================= */

.main-navbar{
position:sticky;
top:0;
z-index:9999;
background:#fff;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
padding:12px 0;
}


/* =================================
   TOP BAR
================================= */

.topbar{
background:#f3f3f3;
font-size:14px;
padding:8px 0;
color:#555;
}

.topbar .top-right{
font-weight:500;
}


/* =================================
   NAVBAR
================================= */

.navbar-brand{
font-size:22px;
}

.logo{
height:55px;
width:auto;
}

.navbar-nav{
gap:5px;
}

.navbar-nav .nav-link{
font-size:15px;
font-weight:500;
color:#333;
white-space:nowrap;
padding:8px 12px;
position:relative;
transition:0.3s;
}

/* MENU HOVER */

.navbar-nav .nav-link:hover{
color:#1e5aa8;
}

/* underline animation */

.navbar-nav .nav-link::after{
content:"";
position:absolute;
width:0%;
height:2px;
left:0;
bottom:-5px;
background:#1e5aa8;
transition:0.3s;
}

.navbar-nav .nav-link:hover::after{
width:100%;
}


/* =================================
   DROPDOWN MENU
================================= */

.dropdown-menu{
border:none;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
border-radius:6px;
}

.dropdown-item{
padding:8px 16px;
}

.dropdown-item:hover{
background:#f3f7ff;
color:#1e5aa8;
}

/* dropdown hover */

.nav-item.dropdown:hover .dropdown-menu{
display:block;
margin-top:0;
}


/* =================================
   BUTTON
================================= */

.btn-primary{
padding:8px 16px;
background:#2b6cb0;
border:none;
border-radius:5px;
}

.btn-primary:hover{
background:#1e5aa8;
}


/* =================================
   EMERGENCY LOAN SECTION
================================= */

.emergency-loan{
background:linear-gradient(135deg,#1e5799,#2989d8);
padding:70px 0;
}

.emergency-loan h2{
font-size:36px;
font-weight:700;
}

.emergency-loan .phone{
font-size:30px;
margin-top:10px;
}


/* =================================
   SERVICE CARDS
================================= */

.service-card{
border:none;
transition:0.3s;
border-radius:10px;
}

.service-card:hover{
transform:translateY(-8px);
box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

.service-card img{
height:200px;
object-fit:cover;
border-radius:8px;
}


/* =================================
   PAGE HEADER
================================= */

.page-header{
background:linear-gradient(135deg,#2b6cb0,#1e5aa8);
padding:80px 0;
color:white;
}


/* =================================
   FOOTER
================================= */

.footer-section{
background:linear-gradient(135deg,#2b6cb0,#1e5aa8);
color:white;
}

.footer-title{
font-weight:600;
margin-bottom:20px;
position:relative;
}

.footer-title:after{
content:"";
display:block;
width:40px;
height:3px;
background:#fff;
margin-top:8px;
}

.footer-links{
list-style:none;
padding:0;
}

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

.footer-links a{
color:white;
text-decoration:none;
transition:0.3s;
}

.footer-links a:hover{
color:#ffd34d;
text-decoration:underline;
}

.footer-bottom{
background:#1e5aa8;
padding:15px;
text-align:center;
}

.footer-bottom a{
color:white;
font-weight:600;
text-decoration:none;
}


/* =================================
   MOBILE RESPONSIVE
================================= */

@media (max-width:768px){

.hero-slider img{
height:350px;
}

.carousel-caption h1{
font-size:28px;
}

.carousel-caption p{
font-size:16px;
}

.topbar{
text-align:center;
}

.navbar-nav{
gap:0;
}

}