/* Logo styling */
.logo {
  height: 40px; /* adjust size as needed */
  width: auto;
  vertical-align: middle;
}

/* Align logo with text */
.partner-logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  color: #30ee3a;
  text-decoration: none;
  margin-right: 10px; 
  transition: color 0.3s;
}

.social-icons a:hover { color: #ff0000; }

.social-icons a:nth-child(1):hover { color: #FF0000; } /* YouTube red */
.social-icons a:nth-child(2):hover { color: #69C9D0; } /* TikTok cyan */
.social-icons a:nth-child(3):hover { color: #25D366; } /* WhatsApp green */

.partner-logo-box div:nth-child(2) {
  font-family: 'calibri', cursive;
  font-size: 15px;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: 'calibri', cursive;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: auto;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutor-avatar{
  width:120px;
  height:120px;
  border-radius:50%;
  overflow:hidden;
  margin:auto;
}

.tutor-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.logo-img {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
.logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e90ff, #0b3c74);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card {
  transition: 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: scale(1.1);
}

.contact-item .contact-icon i {
  font-size: 28px;  /* Adjust icon size */
  transition: 0.3s; /* Smooth hover color changes */
}

/* Email: red icon */
.contact-item .contact-icon i.fa-envelope {
  color: red;  /* classic email red */
}

/* WhatsApp: lime green icon */
.contact-item .contact-icon i.fa-whatsapp {
  color: limegreen;
}

/* Optional: Social Media / Globe */
.contact-item .contact-icon i.fa-globe {
  color: #facc15; /* golden yellow for globe */
}

/* Phone / Sessions icon */
.contact-item .contact-icon i.fa-phone {
  color: #38bdf8; /* blue for sessions */
}

/* Optional hover effect for all icons */
.contact-item .contact-icon i:hover {
  filter: brightness(1.2); /* slight glow on hover */
}
.info-card {
  position: relative; /* ✅ ADD */
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 16px;
  padding: 1.5rem;
  overflow: hidden; /* ✅ ADD */
  transition: transform .3s, border-color .3s;

  background-size: cover; /* ✅ ADD */
  background-position: center; /* ✅ ADD */
}
/* ✅ ADD THESE NEW CLASSES */
.card-stem {
  background-image: url('../images/OIP.png');
}

.card-online {
  background-image: url('../images/online.png');
}

.card-plan {
  background-image: url('../images/person.png');
}
/* ✅ DARK OVERLAY */
.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  z-index: 0;
}
/* ✅ KEEP TEXT ABOVE IMAGE */
.info-card * {
  position: relative;
  z-index: 1;
}
.nav-name {
  font-family: 'Calibri', sans-serif; /* bold Calibri */
  font-weight: bold;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4); /* optional stylish shadow */
}

.nav-name span {
  color: var(--gold); /* keeps the gold accent if needed */
}
.info-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.info-card-title {
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.stem-topic {
  position: relative;
  padding: 2rem;
  border-radius: 15px;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.stem-topic:hover {
  transform: scale(1.05);
}

/* STEM GRID */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

/* STEM CARD */
.stem-topic {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.stem-topic:hover {
  transform: scale(1.05);
}

/* DARK OVERLAY */
.stem-topic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  z-index: 0;
}

/* KEEP TEXT ABOVE IMAGE */
.stem-topic * {
  position: relative;
  z-index: 1;
}

/* SUBJECT CARD CONTENT */
.subject-card-inner {
  padding: 2rem;
}

.subject-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.subject-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.subject-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.subject-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topic-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-size: 0.85rem;
}

/* INDIVIDUAL BACKGROUNDS */
.stem-topic.sc-math {
  background-image: url('../images/maths.jpg');
}

.stem-topic.sc-physics {
  background-image: url('../images/physics.webp');
}

.stem-topic.sc-chemistry {
  background-image: url('../images/chemistry.jpg');
}

.stem-topic.sc-biology {
  background-image: url('../images/bio.jpg');
}

/* MAKE ALL TEXT INSIDE STEM TOPIC WHITE AND MORE READABLE */
.stem-topic, 
.stem-topic .subject-name, 
.stem-topic .subject-desc, 
.stem-topic .subject-icon, 
.stem-topic .topic-tag {
    color: #fff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.tutor-avatar {
  width: 120px;          /* adjust size as needed */
  height: 120px;
  border-radius: 50%;    /* makes it circular */
  overflow: hidden;       /* ensures image stays inside circle */
  margin: 0 auto;         /* center horizontally if needed */
  border: none;           /* removes any default border */
}

.tutor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* image fills circle without distortion */
  display: block;
}
/* Partnership grid */
.partnership-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;                  /* spacing between boxes and plus */
  flex-wrap: wrap;             /* responsive for small screens */
}

/* Boxes equal size */
.partner-logo-box {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;                /* fixed equal width */
  height: 180px;               /* fixed equal height */
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
}

/* Circular logo image */
.logo-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Plus sign styling */
.partner-plus {
  font-size: 2rem;
  font-weight: bold;
  color: #64748b;
  opacity: 0.6;
  align-self: center;
}
/* Overlay fade-out slower */
#welcome-overlay.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
  transition: opacity 1.8s ease, transform 1.8s ease; /* increased from 1.2s → 1.8s */
}

/* Main site zoom-in slower */
#main-site {
  transform: scale(0.94);
  opacity: 0;
  transition: transform 1.8s ease, opacity 1.8s ease; /* increased from 1.2s → 1.8s */
}

