/* SAHFAR Final Responsive Theme with Arrow Indicators */
:root{
  --primary:#068105;
  --primary-hover:#056a04;
  --secondary:#13359c;
  --secondary-hover:#0f2c84;
  --danger:#ff0000;
  --white:#fff;
  --gray:#f5f5f5;
  --gray-100:#e0e0e0;
  --fs-sm:14px;
  --fs-md:16px;
  --fs-lg:18px;
  --radius:4px;
}
*{margin:0;padding:0;box-sizing:border-box;}
img{max-width:100%;height:auto;display:block;}
a{text-decoration:none;color:inherit;}
button{font:inherit;}
body{
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.5;
  color:#333;
  background:#fff;
}
.top-middle {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  padding: 0 10px;
  white-space: nowrap;
}

/* Constant blink using visibility */
.blink-text {
  animation: blinkText 0.8s steps(1, start) infinite;
}

@keyframes blinkText {
  0%, 49% {
    visibility: visible;
  }
  50%, 100% {
    visibility: hidden;
  }
}

/* Blink */
@keyframes blink{0%,49%{opacity:1;}50%,100%{opacity:0;}}

/* TOPBAR */
.topbar{background:var(--secondary);color:var(--white);padding:5px 15px;font-size:var(--fs-sm);}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;max-width:1600px;margin:auto;}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
.topbar-item{display:inline-flex;align-items:center;gap:5px;}
.topbar-item-icon img{width:16px;height:16px;}
.topbar-item a{color:var(--white);border-bottom:1px solid transparent;transition:border-color .15s;}
.topbar-item a:hover,.topbar-item a:focus{border-bottom:1px solid var(--white);outline:none;}

/* Container */
.promo-bar {
  background-color: #f1f1f1;
  padding: 15px 20px;
}

.promo-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}

/* Common styles */
.promo-slot {
  text-align: center;
}

.promo-left {
  text-align: left;
}

.promo-right {
  text-align: right;
}

.promo-slot img {
  max-height: 80px;
  width: auto;
}

.admission-btn {
  background-color: #28a745;
  color: white;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.admission-btn:hover {
  background-color: #218838;
}

/* Responsive */
@media (max-width: 768px) {
  .promo-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .promo-left, .promo-center, .promo-right {
    text-align: center;
  }

  .promo-slot img {
    max-height: 60px;
  }
}

/* NAV WRAPPER */
.main-nav-wrapper{background:var(--secondary);color:var(--white);padding:0 15px;}
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:10px;
  margin:auto;
}
.nav-toggle span{
  display:block;
  width:25px;
  height:3px;
  margin:4px 0;
  background:var(--white);
  transition:.2s;
}

/* NAV */
.main-nav{max-width:1200px;margin:auto;}
.main-nav ul{list-style:none;}
.menu-root.level-1{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;}
.menu-item{position:relative;}
.menu-link,.menu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:5px;
  padding:12px 18px;
  color:var(--white);
  font-size:var(--fs-md);
  background:none;
  border:none;
  cursor:pointer;
  width:auto;
}
.menu-link:hover,.menu-toggle:hover,.menu-link:focus,.menu-toggle:focus{
  background:rgba(255,255,255,.15);
  outline:none;
}

/* ARROWS */
.menu-toggle .caret img{
  width:12px;
  height:12px;
  vertical-align:middle;
  margin-left:5px;
  transition:transform .3s ease;
}
.menu-item.open > .menu-toggle .caret img{
  transform:rotate(90deg);
}

/* SUBMENUS (desktop default hidden) */
.submenu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  width: fit-content;
  white-space: nowrap;
  background:var(--secondary);
  border:1px solid rgba(255,255,255,.25);
  z-index:10;
}
.submenu.level-3{
  top:0;
  left:100%;
}
.submenu .menu-link,.submenu .menu-toggle{
  width:100%;
  text-align:left;
  padding:10px 16px;
  font-size:var(--fs-sm);
}
.menu-item.open > .submenu{display:block;}
/* Ensure menu dropdown opens on hover for desktop and touch for mobile */
nav ul li {
  position: relative;
}

/* Hide dropdowns by default */
nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 0;
  margin: 0;
  z-index: 999;
}

/* Show submenu on hover or touch */
nav ul li:hover > ul,
nav ul li:focus-within > ul {
  display: block;
  width: auto;
}

/* Sub-submenu style */
nav ul ul ul {
  left: 100%;
  top: 0;
}

/* Make sure links inside menus are clickable */
nav ul li a {
  display: inline-flex;
  padding: 10px 15px;
  text-decoration: none;
  color: #000;
}

/* Optional: Basic mobile responsiveness */
@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    width: 100%;
  }

  nav ul ul {
    position: static;
  }

  nav ul ul ul {
    position: static;
  }
}


