/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: white;
  color: #222;
  margin: 0;
  height: 100%;
}

header {
  background-color: #083866;
  color: white;
  position: relative;
}
.header-container {
  width: 100%;
  max-width: 1700px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.logo-img {
  height: 80px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}
.nav-links a:hover {
  text-decoration: underline;
}
.nav-links a.active {
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #083866;
    padding: 20px 0;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 10px 20px;
    font-size: 18px;
  }
}

.h1-heading {
  text-align: center;
  font-size: clamp(32px, 1vw + 2rem, 42px);
  margin-top: 30px;
  margin-bottom: 20px;
}

.img-1 {
  display: block;
  width: 100%;
  max-height: 800px;
  object-fit: cover;
}

.intro-text {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0 20px;
  font-family: "Poppins", sans-serif;
}

.intro-text h2 {
  font-size: clamp(15px, 1vw + 1rem, 24px);
  margin-top: 40px;
  color: #083866;
  font-weight: 600;
  margin-bottom: 16px;
}

.intro-text p {
  font-size: 20px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 16px;
}

.tutoring-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #e8f0fa;
  padding: 30px;
  border-radius: 8px;
  gap: 30px;
  margin: 40px 0;
}

.tutoring-section img.img-2 {
  width: 100%;
  max-width: 500px;
}

.tutoring-content h2 {
  font-size: clamp(15px, 1vw + 1rem, 24px);
  color: #083866;
  margin-bottom: 15px;
  font-weight: 600;
}

.tutoring-content ul {
  list-style-type: disc;
  padding-left: 20px;
  line-height: 2;
  color: #333;
  font-size: clamp(10px, 1vw + 1rem, 18px);
}

#subjects-home {
  padding: 80px 0px;
  background-color: #f2e2e2;
  text-align: center;
}

#subjects-home h2 {
  font-size: clamp(15px, 1vw + 2rem, 40px);
  margin-top: 10px;
  margin-bottom: 40px;
  color: #083866;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .subjects-grid {
    grid-template-columns: 1fr;
  }
  #subjects-home h2 {
    font-size: clamp(24px, 1vw + 1rem, 42px);
  }
}

.subject-box {
  background-color: #d4af37;
  border: 1px solid #fff;
  color: #083866;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.subject-box:hover {
  transform: translateY(-5px);
}

.subject-box h3 {
  margin-bottom: 15px;
  font-size: clamp(18px, 1vw + 1rem, 20px);
}

.subject-box ul {
  list-style: none;
  padding: 0;
}
.subject-box li {
  font-size: 18px;
}

.subject-box li::before {
  color: #4a90e2;
  margin-right: 5px;
}

/*---------------------------- FAQ SECTION-------------------------- */
.faq-section {
  background-color: #1a2941;
  padding: 60px 20px;
  max-width: 1400px;
  margin: 40px auto;
  border: 1px solid white;
}

