* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  scroll-behavior: smooth;
}

:root {
  --primary: #273246;
  --primary-dark: #273246;
  --secondary: #273246;
  --text-dark: #273246;
  --text-light: #64748b;
  --background: #f4f7fa;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-light: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}
body {
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar Styles */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 5%;
  background-color: #273246;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* Remove the filter that was making it white */
}

.logo h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
  display: flex;

  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  /* color: rgb(10, 10, 10); */
  transition: transform 0.5s ease;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background-color: rgba(59, 130, 246, 0.05);
  color: var(--primary);
}

.container h2 {
  text-align: center;
  margin-bottom: 30px;
}
/* res */
/* Default desktop styles */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Responsive styles */
@media (max-width: 1010px) {
  .hamburger {
    display: block;
    z-index: 1101;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    max-height: 80vh; /* Add this */
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    color: #273246;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: white;
    padding-left: 1rem;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/*  hero */

.hero-section {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;
  flex-wrap: wrap;
  background-color: #26365a;
  background: url("../images/about_comany.webp") center center/cover no-repeat;
  height: 100vh;
}

.hero-content {
  flex: 1 1 50%;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: white;
}

.hero-content h1 span {
  color: rgb(231, 76, 60);
}

.hero-content p {
  font-size: 16px;
  color: white;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: rgb(231, 76, 60);
  color: #fff;
}

.btn-primary:hover {
  background-color: #273246;
}

.btn-secondary {
  border: 2px solid #273246;
  color: #273246;
  background-color: white;
}

.btn-secondary:hover {
  background-color: #273246;
  color: #fff;
}

.hero-image {
  flex: 1 1 40%;
  position: relative;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: 25rem;
  border-radius: 20px;
}

.badge {
  position: absolute;
  background: white;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  width: 120px;
}

.badge strong {
  font-size: 16px;
  color: #1e3a8a;
}

.badge.top-left {
  top: 10%;
  left: 15%;
}

.badge.top-right {
  top: 10%;
  right: -15%;
}

.badge.bottom {
  bottom: 10%;
  left: 25%;
  transform: translateX(-50%);
}

section {
  padding: 20px 0;
}

.internship .text {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.3rem;
  position: relative;
  color: var(--text-dark);
}

/*intership container*/
.internship-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.tab-sidebar {
  flex: 0 0 250px;
  background: #273246;
  color: white;
}

.tab-buttons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-buttons li {
  padding: 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.tab-buttons li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tab-buttons li.active {
  background: rgba(255, 255, 255, 0.2);
}

.tab-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tab-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: opacity 0.3s ease;
  object-fit: cover;
}

.tab-text {
  padding: 30px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
  display: block;
}

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

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

  .tab-sidebar {
    flex: 100%;
  }

  .tab-main {
    flex-direction: column;
  }

  .tab-image img {
    height: 200px;
  }
}

/*.card-container{
    display:flex;
    justify-content: center;
    text-align: center;
    gap:2rem;
    margin:30px;

}*/

/*our courses*/

.internship-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  flex-wrap: wrap;
  background-color: #f8f9fc;
}

.internship-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.internship-card:hover {
  transform: translateY(-5px);
}

.internship-card img {
  width: 100%;
  border-radius: 12px;
  height: 180px;
  object-fit: cover;
}

.internship-card h3 {
  margin-top: 15px;
  font-size: 20px;
  color: #333;
}

.subtext {
  font-weight: bold;
  color: #444;
}

.price {
  margin: 10px 0;
  font-weight: bold;
  color: #111;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  background-color: #ccc;
  color: #000;
  cursor: pointer;
  font-weight: bold;
}

.btn.primary {
  background-color: #273246;
  color: #fff;
}

.btn:hover {
  opacity: 0.9;
}

/*partners section*/

.partners-section {
  text-align: center;
}
.sub-heading {
  color: #273246;
  font-weight: 600;
  letter-spacing: 1px;
}
.slider-container {
  overflow: hidden;
  max-width: 100%;
  margin-top: 30px;
  position: relative;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 25s linear infinite;
}

.slider-container:hover .slider-track {
  animation-play-state: paused;
}

.slide {
  flex: 0 0 auto;
  width: 140px;
  height: 100px;
  margin: 0 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.slide img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/*corporate partners*/

.slider-containers {
  overflow: hidden;
  max-width: 100%;
  margin-top: 30px;
  position: relative;
}

.slider-tracks {
  display: flex;
  width: max-content;
  animation: scrollRight 65s linear infinite;
}

.slider-containers:hover .slider-tracks {
  animation-play-state: paused;
}

.slide {
  flex: 0 0 auto;
  width: 140px;
  height: 100px;
  margin: 0 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.slide img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}
/*educational partner*/

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

.partners-section .title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}
.partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 5px;
  justify-items: center;
}

