/* ===========================
   iMitra Stylesheet
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f5f7fb;
}

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

header{

    background:#ffffff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 50px;

    box-shadow:0 2px 12px rgba(0,0,0,.08);

    position:sticky;

    top:0;

    z-index:9999;

}

.logo{

    font-size:34px;

    font-weight:bold;

    color:#1976d2;

}

.logo span{

    color:#16a34a;

}

.tagline{

    font-size:11px;

    color:#777;

}

/* ===========================
   NAVIGATION
=========================== */

nav ul{

    display:flex;

    list-style:none;

    align-items:center;

}

nav ul li{

    position:relative;

}

nav ul li a{

    display:block;

    padding:18px 20px;

    text-decoration:none;

    color:#333;

    font-weight:500;

    transition:.3s;

}

nav ul li a:hover{

    color:#1976d2;

}

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

.dropdown-content{

    display:none;

    position:absolute;

    top:100%;

    left:0;

    width:270px;

    background:#fff;

    border-radius:10px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.18);

    z-index:99999;

}

.dropdown.active .dropdown-content{

    display:block;

}

.dropdown-content a{

    display:block;

    padding:14px 18px;

    color:#333;

    border-bottom:1px solid #eeeeee;

    transition:.3s;

}

.dropdown-content a:last-child{

    border:none;

}

.dropdown-content a:hover{

    background:#1976d2;

    color:white;

    padding-left:28px;

}

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

.hero{

    background:linear-gradient(135deg,#1976d2,#42a5f5);

    color:white;

    padding:100px 20px;

    text-align:center;

}

.hero h1{

    font-size:52px;

}

.hero h2{

    margin-top:15px;

    font-weight:400;

}

.hero p{

    max-width:800px;

    margin:25px auto;

    line-height:1.8;

}

.search-box{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-top:30px;

}

.search-box select,
.search-box button{

    padding:14px;

    min-width:220px;

    border:none;

    border-radius:8px;

}

.search-box button{

    background:#16a34a;

    color:white;

    cursor:pointer;

    font-weight:bold;

}

.search-box button:hover{

    background:#12813b;

}

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

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

    padding:60px;

}

.card{

    background:white;

    padding:30px;

    border-radius:12px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

}

.card h3{

    color:#1976d2;

    margin-bottom:15px;

}

.card p{

    line-height:1.8;

    color:#666;

}

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

footer{

    background:#0f172a;

    color:white;

    padding:40px;

    text-align:center;

    margin-top:40px;

}

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

@media(max-width:900px){

header{

    flex-direction:column;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

}

.hero h1{

    font-size:36px;

}

.cards{

    padding:25px;

}

}