* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f7f7f7;
  color: #333;
}

:root {
  --primary: #1a73e8;
  --secondary: #edf5ef;
  --dark: #202124;
  --light: #f8f9fa;
  --accent: #fbbc05;
  --danger: #ea4335;
    --news-item-height: 80px; /* Adjust to resize news cards */
  --news-item-padding: 20px 20px;
}

/* ==== Header General Styles ==== */
header {
  position: relative;
  width: 100%;
  top: 0;
  z-index: 500;
}

/* ==== Top Bar ==== */
.top-bar {
  background: linear-gradient(90deg, #1a73e8, #1e5113);
  color: white;
  font-size: 16px;
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar span {
  color: white;
}

/* ==== Call Request Button ==== */
.call-request-btn {
  background-color: #ff5722;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  animation: glowPulse 1s infinite alternate;
}

@keyframes glowPulse {
  0% {
    background-color: #ff5722;
    box-shadow: 0 0 10px #ff5722, 0 0 20px #ff5722;
  }
  100% {
    background-color: #f9e803;
    box-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4;
  }
}

.call-request-btn:hover {
  background-color: #e64a19;
  box-shadow: 0 0 15px #00bcd4, 0 0 25px #00bcd4;
}

/* ==== Middle Bar ==== */
.middle-bar {
  background: white;
  text-align: left;
  padding: 10px 20px;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.logo-container img {
  height: 65px;
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: scale(1.1);
}

.animated-heading {
  font-size: 25px;
  font-weight: bold;
  text-align: left;
  background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff00ff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientShift 3s infinite linear;
  text-shadow: 0 0 10px rgba(210, 226, 140, 0.8);
}

/* ==== Social Links ==== */
.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-links span {
  font-weight: bold;
  font-size: 18px;
  background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientShift 3s infinite linear;
}

.social-links img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.social-links img:hover {
  transform: scale(1.3);
}

/* ==== Menu Bar ==== */
.menu-bar {
  background: var(--primary);
}

.menu-bar ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu-bar ul li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: white;
}

.menu-bar ul li a:hover {
  background-color: #6b0dbe;
  color: #fff;
}

/* ==== Sticky Menu Bar on Scroll ==== */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from { top: -60px; opacity: 0; }
  to { top: 0; opacity: 1; }
}

/* ==== Responsive (Optional) ==== */
@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-bar ul {
    flex-direction: column;
    width: 100%;
  }

  .menu-bar ul li a {
    padding: 12px;
  }
}


.menu-bar {
  background: var(--primary);
}

.menu-bar ul {
  list-style: none;
  display: flex;
}

.menu-bar ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 16px 20px;
  display: block;
}

.menu-bar ul li a:hover {
  background: #012243;
  border-radius: 4px;
}

.menu-bar.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--primary);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.hide-top {
  transform: translateY(-100%);
  opacity: 0;
}

/* ==== Courses Section ==== */
.courses-section {
  padding: 40px 20px;
  text-align: center;
}