.partner-logos img {
  width: 100px;
  height: auto;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.partner-logos img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/*AWARD SECTION*/

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

.awards-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

.awards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.award-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.award-card:hover {
  transform: translateY(-8px);
}

.award-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.award-card p {
  font-style: italic;
  font-size: 16px;
  color: #007b8a;
  line-height: 1.5;
}
.card-img-top {
  height: 180px;
  object-fit: cover;
}

/* Footer Section */

.footer {
  background: #273246;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  padding: 40px 0 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-width: 160px;
  max-width: 280px;
  flex: 1;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: orangered;
}

.footer-logo {
  width: 60px;
}

.footer-col:first-child {
  padding-right: 30px;
}

.footer-col p {
  word-wrap: break-word;
  /* white-space: pre-line; */
  line-height: 1.6;
  font-size: 14px;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  padding: 8px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
}

/* Newsletter */
.newsletter-col {
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 15px;
  background: #e74c3c;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 0 3px 3px 0;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-top: 30px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 3px;
  }
}
@media screen and (max-width: 1165px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 10px;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: none;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .hero-section {
    height: auto;
    padding: 80px 5% 40px;
    flex-direction: column;
    text-align: center;
    margin-top: 70px; /* Adjust for fixed navbar */
  }

  .hero-content {
    flex: 1 1 100%;
    margin-bottom: 40px;
  }

  .hero-image {
    flex: 1 1 100%;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  section {
    padding: 50px 20px;
  }

  .internship-container {
    max-width: 720px;
    flex-direction: column;
    margin: 30px auto;
  }

  .tab-sidebar {
    flex: 100%;
  }

  .tab-main {
    flex-direction: column;
  }

  .internship-section {
    padding: 30px;
  }

  .internship-card {
    width: 280px;
  }

  .partners-section .title,
  .awards-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .award-card {
    width: 280px;
    padding: 25px 15px;
  }

  .footer-container {
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    max-width: 540px;
    padding: 0 15px;
  }

  .hero-section {
    padding: 60px 5% 30px;
    margin-top: 60px; /* Adjust for fixed navbar */
  }

  .hero-content h1 {
    font-size: 30px;
  }

  section {
    padding: 40px 15px;
  }

  .internship .text {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .internship-container {
    margin: 20px auto;
  }

  .tab-sidebar {
    flex: none;
    width: 100%;
  }

  .tab-buttons li {
    padding: 15px;
  }

  .tab-main {
    flex: auto;
  }

  .tab-image img {
    height: 250px;
  }

  .tab-text {
    padding: 20px;
  }

  .internship-section {
    padding: 20px;
  }

  .internship-card {
    width: 90%;
    max-width: 300px;
  }

  .partners-section .title,
  .awards-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .partner-logos {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
  }

  .partner-logos img {
    width: 90px;
  }

  .award-card {
    width: 90%;
    max-width: 300px;
    padding: 20px 15px;
  }

  .award-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }

  .award-card p {
    font-size: 14px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .footer-col {
    flex: 1 1 100%;
    margin: 15px 0;
  }

  .footer-socials a {
    margin: 8px 5px 0;
  }

  .newsletter-form {
    justify-content: center;
    max-width: 300px;
    margin: 10px auto;
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .hero-section {
    padding: 40px 5% 20px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  section {
    padding: 30px 10px;
  }

  .internship .text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .internship-container {
    margin: 15px auto;
  }

  .tab-buttons li {
    padding: 12px;
  }

  .tab-image img {
    height: 200px;
  }

  .tab-text {
    padding: 15px;
  }

  .internship-card {
    padding: 15px;
  }

  .partners-section .title,
  .awards-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .partner-logos {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
  }

  .partner-logos img {
    width: 80px;
  }

  .award-card {
    padding: 15px 10px;
  }

  .award-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }

  .award-card p {
    font-size: 12px;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-col h4 {
    font-size: 16px;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    padding: 8px;
    font-size: 12px;
  }
}

/* Responsive adjustments for sliders (Partners) */
@media screen and (max-width: 768px) {
  
  .slider-tracks {
    animation-duration: 35s; /* Adjust animation speed */
  }
  .slider-track{
    animation-duration: 15s;
  }

  .slide {
    width: 100px; /* Adjust width */
    height: 80px; /* Adjust height */
    margin: 0 8px; /* Adjust margin */
    padding: 8px; /* Adjust padding */
  }

  .slide img {
    max-height: 60px; /* Adjust max-height */
  }
}

@media screen and (max-width: 480px) {
  .slider-track,
  .slider-tracks {
    animation-duration: 45s; /* Further adjust animation speed */
  }

  .slide {
    width: 80px; /* Further adjust width */
    height: 60px; /* Further adjust height */
    margin: 0 5px; /* Further adjust margin */
    padding: 5px; /* Further adjust padding */
  }

  .slide img {
    max-height: 50px; /* Further adjust max-height */
  }
}

/* Hover effects for touch devices */
@media (hover: none) {
  .internship-card:hover,
  .award-card:hover,
  .partner-logos img:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}

/*contact us button footer*/
.btn {
  padding: 10px 20px;
  background-color: rgb(231, 76, 60);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}
.btn:hover {
  background-color: rgb(241, 93, 77);
}

@media (min-width: 2560) {
  .hero-section {
    height: 60vh;
  }
}
/* course section new */


/* CONTAINER */
.custom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.custom-container h2 {
  text-align: center;
  font-size: 2rem;
}

.custom-container p {
  text-align: center;
  font-size: 15px;
  margin-bottom: 30px;
}

/* TABS - COURSE CATEGORIES */
.tabss {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
  border-bottom: 2px solid #ccc;
  /* overflow-x: hidden; */
}

.tabb {
  position: relative;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  color: #333;
  white-space: nowrap;
  flex-shrink: 0;
}

.tabb.active {
  color: #2c3e50;
  font-weight: bold;
}

.tabb::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #2c3e50;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.tabb.active::after {
  transform: scaleX(1);
}

/* COURSES SECTION */
.courses-wrapper1 {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#prev,
#next {
  background: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#prev {
  left: 5px;
}
#next {
  right: 5px;
}

.courses {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 20px 40px;
  width: 100%;
}

.card1 {
  background: white;
  border-radius: 10px;
  flex: 0 0 auto;
  width: 250px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  padding: 5px;
}

.card1:hover {
  transform: translateY(-8px);
}

.card1 img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card-content1 {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card1 h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.4rem;
}

.card1 p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  text-align: left;
}

.badge {
  padding: 0.35rem 0.6rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
  margin-top: auto;
  align-self: start;
}

.green {
  background-color: #2ecc71;
  color: white;
}

.yellow {
  background-color: #f1c40f;
  color: black;
}

.strike {
  text-decoration: line-through;
  color: gray;
  font-size: 0.85rem;
}

/* TAB SECTION (NEXT) */
.section-container1 {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-container1 h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #2d3748;
  text-align: center;
}

.tab-wrapper1 {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Make both columns same height */
  flex-wrap: wrap;
  gap: 20px;
}

.left-tabs1 {
  flex: 1 1 45%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
}

.tab-button1 {
  width: 100%;
  background: #ffffff;
  border: none;
  margin-bottom: 16px;
  border-radius: 10px;
  cursor: pointer;
  padding: 20px;
  text-align: left;
  transition: background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.tab-button1:hover,
.tab-button1.active {
  background: #e6f0fb;
}

.tab-content1 {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 14px;
}

.tab-icon {
  font-size: 22px;
  color: #2b6cb0;
  text-align: center;
}

.tab-text1 h4 {
  font-size: 18px;
  margin: 0 0 6px;
  color: #2d3748;
}

.tab-text1 p {
  font-size: 14px;
  margin: 0;
  color: #718096;
}

/* IMAGE SECTION */
.image-box1 {
  flex: 1 1 45%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-box1 img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: 0.3s ease-in-out;
}
/* RATING */
.star-rating {
  color: #f1c40f;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: auto;
}

.rating-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .tabss {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .courses-wrapper1 {
    flex-direction: column;
  }

 .courses {
    padding: 0 10px;
    gap: 0;
    justify-content: start;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
  }
  
  .section-container1 {
    padding: 0 15px;
  }
  .card1 {
    scroll-snap-align: center;
    margin: 0 auto;
  }

  .tab-wrapper1 {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

 
  
    .left-tabs1 {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  
   .image-box1 {
    width: 90%;
    max-width: 350px;
    height: auto;
    margin: 20px auto 0;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }

  .image-box1 img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  #prev,
  #next {
    font-size: 1.5rem;
    top: auto;
    bottom: -5px;
    transform: none;
    display: none;
  }

  .custom-container h2 {
    font-size: 1.5rem;
  }

  .custom-container p {
    font-size: 14px;
  }

}
@media (min-width: 769px) {
  .image-box1 {
    max-width: 500px; /* Adjust max width for larger screens */
  }
}