.faq-section h2 {
  font-size: clamp(15px, 1vw + 1rem, 36px);
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

.faq-item {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.faq-item h3 {
  font-size: clamp(18px, 1vw + 1rem, 20px);
  color: #2c3e50;
  margin-bottom: 10px;
}

.faq-item p {
  color: #555;
  font-size: clamp(14px, 1vw + 1rem, 18px);
  line-height: 1.6;
}

/*----------------------------------- BLOG SECTION------------------------ */
.blog-section {
  background-color: #6a87a3;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 60px auto;
  border-radius: 10px;
}

.blog-section h2 {
  font-size: clamp(15px, 1vw + 1rem, 36px);
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

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

.blog-post {
  background-color: #f0f3f9;
  padding: 25px 20px;
  border: 1px solid #cfdbea;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.blog-post h3 {
  font-size: clamp(18px, 1vw + 1rem, 20px);
  margin-bottom: 10px;
  color: #2d3748;
}

.blog-post p {
  color: #555;
  font-size: clamp(14px, 1vw + 1rem, 18px);
  line-height: 1.6;
  margin-bottom: 10px;
}

.blog-post a {
  text-decoration: none;
  color: rgb(61, 55, 238);
  font-weight: 800;
  transition: color 0.2s ease;
}

.blog-post a:hover {
  color: #005fa3;
}

/*-----------------------------footers-----------------------------------------------*/

footer {
  background-color: #083866;
  color: #fff;
  height: auto;
  font-family: "Poppins", sans-serif;
  padding: 10px 0;
}

.footer-container {
  width: 100%;
  max-width: 1700px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
.footer-top {
  width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.footer-logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 0;
}

.footer-logo img {
  width: 100px;
  height: auto;
  max-width: 100%;
}

.footer-contact {
  flex: 1;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  padding: 0;
  color: #e4e8ed;
}

.footer-social {
  flex: 1;
  text-align: right;
  padding: 0;
}

.footer-social p {
  margin: 0 0 8px;
  font: 22px;
  font-weight: 700;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: clamp(10px, 1vw + 1rem, 14px);
  color: white;
}
.footer-contact a {
  color: white;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-logo,
  .footer-contact,
  .footer-social {
    flex: none;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    font-size: clamp(8px, 1vw + 1rem, 14px);
  }
}

/*-------------------------------------services------------------------------------*/

#subjects-section {
  text-align: center;
  padding: 10px 20px;
  min-height: 50px;
  display: flex;
  background-color: #f7fbd8;
  justify-content: center;
}
.h1-service {
  text-align: center;
  font-size: clamp(32px, 1vw + 2rem, 42px);
  margin-top: 30px;
  margin-bottom: 20px;
  color: #083866;
}

.subjects-section h2 {
  color: #083866;
  font-size: clamp(15px, 1vw + 1rem, 24px);
  margin-bottom: 10px;
}

.subjects-section p {
  width: 100%;
  max-width: 700px;
  font-size: clamp(14px, 1vw + 1rem, 18px);
  margin: 10px 20px;
  color: #555;
}

.subjects-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}
.h3-heading {
  font-size: clamp(18px, 1vw + 1rem, 20px);
}

.subjects-box,
.levels-box {
  background-color: #5942df;
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  height: 250px;
}

.subjects-box ul,
.levels-box ul {
  font-size: clamp(18px, 1vw + 1rem, 20px);
  text-align: center;
  margin-top: 30px;
  margin-left: 10px;
}

.rate-box {
  background: linear-gradient(135deg, #1c2c3f, #2f4f6f);
  color: #ffffff;
  padding: 40px 30px;
  margin: 50px auto;
  border-radius: 10px;
  max-width: 600px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  border: 2px solid #ffc107;
  font-size: clamp(18px, 1vw + 1rem, 26px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rate-box:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.rate-box p {
  margin: 0;
  line-height: 1.6;
}

.charges {
  display: inline-block;
  background-color: #ffc107;
  color: #0d1a2b;
  font-weight: 700;
  font-size: 36px;
  padding: 10px 20px;
  margin: 12px 0;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.contact-banner {
  position: relative;
  margin-top: 40px;
}

.contact-banner img {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .contact-banner img {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .contact-banner img {
    max-height: 300px;
  }
  .h1-service {
    font-size: clamp(32px, 1vw + 1rem, 42px);
  }
  .contact-banner .overlay {
    font-size: clamp(10px, 1vw + 1rem, 20px);
  }
  .contact-info {
    font-size: clamp(12px, 1vw + 1rem, 20px);
    font-weight: 600;
  }
  .overly h2 {
    font-size: clamp(10px, 1vw + 1rem, 18px);
  }
}

.contact-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 34, 35, 0.657);
  color: white;
  backdrop-filter: blur(0.5px);
  font-size: clamp(10px, 1vw + 1rem, 24px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.contact-info a {
  font-size: clamp(18px, 1vw + 1rem, 28px);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.info-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  background-color: #fff;
}

.card {
  flex: 1 1 300px;
  max-width: 400px;
  padding: 20px;
  border-radius: 12px;
  font-size: 14px;
}

.card h3 {
  margin-bottom: 10px;
}

.yellow {
  background-color: #fff8d6;
}

.blue {
  background-color: #d8f8f8;
}

.pink {
  background-color: #fbe4ff;
  align-items: center;
  margin: 40px auto;
  max-width: 500px;
  padding: 30px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 8px;
}

/*----------------------- about-us------------------------------------------------------ */
.h1-about {
  font-size: clamp(30px, 1vw + 1rem, 36px);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.about-img {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-img img {
    max-height: 300px;
  }
}

.about-us {
  max-width: 800px;
  margin: 40px auto;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.about-us h1 {
  font-size: clamp(15px, 1vw + 1rem, 24px);
  margin-bottom: 20px;
  color: #333;
}

.about-us p {
  margin-bottom: 16px;
  color: #555;
}

#contact-about {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #272540;
  color: black;
  padding: 40px 20px;
  margin-bottom: 40px;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}

@media (max-width: 768px) {
  #contact-about {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px;
  }
}

#contact-about .contact-text {
  flex: 0.5;
  min-width: 250px;
}

#contact-about .contact-text h2 {
  font-size: clamp(15px, 1vw + 1rem, 30px);
  color: white;
  margin-bottom: 15px;
}

#contact-about .contact-text p {
  font-size: clamp(14px, 1vw + 1rem, 24px);
  line-height: 1.6;
  color: white;
  margin-bottom: 15px;
}

#contact-about .contact-text a {
  color: white;
  text-decoration: none;
}

#contact-about .contact-text a:hover {
  text-decoration: underline;
}

#contact-about .social-section {
  margin-top: 10px;
  color: white;
  font-size: clamp(14px, 1vw + 1rem, 18px);
}

#contact-about .social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

#contact-about .social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

#contact-about .social-icons a:hover img {
  transform: scale(1.1);
}

