* { margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;}
body {
    background-color: #f8f9fa;
    color: #333;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #333;
    color: white;
    position: sticky;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width:100%;
    position: fixed;}
    .logo {
    font-size: 24px;
    font-weight: 600;
    margin: 0px;
    padding: 0px;}
.logo span { color: #007bff; }
.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    color: solid black;
    justify-content: center;}
.nav-links a {
    text-decoration: none;
    color: white;}
.nav-links a:hover{
    color: deepskyblue;
    background:#333;
    border-bottom: 2px solid deepskyblue;
}
.nav-links  a.active{
    background: #333;
    color: white;
    font-weight: bold;
    border-bottom: 2px solid deepskyblue; }
.hero {
    background: linear-gradient(rgba(0,123,255,0.8), rgba(0,123,255,0.8)), url('https://via.placeholder.com/1500x500');
     background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 20px 20px 20px;}
.hero h1 { font-size: 40px; margin-bottom: 10px; }
.container {
    padding: 50px 10%;}
.section-title {
    text-align: center;
    margin-bottom: 40px;}
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;}
.exam-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);}
.exam-card:hover {
    transform: translateY(-10px);}
.icon {
    font-size: 40px;
    margin-bottom: 15px;}
.view-btn {
    display: inline-block;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;}
.confirm:active{
    background: blue;}
.confirm{
    margin: 5px 10px;
    width: 25%;}
#exams{
    width:75%;
    height: 10%;}
#year{
    display: grid;
    align-items: center;
    justify-content: center;
    justify-items: center;
    margin:0 auto;
    grid-template-columns: repeat(2);
    align-items: center;
    gap: 10px; 
    padding: 10px ;
    max-width: 100%; 
   display: flex;
   flex-direction: column;
   flex-wrap: wrap;
   background-image: url(pageback.webp);
  background-attachment: fixed;
  background-size:60%; width: 75% ;}
.exam{
    padding: 100px 30px;}
.jee{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 90%;
    margin-left: 5%;
    box-shadow: 2px lightblue;
    height: 10vh;
    background-color: #FFFFFF;
    color: #333333;
    text-decoration: none;
    border: 4px solid #000;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
    box-sizing: border-box;
    transition: 0.3s;

}
.jee:hover {
    background-color: rgba(89, 228, 70, 1);
    transform: scale(1.1); }
#exam{
    background: #FFE5B4;
    color: #CC5500;}
.select{
    color: solid #000;
    font-size: 24px;
    font-weight: 600;
    background: #fff;}
.contact-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}
input, textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; }
button {
    background-color: #1E2AD7; 
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;}
button:hover {
    background-color: #b53d32;}
.iit{
    display: grid;
    align-items: center;
    justify-content: center;
    justify-items: center;
    margin:0 auto;
    grid-template-columns: repeat(2);
    align-items: center;
    gap: 10px; 
    padding: 50px 20px;
    max-width: 300px; 
   display: flex;
   flex-direction: column;
   flex-wrap: wrap;}
.engineer{
    display: flex;
    display: grid;
    align-items: center;
    justify-content: center;
    justify-items: center;
    border: 2px solid black;
    transition: 0.3s;}
.engineer:hover { transform: scale(1.3);
  
}.privacy{
    display:grid;
    display:flex;
    margin: 70px 10px ;
    justify-content: center ;
    gap: 10px;
    background-color: #FFFFFF;
    color: #000;
    
    text-decoration: none;
    border: 2px solid #000;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
    box-sizing: border-box;
    
}
    .article{
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.8;
        color: #2c3e50;
        background-color: #f4f7f6; 
        margin: 0;
        padding: 100px 20px ;
        width: 100%;}
  p {
        margin-bottom: 20px;
        font-size: 1.1rem;
        text-align: justify;
    }
/*mock test */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background-color: #f9f9f9;
}
.lang-header {
    background-color: #333;
    color: white;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    text-decoration: none;}
.spac{
    border: 3px solid black;
    padding: 10px ;
    background-color: #121288;
    color: white;
    margin: 10px ;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    text-decoration: none;}
.space{
    border: 3px solid black;
    padding: 10px ;
    background-color: #121288;
    color: white;
    margin: 15px ;
    padding: 15px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    text-decoration: none;}
.switches a {
    color: #bbb;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    justify-items: center;}
.switches a:hover {
    background-color: lightblue;}
.switches a.active {
    color: blue;
    font-weight: bold;}
.content {
    padding: 50px;
    text-align: center;
}
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 15px;
            background: #fff;
            border-bottom: 1px solid #ddd;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        #menu-toggle {
            display: none; 
        }
       .hamburger {
            cursor: pointer;
            z-index: 101;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
  .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            background: #333;
            border-radius: 2px;
            transition: 0.3s ease;   }
        .side-menu {
            position: fixed;
            top: 0;
            left: -100%; 
            width: 280px;
            height: 100%;
            background: #fff;
            box-shadow: 5px 0 15px rgba(0,0,0,0.1);
           transition: 0.4s ease-in-out;
            padding-top: 80px;
            z-index: 99; }