/* FOOTER */
.site-footer{background:var(--secondary);color:var(--white);padding:30px 15px 10px;margin-top:40px;}
.footer-widgets{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.footer-col h4{margin-bottom:10px;font-size:var(--fs-lg);}
.footer-col ul{list-style:none;}
.footer-col li{margin-bottom:5px;}
.footer-col a{color:var(--white);font-size:var(--fs-sm);}
.footer-col a:hover,.footer-col a:focus{text-decoration:underline;outline:none;}
.footer-bottom{text-align:center;font-size:var(--fs-sm);margin-top:20px;padding-top:10px;border-top:1px solid rgba(255,255,255,.25);}

/* RESPONSIVE */
@media (max-width:992px){
  .promo-strip-inner{grid-template-columns:1fr;text-align:center;}
  .promo-message{text-align:center;}
  .promo-admission-btn{text-align:center;}
  .nav-toggle{display:block;}
  .menu-root.level-1{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    display:none;
  }
  .main-nav.open .menu-root.level-1{display:flex;}
  .menu-link,.menu-toggle{
    width:100%;
    padding:14px;
    border-top:1px solid rgba(255,255,255,.2);
  }
  .submenu{
    position:static;
    min-width:unset;
    border:none;
    background:rgba(0,0,0,.25);
    width:100%;
  }
  .submenu.level-3{
    background:rgba(0,0,0,.35);
    padding-left:20px;
  }
}
@media (max-width:576px){
  .topbar-inner{flex-direction:column;text-align:center;gap:5px;}
  .footer-widgets{grid-template-columns:1fr;text-align:center;}
  .promo-message{font-size:var(--fs-sm);}
  .btn-admission{font-size:var(--fs-sm);padding:6px 16px;}
}
/* ===== THEME ===== */
:root {
  --green: #068105;
  --blue:  #13359c;
  --slide-height-lg: 600px;
  --slide-height-md: 420px;
  --slide-height-sm: 300px;
  --transition-speed: 0.4s;
  --content-anim-speed: 0.6s;
  --content-anim-delay: 0.1s;
  --btn-pulse-speed: 1.2s;
  --dot-size: 10px;
}

/* Slider wrapper */
.fw-hero-slider {
  position: relative;
  width: 100%;
  height: var(--slide-height-lg);
  overflow: hidden;
  isolation: isolate;
  background: #000; /* fallback while image loads */
  font-family: Arial, sans-serif;
}

/* Track holds all slides (we fade, not translate, so we don't need large width) */
.fw-slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Each slide layered in same space; we cross-fade */
.fw-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity var(--transition-speed) ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* dark overlay for text legibility */
.fw-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 0;
}

/* active slide */
.fw-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* slide content */
.fw-slide-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  text-align: center;
  color: #fff;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition:
    opacity var(--content-anim-speed) ease-out,
    transform var(--content-anim-speed) ease-out;
  transition-delay: var(--content-anim-delay);
}

.fw-slide.is-active .fw-slide-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.fw-slide-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 .5em;
  line-height: 1.1;
  color: #fff;
}
.fw-slide-content p {
  margin: 0 0 1em;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  line-height: 1.3;
  color: #f8f8f8;
}

/* button */
.fw-btn {
  background: var(--green);
  color: #fff;
  padding: .8em 2em;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  line-height: 1;
  transition: background .25s ease;
  animation: fwBtnPulse var(--btn-pulse-speed) ease-in-out infinite;
}
.fw-btn:hover,
.fw-btn:focus {
  background: var(--blue);
}

@keyframes fwBtnPulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.05); }
}

/* Prev / Next arrows */
.fw-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 2;
}
.fw-slider-nav:hover { background: rgba(0,0,0,.8); }
.fw-prev { left: 16px; }
.fw-next { right: 16px; }

/* Dots */
.fw-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.fw-dots button {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.fw-dots button.is-active {
  background: #fff;
  transform: scale(1.1);
}

/* Responsive heights */
@media (max-width: 992px) {
  .fw-hero-slider { height: var(--slide-height-md); }
}
@media (max-width: 576px) {
  .fw-hero-slider { height: var(--slide-height-sm); }
  .fw-slide-content { max-width: 95%; }
  .fw-slide-content p { font-size: .95rem; }
  .fw-btn { padding: .7em 1.4em; font-size: .95rem; }
  .fw-slider-nav { width: 36px; height: 36px; font-size: 20px; }
}
@media (max-width: 768px) {
  .fw-hero-slider {
    height: 400px; /* medium height */
  }
  .fw-slide-content h2 {
    font-size: 1.4rem;
  }
  .fw-slide-content p {
    font-size: 0.95rem;
  }
  .fw-btn {
    padding: 0.6em 1.4em;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .fw-hero-slider {
    height: 300px; /* smaller height */
  }
  .fw-slide-content h2 {
    font-size: 1.2rem;
  }
  .fw-slide-content p {
    font-size: 0.8rem;
  }
  .fw-btn {
    padding: 0.5em 1em;
    font-size: 0.85rem;
  }
}

.features-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  padding: 40px 5%;
  background: #f9f9f9;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.feature-block {
  flex: 1;
  min-width: 180px;
  background: #fff;
  border: 2px solid #068105;
  border-radius: 10px;
  padding: 20px;
  text-align: left;  /* left aligned text */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
}

.feature-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  display: block;
}