#main-site.show {
  transform: scale(1);
  opacity: 1;
}
/* Welcome content appears slower */
.wc-body {
  opacity: 0;
  transform: translateY(40px);
  animation: wcFadeUp 2s ease forwards;  /* increased from 1.8s → 2s */
  animation-delay: 0.6s;
}

.wc-top {
  opacity: 0;
  animation: wcFadeUp 2s ease forwards;
  animation-delay: 0.3s;
}

.wc-bottom {
  opacity: 0;
  animation: wcFadeUp 2s ease forwards;
  animation-delay: 1s;
}
.privacy-section {
  padding: 60px 20px;
  background: #0f172a; /* dark theme */
  color: #fff;
}

.privacy-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.privacy-section h3 {
  margin-top: 20px;
  color: #fbbf24; /* your gold accent */
}
.privacy-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.privacy-content {
  background: #0f172a;
  color: #fff;
  margin: 5% auto;
  padding: 30px;
  width: 80%;
  max-width: 600px;
  border-radius: 12px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

.privacy-content h2 {
  margin-bottom: 15px;
}

.privacy-content h3 {
  margin-top: 15px;
  color: #fbbf24;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows responsiveness */
  padding: 10px 20px;
  background: #0b1b2b;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;   /* tabs wrap neatly */
  gap: 15px;
  flex: 1;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 6px 10px;
  white-space: nowrap; /* keeps each tab intact */
}

.enrol-btn {
  background: gold;
  color: black;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;

  white-space: nowrap; /*  keeps "Enrol Now" as one */
  flex-shrink: 0;      /* prevents shrinking/wrapping */
}
/* ── MODAL BACKGROUND ─────────────────────────── */
#privacyModal {
  display: none;
  position: fixed;
  z-index: 2000;

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.7);

  overflow-y: auto;   /*  allows scrolling of modal */
  padding: 40px 10px;
}

/* ── MODAL CONTENT BOX ─────────────────────────── */
#privacyModal .modal-content {
  background: #0f172a;
  color: #fff;

  max-width: 800px;
  margin: auto;

  padding: 2rem;
  border-radius: 10px;

  max-height: 90vh;     /* ✅ keeps it within screen */
  overflow-y: auto;     /* ✅ enables inner scroll */

  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* ── CLOSE BUTTON ─────────────────────────── */
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;

  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}
/* ── HERO SLIDESHOW ─────────────────────────── */
#home {
  position: relative;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slideshow-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 45, 0.65);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-blob {
  position: relative;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 1;
}
.zimsec-packages {
  padding: 70px 8%;
  background: #fffbea;
  text-align: center;
}

.zimsec-packages h2 {
  font-size: 38px;
  color: #073b5c;
  margin-bottom: 10px;
}

.package-subtitle {
  color: #526b86;
  font-size: 18px;
  margin-bottom: 45px;
}

.package-cards {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

.package-card {
  width: 400px;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.package-card.featured {
  border: 3px solid #11a7e8;
  position: relative;
}

.best-value {
  position: absolute;
  top: 20px;
  right: 0;
  background: #17aee5;
  color: white;
  padding: 10px 25px;
  font-weight: bold;
  border-radius: 8px 0 0 8px;
}

/* Slightly reduced height without changing appearance */
.package-header {
  background: linear-gradient(135deg, #17aee5, #062f50);
  color: white;
  padding: 30px 30px;
  text-align: left;
}

.package-header h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

.package-header h1 {
  font-size: 58px;
  color: #ffca28;
  margin: 0;
}

.package-header p {
  font-size: 18px;
  color: #ffdd57;
}

.package-body {
  padding: 25px 32px 30px;
  text-align: left;
}

.price-note {
  background: #eef8ff;
  color: #4d6680;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 20px;
}

.package-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.package-body li {
  color: #4d6680;
  font-size: 17px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f5;
}

.package-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, #17aee5, #062f50);
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 18px;
}

.package-btn.yellow {
  background: linear-gradient(135deg, #ffa600, #ffdf55);
  color: #061f35;
}