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

body {
    background-color: #f8f9fa;
    color: #333;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
}

.logo {
    font-size: 24px;
    font-weight: 600;
}

.logo span { color: #007bff; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
}

.login-btn {
    background: #007bff;
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* Hero Section */
.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;
}

.hero h1 { font-size: 40px; margin-bottom: 10px; }

.search-box {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.search-box input {
    width: 400px;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

/*.search-box button {
    padding: 15px 30px;
    border: none;
    background: #28a745;
    color: white;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
}*/
.search-container {
  font-family: Arial, sans-serif;
  max-width: 300px;
  margin: 20px auto;
}

#searchInput {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#itemList {
  list-style-type: none;
  padding: 0;
  display:none;
  list-style-type: none;
  box-sizing: content-box;
  text-align: center;

}

.itemList li a {
  padding: 10px;
 
  color: #fff;
}


/* Exam Cards Section */
.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: 100px 20px;
    max-width: 300px; 
   display: flex;
   flex-direction: column;
   flex-wrap: wrap;
   background-image: url(pageback.jpeg);
  
  background-attachment: fixed;
    
}


.jee{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 30vw;
    height: 10vh;
    

  /*  aspect-ratio: 1/1; */
    
    background-color: #FFFFFF;
    color: #333333;
    text-decoration: none;
    border: 2px solid #000;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
    box-sizing: border-box;
    transition: 0.3s;
}


.jee:hover {
    background-color: #CC5500;
    transform: scale(1.32); 
}
#exam{
    background: #FFE5B4;
    color: #CC5500;
}


.select{
    color: solid #000;
    font-size: 24px;
    font-weight: 600;
    background: #fff;
}
/*contact us*/
.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; /* Padding handling */
}

button {
    background-color: #1E2AD7; /* Gmail Red */
    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;
    
}
