/* 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;}
}


/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: Arial, sans-serif;
}

/* Hero Section */
.hero-section {
      height: 400px;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}

/* Breadcrumb */
.breadcrumb {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  margin-right: 5px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .active {
  font-weight: bold;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    height: 300px;
  }

  .title {
    font-size: 1.5rem;
    padding: 0 10px;
  }

  .breadcrumb {
    font-size: 0.8rem;
    left: 10px;
    bottom: 10px;
    text-align: left;
  }
}





* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f0f8ff;
}

/* Layout container with box width */
.layout-box {
  max-width: 1260px;
  margin: 50px auto 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Left block – 70% */
.left-block {
  width: 70%;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  animation: slideLeft 0.8s ease forwards;
}

.left-block h2 {
  color: #2a2a2a;
  margin-bottom: 10px;
}

.left-block p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.highlight-box {
  border-left: 5px solid #007BFF;
  background-color: #e6f0ff;
  padding: 15px;
  border-radius: 5px;
  color: #333;
  font-style: italic;
}

/* Right block – 30% */
.right-block {
  width: 30%;
  padding: 20px;
  background-color: #ffffff;
  border: 2px solid #007BFF;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  animation: slideRight 0.8s ease forwards;
}

.right-block .media {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.right-block h2 {
  color: #007BFF;
  margin-bottom: 10px;
}

.right-block h3 {
  color: #333;
  margin-bottom: 10px;
}

.admission-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

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

/* Animations */
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .layout-box {
    flex-direction: column;
    padding: 0 10px;
  }

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




* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5faff;
}

/* Main Layout Container */
.layout-container {
  width: 1290px;
  max-width: 100%;
  margin: 50px auto 0 auto;
  display: flex;
  gap: 15px;
  align-items: stretch;
  padding: 0 15px;
  flex-wrap: wrap;
}

/* Common Block Styling */
.block {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  animation-duration: 0.9s;
}

/* Block Widths */
.left {
  flex: 0 0 calc(60% - 7.5px);
}

.right {
  flex: 0 0 calc(40% - 7.5px);
}

/* Headings */
.block h2 {
  margin-bottom: 20px;
  color: #1a1a1a;
}

.block h3 {
  margin-bottom: 10px;
  color: #007BFF;
  font-weight: 500;
}

/* Accordion */
.accordion-item {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background-color: #e8f0ff;
  border: none;
  padding: 12px 16px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #d0e2ff;
}

.accordion-body {
  padding: 12px 16px;
  display: none;
  background-color: #fdfdfd;
}

.accordion-icon {
  font-size: 22px;
  font-weight: bold;         /* Make it bold */
  color: #13359c;            /* Deep blue */
  margin-left: 10px;
  transition: transform 0.3s ease;
}

/* Animations */
@keyframes slide-left {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-right {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-slide-left {
  animation-name: slide-left;
}

.animate-slide-right {
  animation-name: slide-right;
}

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

  .left, .right {
    flex: 0 0 100%;
  }
}




body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
}

.tools-section {
  padding: 60px 20px;
}

.tools-container {
  max-width: 1260px;
  margin: auto;
  text-align: center;
}

.tools-heading {
  color: #007BFF;
  font-size: 32px;
  margin-bottom: 40px;
  animation: fadeInDown 0.7s ease;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
  animation: fadeInUp 0.7s ease;
}

.tool-box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tool-box img {
  width: 80px;
  height: auto;
  display: block;
  margin: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .tools-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

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

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

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

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}




body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f0f0f0;
}