.contact-image {
  min-width: 200px;
  text-align: right;
}

.contact-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
}

.why-choose-us {
  padding: 40px 20px;
  background-color: #faf8f8;
  text-align: center;
  margin-bottom: 30px;
}

.why-choose-us h3 {
  font-size: clamp(18px, 1vw + 1rem, 20px);
  margin-bottom: 30px;
  color: #8a0aaa;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.about-h4 {
  font-size: clamp(18px, 1vw + 1rem, 20px);
  color: #8a0aaa;
  margin-bottom: 10px;
}

.about-p {
  font-size: clamp(14px, 1vw + 1rem, 18px);
  color: #8a0aaa;
  line-height: 1.5;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card1 {
  background: #c4965941;
  color: #fff;
}
.card2 {
  background: #32623c22;
  color: #fff;
}
.card3 {
  background: #4d6b8346;
  color: #fff;
}
.card4 {
  background: #fffcd8;
}
.card5 {
  background: #e8f9f5;
}
.card6 {
  background: #da9ee75a;
}

/* ========== Responsive Padding ========== */

/*-----------------------------------prepareIb.html----------------------------------------*/

.blog-article {
  background-color: #f9fbfd;
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: #2d3748;
}

.blog-container {
  max-width: 800px;
  margin: 0 auto;
}

.blog-container h1 {
  font-size: clamp(30px, 1vw + 1rem, 36px);
  color: #083866;
  margin-bottom: 20px;
}

.blog-container h2 {
  font-size: clamp(15px, 1vw + 1rem, 24px);
  margin-top: 30px;
  color: #083866;
}

.blog-container p {
  margin-bottom: 16px;
}

.blog-intro {
  font-size: 1.1rem;
  color: #444;
}

.blog-summary {
  font-weight: 600;
  margin-top: 30px;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  color: #083866;
  font-weight: 600;
  text-decoration: none;
}
.contact-email {
  font-size: 20px;
  font-weight: 700;
  color: rgb(37, 55, 222);
}

.back-link:hover {
  text-decoration: underline;
}

/*-------------------------blog-GCSC.html-------------------------------------*/

.blog-article {
  background-color: #f9fbfd;
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: #2d3748;
}

.blog-container {
  max-width: 800px;
  margin: 0 auto;
}

.blog-container h1 {
  font-size: clamp(30px, 1vw + 1rem, 36px);
  color: #083866;
  margin-bottom: 20px;
}

.blog-container h2 {
  font-size: clamp(15px, 1vw + 1rem, 24px);
  margin-top: 30px;
  color: #083866;
}

.blog-container p {
  margin-bottom: 16px;
}

.blog-intro {
  font-size: 1.1rem;
  color: #444;
}

.blog-summary {
  font-weight: 600;
  margin-top: 30px;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  color: #083866;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}
