/* ===== RESET & GLOBAL ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
}
html{
  width:100%;
  overflow-x:hidden;
}

/* ===== EduGyaan Premium Academic Background ===== */
body{
  background:
    radial-gradient(900px 600px at 8% 12%, rgba(42,130,255,0.10), transparent 60%),
    radial-gradient(800px 500px at 92% 18%, rgba(0,180,255,0.08), transparent 60%),
    radial-gradient(700px 500px at 30% 95%, rgba(255,215,140,0.12), transparent 65%),
    linear-gradient(180deg, #f7f9ff 0%, #f1f5ff 45%, #ffffff 100%);
  
  background-attachment: fixed;
  color:#222;
  padding-top:70px;
  overflow-x:hidden;
}

/* ===== HEADER ===== */
.main-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:70px;
  background:linear-gradient(90deg,#1e3c72,#2a5298);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
  z-index:1000;
  box-shadow:0 4px 12px rgba(0,0,0,0.25);
}

.logo{
  font-size:24px;
  font-weight:700;
  color:#fff;
}

.nav ul{
  list-style:none;
  display:flex;
  gap:10px;
}

.nav ul li a{
  color:#fff;
  text-decoration:none;
  padding:8px 14px;
  border-radius:6px;
  transition:.3s;
}

.nav ul li a:hover{
  background:rgba(255,255,255,.15);
  color: yellow;
}

.menu-icon{
  display:none;
  font-size:20px;
  color:#fff;
  cursor:pointer;
}
.login-wrapper {
  position: relative;
}

.login-drawer{
  position: absolute;
  top: 70px;
  right: 20px;
  width: 130px;
  background: linear-gradient(90deg,#1e3c72,#2a5298);
  border-radius: 0px 0px 6px 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  z-index: 3000;
}

.login-drawer.open{
  display: flex;
}
/* Drawer jab mobile menu ke andar move hota hai */
.login-drawer.in-mobile{
  position: static;
  width: 100%;
  margin-top: 10px;
  box-shadow: none;
  border-radius: 0px 0px 6px 6px;
  right: auto;
  top: auto;
  overflow: hidden; 
}

.drawer-item{
  padding: 12px 15px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.drawer-item:hover{
  background: #f7c600;
  color: #000;
  border-radius: 0px 0px 6px 6px;
}

.drawer-item.user{
  opacity: .6;
  pointer-events: none;
}
.drawer-item i{
  margin-right: 8px;
  font-size: 16px;
}



/* ===== MOBILE MENU ===== */
.mobile-menu{
  position:fixed;
  top:0;
  left:-100%;
  width:60%;
  height:100%;
  background:linear-gradient(180deg,#1e3c72,#2a5298);
  padding:20px;
  z-index:2000;
  transition:.3s;
}

.mobile-menu > a{
  display:block;
  padding:14px 0;
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.2);
}


.mobile-menu .close{
  font-size:20px;
  color:#fff;
  cursor:pointer;
  display:block;
  text-align:right;
}
@media(max-width:768px){
  .mobile-menu .login-drawer{
    width: 100%;
    margin-top: 0px;
    box-shadow: none;
    border-radius: 0;
  }
}


/* ===== SOCIAL SLIDER ===== */
.social-slider{
  position:fixed;
  top:45%;
  left:0;
  background:#fff;
  padding:5px 5px;
  border-radius:0 14px 14px 0;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  z-index:999;
}

.social-slider a{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  margin:6px 0;
  font-size:17px;
  text-decoration:none;
  transition:.2s;
}

.social-slider a:hover{
  transform:scale(1.1);
}

.fb{background:#1877f2;}
.wa{background:#25d366;}
.tw{background:#1da1f2;}
.ig{
  background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285AEB 90%);
}

/* ===== WELCOME SECTION ===== */
.welcome-section{
  background: linear-gradient(135deg, #2D89EF, #6EC1E4);
  text-align:center;
  padding:70px 15px 50px;
  color:#fff;
}

.welcome-section h1{
  font-size:34px;
  font-weight:700;
  margin-bottom:10px;
}

.welcome-section p{
  font-size:17px;
  margin-bottom:22px;
}

.search-box{
  width:320px;
  max-width:92%;
  padding:12px 16px;
  border-radius:30px;
  border:none;
  outline:none;
  font-size:15px;
}

/* ===== ARTICLES ===== */
.section-title{
  text-align:left;
  font-size:26px;
  margin:20px 50px 10px;
}

.container{
  max-width:1200px;
  margin:auto;
  padding:0px 15px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}

.card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transition:.3s;
}

.card:hover{
  transform:translateY(-5px);
}

.card img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.card-body{
  padding:15px;
}

.card-body h3{
  font-size:17px;
  margin-bottom:12px;
}

.card-body a{
  display:block;
  text-align:center;
  background:linear-gradient(90deg,#1e3c72,#2a5298);
  color:#fff;
  padding:10px;
  border-radius:6px;
  text-decoration:none;
  font-weight:500;
}
.card-body a:hover{
  background: linear-gradient(90deg, #ff7a18, #ff3d81);
  color:#fff;
}
.site-footer {
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
}
/* ===== FOOTER TOP (3 COLUMN AREA) ===== */
.footer-top {
  background: none;
  max-width: 100%;
}

.footer-top {
  padding: 10px 10px;
}

.footer-top > div,
.footer-column {
  max-width: 1200px;
  margin: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* COLUMN CONTENT */
.footer-column h3 {
  color: #1e3c72;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #1e3c72;
  text-decoration: underline;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* ===== FOOTER ===== */
.main-footer{
  background:#1e3c72;
  color:#fff;
  text-align:center;
  padding:22px 15px;
  margin-top:10px;
}

.main-footer p{
  font-size:14px;
  opacity:.9;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){

  body{
    padding-top:65px;
  }

  .nav{
    display:none;
  }

  .menu-icon{
    display:block;
  }

  .welcome-section h1{
    font-size:26px;
  }

  .welcome-section p{
    font-size:15px;
  }

  .social-slider{
    top:35%;
  }

}
/* ===== FORCE mobile drawer radius (FINAL) ===== */
@media (max-width: 768px){
  .login-drawer.in-mobile{
    border-radius: 0 0 6px 6px !important;
    overflow: hidden !important;     /* 🔥 radius visible */
    box-shadow: 0 10px 25px rgba(0,0,0,.20) !important;
  }

 