.courses-heading {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #0a3d62;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  animation: pulseText 2s infinite;
}
.courses-heading::after {
  content: '';
  display: block;
  width: 60%;
  margin: 10px auto 0;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ff00ff);
  background-size: 300% 300%;
  border-radius: 2px;
  animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseText {
  0% { transform: scale(1); color: #0a3d62; }
  50% { transform: scale(1.05); color: #ff5722; }
  100% { transform: scale(1); color: #0a3d62; }
}
/* === Courses Carousel (Single Row Scrollable) === */
.courses-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #fff;
  padding: 10px 0;
}

.courses-carousel {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: slideCourses 40s linear infinite;
}

@keyframes slideCourses {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.courses-carousel:hover {
  animation-play-state: paused;
}

.course-card {
  min-width: 180px;    /* Width of each card */
  height: 180px;       /* Optional: set fixed height */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}


.course-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.course-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  text-align: center;
  padding: 6px 0;
  font-size: 1rem;
}



/* Container */
.info-section {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 10px 5px;
  background: #fefdfd;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* News Updates - 30% width */
.news-updates {
  flex: 0 0 30%;
  max-width: 30%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  padding: 20px 25px;
  display: flex;
  height: 400px;
  flex-direction: column;
}

.news-updates h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a73e8;
  border-bottom: 3px solid #1a73e8;
  padding-bottom: 10px;
  margin-bottom: 25px;
  user-select: none;
}

/* News Ticker Wrapper */
.news-ticker-wrapper {
  overflow: hidden;
  height: calc(var(--news-item-height) * 3 + 30px); /* 3 items + gaps */
  position: relative;
}

/* News ticker list */
.news-ticker {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* News items */
.news-ticker li {
  display: flex;
  align-items: center;
  gap: 15px;
  height: var(--news-item-height);
  padding: var(--news-item-padding);
  background: #f0f7ff;
  border-left: 5px solid #5f27fa;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.15);
  font-size: 14px;
  color: #222;
  cursor: default;
  transition: transform 0.3s ease;
  user-select: none;
}

/* News icon on left */
.news-ticker li img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  user-select: none;
}

/* Slightly enlarge on hover */
.news-ticker li:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(26,115,232,0.3);
}

/* Glowing "New" badge */
.badge-new {
  background: #ff3b3b;
  color: white;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 50px;
  box-shadow: 0 0 8px #ff3b3b;
  animation: pulseGlow 1.8s infinite ease-in-out;
  user-select: none;
  margin-left: auto;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px #ff3b3b; }
  50% { box-shadow: 0 0 18px #ff3b3b; }
}
/* Director Message - 65% width */
.director-message {
  flex: 0 0 65%;
  max-width: 65%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.director-message h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a73e8;
  border-bottom: 3px solid #1a73e8;
  padding-bottom: 10px;
  margin-bottom: 10px;
  user-select: none;
  text-align: justify;
}

/* Container for image + message */
.director-content {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* Director image top-left */
.director-image {
  width: 120px;
  height: 140px;
  border-radius: 10%;
  border: 2px solid #c2dff1;
  box-shadow: 0 6px 18px rgba(238, 61, 167, 0.25);
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
}

/* Message text next to image, full height */
.message-content {
  flex: 1;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  user-select: text;
  text-align: justify;
}

.highlight-text {
  color: #1e6fe9;   /* Pink/Crimson tone */
  font-weight: bold;
}

/* Director name at bottom, full width below image+message */
.director-name {
  margin-top: 0px;
  font-size: 20px;
  font-weight: 400;
  background: linear-gradient(45deg, #1a73e8, #ff0040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: left;
  user-select: text;
}

/* Responsive */
@media (max-width: 900px) {
  .info-section {
    flex-direction: column;
    padding: 30px 20px;
  }

  .news-updates, .director-message {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .director-content {
    flex-direction: column;
    align-items: center;
  }

  .director-image {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }

  .message-content {
    font-size: 16px;
    text-align: center;
  }

  .director-name {
    font-size: 10px;
    text-align: center;
  }
}





/* ==== Courses Section ==== */
.courses-section {
  padding: 40px 20px;
  text-align: center;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.course-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
  color: white;
  font-size: 1.2rem;
}

.course-card:hover img {
  transform: scale(1.1);
}

.course-card:hover .overlay {
  opacity: 1;
  transform: scale(1);
}

/* ==== Modal ==== */
/* Blur effect on main content */
.blur-background {
  filter: blur(6px) brightness(0.8);
  transition: filter 0.4s ease;
}

/* Modal (Hidden by default) */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

/* When modal is active */
.modal.show {
  display: flex;
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  padding: 20px 25px;
  border-radius: 20px;
  width: 80%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  animation: fadeInUp 0.5s ease-in-out;
}

/* Modal content title */
.modal-content h2 {
  position: relative;
  color: #007BFF;
  padding-bottom: 10px; /* increase to fit gradient line */
  margin-bottom: 15px;
}

.modal-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px; /* thickness of the gradient line */
  background: linear-gradient(90deg, #3c0cfb, #e518b5, #dd0542, #ddcb05, #0ce831);
  border-radius: 2px;
}

.modal-content p strong {
  color: #3c22ff;
  font-size: 18px;
  
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

#modalContents {
  list-style: disc;
  padding-left: 50px;
  margin-bottom: 20px;
}

#modalContents li {
  margin: 12px 0;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease forwards;
}

/* Close button */
.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #e91e63;
}

.close:hover {
  transform: scale(1.);
  color: #d50000;
}

/* See more button */
.see-more-btn {
  display: inline-block;
  margin: 20px auto 0 auto;  /* top margin 20px, horizontal auto to center */
  padding: 12px 30px;
  background: linear-gradient(45deg, #ff5722, #e602b8);
  color: white;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 2px rgba(0,0,0,0.2);
  transition: transform 0.3s, background 0.3s;

  /* Centering */
  display: block;     /* make it a block element */
  width: max-content; /* shrink to fit content */
}


.see-more-btn:hover {
  transform: scale(1.2);
  background: #2e08ef;
}




/* ==== About / Intro Section ==== */ 
.intro-video-info {
  padding: 40px 20px;
  background: #f9f9f9;
}

.two-column {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.info-text {
  flex: 1;
  text-align: justify;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16/9;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}



.image-scroller {
    overflow: hidden;
    background: #fff;
    padding: 20px 0;
    cursor: pointer;
    user-select: none;
    width: 100%;
    box-sizing: border-box;
  }

  .scroller-wrapper {
    display: flex;
    gap: 20px;
    /* width: max-content; remove this */
    animation: scrollLeft 30s linear infinite;
  }

  .scroller-wrapper:hover {
    animation-play-state: paused;
  }

  .scroller-wrapper img {
    width: 300px;
    height: auto;
    border-radius: 5px;
    flex-shrink: 0;
  }

  @keyframes scrollLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
.reviews {
  text-align: center;
  padding: 50px 20px;
  background: #f9f9f9;
  position: relative;
}

.reviews h2 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #333;
}

.reviews-wrapper {
  position: relative;
  max-width: 900px;
  margin: auto;
  display: flex;
  align-items: center;
}

.reviews-container {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

.review-card {
  min-width: 30%; /* show 2 at a time */
  box-sizing: border-box;
  padding: 20px;
  margin: 10px;
 background: linear-gradient(30deg, #0f0f0f, #423f3f, #292929);  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(103, 68, 198, 0.1);
  text-align: center;
  transition: transform 0.2s;
}


.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 25px rgba(241, 65, 162, 0.7);
}
.review-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.review-card h4 {
  margin: 8px 0 5px;
  font-size: 18px;
  color: #f4efef;
}
.review-card p {
  font-size: 12px;
  font-style: italic;

  font-family: "Georgia", "Times New Roman", serif;  /* elegant italic font */
  color: #72c1f2;   /* softer stylish blue */
  margin: 12px 0;
  line-height: 1.6;
  letter-spacing: 0.5px;
  text-align: justify;
  background: linear-gradient(90deg, #70c1ff, #a3e4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* gradient text */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* soft depth */
}


.rating {
  margin-top: 5px;
  font-size: 20px;
  color: gold;
}

/* Buttons */
.prev, .next {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev { left: -50px; }
.next { right: -50px; }

.prev:hover, .next:hover {
  background: #f39c12;
}

/* Dots */
.dots {
  margin-top: 20px;
}

.dots span {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dots .active {
  background: #333;
}

/* Responsive: 1 card on small screens */
@media (max-width: 768px) {
  .review-card {
    min-width: 100%;
  }
}


.highlights {
  width: 100%;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #e0f7fa, #a9c3d8); /* soft gradient */
}

.highlights h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #222;
  font-weight: bold;
  letter-spacing: 1px;
}

.highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.5s ease-in-out;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, #70c1ff, #a3e4ff, #72c1f2);
  transition: all 0.5s ease-in-out;
  opacity: 0;
  transform: rotate(25deg);
}

.card:hover::before {
  opacity: 0.3; /* subtle animated gradient */
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.card i {
  font-size: 40px;
  color: #0077b6;
  margin-bottom: 15px;
  z-index: 2;
  position: relative;
}

.card h3, .card p {
  position: relative;
  z-index: 2;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #1a06b0;
}

.card p {
  font-size: 15px;
  color: #350543;
  line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 992px) {
  .highlight-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .highlight-cards {
    grid-template-columns: 1fr;
  }
}
/* Style the list inside cards */
.card ul {
  list-style: none; /* Remove default bullets */
  padding: 0;
  margin-top: 12px;
}

.card ul li {
  position: relative;
  padding-left: 25px; /* space for custom icon */
  margin-bottom: 8px;
  font-size: 14px;
  color: #5b036d;
  line-height: 1.5;
}

/* Add custom bullet as checkmark */
.card ul li::before {
  content: "✔"; /* checkmark icon */
  position: absolute;
  left: 0;
  top: 0;
  color: #0077b6; /* match icon color of card */
  font-weight: bold;
  font-size: 14px;
}


/* ==== Footer ==== */
footer {
  background-color: #1a73e8;
  color: #0b0b0b;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1 1 220px;
  text-align: justify;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 4px solid #cfef02;
  display: inline-block;
  
}

.footer-section p,
.footer-section a,
.footer-section li {
  font-size: 16px;
  line-height: 1.6;
  color: #171313;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a:hover {
  text-decoration:underline;
  color: #19b501;
}

.designed-by {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #4e410b;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #130f0f;
  padding-top: 15px;
  margin-top: 20px;
  font-size: 17px;
  color:#0f0189;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.footer-section.social a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  color: rgb(20, 18, 18);
  text-decoration: none;
}
.footer-section.social a:hover {
  text-decoration:underline;
  color: #19b501;
}


.footer-section.social a img {
  width: 30px;
  height: 30px;
}
footer {
  background: linear-gradient(to bottom, #1a73e8, white, white, #1a73e8);
  color: rgb(234, 6, 6);
  text-align: center;
  padding: 20px 0;
}