.side-menu a {
            display: block;
            padding: 15px 25px;
            text-decoration: none;
            color: #333;
            font-weight: bold;
            border-bottom: 1px solid #eee; }
       .side-menu a:hover {
            background: #f9f9f9;
            color: #ed1c24;
        }
        #menu-toggle:checked ~ .side-menu {
            left: 0;
        }
        #menu-toggle:checked ~ .header .hamburger span:nth-child(1) {
            transform: translateY(8px) rotate(45deg); }
        #menu-toggle:checked ~ .header .hamburger span:nth-child(2) {
            opacity: 0;
        }
        #menu-toggle:checked ~ .header .hamburger span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 98;
        }
        #menu-toggle:checked ~ .overlay {
            display: block;
        }

    .faq-item {
        border-bottom: 1px solid #d1d8e0;
        margin-bottom: 10px;
    }
    .faq-question {
        background-color: #ffffff;
        color: #2c3e50;
        cursor: pointer;
        padding: 18px;
        width: 100%;
        text-align: left;
        border: none;
        outline: none;
        font-size: 1.1rem;
        font-weight: bold;
        transition: 0.4s;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
  .faq-question:after {
        content: '\002B'; /* Plus symbol (+) */
        color: #1a5f7a;
        font-weight: bold;
        float: right;
        margin-left: 5px;
    }
 .active:after {
        content: "\2212";
    }
  .faq-question:hover, .active {
        background-color: #ebf5fb;
        color: #1a5f7a;
    }
    .faq-answer {
        padding: 0 18px;
        background-color: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
 .faq-answer p {
        padding: 15px 0;
        margin: 0;
        color: #555;
    }
 .newsletter-container {
        background-color: #1a5f7a; 
        color: white;
        padding: 40px 20px;
        text-align: center;
        margin: 40px 0;
        border-radius: 10px;
    }
    .newsletter-content h3 { font-size: 24px; margin-bottom: 10px; }
    .newsletter-content p { font-size: 16px; margin-bottom: 20px; opacity: 0.9; }
    .news-form {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    .news-form input {
        padding: 12px 20px;
        width: 300px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
    }
    .news-form button {
        background-color: #ffcc00; 
        color: #333;
        padding: 12px 25px;
        border: none;
        border-radius: 5px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }
    .news-form button:hover { background-color: #e6b800; transform: translateY(-2px); }
    /*search function */
    body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; }

        /* --- Search Icon --- */
        .search-trigger-btn {
            position: fixed;
            top: 20px;
            right: 20px;
            cursor: pointer;
            background: #eee;
            padding: 10px;
            border-radius: 50%;
        }
        #search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            z-index: 1000;
            display: none; /* Default hidden */
            flex-direction: column;
            align-items: center;
            padding-top: 80px;
        }
        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 40px;
            cursor: pointer;
            color: #333;
        }   
        .search-input-container {
            width: 80%;
            max-width: 600px;
            position: relative;
        }
       #main-search {
            width: 100%;
            padding: 15px;
            font-size: 22px;
            border: none;
            border-bottom: 3px solid #ed1c24;
            outline: none;
        }
        #suggestions-list {
            width: 100%;
            max-width: 600px;
            margin-top: 10px;
            list-style: none;
            padding: 0;
            border: 1px solid #eee;
            display: block; /* Khali hone par hidden */
        }
        #suggestions-list li a {
            display: inline-block;
            padding: 15px;
            text-decoration: none;
            color: #333;
            border-bottom: 1px solid #f9f9f9;
        }
        #suggestions-list li a:hover {
            background: #f1f1f1;
            color: #ed1c24;
        }

  /*mocktest styles*/
  body{
font-family: Arial;
text-align:center;
background:#f4f4f4;
}
#quizBox{
width:90%;
max-width:600px;
margin:auto;
background:white;
padding:20px;
margin-top:30px;
border-radius:10px;
box-shadow:0 0 10px gray;
}
button{
padding:10px 20px;
font-size:16px;
margin-top:15px;
cursor:pointer;
}#options button{
    display: block;
  width: 100%;
  margin: 10px 0;
  padding: 14px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #ffffff;
  color: #1f2937;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
}
#options button:hover{
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #ffffff;
  border-color: #4f46e5;
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3);
    }
#options button:active {
  transform: scale(0.98);}
.next-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, gray, #467D50);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}
.next-btn:active {
  transform: scale(0.98);
  background:#467D50E3;
}
.chapters{
    display: flex;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 10px;
  padding: 20px;
  width: 90%;
  justify-content: center;}
.notice{
     border: 5px solid ;
     border-image: linear-gradient(45deg, gold, deepskyblue, pink, red) 1;
     animation: color-shift 3s linear infinite;
}
@keyframes color-shift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
.short{
backdrop-filter: 70vw;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: black;
  border-color: #4f46e5;
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3);
  text-decoration: none;
}
.short:hover{
    transform: scale(1.02);
    background: #4f46e5;
    
}
