
/* =====================================================
   Ramrana Memorial School - style.css
   ===================================================== */

@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;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f8fafc;
    color:#1f2937;
    line-height:1.6;
}

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

a{
    text-decoration:none;
    transition:.3s;
}

ul{
    list-style:none;
}
/*==================================================
    HEADER
==================================================*/

header{
    background:#ffffff;
    border-bottom:1px solid #e9ecef;
    position:relative;
    z-index:100;
}

header .container{
    max-width:1320px;
}

header .row{
    min-height:90px;
}

header img{
    width:65px;
    height:65px;
    object-fit:contain;
}

header h4{
    font-size:30px;
    font-weight:700;
    color:#0d47a1;
    margin:0;
    line-height:1.2;
}

header h5{
    font-size:20px;
    font-weight:600;
    color:#222;
    margin:0;
    line-height:1.2;
}

header p,
header small{
    font-size:14px;
    color:#6c757d;
    margin:0;
}

header .bi{
    font-size:26px;
    margin-bottom:6px;
}

header .small{
    font-size:15px;
    font-weight:600;
}

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

.navbar{
    background:#0d6efd !important;
    padding:10px 0;
    z-index:99;
}

.navbar .container{
    max-width:1320px;
}

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

.navbar-nav .nav-item{
    margin:0 4px;
}

.navbar-nav .nav-link{
    color:#ffffff !important;
    font-size:16px;
    font-weight:600;
    padding:10px 16px;
    border-radius:8px;
    transition:.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{
    background:#0b5ed7;
    color:#ffffff !important;
}

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

.dropdown-item{
    padding:10px 18px;
    font-weight:500;
}

.dropdown-item:hover{
    background:#0d6efd;
    color:#fff;
}

/*==================================================
    BUTTONS
==================================================*/

.btn-warning{
    background:#ffc107;
    border:none;
    color:#111;
    font-weight:700;
    border-radius:30px;
    padding:10px 28px;
}

.btn-warning:hover{
    background:#ffca2c;
}

.btn-outline-light{
    border-radius:30px;
}

/*==================================================
    MARQUEE
==================================================*/

.bg-warning{
    padding:8px 0 !important;
}

marquee{
    font-size:15px;
    font-weight:600;
    color:#222;
}

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

.carousel{
    margin-top:0;
}

.carousel-item{
    position:relative;
}

.carousel-item img{
    height:650px;
    width:100%;
    object-fit:cover;
}

.carousel-caption{
    bottom:15%;
    z-index:2;
}

.carousel-caption h1{
    font-size:64px;
    font-weight:800;
    color:#fff;
    text-shadow:0 4px 20px rgba(0,0,0,.55);
}

.carousel-caption h5{
    color:#ffc107;
    font-size:28px;
    font-weight:700;
}

.carousel-caption p{
    font-size:22px;
    color:#fff;
}

.slider-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

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

@media (max-width:991px){

header{
    text-align:center;
}

header .row{
    min-height:auto;
}

header img{
    width:55px;
    height:55px;
    margin:auto;
}

header h4{
    font-size:22px;
}

header h5{
    font-size:16px;
}

header p,
header small{
    font-size:13px;
}

.navbar{
    padding:8px 0;
}

.navbar-nav{
    margin-top:15px;
}

.navbar-nav .nav-link{
    margin:3px 0;
}

.carousel-item img{
    height:420px;
}

.carousel-caption{
    bottom:8%;
}

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

.carousel-caption h5{
    font-size:18px;
}

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

.btn-warning{
    width:100%;
    margin-top:10px;
}

}

@media (max-width:576px){

header h4{
    font-size:20px;
}

header h5{
    font-size:15px;
}

.carousel-item img{
    height:320px;
}

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

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

}

/* Hero */

.hero{
    background:linear-gradient(135deg,#1e3a8a,#2563eb);
    color:#fff;
    padding:140px 0 80px;
}

.hero h1{
    font-size:3.4rem;
    font-weight:800;
    line-height:1.2;
}

.hero p{
    font-size:1.1rem;
    margin:20px 0;
}

.section{
    padding:80px 0;
}

.section-title{
    text-align:center;
    color:#1e3a8a;
    font-size:2.4rem;
    font-weight:800;
    margin-bottom:20px;
}

.card{
    background:#fff;
    border-radius:16px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.counter{
    text-align:center;
    color:#fff;
}

.counter h2{
    font-size:3rem;
    font-weight:800;
}

footer{
    background:#172554;
    color:#fff;
}

footer a{
    color:#cbd5e1;
}

footer a:hover{
    color:#facc15;
}

/* Utilities */

.container{
    width:min(1200px,92%);
    margin:auto;
}

.text-center{
    text-align:center;
}

.shadow{
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.rounded{
    border-radius:12px;
}

/* Responsive */

@media(max-width:992px){

.hero{
    padding-top:120px;
}

.hero h1{
    font-size:2.5rem;
}

}

@media(max-width:768px){

.hero h1{
    font-size:2rem;
}

.section{
    padding:60px 0;
}

.logo img{
    height:50px;
}

.nav-link{
    display:block;
    margin:8px 0;
}

.btn-primary,
.btn-outline{
    width:100%;
    text-align:center;
}

}
