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

: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 Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .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;
  opacity: 1;
  animation: none;
  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%;
  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%);
}



/*about*/
.about-section {
  padding: 80px 0;
  font-family: 'Segoe UI', sans-serif;
  opacity: 1;
  animation: none;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 60px;
  padding: 0 20px;
}

.about-image {
  flex: 1 1 500px;
  max-width: 550px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.4s ease-in-out;
}

.about-image:hover {
    transform: scale(1.03);
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.about-content {
  flex: 1 1 400px;
  min-width: 300px;
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    /* background: linear-gradient(90deg, var(--primary), var(--secondary)); */
    border-radius: 2px;
}

.about-content p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 30px;
}

.btn-more {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.btn-more:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}



/* Tablets (≤ 768px) */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    padding: 0 20px;
  }

  .about-content {
    padding: 25px 25px;
    text-align: center;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 15px;
  }

  .btn-more {
    padding: 10px 18px;
    font-size: 15px;
  }
}

/* Phones (≤ 480px) */
@media (max-width: 480px) {
  .about-section {
    padding: 40px 15px;
  }

  .about-content {
    padding: 20px 20px;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .about-content p {
    font-size: 14px;
  }

  .about-image img {
    border-radius: 8px;
  }

  .btn-more {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* /purpose section/ */

.purpose-section {
    padding: 60px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    animation: sectionFadeIn 1s ease-out;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    animation: slideInFromTop 0.8s ease-out;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    /* background: linear-gradient(90deg, var(--primary), var(--secondary)); */
    border-radius: 2px;
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInUp 1s ease-out;
}

.card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover::after {
    transform: scaleY(1);
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 1.8rem;
    color: var(--primary);
    transition: transform 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.card:hover .icon {
    transform: scale(1.1);
    color: var(--secondary);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: var(--primary);
}

.card-text {
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 1.7;
    font-size: 16px;
}

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

.card-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-light);
    transition: transform 0.3s ease, color 0.3s ease;
}

.card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .card-list li {
    transform: translateX(10px);
    color: var(--text-dark);
}

.card:hover .card-list li::before {
    transform: translateX(8px);
    color: var(--secondary);
}

@keyframes cardHover {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.vision,
.mission,
.proposal {
    /* background-color: see .card style */
    /* color: see .card-text style */
}

.cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #fff;
    color: #273246;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #f0f0f0;
}

/* Responsive */
@media (min-width: 768px) {
    .cards-container {
      flex-direction: row;
      justify-content: center;
    }
    .card {
      flex: 1;
      max-width: 30%;
    }
}

/* /PRESENT STATE OF AFFAIRS/  */
.state-section {
    padding: 80px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
  }
  
  .section-heading {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #273246;
  }
  
  .topics-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  
  .topic-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }
  
  .topic-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
  }
  
  .topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
  .topic-card:hover::before {
    transform: scaleX(1);
  }
  
  .topic-card:hover::after {
    transform: scaleY(1);
  }
  
  .topic-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }
  
  .topic-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .topic-text {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Unique styles for each topic */
  .topic-skillgap {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  }
  
  .topic-underemployment {
    background: linear-gradient(135deg, #4969a5, #7297d8);
  }
  
  .topic-mismatch {
    background: linear-gradient(135deg, #43cea2, #185a9d);
  }
  
  /* Responsive layout */
  @media (min-width: 768px) {
    .topics-container {
      flex-direction: row;
      justify-content: space-between;
    }
    .topic-card {
      width: 30%;
    }
  }
  
  /* /needs section/ */
/*  hero */
.hero {
 
  background: linear-gradient(to right, #f0f4f8, #e0eafc);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
 
  width: 100%;
  gap: 40px;
  perspective: 1500px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 50px;
  margin-bottom: 20px;
  color:#273246;
  font-weight: 800;
  
}

.hero-text p {
  font-family: sans-serif;
  font-size: 20px;
  color: #444;
}

.image-card {
  flex: 1;
  background: orangerd;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  border: 10px solid #273246;
}

.image-scroll {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  animation: scrollUp 15s linear infinite;
  border-radius: 5px;
  width: 100%;
  background-color: #273246;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-scroll img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.image-scroll img + img {
  margin-top: 10px;
  /* top border acts as separator */
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

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

/* Duplicate images for seamless loop */
.image-scroll::after {
  content: "";
  display: block;
  height: 100%;
  background-image: inherit;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 32px;
    text-align: center;
  }

  .hero-text p {
    font-size: 16px;
    text-align: center;
  }

  .image-card {
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
  }

  .image-scroll img {
    height: 300px;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 15px;
    gap: 15px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .image-card {
    height: 300px;
  }

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

/* /list program/ */

.program-section {
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.program-header {
  text-align: center;
  margin-bottom: 40px;
}

.program-header h2 {
  font-size: 28px;
  color: #273246;
  margin-bottom: 10px;
}

.program-header h2 span {
  /* border-bottom: 3px solid #273246; */
  padding-bottom: 4px;
}

.program-header p {
  color: #4b5563;
  font-size: 16px;
}

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

.program-card {
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 20px;
  font-size: 15px;
  color: #111827;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: 0.3s ease;
}

.program-card:hover {
  background-color: #2b2549;
  transform: translateY(-5px);
  color:white;
  cursor: pointer;
}

/* /certification/ */

.certification-section {
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.certification-title {
  font-size: 28px;
  color: #273246;
  margin-bottom: 40px;
}

.certification-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.certification-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.certification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.certification-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.certification-card:hover::before {
  transform: scaleX(1);
}

.certification-card:hover::after {
  transform: scaleY(1);
}

.certification-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.certification-content {
  padding: 20px;
}

.certification-content h3 {
  font-size: 18px;
  color: #273246;
  margin-bottom: 10px;
}

.certification-content p {
  margin: 6px 0;
  font-size: 14px;
  color: #374151;
}

.certification-content .highlight {
  color: #273246;
  font-weight: bold;
  margin-top: 10px;
}

/* /program heilight/ */

.programme-highlights {
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.highlight-title {
  text-align: center;
  font-size: 28px;
  color: #273246;
  margin-bottom: 40px;
}

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

.highlight-item {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.highlight-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.highlight-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.highlight-item:hover::before {
  transform: scaleX(1);
}

.highlight-item:hover::after {
  transform: scaleY(1);
}

.highlight-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.highlight-item p {
  margin: 0;
  font-size: 15px;
  color: #374151;
}

/* /program brackdown/ */

.programme-breakdown {
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.programme-breakdown h2 {
  text-align: center;
  font-size: 28px;
  color: #273246;
  margin-bottom: 50px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #000;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item.left {
  flex-direction: row-reverse;
}

.timeline-item.right {
  flex-direction: row;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: #ccc;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  border: 6px solid white;
}

.timeline-icon img {
  width: 28px;
  height: 28px;
}

.timeline-content {
  width: 45%;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}

.timeline-item.left .timeline-content {
  text-align: right;
  margin-right: 80px;
}

.timeline-item.right .timeline-content {
  text-align: left;
  margin-left: 80px;
}

.timeline-content h3 {
  margin: 0;
  font-weight: bold;
}

.timeline-content p {
  margin: 5px 0 0;
  color: #555;
}

.timeline-icon.blue {
  background: #00bcd4;
  
}

.timeline-icon.red {
  background: #f44336;
}

.timeline-icon.green {
  background: #8bc34a;
  
}


/* /Contact section/ */

.contact-container {
  text-align: center;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  border-radius: 8px;
  max-width: 100%;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.contact-container h2 {
  color: #273246;
  margin-bottom: 10px;
}

.contact-container p {
  color: #7f8c8d;
  margin-bottom: 25px;
}

.contact-btn {
  display: inline-block;
  background: #273246;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
  background: #273246;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}


/* /partners section/ */

.partners-section {
  text-align: center;
  padding: 50px 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.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*/

/*corporate partners*/


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

.slider-tracks {
  display: flex;
  width: max-content;
  animation: scrollRight 60s 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);
}

 /* 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;
  margin-bottom: 10px;
}

.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;
  border: 1px solid #555;
  border-radius: 50%;
  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;
  }
}

/* General Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

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

    .about-container {
        max-width: 960px;
    }

    .purpose-section,
    .state-section,
    .program-section,
    .certification-section,
    .programme-highlights,
    .programme-breakdown,
    .partners-section {
         padding: 60px 30px;
    }

    .timeline {
        max-width: 800px;
    }

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

@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;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
        max-width: 720px;
    }

    .about-image,
    .about-content {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .about-content {
        padding: 30px;
        text-align: center;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .section-title,
    .section-heading,
    .highlight-title,
    .programme-breakdown h2,
    .certification-title,
    .partners-section .title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        flex: 1 1 90%;
        max-width: 400px;
    }

    .topics-container {
        flex-direction: column;
        align-items: center;
    }

    .topic-card {
        width: 90%;
        max-width: 350px;
    }

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

     .certification-grid {
        gap: 20px;
     }

     .highlight-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
     }

     .timeline {
        max-width: 700px;
     }

    .timeline::before {
        left: 30px;
    }

    .timeline-item.left .timeline-content {
        margin-right: 60px;
        text-align: left;
    }

    .timeline-item.right .timeline-content {
        margin-left: 60px;
    }

     .timeline-icon {
        left: 30px;
     }

     .timeline-content {
        width: calc(100% - 60px);
     }

     .contact-container {
        max-width: 600px;
     }
}

@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;
    }

    .about-section,
    .purpose-section,
    .state-section,
    .program-section,
    .certification-section,
    .programme-highlights,
    .programme-breakdown,
    .partners-section {
         padding: 40px 15px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .about-content p {
        font-size: 15px;
    }

    .btn-more {
        padding: 10px 18px;
        font-size: 15px;
    }

     .section-title,
     .section-heading,
     .highlight-title,
     .programme-breakdown h2,
     .certification-title,
     .partners-section .title {
        font-size: 24px;
        margin-bottom: 25px;
     }

     .card {
        padding: 30px 20px;
     }

     .icon {
        font-size: 3rem;
        margin-bottom: 1rem;
     }

     .card-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
     }

     .card-text {
        font-size: 15px;
        margin-bottom: 1rem;
     }

     .card-list li {
        font-size: 15px;
     }

     .topic-card {
        padding: 15px;
    }

     .topic-icon {
        font-size: 30px;
        margin-bottom: 10px;
     }

     .topic-title {
        font-size: 20px;
        margin-bottom: 8px;
     }

     .topic-text {
        font-size: 15px;
     }

     .hero-text h1 {
        font-size: 40px;
     }

     .hero-text p {
        font-size: 18px;
     }

     .image-card {
        height: 300px;
     }

     .program-header h2 {
        font-size: 24px;
     }

      .program-header p {
        font-size: 15px;
     }

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

     .program-card {
        padding: 15px;
        font-size: 14px;
     }

     .certification-grid {
        flex-direction: column;
        align-items: center;
        gap: 15px;
     }

     .certification-card {
        width: 90%;
        max-width: 350px;
        padding: 20px;
     }

     .certification-card img {
        height: 160px;
     }

     .certification-content h3 {
        font-size: 1.1rem;
     }

     .certification-content p {
        font-size: 13px;
     }

     .highlight-list {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
     }

     .highlight-item {
        padding: 15px;
     }

     .highlight-item img {
        width: 30px;
        height: 30px;
     }

     .highlight-item p {
        font-size: 14px;
     }

     .timeline {
        max-width: 100%;
     }

     .timeline::before {
        left: 20px;
     }

     .timeline-item {
         flex-direction: column;
         align-items: flex-start;
         margin-bottom: 40px;
     }

     .timeline-item.left,
     .timeline-item.right {
         flex-direction: column;
     }

      .timeline-icon {
         left: 20px;
         transform: translateX(-50%);
         margin-bottom: 10px;
      }

      .timeline-content {
         width: calc(100% - 40px);
         margin-left: 40px !important;
         text-align: left !important;
      }

    .contact-container {
        padding: 30px 15px;
        max-width: 500px;
    }

    .contact-container h2 {
        font-size: 24px;
    }

    .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;
    }

    .about-section,
    .purpose-section,
    .state-section,
    .program-section,
    .certification-section,
    .programme-highlights,
    .programme-breakdown,
    .partners-section {
         padding: 30px 10px;
    }

    .about-content h2 {
        font-size: 22px;
    }

    .about-content p {
        font-size: 14px;
    }

    .btn-more {
        font-size: 14px;
        padding: 8px 16px;
    }

     .section-title,
     .section-heading,
     .highlight-title,
     .programme-breakdown h2,
     .certification-title,
     .partners-section .title {
        font-size: 20px;
        margin-bottom: 20px;
     }

     .card {
        padding: 25px 15px;
     }

     .icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
     }

     .card-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
     }

     .card-text {
        font-size: 14px;
        margin-bottom: 0.8rem;
     }

     .card-list li {
        font-size: 14px;
     }

    .topic-card {
        padding: 15px;
    }

     .topic-icon {
        font-size: 24px;
        margin-bottom: 8px;
     }

     .topic-title {
        font-size: 18px;
        margin-bottom: 5px;
     }

     .topic-text {
        font-size: 14px;
     }

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

     .hero-text p {
        font-size: 16px;
     }

     .image-card {
        height: 250px;
     }

     .program-header h2 {
        font-size: 20px;
     }

      .program-header p {
        font-size: 14px;
     }

     .program-grid {
        grid-template-columns: 1fr;
        gap: 10px;
     }

     .program-card {
        padding: 12px;
        font-size: 13px;
     }

     .certification-card {
        padding: 15px;
     }

     .certification-card img {
        height: 140px;
     }

     .certification-content h3 {
        font-size: 1rem;
     }

     .certification-content p {
        font-size: 12px;
     }

     .highlight-list {
        grid-template-columns: 1fr;
        gap: 10px;
     }

     .highlight-item {
        padding: 12px;
     }

     .highlight-item img {
        width: 24px;
        height: 24px;
     }

     .highlight-item p {
        font-size: 13px;
     }

     .timeline-item {
        margin-bottom: 30px;
     }

      .timeline-icon {
         width: 50px;
         height: 50px;
      }

      .timeline-icon img {
        width: 24px;
        height: 24px;
      }

     .timeline-content {
         width: calc(100% - 30px);
         margin-left: 30px !important;
         padding: 15px;
     }

     .timeline-content h3 {
        font-size: 1.1rem;
     }

     .timeline-content p {
        font-size: 13px;
     }

    .contact-container {
        padding: 20px 10px;
        max-width: 400px;
    }

    .contact-container h2 {
        font-size: 20px;
    }

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

    .contact-btn {
        padding: 10px 20px;
    }

    .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-track, .slider-tracks {
      animation-duration: 35s; /* Adjust animation speed */
  }

  .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) {
    .about-image:hover,
    .card:hover,
    .topic-card:hover,
    .program-card:hover,
    .certification-card:hover,
    .highlight-item:hover,
    .contact-btn:hover,
    .partner-logos img:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .card:hover::before,
    .card:hover::after,
    .topic-card:hover::before,
    .topic-card:hover::after,
    .certification-card:hover::before,
    .certification-card:hover::after,
    .highlight-item:hover::before,
    .highlight-item:hover::after {
        transform: none;
    }

     .card:hover .icon,
     .card:hover .card-title,
     .card:hover .card-list li,
     .card:hover .card-list li::before {
         transform: none;
         color: inherit;
     }
}


/*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: 2560px) {
  .hero-section{
    height:60vh;
  }

}