/* =========================================
   ASSAM DENTAL COUNCIL
   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;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#f5f8fd;
    color:#2d3436;
    overflow-x:hidden;

}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

/*==========================
Navbar
==========================*/

.navbar{

    padding:15px 0;
    background:#fff !important;
    transition:.4s;
    z-index:9999;

}

.navbar-brand h5{

    font-weight:700;
    color:#003366;

}

.navbar-brand small{

    color:#6c757d;
    font-size:13px;

}

.nav-link{

    color:#222 !important;
    font-weight:500;
    margin-left:12px;
    position:relative;
    transition:.3s;

}

.nav-link:hover{

    color:#0d6efd !important;

}

.nav-link::after{

    content:'';
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:#0d6efd;
    transition:.3s;

}

.nav-link:hover::after{

    width:100%;

}

.nav-link.active{

    color:#0d6efd !important;

}

/*==========================
Hero
==========================*/

.hero{

    padding:90px 0;
    background:linear-gradient(135deg,#eef5ff,#dbeeff);

}

.hero h1{

    font-size:55px;
    font-weight:800;
    color:#003366;
    margin-bottom:20px;

}

.hero p{

    font-size:18px;
    line-height:1.9;
    color:#555;
    margin-bottom:35px;

}

.hero-image{

    animation:float 4s ease-in-out infinite;

}

@keyframes float{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-18px);

}

100%{

transform:translateY(0px);

}

}

/*==========================
Buttons
==========================*/

.btn{

    border-radius:40px;
    padding:13px 28px;
    font-weight:600;

}

.btn-primary{

    background:#0d6efd;
    border:none;

}

.btn-primary:hover{

    background:#004ecb;

}

.btn-outline-primary{

    border:2px solid #0d6efd;

}

/*==========================
Sections
==========================*/

section{

    padding:80px 0;

}

section h2{

    font-weight:700;
    color:#003366;
    margin-bottom:15px;

}

section p{

    color:#666;

}

/*==========================
Service Cards
==========================*/

.service-card{

    background:#fff;
    border-radius:20px;
    padding:35px 30px;
    text-align:center;
    transition:.4s;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
    height:100%;

}

.service-card:hover{

    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,.12);

}

.service-card i{

    width:80px;
    height:80px;
    line-height:80px;
    border-radius:50%;
    background:#eaf3ff;
    color:#0d6efd;
    font-size:35px;
    margin-bottom:20px;

}

.service-card h5{

    font-weight:700;
    margin-bottom:15px;

}

.service-card p{

    font-size:15px;
    color:#666;

}

/*==========================
Notice Cards
==========================*/

.notice-card{

    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
    transition:.4s;
    height:100%;

}

.notice-card:hover{

    transform:translateY(-10px);

}

.notice-card h5{

    font-weight:700;
    color:#003366;

}

.notice-card p{

    margin:15px 0;

}

.notice-card a{

    color:#0d6efd;
    font-weight:600;

}

/*==========================
About
==========================*/

.about img{

    border-radius:20px;
    box-shadow:0 20px 45px rgba(0,0,0,.08);

}

.about h2{

    font-size:40px;

}

.about p{

    margin:25px 0;
    line-height:2;

}

/*==========================
Statistics
==========================*/

.stats{

    background:#0d6efd;
    color:#fff;

}

.stat-box{

    text-align:center;

}

.stat-box h2{

    font-size:55px;
    color:#fff;
    font-weight:700;

}

.stat-box p{

    color:#fff;
    margin-top:10px;

}

/*==========================
News
==========================*/

.news-card{

    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.4s;

}

.news-card:hover{

    transform:translateY(-10px);

}

.news-card img{

    width:100%;
    height:220px;
    object-fit:cover;

}

.news-content{

    padding:25px;

}

.news-content h5{

    font-weight:700;
    margin-bottom:15px;

}

.news-content a{

    color:#0d6efd;
    font-weight:600;

}

/*==========================
Footer
==========================*/

footer{

    background:#002147;
    color:#fff;
    padding:70px 0 30px;

}

footer h5{

    margin-bottom:20px;
    font-weight:700;

}

footer p{

    color:#ddd;

}

footer ul{

    list-style:none;
    padding:0;

}

footer ul li{

    margin-bottom:10px;

}

footer ul li a{

    color:#ddd;
    transition:.3s;

}

footer ul li a:hover{

    color:#fff;
    padding-left:6px;

}

.social-icons a{

    display:inline-flex;
    width:42px;
    height:42px;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    color:#fff;
    margin-right:10px;
    transition:.3s;

}

.social-icons a:hover{

    background:#0d6efd;
    transform:translateY(-5px);

}

.copyright{

    border-top:1px solid rgba(255,255,255,.15);
    margin-top:40px;
    padding-top:25px;
    text-align:center;
    color:#ddd;

}

/*==========================
Badges
==========================*/

.badge{

    padding:8px 14px;
    border-radius:30px;
    font-size:12px;

}

/*==========================
Responsive
==========================*/

@media(max-width:992px){

.hero{

text-align:center;
padding:70px 0;

}

.hero h1{

font-size:40px;

}

.hero-image{

margin-top:40px;

}

.about{

text-align:center;

}

.about img{

margin-bottom:30px;

}

.navbar-brand img{

height:55px;

}

}

@media(max-width:768px){

.hero h1{

font-size:34px;

}

.hero p{

font-size:16px;

}

.btn{

display:block;
width:100%;
margin-bottom:15px;

}

.service-card{

padding:30px 20px;

}

.notice-card{

padding:25px;

}

.about h2{

font-size:30px;

}

.stat-box{

margin-bottom:40px;

}

.news-card img{

height:180px;

}

}

@media(max-width:576px){

.hero{

padding:50px 0;

}

.hero h1{

font-size:30px;

}

section{

padding:60px 0;

}

.navbar-brand h5{

font-size:18px;

}

.navbar-brand small{

font-size:11px;

}

}