/* General Body and Main Container Styling */
:root {
  --primary: #d4af37; /* Gold */
  --secondary: #000000; /* Black */
  --accent: #ffffff; /* White */
  --white: #ffffff;
  --black: #000000;
  --light: #f5f5f5;
  --light-gray: #f5f5f5;
  --soft-gold: #fdf6e3;  /* very light gold-cream */
  --light-gold: #f8e8b4;
  --mid-gold: #f7d774;
  --gold-accent: #d4af37;
  --text-dark: #333;
}

/* Make ALL images responsive */
img {
  max-width: 100%; /* Image will never be wider than its parent container */
  height: auto;    /* Height adjusts proportionally to width to avoid distortion */
  display: block;  /* Helps remove strange spacing issues, especially below images */
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.full-width-container {
  width: 100%;
  padding: 0 5%;
}

header.hero {
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  background-color: #fefdf9;
}
.section h2 {
  text-align: center;
  font-size: 36px;
  color: #d4af37;
}
.section-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}
.card {
  flex: 1 1 45%;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  background-color: #fff;
  transition: 0.3s;
  text-align: center;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.card-icon {
  font-size: 40px;
  color: #d4af37;
  margin-bottom: 15px;
}
.card h3 {
  color: #333;
}
.card p {
  font-size: 15px;
}

/* Navigation Bar */
.navbar {
  background: linear-gradient(to right, #f7d774, #ffffff);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

/* --- NEW: Styles for the Mobile Hamburger Button --- */
/* 1. Hide the button by default (Desktop view) */
/* Support both .hamburger (new) and .hamburger-menu (old) */
.hamburger, .hamburger-menu {
  display: inline-flex;
  align-items: center;
  justify-content:end;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 1003;
}


.hamburger span {
  display:none;
  width: 24px;
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* 2. Mobile-specific styles applied via Media Query */
@media screen and (max-width: 768px) {
    
    /* 1. Navbar Layout (Hamburger Left, Logo Second) */
    .navbar {
        /* Ensure the fixed bar is tall enough for the logo/button */
        min-height: 70px; 
        padding: 10px 20px;
        justify-content: space-between; 
        align-items: center; 
    }
    
    
    /* logo */
.logo { display:flex; align-items:center; gap:8px; text-decoration:none; z-index:1002; }
.logo-img { width: 120px; height: 70px; object-fit: cover; display:block; }
.logo-text {
        display: none; /* This hides the "MSE" name on mobile screens */
    }
    
    /* Hide the desktop nav panel entirely */
    .navbar {
  background: linear-gradient(to right, #f7d774, #ffffff);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    
    /* 1. Reduce overall section padding for better use of vertical space */
    .testimonials-section {
        padding: 40px 0;
    }

    /* 2. Optimize the individual slide padding */
    .testimonial-slide {
        /* CRITICAL: Reduce horizontal padding on the slide itself 
           (e.g., from 5% down to 10px on each side) */
        padding: 0 10px; 
    }

    /* 3. Ensure the content box uses full available width */
    .testimonial-content {
        /* CRITICAL: Remove max-width constraint for mobile view */
        max-width: 100%; 
        /* Reduce internal padding inside the card */
        padding: 25px; 
    }
    
    /* 4. Adjust Text Size for better readability and fitting */
    .testimonials-section h2 {
        font-size: 1.5rem; /* Make heading smaller */
        margin-bottom: 30px;
    }

    .testimonial-text {
        font-size: 1rem; /* Slightly reduce text size */
        line-height: 1.6;
        /* Ensure long words wrap to prevent overflow */
        word-wrap: break-word; 
    }
    
    .testimonial-author {
        text-align: right; /* Maintain right alignment for author */
    }
}

/* Support both .hamburger (new) and .hamburger-menu (old) */
.hamburger, .hamburger-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 1003;
}

/* new visual hamburger (three bars) */
.hamburger {
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display:block;
  width: 24px;
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
/* open -> X */
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Navigation panel (supports both .nav-content and .nav-right-panel) */
.nav-content, .nav-right-panel {
  width: 100%;
  box-sizing: border-box;
}

/* Mobile: collapse nav content */
.nav-content, .nav-right-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease;
  background: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* when opened (JS toggles .open) */
.nav-content.open, .nav-right-panel.open { max-height: 640px; }

/* top buttons and links layout on mobile */
.top-buttons {
  display:flex;
  flex-direction: column;
  gap:10px;
  padding: 12px 16px;
  align-items: stretch;
}
.top-buttons .btn { width:100%; text-align:center; }

.nav-links {
  list-style:none;
  margin:0;
  padding: 8px 16px 20px 16px;
  display:flex;
  flex-direction:column;
  gap: 0;
}
.nav-links li { border-bottom: 1px solid #f0f0f0; }
.nav-links li:last-child { border-bottom: none; }
.nav-links a {
  display:block;
  padding: 14px 8px;
  text-decoration:none;
  font-weight:600;
  color:var(--black);
  font-size:1rem;
}

/* keep decorative underline effect on larger screens only */
.nav-links a:after { content:''; position:absolute; width:0; height:2px; bottom:0; left:0; background:var(--primary); transition: width .3s ease; }
.nav-links a:hover:after { width:100%; }

/* Desktop / Tablet (show inline nav, hide hamburger) */
@media (min-width: 768px) {
  .hamburger, .hamburger-menu { display: none; }

  .nav-content, .nav-right-panel {
    max-height: none;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border-top: none;
    display:flex;
    align-items:center;
    justify-content: flex-end;
    gap: 18px;
  }

  .top-buttons {
    flex-direction: row;
    gap:12px;
    padding:0;
    align-items:center;
  }
  .top-buttons .btn { width: auto; }

  .nav-links {
    flex-direction: row;
    gap: 26px;
    padding: 0;
    align-items: center;
  }
  .nav-links li { border-bottom: none; }
  .nav-links a { padding: 0; position: relative; }
  
  /* adjust logo & sizes on larger screens */
  .logo-img { width:150px; height:100px; }
  .logo-text { font-size:1.6rem; }
  
  /* make the navbar slightly taller on desktop */
  .navbar { padding: 14px 32px; }
}

/* Ensure main content starts below fixed header */
/* Desktop header approximate height */
main.container { padding-top: 140px; box-sizing: border-box; }

/* Smaller screens: taller header due to expanded nav potential */
@media (max-width: 767px) {
  .logo-img { width: 110px; height: 60px; }
  main.container { padding-top: 110px; }
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to right, #f7d774, #ffffff);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Ensure content starts below navbar */
main.container {
  padding-top: 140px; /* adjust this to match your navbar height */
}

/* For smaller screens where navbar is taller */
@media (max-width: 768px) {
  main.container {
    padding-top: 180px; /* taller navbar on mobile */
  }
}

.navbar a {
  color: #8a6d00; /* rich gold text */
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #d4af37; /* lighter gold on hover */
}

.logo {
  display: flex;
  align-items: center;
  gap:initial;
}

.logo-img {
  width: 150px;
  height: 100px;
  object-fit:cover;
}

.logo-text {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-right-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.top-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.btn {
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;                                                                            
  text-transform: uppercase;
  font-size: 0.8rem;
}

.btn.portal {
  background-color: var(--secondary);
  color: var(--white);
}

.btn.apply {
  background-color: var(--primary);
  color: var(--black);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: rgb(1, 1, 1);
  text-decoration: none;
  font-weight: bold;
}

.nav-links a {
  color: var(--black); /* Black for visibility */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero-slideshow {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(to bottom, #fffaf0, #f8e8b4);
}

.hero-slide {
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  transition: background-image 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  width: 90%;
  max-width: 1200px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-content {
  display: flex;
  gap: 40px;
  width: 100%;
}

.hero-text {
  flex: 1;
  padding-right: 40px;
  border-right: 1px solid rgba(0,0,0,0.1);
}

.hero-text h1 {
  font-size: 2.5rem;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-text .subtitle {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

.hero-cta h3 {
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 15px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-gold {
  display: inline-block;
  padding: 12px 25px;
  background-color: #d4af37;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s ease-in-out;
  margin-bottom: 20px;
}

.btn-gold:hover {
  background-color: #b98f2e;
}


.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-accent {
  background: var(--primary);
  color: var(--black);
}

.hero-description {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.tagline {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--black);
  margin-top: auto;
  text-align: right;
  text-transform: uppercase;
}

/* Courses Section - Fixed Horizontal Scrolling */
.courses-section {
  padding: 60px 0;
  background-color: var(--light);
  width: 100%;
}

.courses-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color:#d4af37;;
  text-transform: uppercase;
}

.course-scroller {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 30px;
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: var(--primary) var(--light); /* For Firefox */
}

/* Custom scrollbar for WebKit browsers */
.course-scroller::-webkit-scrollbar {
  height: 8px;
}

.course-scroller::-webkit-scrollbar-track {
  background: var(--light);
  border-radius: 10px;
}

.course-scroller::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 10px;
}

.course-scroll-container {
  display: flex; /* Changed from inline-flex to flex */
  gap: 30px;
  padding: 10px 30px 30px;
  width: max-content; /* This is crucial for horizontal scrolling */
  margin: 0 auto; /* Center the container */
}

.course-card {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  min-width: 280px;
  flex: 0 0 auto; /* Prevent cards from shrinking */
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.course-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.course-type {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--black);
}

.course-details {
  list-style: none;
  /* Updated color to prevent link color */
  color: var(--black);
}

.course-details li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.course-details li:before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
}

.courses-note {
  text-align: center;
  font-style: italic;
  color: var(--black);
}

.course-card-link {
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .course-scroll-container {
    padding: 10px 20px 30px;
    gap: 20px;
  }
  
  .course-card {
    min-width: 260px;
  }
}

@media (max-width: 480px) {
  .course-scroller {
    padding-bottom: 20px;
  }
  
  .course-scroll-container {
    padding: 10px 15px 25px;
    gap: 15px;
  }
  
  .course-card {
    min-width: 240px;
    padding: 20px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .course-scroll-container {
    padding: 10px 20px 30px;
    gap: 20px;
  }
  
  .course-card {
    min-width: 260px;
  }
}

@media (max-width: 480px) {
  .course-scroller {
    padding-bottom: 20px;
  }
  
  .course-scroll-container {
    padding: 10px 15px 25px;
    gap: 15px;
  }
  
  .course-card {
    min-width: 240px;
    padding: 20px;
  }
}

.course-card-link {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-decoration: none; /* Removes the underline from the link */
}

/* Accreditation Section */
.accreditation-section {
  padding: 60px 0;
  background-color: var(--white);
  width: 100%;
}

.accreditation-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 2rem;
  text-transform: uppercase;
}

.accreditation-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.accreditation-intro p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.logo-scroller-container {
  width: 100%;
  overflow: hidden;   /* hide overflow so no scrollbar shows */
  position: relative;
}

.logo-scroller {
  display: flex;
  gap: 40px;
  padding: 30px 5%;
  will-change: transform;  /* help performance */
  /* remove your old animation: slide-logos */
  animation: none !important;
  transform: translateX(0); /* start position */
}


.logo-item {
  flex: 0 0 220px;  /* fixed width so scrolling math works */
  height: 160px;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

/* Center logo is clear and bigger */
/* Using nth-child trick for example with 5 logos visible */
.logo-item:nth-child(3) {
  opacity: 1;
  filter: none;
  transform: scale(1.1);
  z-index: 2;
}

/* Slightly less blurred neighbors */
.logo-item:nth-child(2),
.logo-item:nth-child(4) {
  opacity: 0.8;
  filter: none;
  transform: scale(1);
  z-index: 1;
}

/* Animation to scroll logos left */
@keyframes slide-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-220px * 5 - 40px * 5));
  }
}


/* Make sure logos container is wide enough to loop */
.logo-scroller > .logo-item {
  flex: 0 0 auto;
  width: 220px;
  height: 160px;
  transition: filter 0.3s ease;
}

/* Real Outcomes Section */
.outcomes-section {
  padding: 80px 0;
  background-color: var(--light-gray);
  width: 100%;
}

.outcomes-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 2rem;
}

.outcomes-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

.outcomes-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 250px;
  padding: 30px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.4;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--white);
  width: 100%;
}

.testimonials-section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 50px;
  font-size: 2rem;
}

.testimonials-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.testimonial-content {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.carousel-prev,
.carousel-next {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  padding: 5px 20px;
  transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  color: var(--black);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--primary);
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 40px 0;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .logo-item {
    width: 200px;
    height: 140px;
    padding: 20px;
  }

  .stat-item {
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .nav-right-panel {
    width: 100%;
    align-items: flex-start;
  }

  .top-buttons {
    margin-top: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    width: 100%;
  }

  .hero-overlay {
    padding: 30px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .outcomes-section,
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonial-content {
    padding: 30px 20px;
  }

  .logo-item {
    width: 180px;
    height: 120px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .full-width-container {
    padding: 0 15px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .course-scroll-container {
    padding: 10px 15px 20px;
  }

  .course-card {
    min-width: 260px;
  }

  .outcomes-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-item {
    min-width: 100%;
  }

  .testimonial-content {
    padding: 25px 15px;
  }

  .carousel-controls {
    gap: 20px;
  }
}



/* First Step Section */
.first-step-section {
  padding: 80px 0;
  background-color: var(--light-gray);
  width: 100%;
}

.first-step-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.first-step-text {
  flex: 1;
}

.first-step-text h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 2rem;
}

.first-step-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--black);
}

.first-step-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-consultant {
  background-color: var(--primary);
  color: var(--black);
  padding: 12px 25px;
  font-weight: 700;
  border: 2px solid var(--primary);
}

.btn-apply {
  background-color: var(--black);
  color: var(--white);
  padding: 12px 25px;
  font-weight: 700;
  border: 2px solid var(--black);
}

.btn-download {
  background-color: transparent;
  color: var(--black);
  padding: 12px 25px;
  font-weight: 700;
  border: 2px solid var(--black);
}

.first-step-content {
  display: flex;
  gap: 100px; /* space between text and image */
  align-items: center; /* vertical center alignment */
}

.first-step-text {
  flex: 3; /* text takes up available space */
}

.consultant-image {
  flex: 1; /* image takes up remaining space equally */
  max-width: 100%; /* prevent overflow */
}

.consultant-image img {
  width: 200%;
  height: auto;
  border-radius: 15px; /* keep it looking sharp */
  object-fit: cover;
}

/* Solutions Section */
.solutions-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 50px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.solutions-section h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.solutions-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--black);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .first-step-content {
    flex-direction: column;
    text-align: center;
  }
  
  .first-step-buttons {
    justify-content: center;
  }
  
  .consultant-image {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .first-step-section {
    padding: 60px 0;
  }
  
  .first-step-text h2 {
    font-size: 1.8rem;
  }
  
  .first-step-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-consultant,
  .btn-apply,
  .btn-download {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .first-step-text h2 {
    font-size: 1.6rem;
  }
  
  .solutions-section h3 {
    font-size: 1.3rem;
  }
}

/* Solutions Section */
.solutions-section {
  padding: 80px 0;
  background-color: var(--white);
  width: 100%;
}

.solutions-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.solutions-header h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 2rem;
}

.solutions-header p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--black);
}

.solutions-columns {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-column {
  flex: 1;
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.solution-column:hover {
  transform: translateY(-5px);
}

.solution-image {
  height: 200px;
  overflow: hidden;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.solution-column:hover .solution-image img {
  transform: scale(1.05);
}

.solution-column h3 {
  padding: 20px;
  color: var(--primary);
  font-size: 1.3rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.solution-links {
  padding: 20px;
}

.solution-links a {
  display: block;
  padding: 12px 0;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.solution-links a:hover {
  color: var(--primary);
  padding-left: 10px;
}

/* Footer Styles */
.main-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.footer-column {
  margin-bottom: 30px;
}

.footer-column h4 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-column a {
  display: block;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.social-platforms {
  display: flex;
  gap: 15px;
  margin: 15px 0;
}

.social-platforms a {
  font-size: 1.5rem;
}

.footer-btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--black);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.footer-btn:hover {
  background-color: var(--white);
  color: var(--black);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .solutions-columns {
    flex-direction: column;
    max-width: 600px;
  }
  
  .solution-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .solutions-section {
    padding: 60px 0;
  }
  
  .solutions-header h2 {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .solutions-header h2 {
    font-size: 1.6rem;
  }
  
  .solution-column h3 {
    font-size: 1.2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.qualifications-main {
  background: #fffaf0;
  padding: 60px 0;
}

.qualification-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  justify-content: center;
  padding: 2rem;
}

.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.qualification-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%; /* Ensures equal height */
}

.qualification-card:hover {
  transform: translateY(-5px);
}


.qualification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.qualification-card .icon {
  font-size: 40px;
  color: #d4af37;
  margin-bottom: 15px;
}

.qualification-card i.icon {
  font-size: 40px;
  text-shadow: 0 0 5px rgba(0,0,0,0.1);
  color: var(--primary); /* Assuming you set gold as --primary */
  margin-bottom: 1rem;
}


.qualification-card h3 {
  font-size: 20px;
  color: #222;
}

.qualification-card .type {
  font-weight: bold;
  margin: 10px 0;
  color: #555;
}

.qualification-card p {
  color: #444;
  margin-bottom: 15px;
}

.btn-gold {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d4af37;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
}

.btn-gold:hover {
  background-color: #b98f2e;
}
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

.navbar {
  background-color: #d4af37;
  padding: 15px;
  display: flex;
  justify-content: center;
}

.navbar a {
  color: white;
  margin: 0 20px;
  text-decoration: none;
  font-weight: 500;
}
.navbar {
  background-color: #d4af37;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-links a {
  color: black;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #444;
}



.btn-link {
  background-color: white;
  color: #d4af37;
  padding: 8px 15px;
  border-radius: 20px;
  margin-left: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-link:hover {
  background-color: #fff8e1;
}

.btn-link.apply {
  background-color: #fff;
  color: #b8962e;
  border: 2px solid #fff;
}


.hero {
  background-color: #f4f4f4;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  margin-bottom: 10px;
  color: #222;
}

.hero p {
  font-size: 18px;
  color: #666;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.contact-form, .contact-info {
  flex: 1 1 45%;
  padding: 20px;
  box-sizing: border-box;
}

.contact-form h2,
.contact-info h2 {
  color: #d4af37;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form button {
  background-color: #d4af37;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #b8962e;
}

.contact-info p {
  margin: 10px 0;
  line-height: 1.6;
}

.contact-info i {
  color: #d4af37;
  margin-right: 10px;
}

.map {
  width: 100%;
  height: 300px;
  margin-top: 30px;
  border-radius: 10px;
  border: none;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #f4f4f4;
  font-size: 14px;
  color: #888;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form,
  .contact-info {
    flex: 1 1 100%;
  }
}
/* Top bar styles */
.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: 10px 30px;
  background-color: #d4af37;
  gap: 10px;
}

.top-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
  color: white;
}

.top-btn.gold {
  background-color: #d4af37;
}

.top-btn.gold:hover {
  background-color: #b8962e;
}

.top-btn.black {
  background-color: #222;
}

.top-btn.black:hover {
  background-color: #444;
}
.course-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin: 10px 0;
}

footer{padding:40px 40px; background-color:#1c1c1c; color:white;}
    .footer-grid{display:flex; flex-wrap:wrap; gap:20px;}
    .footer-column{flex:1; min-width:180px; margin-bottom:20px;}
    .footer-column h3{color:#bfa046; margin-bottom:10px;}
    .footer-column a{color:white; text-decoration:none; display:block; margin-bottom:5px;}
    .footer-bottom{margin-top:20px; border-top:1px solid #333; padding-top:20px; text-align:center;}
