body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url(img/back.png);
  background-size: cover;                
  background-repeat: no-repeat;  
  background-position: center center;
  background-attachment: fixed;
  color: #333;
  overflow-x: hidden;
}
body::-webkit-scrollbar{
    display: none;
}
header {
  background: #006d77;
  color: white;
  padding: 15px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  font-size: 1.5em;
  font-weight: bold;
}
nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid grey;
  border-radius: 5px;
  padding: 6px;
  font-size: 15px;
}
/* main */
.main{
  background-size: cover;                
  background-repeat: no-repeat;            
}
.main .wl h1{
  color: rgb(26, 22, 233);
}
.main .wl .txt{
   padding: 2px;
   background-color: #24b816;
   width: 100%;
   overflow: hidden;
   position: relative;
}
.main .wl .txt p{
  text-align: center;
  color: aliceblue;
  display: inline-block;
  white-space: nowrap; 
  overflow: hidden;
  position: relative;
  animation: moveText 20s linear infinite;
  font-size: 16px;
}
@keyframes moveText {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
/* whyus */
.whyus {
  padding: 20px;                
  margin: 40px auto;            
  border-radius: 8px;          
}

.whyus h2 {
  text-align: left;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 20px;
}



.whyus li {
  font-size: 1.1rem;
  color: #555;
  padding: 10px 0;
}

.whyus strong em {
  color: #d9534f;              
  font-style: italic;
}
/* schools */
.schls {
  background-color: #f4f8ff;
  padding: 40px 20px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  font-family: 'Segoe UI', sans-serif;
}

.schls > p {
  font-size: 24px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 20px;
  text-align: center;
}

.sch {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.sch > div {
  flex: 1 1 300px;
  background-color: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease;
  margin-top: 10px;
}

.sch > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.sch div p {
  font-size: 20px;
  font-weight: 600;
  color: #0055aa;
  margin-bottom: 10px;
  text-align: center;
}

.sch ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #333;
}

.sch ul li {
  margin-bottom: 8px;
  font-size: 16px;
}
/* warn */
.warn {
  background: #fff8e1;              
  border: 1px solid #f0c36d;       
  padding: 25px;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}

.warn > p {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  color: #d35400;                 
  margin-bottom: 20px;
}

.warn .use p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 15px;
}

.warn .use ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.warn .use li {
  margin: 8px 0;
  color: #555;
}

.warn .wrn {
  background: #fdecea;              
  border-left: 5px solid #e74c3c;   
  padding: 15px;
  border-radius: 6px;
}

.warn .wrn strong {
  color: #c0392b;                  
  font-weight: bold;
}

.warn .wrn ul {
  list-style-type: square;
  padding-left: 20px;
  margin-top: 10px;
}

.warn .wrn li {
  margin: 6px 0;
  color: #333;
}
     /*Account*/
     .accnt {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.accnt > p {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.acct {
  position: relative;
  width: 100%;
  height: 600px; /* adjust to fit your images */
  overflow: hidden;
}

.acct figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  animation: slideShow 20s infinite; /* 4 figures × 5s each = 20s cycle */
}

.acct figure:nth-child(1) { animation-delay: 0s; }
.acct figure:nth-child(2) { animation-delay: 5s; }
.acct figure:nth-child(3) { animation-delay: 10s; }
.acct figure:nth-child(4) { animation-delay: 15s; }

@keyframes slideShow {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

.acct img {
  width: 350px;
  height: auto;
  border-radius: 8px;
}

.acct figcaption {
  margin-top: 10px;
  font-size: 1rem;
  color: #555;
}
/* support */
.contact {
  background: #f4f4f4;            
  padding: 30px;
  margin: 40px auto;
  border-radius: 8px;
  max-width: 800px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.contact h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.contact p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 10px;
}

.contact ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.contact li {
  margin: 10px 0;
  font-size: 1.1rem;
}

.contact a {
  text-decoration: none;
  color: #007BFF;                 
  font-weight: bold;
}

.contact a:hover {
  color: #0056b3;                  
}

/* Footer styling */
.foot {
  background: #000;               
  color: #fff;                    
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.foot p {
  margin: 0;
  font-size: 0.95rem;
}

@media screen and (max-width: 678px){
  header{
    padding: 20px 8px;
  }
  header .logo{
     font-size: 1.1em;
  }
  nav a{
    font-size: 15px;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 3px;
  }
  .main .wl h1{
    font-size: 20px;
    padding-left: 5px;
  }
  .main .wl .txt p{
  color: aliceblue;
  font-size: 12px;
}
.main .wl .txt{
   padding: 1px;
   background-color: #006d77;
}
.whyus {
  background: transparent;          
  padding: 10px;                
  margin: 20px auto;          
  border-radius: 8px;          
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}
.whyus h2 {
  text-align: center;
  font-size: 1.4rem;
  color: #13a1c5;
  margin-bottom: 20px;
}
.whyus li {
  font-size: 1rem;
  color: #21649b;
  padding: 10px 0;
}
.whyus strong em {
  color: #000000;               
  font-style: italic;
}

}