.feature-block h3 {
  color: #13359c;
  margin: 10px 0;
  font-size: 1.2rem;
}

.feature-block p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVENESS ===== */

/* Tablet (2 or 3 per row) */
@media (max-width: 992px) {
  .feature-block {
    flex: 0 1 calc(50% - 20px);
  }
}

/* Mobile (1 per row) */
@media (max-width: 600px) {
  .features-section {
    flex-direction: column;
    padding: 20px 5%;
  }
  .feature-block {
    flex: 1 1 100%;
    margin-bottom: 15px;
  }
}






/* Base Section */
.sahfar-about-contact {
  background-color: #f9f9f9;
  padding: 50px 20px;
  color: white;
}

/* Two Block Container */
.sahfar-about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Boxes */
.about-box, .contact-box {
  flex: 1 1 48%;
  background: white;
  color: #13359c;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

/* Headings */
.about-box h2, .contact-box h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #13359c;
}

/* Paragraph */
.about-box p {
  font-size: 16px;
  line-height: 1.6;
}

.about-btn {
  display: inline-block;
  padding: 8px 12px;
  background-color: #13359c;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 5px;
  white-space: nowrap;
  max-width: 150px;
  width: auto;
  transition: background-color 0.3s;
}

.about-btn:hover {
  background-color: #0e2778;
}

@media (max-width: 576px) {
  .about-btn {
    font-size: 13px;
    padding: 6px 10px;
    max-width: 100%;
  }
}
/* Form */
.quick-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-form input,
.quick-form textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

.quick-form button {
  padding: 12px;
  background-color: green;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.quick-form button:hover {
  background-color: darkgreen;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .sahfar-about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-box, .contact-box {
    width: 100%;
    max-width: 700px;
  }
}




.vision-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
}

.vision-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.vision-left,
.vision-right {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  flex: 1 1 48%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.vision-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.vision-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.vision-content h3 {
  margin: 0;
  font-size: 18px;
  color: #13359c;
}

.vision-content p {
  margin-top: 5px;
  font-size: 14px;
  color: #333;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 15px 0;
}

.why-heading {
  font-size: 20px;
  color: #13359c;
  margin-bottom: 20px;
}

.why-points {
  list-style: none;
  padding: 0;
  color: #333;
  font-size: 14px;
}

.why-points li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.why-points li::before {
  content: "✔";
  color: green;
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .vision-wrapper {
    flex-direction: column;
  }

  .vision-left,
  .vision-right {
    width: 100%;
  }
}



.popular-courses {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  color: #13359c;
  margin-bottom: 40px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-box {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ccc; /* Add this line */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03); /* Optional subtle shadow */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.course-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.course-box h3 {
  color: #13359c;
  margin-bottom: 10px;
  font-size: 20px;
}

.course-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.course-btn {
  background-color: #13359c;
  color: white;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.course-btn:hover {
  background-color: #0e2778;
}

/* Responsive */
@media (max-width: 768px) {
  .course-box img {
    height: 150px;
  }
  .section-title {
    font-size: 22px;
  }
}




.certificates-section {
  background-color: #f9f9f9;
  padding: 50px 20px;
}

.cert-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cert-heading {
  font-size: 28px;
  margin-bottom: 10px;
  color: #13359c;
}

.cert-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  animation: slide 40s linear infinite;
  gap: 20px;
}

.logo-track img {
  height: 80px;
  width: 180px;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-1680px); } /* 180px * (14 - 6) approx */
}

@media (max-width: 992px) {
  .logo-track img {
    height: 60px;
    width: 160px;
  }

  @keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1280px); }
  }
}

@media (max-width: 576px) {
  .logo-track img {
    height: 50px;
    width: 140px;
  }

  @keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1120px); }
  }
}



.stats-section {
  background-image: url('https://sahfarittechsolutions.com/assets/img/bg5.jpg'); /* ✅ Change path if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  position: relative;
  color: white;
  text-align: center;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */
  z-index: 0;
}

