/* ==========================================================
   Department of Information Technology & Communication
   Block Nagaur, District Nagaur
   Main Stylesheet
========================================================== */

:root{
    --primary:#003366;
    --secondary:#0056b3;
    --orange:#ff9933;
    --green:#198754;
    --light:#f5f7fa;
    --dark:#212529;
    --white:#ffffff;
    --border:#dcdcdc;
}

/* ==========================================================
   General
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Segoe UI,Tahoma,Arial,sans-serif;
    background:#f4f6f9;
    color:#333;
    line-height:1.7;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

/* ==========================================================
   Top Bar
========================================================== */

.topbar{
    background:var(--primary);
    color:#fff;
    font-size:14px;
    padding:8px 0;
}

.topbar i{
    margin-right:6px;
    color:#ffd54f;
}

/* ==========================================================
   Header
========================================================== */

.header{
    background:#fff;
    padding:15px 0;
}

.logo{
    width:90px;
}

.header h2{
    color:var(--primary);
    font-weight:700;
    margin-bottom:5px;
}

.header h5{
    color:#666;
    font-weight:400;
}

/* ==========================================================
   Navbar
========================================================== */

.navbar{
    background:var(--primary)!important;
}

.navbar-brand{
    font-weight:bold;
}

.nav-link{
    color:#fff!important;
    margin-left:8px;
    transition:.3s;
}

.nav-link:hover{
    color:#ffd54f!important;
}

/* ==========================================================
   Hero Slider
========================================================== */

.carousel-item img{
    width:100%;
    height:520px;
    object-fit:cover;
}

.carousel-caption{
    background:rgba(0,0,0,.45);
    border-radius:10px;
    padding:25px;
}

.carousel-caption h2{
    font-weight:700;
}

/* ==========================================================
   Section Title
========================================================== */

.section-title{
    text-align:center;
    margin-bottom:35px;
}

.section-title h2{
    color:var(--primary);
    font-weight:bold;
}

.section-title p{
    color:#666;
}

/* ==========================================================
   Welcome
========================================================== */

.welcome{
    background:#fff;
    padding:60px 0;
}

/* ==========================================================
   Service Cards
========================================================== */

.service-card{
    background:#fff;
    border-radius:12px;
    padding:25px;
    text-align:center;
    transition:.3s;
    border:1px solid #eee;
    height:100%;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.service-icon{
    width:75px;
    height:75px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    line-height:75px;
    font-size:30px;
    margin:auto;
    margin-bottom:15px;
}

/* ==========================================================
   News
========================================================== */

.news-box{
    background:#fff;
    border-radius:10px;
    padding:20px;
    margin-bottom:20px;
    border-left:5px solid var(--orange);
}

.news-date{
    color:var(--secondary);
    font-weight:bold;
}

/* ==========================================================
   Circulars
========================================================== */

.circular-box{
    background:#fff;
    padding:18px;
    border-left:5px solid var(--green);
    margin-bottom:15px;
}

/* ==========================================================
   Staff
========================================================== */

.staff-card{
    background:#fff;
    border-radius:12px;
    text-align:center;
    padding:25px;
    transition:.3s;
}

.staff-card img{
    width:130px;
    height:130px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #eee;
}

.staff-card:hover{
    transform:translateY(-5px);
}

/* ==========================================================
   Gallery
========================================================== */

.gallery img{
    border-radius:10px;
    transition:.4s;
}

.gallery img:hover{
    transform:scale(1.05);
}

/* ==========================================================
   Important Links
========================================================== */

.links-box{
    background:#fff;
    padding:20px;
    border-radius:10px;
}

.links-box ul{
    list-style:none;
    padding:0;
}

.links-box li{
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.links-box li:last-child{
    border:none;
}

/* ==========================================================
   Contact
========================================================== */

.contact-box{
    background:#fff;
    padding:30px;
    border-radius:10px;
}

.contact-box i{
    color:var(--primary);
    width:25px;
}

/* ==========================================================
   Buttons
========================================================== */

.btn-primary{
    background:var(--primary);
    border:none;
}

.btn-primary:hover{
    background:var(--secondary);
}

/* ==========================================================
   Footer
========================================================== */

.footer{
    background:var(--primary)!important;
    color:#fff;
    padding:40px 0;
    margin-top:50px;
}

.footer h5{
    margin-bottom:15px;
}

.footer a{
    color:#fff;
}

.footer a:hover{
    color:#ffd54f;
}

/* ==========================================================
   Utilities
========================================================== */

.shadow-card{
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.rounded-15{
    border-radius:15px;
}

.bg-light-blue{
    background:#eef6ff;
}

.text-primary-dark{
    color:var(--primary);
}

/* ==========================================================
   Responsive
========================================================== */

@media(max-width:991px){

.header{
    text-align:center;
}

.logo{
    margin-bottom:15px;
}

.carousel-item img{
    height:350px;
}

.header h2{
    font-size:28px;
}

}

@media(max-width:768px){

.topbar{
    text-align:center;
}

.topbar .text-end{
    text-align:center!important;
    margin-top:5px;
}

.carousel-item img{
    height:250px;
}

.carousel-caption{
    padding:10px;
}

.carousel-caption h2{
    font-size:20px;
}

.header h2{
    font-size:22px;
}

.header h5{
    font-size:16px;
}

.service-card,
.staff-card{
    margin-bottom:20px;
}

}

@media(max-width:576px){

.logo{
    width:70px;
}

.header h2{
    font-size:18px;
}

.header h5{
    font-size:14px;
}

.carousel-item img{
    height:200px;
}

}