/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #1e1e1e;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== BRAND COLORS =====
  BC Navy:     #00457C
  BC Sky Blue: #1EAEE5
  IELTS Red:   #D5232A
  Dark BG:     #230046
  Light Gray:  #F0F4F7
*/

/* ===== TOP BAR ===== */
.top-bar {
  background: #00457C;
  color: #fff;
  font-size: 0.78rem;
  padding: 0.4rem 2rem;
  text-align: right;
  letter-spacing: 0.3px;
}
.top-bar a { color: #92d4f0; font-weight: 500; }
.top-bar a:hover { color: #fff; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; left: 0; width: 100%;
  background: #fff;
  z-index: 1000;
  border-bottom: 3px solid #1EAEE5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.navbar .container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 2rem;
}
.navbar .logo-img { height: 52px; object-fit: contain; }
.navbar nav { display: flex; gap: 1.8rem; align-items: center; }
.navbar nav a {
  font-size: 0.9rem; font-weight: 600; color: #00457C;
  transition: color 0.3s; letter-spacing: 0.2px;
}
.navbar nav a:hover { color: #D5232A; }
.navbar nav a.active { color: #D5232A; border-bottom: 2px solid #D5232A; padding-bottom: 2px; }
.navbar nav a.btn-nav {
  background: #D5232A; color: #fff;
  padding: 0.5rem 1.4rem; border-radius: 4px;
  font-weight: 700; border: none;
  transition: background 0.3s;
}
.navbar nav a.btn-nav:hover { background: #b91c22; }
.mobile-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: #00457C; background: none; border: none; }
.lang-switch {
  background: #F0F4F7; color: #00457C !important;
  padding: 0.35rem 0.7rem; border-radius: 4px;
  font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.5px; border: 1px solid #dde3e8;
  transition: all 0.3s;
}
.lang-switch:hover { background: #1EAEE5; color: #fff !important; border-color: #1EAEE5; }

/* ===== HERO WITH IMAGE ===== */
.hero {
  background: linear-gradient(135deg, #230046 0%, #1a0038 40%, #00457C 100%);
  color: #fff;
  padding: 4rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center;
}
.hero-text { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(30,174,229,0.15); border: 1px solid rgba(30,174,229,0.35);
  color: #92d4f0; padding: 0.45rem 1.2rem;
  border-radius: 20px; font-size: 0.78rem; font-weight: 600;
  margin-bottom: 1.5rem; letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 2.6rem; font-weight: 800;
  line-height: 1.18; margin-bottom: 1rem;
}
.hero h1 .highlight { color: #D5232A; }
.hero h1 .blue { color: #1EAEE5; }
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.8);
  margin-bottom: 2rem; line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  display: flex; align-items: center; justify-content: center;
}
.hero-image img {
  width: 100%; max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.btn-primary {
  background: #D5232A; color: #fff;
  padding: 0.85rem 2rem; border-radius: 4px;
  font-size: 1rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover { background: #b91c22; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(213,35,42,0.3); }
.btn-outline {
  background: transparent; color: #fff;
  padding: 0.85rem 2rem; border-radius: 4px;
  font-size: 1rem; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer; transition: all 0.3s;
  display: inline-block;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-blue {
  background: #1EAEE5; color: #fff;
  padding: 0.85rem 2rem; border-radius: 4px;
  font-size: 1rem; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.3s;
  display: inline-block;
}
.btn-blue:hover { background: #178fbe; transform: translateY(-2px); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: #fff;
  padding: 2.5rem 2rem;
  border-bottom: 1px solid #e0e6eb;
}
.stats-bar .container {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 10%; height: 80%;
  width: 1px; background: #e0e6eb;
}
.stat-item h3 { font-size: 2.5rem; font-weight: 800; color: #D5232A; }
.stat-item .blue { color: #1EAEE5; }
.stat-item p { font-size: 0.85rem; color: #555; margin-top: 0.3rem; font-weight: 500; }

/* ===== LOGOS SECTION (big, paragraph-style) ===== */
.logos-section {
  background: #F0F4F7;
  padding: 4rem 2rem;
}
.logos-section .container {
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.logos-section h2 {
  font-size: 1.6rem; font-weight: 800; color: #00457C;
  margin-bottom: 0.5rem;
}
.logos-section h2 .highlight { color: #D5232A; }
.logos-section > .container > p {
  color: #555; font-size: 1rem; margin-bottom: 2.5rem;
}
.logos-section .underline {
  width: 60px; height: 3px;
  background: #1EAEE5; margin: 0.8rem auto 2.5rem;
  border-radius: 2px;
}

/* Each logo block = image + label as a paragraph */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.logo-block {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  border: 1px solid #dde3e8;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  transition: all 0.3s;
  min-height: 180px;
}
.logo-block:hover {
  box-shadow: 0 8px 30px rgba(0,69,124,0.1);
  border-color: #1EAEE5;
  transform: translateY(-3px);
}
.logo-block img {
  max-height: 100px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.logo-block.featured {
  grid-column: span 1;
  border: 2px solid #1EAEE5;
  background: #f7fbfe;
}
.logo-block.featured img {
  max-height: 120px;
  max-width: 280px;
}
.logo-block .logo-label {
  font-size: 0.82rem;
  color: #00457C;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

/* Wide logo row (2-col for big logos) */
.logos-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.logos-top-row .logo-block {
  min-height: 200px;
  padding: 2.5rem 2rem;
}
.logos-top-row .logo-block img {
  max-height: 130px;
  max-width: 320px;
}

/* ===== SECTIONS ===== */
section { padding: 4.5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: 2rem; font-weight: 800; color: #00457C;
  margin-bottom: 0.5rem;
}
.section-header h2 .highlight { color: #D5232A; }
.section-header p { color: #555; font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-header .underline {
  width: 60px; height: 3px;
  background: #1EAEE5; margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview { background: #fff; }
.services-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: #F0F4F7; border-radius: 8px;
  padding: 2rem; text-align: center;
  border: 1px solid #dde3e8;
  transition: all 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,69,124,0.1); border-color: #1EAEE5; }
.service-card .icon {
  width: 56px; height: 56px;
  background: #00457C;
  border-radius: 50%; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: #00457C; }
.service-card p { color: #555; font-size: 0.88rem; }

/* ===== VIDEOS ===== */
.videos-section { background: #F0F4F7; }
.videos-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.video-card {
  border-radius: 8px; overflow: hidden;
  background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  border: 1px solid #dde3e8;
  transition: transform 0.3s;
}
.video-card:hover { transform: translateY(-3px); }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: none; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: #fff; }
.testimonials-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem;
}
.testimonial-card {
  background: #F0F4F7;
  border-radius: 8px; padding: 1.8rem;
  border-left: 4px solid #1EAEE5;
  border-top: 1px solid #dde3e8; border-right: 1px solid #dde3e8; border-bottom: 1px solid #dde3e8;
  transition: all 0.3s;
  position: relative;
}
.testimonial-card:hover { box-shadow: 0 6px 20px rgba(0,69,124,0.08); }
.testimonial-card .stars { color: #f5a623; font-size: 1rem; margin-bottom: 0.7rem; letter-spacing: 2px; }
.testimonial-card .score-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: #D5232A; color: #fff;
  font-weight: 800; font-size: 0.82rem;
  padding: 0.25rem 0.65rem; border-radius: 4px;
}
.testimonial-card .text {
  font-size: 0.9rem; color: #3a3a3a; line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.testimonial-card .author { font-weight: 700; color: #00457C; font-size: 0.88rem; }
.testimonial-card .date { font-size: 0.78rem; color: #888; margin-top: 0.15rem; }
.show-more-btn {
  display: block; margin: 2.5rem auto 0;
  background: none; border: 2px solid #00457C;
  color: #00457C; padding: 0.7rem 2rem;
  border-radius: 4px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s;
}
.show-more-btn:hover { background: #00457C; color: #fff; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #230046 0%, #00457C 100%);
  color: #fff; text-align: center;
  padding: 5rem 2rem;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.8rem; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 580px; margin: 0 auto 2rem; }
.cta-logos {
  display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
  align-items: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
}
.cta-logos img {
  height: 65px; object-fit: contain;
}

/* ===== FOOTER ===== */
.footer {
  background: #00457C; color: rgba(255,255,255,0.7);
  padding: 3rem 2rem; text-align: center;
  font-size: 0.85rem;
}
.footer a { color: #1EAEE5; }
.footer .footer-logos {
  display: flex; justify-content: center; gap: 3rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  margin-bottom: 1.8rem;
}
.footer .footer-logos img {
  height: 55px; object-fit: contain;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: linear-gradient(135deg, #230046 0%, #1a0038 40%, #00457C 100%);
  color: #fff;
  padding: 4.5rem 2rem 4rem;
  text-align: center;
}
.about-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.8rem; }
.about-hero h1 .highlight { color: #D5232A; }
.about-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 650px; margin: 0 auto; }

/* Bio */
.bio-section { background: #fff; padding: 5rem 2rem; }
.bio-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start;
}
.bio-text h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 1rem; color: #00457C; }
.bio-text h2 .highlight { color: #D5232A; }
.bio-text p { color: #444; font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.7; }
.bio-credentials {
  background: #F0F4F7; border-radius: 8px;
  padding: 2rem; border: 1px solid #dde3e8;
}
.credential-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.75rem 0; border-bottom: 1px solid #dde3e8;
}
.credential-item:last-child { border-bottom: none; }
.credential-item .icon-check {
  width: 22px; height: 22px; min-width: 22px;
  background: #1EAEE5; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.7rem; font-weight: 700; margin-top: 2px;
}
.credential-item p { color: #333; font-size: 0.9rem; font-weight: 500; }

/* Services Detail */
.services-detail { background: #F0F4F7; padding: 5rem 2rem; }
.services-detail-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.detail-card {
  background: #fff; border-radius: 8px;
  padding: 1.8rem; border: 1px solid #dde3e8;
  border-top: 3px solid #1EAEE5;
  transition: all 0.3s;
}
.detail-card:hover { box-shadow: 0 6px 20px rgba(0,69,124,0.08); }
.detail-card h3 { color: #00457C; font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.detail-card p { color: #555; font-size: 0.88rem; }

/* Why Choose */
.why-choose { background: #fff; padding: 5rem 2rem; }
.why-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.why-card { text-align: center; padding: 1.5rem; }
.why-card .icon-circle {
  width: 64px; height: 64px;
  background: #00457C;
  border-radius: 50%; margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
}
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; color: #00457C; }
.why-card p { color: #555; font-size: 0.88rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .top-bar { display: none; }
  .navbar nav { display: none; }
  .mobile-toggle { display: block; }
  .navbar nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: #fff; padding: 1rem 2rem; gap: 1rem;
    border-bottom: 3px solid #1EAEE5; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-image { margin-top: 2rem; }
  .hero-image img { max-width: 320px; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item:not(:last-child)::after { display: none; }
  .services-grid, .videos-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stat-item h3 { font-size: 2rem; }
  .logos-top-row { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .hero { padding: 2.5rem 1.2rem 2rem; }
  .hero h1 { font-size: 1.5rem; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  section { padding: 3rem 1.2rem; }
  .section-header h2 { font-size: 1.5rem; }
}
