
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: auto;
  
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background: white;
  flex-wrap: wrap; /* Allow wrapping on very small screens */
  width: 100%;
}

header img {
  height: 50px;
  border-radius: 20px;
}

.menu-btn {
  font-size: 26px;
  margin-left: auto;
  cursor: pointer;
  color: black; /* White for better contrast */
}

/* Sidebar menu */
.sidebar {
  position: fixed;
  left: -260px;
  top: 0;
  height: 100%;
  width: 250px;
  background: white;
  padding-top: 20px;
  transition: 0.3s ease;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.sidebar.active {
  left: 0;
}

.sidebar .logo {
  text-align: center;
  margin-bottom: 20px;
}

.sidebar .logo img {
  height: 70px;
  border-radius: 10px;
}

.sidebar a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  text-decoration: none;
  color: #0e2943;
  font-size: 16px;
  font-weight: bold;
  transition: 0.2s ease;
}

.sidebar a i {
  margin-right: 10px;
  font-size: 18px;
}

.sidebar a:hover {
  background: #f0f4f8;
  color: #0e2943;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #0e2943;
}

/* CSS of Class one Which is the first section after nav*/
.class1 {
  height: auto;
  width: 100%;
  
  max-width: 100vw;
  background: linear-gradient(to top,#3B86B7,#0F2B46  );
  display: flex;
  flex-direction: row;
  gap: 15px; /* Space between items */
  color: white;
  padding: 40px 5px;
  overflow-x: hidden;
}
@media(max-width: 700px){
  .class1{
    flex-direction: column;
  }
}
.class1 button {
  height: 30px;
  width: 200px;
  border-radius: 5px;
  color: #0e2943;
  background-color: #f3f5f7;
  letter-spacing: 1px;
  border:none;
  transition: all 0.3s ease;
  font-family: arial;
  margin:4px;
}
.class1 button:hover{
  background-color: #3b6c8fa3;
  color: white;
  border:1px solid #5f8ba8;
}

.class1 h1 {
  font-family: serif;
  font-size: 50px;
  margin: 35px 15px;
  width: auto;
  text-align: left;

 
}

.class1 p {
  margin: 20px 15px;
  font-size: 22px;
  line-height: 1.7;
  color: #eaf0f4;
  width: auto;
  
}

.box-container {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
}

.box {
  height: 150px;
  width: auto;
  min-width: 150px;
  max-width: 300px;
  background-color: #3b6e919c;
  opacity: 85%;
  border:1px solid #5f8ba8;
  border-radius: 14px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.box:hover {
  background-color: #b8bfc55c;
}

.box i {
  margin-bottom: 10px;
  color: #fde047;
  font-size: 35px;
}

.box h1 {
  margin: 0;
  font-size: 20px;
  text-align: center;
}


/* CSS of Class 2 Which Explains Our Mission*/



.class2{
  height: auto;
  width: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 40px 20px;
  overflow-x: hidden;
  }
  .class2 button{
  background-color: #e6e9ec;
  border-radius: 40px;
  width: 100px;
  border:1px solid #c6c8c9;
  color: #334960;
  font-size: 15px;
  transition: all 0.3s ease;
  height: 24px;
}
.class2 button:hover{
  background-color: #0e2943;
}
.class2 h1{
  font-family: ui-monospace;
  color: #0e2943;
  text-align: center;
  font-size: 38px;
  padding: 5px;
}
.class2 h2{
  text-align: center;
  font-size: 20px;
  color: #0e2943;
  margin-top: 10px;
}
.class2 h4{ 
  font-family: sans-serif;
  color: #637484;
  font-size: 20px;
  text-align:center;
  margin:10px;
}
.education{
  display:grid;
  grid-template-columns: repeat(2,1fr);
  width: 100%;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.edu-box {
  width: auto;
  max-width: 600px;
  height: 225px;
  background-color: white;
  border:1px solid #e2e6e9;
  border-radius: 7px;
  color: #0e2943;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 10px;
  margin: auto;
  line-height: 1.6;

}
.edu-box:hover {
  transform: translate3d(0px,0px,200px);
  box-shadow: 1px 1px 20px #00000059;
}
.edu-box i {
  margin:0;
  font-size: 30px;
}

.edu-box p{
  text-align: center;
  color: #a2acb6;
  font-family: sans-serif;
  margin-top: 10px;
}
.icon-box{
   background-color: #eff6ff; 
   height: 50px;
   width: 50px; 
   border-radius: 7px;
   display: flex;
   align-items: center;
   justify-content: center;
}
@media(max-width: 500px){
  .education{
    grid-template-columns: repeat(1,1fr);
  }
}



/* CSS of  (Coming  Events Section)*/


.coming-event{
  height: auto;
  width: 95%;
  margin: 0px auto 30px auto;
  background: linear-gradient(to top,#3B86B7,#0F2B46  );
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction:column;
  color: white;
  border-radius: 9px;
  padding: 25px;
  line-height: 1.8;
}
.coming-event h1{
  font-size: 27px;
  margin-top:10px; 
  font-family: ui-monospace;
  text-align: left;

}
.coming-event p{
  font-size: 17px;
  font-family: sans-serif;
  color: #e9edf1;

}
.coming-button{
  background-color: #415a71;
  border-radius: 22px;
  width: 165px;
  border:1px solid #7b8e9e;
  color: white;
  font-size: 13px;
  transition: all 0.3s ease;
  height: 24px;
  margin: 20px 0 5px  20px;
}
.coming-button:hover{
  background-color: #0e2943;
}
.but{
  display: grid;
  gap:15px;
  justify-content: center;
  align-self: center;
}
.but button{
  background-color: white;
  border-radius: 8px;
  width: 250px;
  color: #18324b;
  font-size: 13px;
  transition: all 0.5s ease;
  height: 35px;
  border: none;
  margin-top: 10px;
  
}
.but button:hover{
  background-color: #e2e1e996;
}



/* CSS of Class 3*/



.class3{
  height: auto;
  width: 100%;
  background: white;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  align-items: center;
  justify-content: center;
  color: #0e2943;
}
.class3 h1{
  font-family: ui-monospace;
  color: #0e2943;
  font-size: 35px;
  margin: 5px;
}
.class3 p{
  font-family: sans-serif;
  color:#8d9aa6;
  font-size: 20px;
  text-align:center;
  margin: 10px;
}
.info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
  box-sizing: border-box;
}
.info-box {
  width: 100%;
  max-width: 353px;
  min-width: 280px;
  background-color: white;
  border-radius: 15px;
  border: 2px solid #ced4d9;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  line-height: 1.2;
  box-sizing: border-box;
  justify-self: center;
}
.info-box:hover .hover-i{
  background-color: #0e2943;
}
.info-box:hover i{
  color: white;
}
.hover-i{
  background-color: #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  transition: all 0.5s ease;
}
.info-box i {
  margin-bottom: 5px;
  color: #0e2943;
  font-size: 20px;
}
.info-box h1 {
  margin: 15px;
  font-size: 17px;
  text-align: center;
  color: #0e2943;
  font-family: serif;
}
.info-box h4{
  color: #627384;
  font-family: sans-serif;
  font-size: 12px;
}
.info-box p {
  margin: 10px;
  font-size: 14px;
  color: white;
  text-align: center;
}
.info-box button{
  height: 37px;
  width: auto;
  min-width: 200px;
  background: linear-gradient(to left, #3B86B7, #0F2B46);
  border-radius: 6px;
  font-size: 18px;
  font-family: sans-serif;
  color: white;
  margin: 5px;
  border: none;
  box-sizing: border-box;
}

/* Media queries in correct order - mobile first approach */
@media (max-width: 600px) {
  .info {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  .info-box {
    min-width: auto;
  }
  .class3 h1 {
    font-size: 28px;
  }
  .class3 p {
    font-size: 18px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .info {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*CSS of Ready To Shape Future Section*/



.class5{
  height: auto;
  width: 100%;
  background: linear-gradient(to bottom, #0A2942, #296698);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 1px 20px black;
  color: white;
  padding: 40px;
}
.class5 h1{
  font-size: 35px;
  margin-top:10px; 
  font-family: ui-monospace;
  text-align: center;

}
.class5 p{
  font-size: 18px;
  font-family: Roboto,sans-serif;
  text-align: center;
  padding: 20px;
  line-height: 1.5;
  color: #eaf0f4;
}
.b{
  display: flex;
  gap: 45px;
  justify-items: center;
  margin-top: 0;
   
}
.class5  button{
  height: 54px;
  width: 250px;
  background-color:white ;
  border-radius: 8px;
  font-size: 20px;
  font-family: auto;
  color: #0e2943;
  border:none;
  transition: all 0.3s ease;
}

.class5 button:hover{
  border:1px solid #c0ced9;
  background-color: #f2f3f338;
  color: white;
  
}

/* CSS of  class4 */


.class4{
  height: auto;
  width: 100%;
  margin: 30px 0 0px 0;
  background: linear-gradient(to top,#3B86B7,#0F2B46  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction:column;
  color: white;
  padding: 20px;
  line-height: 1.5;
}
.class4 h1{
  font-size: 35px;
  margin-top:10px; 
  font-family: ui-monospace;
  text-align: center;
  padding: 10px;

}
.class4 p{
  font-size: 18px;
  font-family: sans-serif;
  color: #e9edf1;
  text-align: center;
  padding: 10px;
  width: auto;

}
.class4-button{
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
}
.class4-button button{
  background-color: white;
  border-radius: 7px;
  width: 170px;
  border:1px solid #7b8e9e;
  color: #2e455b;
  font-size: 13px;
  transition: all 0.3s ease;
  height: 35px;
  margin: 20px 0 5px  20px;
}
.class4-button button:hover{
  background-color: #cdd6df5c;
}
@media(max-width: 700px){
  .class4-button{
    flex-wrap: wrap;
  }
  .class4-button  button{
    width: 270px;
  }
  .class4{
    padding: 40px 5px 40px 5px;
  }
}


/* Footer Styles */
.footer {
  background: linear-gradient(to top,#3B86B7,#0F2B46  );
  color: white;
  padding: 40px 20px;
  font-family: sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

.footer-logo {
  width: 60px;
  border-radius: 10px;
}

.footer-about h2 {
  font-size: 18px;
  margin: 10px 0;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.footer-social a {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 8px;
  margin-right: 5px;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.footer-social a:hover {
  background-color: white;
  color: #0F2B46;
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  color: white;
  font-size: 14px;
  margin-bottom: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  font-size: 14px;
  margin: 5px 0;
}

.footer-contact i {
  margin-right: 8px;
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-bottom p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-legal a {
  color: white;
  font-size: 13px;
  margin: 0 10px;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    text-align: center;
  }
}