.stats-boxed {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-heading {
  font-size: 28px;
  margin-bottom: 40px;
}

.stats-heading span {
  font-size: 18px;
  display: block;
  margin-top: 8px;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.stat-box {
  flex: 1 1 200px;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stat-box span.counter {
  font-size: 36px;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  color: #00ffae;
}

.stat-box p {
  font-size: 16px;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-heading {
    font-size: 22px;
  }

  .stat-box span.counter {
    font-size: 28px;
  }

  .stat-box {
    padding: 16px;
  }
}






.upskill-academy-section {
  background-color: #f5f5f5;
  padding: 40px 20px;
}

.upskill-boxed-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.upskill-block {
  flex: 1 1 48%;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Apply theme styling to left block */
.upskill-left {
  background-color: #13359c;
  color: #ffffff;
}

.upskill-left .upskill-heading,
.upskill-left .upskill-text,
.upskill-left .contact-details {
  color: #ffffff;
}

.upskill-heading {
  font-size: 22px;
  margin-bottom: 15px;
}

.upskill-text {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-highlight {
  font-size: 18px;
  margin-top: 10px;
}

.contact-highlight a {
  color: #ffeb3b; /* Yellow highlight */
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .upskill-boxed-container {
    flex-direction: column;
  }

  .upskill-block {
    flex: 1 1 100%;
  }
}




.gallery-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-heading {
  font-size: 28px;
  color: #13359c;
  margin-bottom: 40px;
}

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

.gallery-item img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 70vh;
  }
}




.students-feedback-section {
  background: #f9f9f9;
  padding: 60px 20px;
}

.feedback-container {
  max-width: 1140px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  position: relative;
}

.feedback-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #13359c;
}

.carousel-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease-in-out;
}

.feedback-card {
  flex: 0 0 48%;
  background: #eef3ff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feedback-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #13359c;
  object-fit: cover;
  margin-bottom: 15px;
}

.review-text {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
}

.student-name {
  font-weight: bold;
  margin-bottom: 5px;
  color: #13359c;
}

.student-course {
  font-size: 13px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .feedback-card {
    flex: 0 0 100%;
  }
}



.certification-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

.certification-heading {
  font-size: 28px;
  margin-bottom: 30px;
  color: #13359c;
}

.certification-slider {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 30px;
  width: calc(200px * 12); /* assuming 200px per logo */
  animation: scrollLogos 30s linear infinite;
}

.slider-track img {
  width: 180px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.slider-track img:hover {
  transform: scale(1.1);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 6));
  }
}

@media (max-width: 768px) {
  .slider-track {
    gap: 20px;
    animation: scrollLogosMobile 25s linear infinite;
  }

  @keyframes scrollLogosMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-200px * 6));
    }
  }

  .slider-track img {
    width: 120px;
  }
}




.partner-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.partner-container {
  max-width: 1000px;
  width: 100%;
  background-color: #13359c;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  text-align: center;
}

.partner-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
}

.partner-subheading {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #d0e4ff;
}

.partner-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 0 10px;
}

.partner-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #00c853;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.partner-btn:hover {
  background-color: #00a843;
}

/* Responsive */
@media (max-width: 768px) {
  .partner-content h2 {
    font-size: 26px;
  }

  .partner-subheading {
    font-size: 16px;
  }

  .partner-description {
    font-size: 15px;
  }

  .partner-btn {
    padding: 10px 24px;
    font-size: 15px;
  }
}

@keyframes blinkGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 25px rgba(0, 200, 83, 0.7);
    opacity: 0.9;
  }
}

.partner-container {
  /* existing styles */
  animation: blinkGlow 2s infinite;
}








    body {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif, Helvetica;
      background-color: #f9f9f9;
    }

    .faq-section {
      padding: 40px 20px;
    }

h2.faq-title {
  text-align: center;
  color: #13359c;
  margin-bottom: 40px;
  font-size: 27px;
}

    .faq-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      max-width: 1260px;
      margin: 0 auto;
    }

    .faq-box {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      transition: 0.3s ease;
    }

    .faq-item {
      border-bottom: 1px solid #ddd;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 10px;
      cursor: pointer;
      font-weight: bold;
      color: #13359c;
      transition: 0.3s ease;
    }

    .accordion-icon {
      font-size: 20px;
      transition: transform 0.3s ease;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 10px;
      color: #333;
      font-size: 15px;
      line-height: 1.5;
      transition: max-height 0.4s ease, padding 0.3s ease;
    }

    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 10px;
    }

    .faq-item.active .accordion-icon {
      transform: rotate(45deg); /* "+" to "×" look */
    }

    @media screen and (max-width: 768px) {
      .faq-container {
        grid-template-columns: 1fr;
      }
    }