.why-section {
  background: linear-gradient(135deg, #e0f7fa, #e1bee7);
  padding: 60px 20px;
}

.why-container {
  max-width: 1260px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.why-left {
  flex: 1 1 600px;
  animation: slideLeft 0.8s ease;
}

.why-right {
  flex: 1 1 500px;
  animation: slideRight 0.8s ease;
}

.why-title {
  font-size: 30px;
  margin-bottom: 25px;
  font-weight: bold;
}

.blue-text {
  color: #007BFF;
}

.why-points {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
  font-size: 18px;
  color: #333;
}

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

.why-points li::before {
  content: "❥";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  line-height: 1.2;
}

.enquire-btn {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.enquire-btn:hover {
  background-color: #0056b3;
}

.video-box {
  width: 100%;
  aspect-ratio: 16/9;
  border: 4px solid #007BFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .why-container {
    flex-direction: column;
    text-align: center;
  }

  .why-left, .why-right {
    flex: 1 1 100%;
  }

  .why-points {
    padding-left: 0;
    list-style-position: inside;
  }

  .video-box {
    margin-top: 20px;
  }
}




body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
}

.cert-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.cert-headline {
  color: #007BFF;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

.cert-container {
  max-width: 1260px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}

.cert-left {
  flex: 0 0 35%;
  text-align: center;
  animation: fadeInLeft 1s;
}

.cert-right {
  flex: 0 0 60%;
  text-align: left;
  animation: fadeInRight 1s;
}

.cert-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.cert-image:hover {
  transform: scale(1.05);
}

.cert-title {
  font-size: 26px;
  color: #222;
  margin-bottom: 15px;
}

.cert-description {
  font-size: 18px;
  color: #444;
  margin-bottom: 25px;
}

.cert-points {
  list-style: none;
  padding: 0;
}

.cert-points li {
  font-size: 17px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.cert-points .icon {
  width: 22px;
  height: 22px;
  margin-right: 10px;
}

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

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  animation: zoom 0.4s;
}

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

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes zoom {
  from { transform: scale(0.7); }
  to { transform: scale(1); }
}

/* Responsive */
@media (max-width: 992px) {
  .cert-container {
    flex-direction: column;
    text-align: center;
  }
  
  .cert-left, .cert-right {
    flex: 1 1 100%;
  }

  .cert-right {
    text-align: center;
  }

  .cert-points li {
    justify-content: center;
  }
}






/* General Body Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f7fb;
}

/* Section Styling */
.video-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

/* Heading */
.video-heading {
  color: #007BFF;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

/* Container for Videos */
.video-container {
  max-width: 1260px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  animation: fadeIn 1s ease-in-out;
}

/* Individual Video Box */
.video-box {
  flex: 0 0 48%;
  background: #fff;
  border: 2px solid #007BFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
  padding: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-box:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

/* YouTube Video Frame */
.yt-video {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
}

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

  .yt-video {
    height: 220px;
  }
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}






* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #f3faff;
}

.contact-section {
  width: 1260px;
  max-width: 90%;
  height: 200px;
  margin: 50px auto 0 auto;
  background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  color: white;
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: fade-in 1.2s ease-out;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.contact-section p {
  font-size: 18px;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.button-wrapper {
  text-align: center;
  margin-top: 10px;
}

.contact-button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 6px 16px;
  font-size: 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  width: auto;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Animation Keyframes */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    height: auto;
    padding: 30px 15px;
  }

  .contact-section h2 {
    font-size: 22px;
  }

  .contact-section p {
    font-size: 16px;
  }

  .contact-button {
    padding: 8px 20px;
  }
}





body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #f9f9f9;
  color: #333;
}

.review-section {
  margin-top: 50px;
  padding: 20px;
}

.review-wrapper {
  max-width: 1260px;
  margin: auto;
}

.section-heading {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  animation: fadeInDown 1s ease;
}

.reviews-container {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.review-card {
  background: #fff;
  border: 2px solid #007BFF;
  border-radius: 10px;
  padding: 20px;
  width: calc(50% - 10px);
  box-sizing: border-box;
  flex: 0 0 auto;
  animation: fadeIn 0.8s ease;
}

.review-text {
  font-size: 16px;
  margin-bottom: 20px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.reviewer h4 {
  margin: 0;
  font-size: 18px;
}

.reviewer p {
  margin: 0;
  font-size: 14px;
  color: #777;
}

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

  .review-card {
    width: 100%;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}




/* Base Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: #f5f5f5;
}

/* FAQ Section */
.faq-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.faq-title {
  font-size: 32px;
  color: #007BFF;
  margin-bottom: 40px;
  font-weight: 700;
}

/* FAQ Container */
.faq-container {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

/* Each Block */
.faq-block {
  flex: 0 0 48%;
  text-align: left;
}

/* Accordion Styles */
.accordion {
  width: 100%;
}

.accordion-item {
  background: transparent;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.accordion-header {
  width: 100%;
  background: #f0f4ff;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: left;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
  transition: background 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: #e0ebff;
}

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

.accordion-body {
  padding: 14px 20px;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.6;
  display: none;
  animation: fadeIn 0.3s ease;
  border-radius: 0 0 8px 8px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Rotate icon when open */
.accordion-header.active .icon {
  transform: rotate(45deg);
}

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






body {
  font-family: "Segoe UI", sans-serif;
  background: #f5f5f5;
  color: #333;
  margin: 0;
  padding: 0;
}

.related-courses-section {
  padding: 60px 20px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  animation: fadeInDown 0.8s ease-out;
}

.slider-container {
  max-width: 1260px;
  margin: 0 auto; /* Centering the box */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slider {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  width: max-content;
  animation: fadeIn 1s ease-in;
}

.course-card {
  min-width: 280px;
  max-width: 300px;
  flex: 0 0 auto;
  background: #fff;
  border: 2px solid #007BFF;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
  scroll-snap-align: start;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.course-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.course-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.course-card h4 {
  font-size: 16px;
  color: #555;
  margin-bottom: 12px;
}

.know-more-btn {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.know-more-btn:hover {
  background-color: #0056b3;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .slider {
    gap: 15px;
  }

  .course-card {
    min-width: 220px;
  }
}
