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


}
.header{
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/School\ Building\ 2.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
  
}
nav{
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;

}
nav img{
  width: 100px;

}
.nav-links{
  flex: 1;
  text-align: right;

}
  .nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;

  }
  .nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
  }
  .nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
  }
  .nav-links ul li:hover::after{
    width: 100%;
  }
  .text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;

  }
  .text-box h1{
    font-size: 62px;

  }
  .text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
  }
  .hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
  }
   .hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
   }

   nav .fa-bars,
  nav .fa-times {
    display: none;
    
  }
 
/* Mobile styles */
@media (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
  }

  .nav-links {
    position: fixed;
    right: -200px;   /* hidden by default */
    top: 0;
    background: #f44336;
    height: 100vh;
    width: 200px;
    text-align: left;
    z-index: 2;
   transition: 1s;
  }

  .nav-links ul li {
    display: block;
    margin: 20px 0;
  }

  nav .fa-bars {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links .fa-times {
    display: block;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    margin: 20px;
  }
}
/*------- courses --------*/
.course{
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;

}
h1{
  font-size: 36px;
  font-weight: 600;

}
p{
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;

}
.row{
  margin-top: 5%;
  display: flex;
  justify-content: space-between;

}
.course-col{
  flex-basis: 31%;
  background: #fff3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}
h3{
  text-align: center;
  font-weight: 600;
  margin: 10px 0;

}
.course-col:hover{
  box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
@media(max-width: 700px){
  .row{
    flex-direction: column;
  }
}
/* ---- Gallery Section ---- */
.gallery {
  width: 90%;
  margin: 50px auto;
  text-align: center;
}

.gallery h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.gallery-container img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-container img:hover {
  transform: scale(1.05);
}
/* ---- Meet Our Team ---- */
.team {
  width: 90%;
  margin: 60px auto;
  text-align: center;
}

.team h2 {
  font-size: 30px;
  margin-bottom: 40px;
  color: #222;
  font-weight: bold;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.team-img img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 5px solid #f44336; /* school color border */
}

.team-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #f44336;
}

.team-info p {
  font-size: 14px;
  color: #555;
  font-style: italic;
}
/* ---- Proprietress Section ---- */
.proprietress {
  width: 90%;
  margin: 80px auto;
}

.proprietress-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.proprietress-img img {
  width: 280px;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.proprietress-message {
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.proprietress-message h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #f44336;
  font-family: 'Poppins', sans-serif;
}

.proprietress-message p {
  font-size: 16px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.7;
  font-family: 'Dancing Script', cursive; /* handwriting style */
}

.proprietress-message .signature {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin-top: 15px;
  font-family: 'Dancing Script', cursive;
}
/*----- call to action -------*/
.cta{
margin: 100px auto;
width: 80%;
background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("images/Copilot_20250802_140250.png");
background-position: center;
background-size: cover;   /* optional: makes it fill the container */
border-radius: 10px;
text-align: center;
padding: 100px 0;
}
.cta h1{
  color: #fff;
  margin-bottom: 40px;
  padding: 0;

}
@media(max-width: 700px){
  .cta h1{
    font-size: 24px;

  }
}
/*--------- footer ------*/
.footer{
  width: 100%;
  text-align: center;
  padding: 30px 0;

}
.footer h4{
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;

}
 .icons.fa{
  color: #f44336;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;

}
 .fa-youtube{
  color: #f44336;
 }
 /*------ about us page -------*/
 .sub-header{
  height: 50vh;
  width: 100%;
 background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url("images/Awarddistinct.png");
background-position: center;
background-size: cover;   /* makes it fill properly */
background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  color: #fff;
 }
 .about-us{
  width: 80%;
  margin: auto;
  padding-left: 80px;
  padding-bottom: 50px;
  
 }
 .about-col{
  flex-basis: 48%;
  padding: 30px 2px;


 }
 .about-col img{
  width: 100%;

 }
 .about-col h1{
  padding-top: 0;

 }
 .about-col p{
  padding: 15px 0 25px;
 }
 .red-btn{
  border: 1px solid #f44336;
  background: transparent;
  color: #f44336;
 }
 .red-btn:hover{
  color: #fff;
 }
 .course h1,
.course h3 {
    color: black;
}
.course h1 {
    color: black;
    font-size: 2rem;
    margin-top: 20%;
}
/* Home page course section heading */
.course h1 {
  font-size: 36px;
  font-weight: 600;
  margin-top: 5%;   /* pushes the heading down */
  margin-bottom: 20px;
  text-align: center;
}
.course-love h1{
  margin-top: 20%;
  margin-bottom: 20px;   /* pushes the heading down */
  color: #111;
  text-align: center;
}
.course-col h3{
  color: black;
}
.course-col p{
 color: black;
}


/* Apply margin-top: 100% only on small screens */
@media (max-width: 768px) {
  .course h1 {
    margin-top: 100%;
  }
}
@media (max-width: 768px) {
  .course-love{
    margin-top: 100%;
  }
}



.course p {
    color: #333;
    line-height: 1.6;
   
}
.footer {
    background: #222;   /* dark footer background */
    color: #fff;        /* default white text */
    text-align: center;
    padding: 40px 20px;
}

.footer h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #f9c74f;  /* golden yellow heading so it stands out */
}

.footer p {
    color: #ddd;  /* softer white for paragraph */
    line-height: 1.6;
}
/*---- Our Campus ----*/
/* Our Campus Section - Distinct Medal College */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Pacifico&display=swap');

.campus {
  padding: 64px 20px;
  background: linear-gradient(180deg, #fff 0%, #fcfcff 100%);
  color: #111;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.campus .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 40px;
  align-items: start;
}

/* Intro */
.campus-intro h2 {
  font-family: 'Pacifico', 'Poppins', sans-serif;
  font-size: 2.1rem;
  margin: 0 0 12px 0;
  color: #0b1220; /* strong black */
  letter-spacing: 0.4px;
}

.campus-intro .lead {
  margin: 0 0 22px 0;
  color: #2b2b2b;
  line-height: 1.6;
  font-size: 1.02rem;
}

/* Cards */
.campus-cards {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.campus-cards .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15,20,30,0.06);
  padding: 14px 16px;
  flex: 1 1 calc(33% - 14px);
  min-width: 180px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.campus-cards .card h3 {
  margin: 0 0 6px 0;
  font-size: 1rem;
}
.campus-cards .card p {
  margin: 0;
  font-size: .92rem;
  color: #444;
}
.campus-cards .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10,14,25,0.12);
}

/* Stats */
.campus-stats {
  display:flex;
  gap:18px;
  margin: 18px 0 26px 0;
  flex-wrap:wrap;
}
.campus-stats .stat {
  background: linear-gradient(180deg,#fff,#fbfbff);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(12,14,22,0.05);
}
.campus-stats .stat strong {
  display:block;
  font-size:1.2rem;
  color:#0b1220;
}
.campus-stats .stat span {
  font-size:.85rem;
  color:#555;
}

/* CTA */
.btn {
  display:inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight:600;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn.primary {
  background: linear-gradient(90deg,#0d6efd,#7b61ff);
  color:#fff;
  box-shadow: 0 8px 24px rgba(86,63,255,0.18);
}
.btn.primary:hover { transform: translateY(-3px); }

/* Gallery mosaic */
.campus-gallery .mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(12,14,22,0.08);
}
.campus-gallery .mosaic img {
  width:100%;
  height: 100%;
  object-fit: cover;
  display:block;
  cursor:pointer;
  transition: transform .28s ease;
}
.campus-gallery .mosaic img:hover { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  --bg: rgba(6,8,12,0.82);
  position: fixed;
  inset: 0;
  display: none; /* toggled with JS */
  align-items: center;
  justify-content: center;
  z-index: 2000;
  background: var(--bg);
  padding: 28px;
}
.lightbox[aria-hidden="false"] { display:flex; }
.lightbox .lb-image-wrap {
  max-width: 1000px;
  width: 100%;
  text-align: center;
}
.lightbox img { max-width:100%; height:auto; border-radius:8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lightbox #lbCaption { color:#eee; margin-top:10px; font-size:0.95rem; }

.lb-close, .lb-next, .lb-prev {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor:pointer;
  padding: 10px;
}
.lb-close { top: 20px; right: 26px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 980px) {
  .campus .container { grid-template-columns: 1fr; }
  .campus-gallery { order: -1; margin-bottom: 18px; }
  .campus-cards .card { flex: 1 1 100%; }
}
 body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background: #f9f9ff;
      color: #333;
    }

    header {
      background: #0c3c78;
      padding: 20px;
      text-align: center;
      color: #fff;
    }

    header h1 {
      margin: 0;
      font-size: 42px;
      font-family: 'Pacifico', cursive;
    }

    .hero {
      color: white;
      text-align: center;
      padding: 100px 20px;
    }

    .hero h2 {
      font-size: 50px;
      margin: 0;
      color: black;
    }

    .hero p {
      font-size: 20px;
      margin-top: 10px;
    }

    .blog-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 30px;
      padding: 60px 8%;
    }

    .blog-card {
      background: #fff;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .blog-card:hover {
      transform: translateY(-12px) scale(1.02);
      box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }

    .blog-card img {
      width: 100%;
      height: 230px;
      object-fit: cover;
    }

    .blog-content {
      padding: 25px;
    }

    .blog-content h3 {
      font-size: 24px;
      margin: 0 0 10px;
      color: #0c3c78;
    }

    .blog-content p {
      font-size: 15px;
      color: #555;
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .read-more {
      display: inline-block;
      padding: 10px 20px;
      background: #0c3c78;
      color: #fff;
      font-size: 14px;
      text-decoration: none;
      border-radius: 8px;
      transition: background 0.3s;
    }

    .read-more:hover {
      background: #e63946;
    }

    footer {
      background: #0c3c78;
      color: #fff;
      text-align: center;
      padding: 25px 15px;
      margin-top: 50px;
    }

    footer p {
      margin: 8px 0;
      font-size: 14px;
    }
    /* Comment Section */
.comment-section {
  background: #fff;
  margin: 50px 8%;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.comment-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0c3c78;
  text-align: center;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: border 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #0c3c78;
  outline: none;
}

.comment-form textarea {
  height: 150px;
  resize: none;
}

.comment-btn {
  align-self: flex-start;
  padding: 12px 25px;
  background: #0c3c78;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.comment-btn:hover {
  background: #e63946;
}
/*--------contact us page-------*/
.location{
  width: 80%;
  margin: auto;
  padding: 80px 0;

}
.location iframe{
  width: 100%;
  
}
.course {
  width: 80%;
  margin: auto;
  text-align: center;
  padding: 50px 0;
  color: #333;
}

.course h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.course p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 40px;  /* adds space after paragraph */
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* makes it responsive */
}

