/* ===== CSS RESET & VARIABLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #F26722;
  --primary-dark: #D84800;
  --dark: #151419;
  --body-text: #575757;
  --light-bg: #F7F6F6;
  --purple: #6254A4;
  --blue: #2F7EBF;
  --teal: #27BDBB;
  --white: #ffffff;
  --black: #000000;
  --border: rgba(21, 20, 25, 0.1);
  --radius-card: 16px;
  --radius-btn: 40px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
  --container: 1200px;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.2;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 9999;
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 8px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title h2 span {
  color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: linear-gradient(90deg, #1a1a2e, #0f3460);
  color: var(--white);
  padding: 8px 0;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  transition: transform 0.3s ease;
}

.announcement-bar p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.announcement-bar strong {
  color: var(--primary);
}

.announcement-bar a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.announcement-bar a:hover {
  color: var(--primary);
}

.announcement-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header.scrolled {
  top: 0;
  padding: 8px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  padding: 0 40px;
}

.header-logo img {
  height: 48px;
  width: auto;
}

.header.scrolled .header-logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 20px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header .btn-primary {
  padding: 10px 28px;
  font-size: 0.9rem;
}

.header .btn-outline {
  padding: 10px 28px;
  font-size: 0.9rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 4px;
  transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fafafa 0%, #f0ebe4 40%, #fce8d8 100%);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: linear-gradient(160deg, rgba(242, 103, 34, 0.06) 0%, rgba(242, 103, 34, 0.12) 100%);
  border-radius: 50% 0 0 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-tag {
  display: inline-block;
  background: rgba(242, 103, 34, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero-content h1 {
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content h1 span {
  color: var(--primary);
  display: block;
}

.hero-content p {
  color: var(--body-text);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.75;
}

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

.hero-badges {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-badges img {
  height: 80px;
  width: auto;
  border-radius: 12px;
  background: var(--white);
  padding: 8px 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: transform 0.3s;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-badges img:hover {
  transform: scale(1.08);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero-image-wrapper > img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.12));
  position: relative;
  z-index: 1;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
  z-index: 3;
}

.hero-float-card.card-1 {
  top: 18%;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 22%;
  left: -20px;
  animation-delay: 1.5s;
}

.hero-float-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-float-card .card-icon.orange { background: #FFF0E6; color: var(--primary); }
.hero-float-card .card-icon.purple { background: #EDEBF7; color: var(--purple); }

.hero-float-card .card-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--dark);
}

.hero-float-card .card-text span {
  font-size: 0.75rem;
  color: var(--body-text);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ===== COURSES SECTION ===== */
.courses {
  padding: 80px 0;
  background: var(--white);
}

/* ===== SPECIALIZATIONS SECTION ===== */
.specializations {
  padding: 80px 0 60px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.specializations::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--purple), var(--teal), var(--primary));
  background-size: 300% 100%;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.spec-marquee-wrapper {
  overflow: hidden;
  padding: 8px 0;
  position: relative;
}

.spec-marquee-wrapper::before,
.spec-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.spec-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.spec-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.spec-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.spec-row-1 {
  animation: specMarqueeLeft 28s linear infinite;
}

.spec-row-2 {
  animation: specMarqueeRight 32s linear infinite;
}

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

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

.spec-marquee-wrapper:hover .spec-marquee-track {
  animation-play-state: paused;
}

button.spec-card {
  font-family: inherit;
  text-align: left;
}

.spec-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #faf8f6 100%);
  border-radius: 60px;
  padding: 14px 32px 14px 14px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1.5px solid rgba(21, 20, 25, 0.06);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.spec-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 60px;
  background: linear-gradient(135deg, rgba(242, 103, 34, 0.08), rgba(98, 84, 164, 0.06));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.spec-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(242, 103, 34, 0.1), 0 0 0 3px rgba(242, 103, 34, 0.04);
  transform: translateY(-2px) scale(1.02);
}

.spec-card:hover::after {
  opacity: 1;
}

.spec-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFF0E6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}

.spec-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: all 0.35s ease;
}

.spec-card:hover .spec-icon {
  background: var(--primary);
  transform: rotate(-8deg) scale(1.08);
}

.spec-card:hover .spec-icon svg {
  color: var(--white);
}

.spec-info {
  position: relative;
  z-index: 1;
}

.spec-info strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.spec-card:hover .spec-info strong {
  color: var(--primary);
}

.spec-info span {
  font-size: 0.75rem;
  color: var(--body-text);
  letter-spacing: 0.5px;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.7;
}


/* Course carousel */
.course-carousel {
  position: relative;
  overflow: hidden;
}

.course-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.course-carousel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.course-carousel-nav {
  display: flex;
  gap: 12px;
}

.course-duration {
  font-size: 0.8rem;
  color: var(--body-text);
  display: inline-block;
  margin-top: 4px;
}

.course-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.course-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.course-carousel-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

.course-tag.ranked { background: var(--primary); color: var(--white); }
.course-tag.trending { background: var(--purple); color: var(--white); }
.course-tag.acca { background: #008E36; color: var(--white); }

.course-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.course-univ-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--purple);
  background: #EDEBF7;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}

.course-badges .badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: #FFF0E6;
  color: var(--primary);
  letter-spacing: 0.2px;
}


.course-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 2px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.course-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.course-card-img {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.course-card:hover .course-card-img img {
  transform: scale(1.05);
}

.course-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #FDD900;
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px 12px 12px 0;
}

.course-card-body {
  padding: 14px 16px;
}

.course-card-body h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  white-space: normal;
}


/* ===== ABOUT SECTION ===== */
.about {
  padding: 80px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content h2 span {
  color: var(--primary);
}

.about-content > p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--light-bg);
  border-radius: 12px;
  transition: transform 0.3s;
}

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

.about-highlight-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FFF0E6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.about-highlight-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.about-highlight-item span {
  font-size: 0.82rem;
  color: var(--body-text);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
}

.accreditation-strip {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.accreditation-strip img {
  height: 56px;
  width: auto;
  border-radius: 8px;
  background: var(--white);
  padding: 4px 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.accreditation-strip img:hover {
  transform: scale(1.1);
}

/* ===== IMPACT SECTION ===== */
.impact {
  padding: 80px 0;
  background: linear-gradient(135deg, #fdf6f0 0%, #fef0e4 50%, #fff7f0 100%);
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(242, 103, 34, 0.06);
}

.impact::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(98, 84, 164, 0.04);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.impact-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1.5px solid var(--border);
  transition: all 0.3s;
}

.impact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.impact-card .impact-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1;
}

.impact-card .impact-label {
  font-size: 1rem;
  color: var(--body-text);
  font-weight: 500;
}

.impact-card .impact-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
  padding: 80px 0;
  background: var(--light-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 28px;
  border-radius: var(--radius-card);
  border: 2px solid var(--border);
  background: var(--white);
  text-align: center;
  transition: all 0.3s;
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.why-card .why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.why-card .why-icon.orange-bg { background: #FFF0E6; }
.why-card .why-icon.purple-bg { background: #EDEBF7; }
.why-card .why-icon.teal-bg { background: #E6F9F9; }
.why-card .why-icon.blue-bg { background: #E6F0FA; }

.why-card .why-icon img {
  width: 36px;
  height: 36px;
}

.why-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== PLACEMENT SECTION ===== */
.placement {
  padding: 80px 0;
  background: var(--white);
}

.placement-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.placement-stat {
  text-align: center;
}

.placement-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.placement-stat .stat-label {
  font-size: 0.95rem;
  color: var(--body-text);
  margin-top: 4px;
}

.marquee-wrapper {
  overflow: hidden;
  padding: 24px 0;
  position: relative;
  background: var(--white);
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.marquee-track {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track img {
  height: 44px;
  width: auto;
  opacity: 1;
  transition: all 0.3s;
  object-fit: contain;
}

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

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

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 0;
  background: var(--light-bg);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.testimonial-card {
  min-width: calc(33.333% - 16px);
  margin: 0 8px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 2px solid transparent;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--body-text);
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.testimonial-author-info span {
  font-size: 0.82rem;
  color: var(--body-text);
}

.testimonial-stars {
  color: #FDD900;
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: 2px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1.1rem;
  color: var(--dark);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(15, 52, 96, 0.88) 100%),
              url('images/man-holding-digital-globe-in-his-hands.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta-contact a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.cta-contact a:hover {
  color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
  background: #f0ede8;
  padding: 52px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-about .footer-logo img {
  height: 44px;
  margin-bottom: 14px;
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--body-text);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.footer-programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--body-text);
  transition: all 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--body-text);
  transition: color 0.3s;
}

.footer-contact-item:hover {
  color: var(--primary);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(21, 20, 25, 0.1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--body-text);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--body-text);
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ===== STICKY BUTTONS ===== */
.sticky-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.sticky-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.sticky-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.sticky-btn.whatsapp {
  background: #25D366;
}

.sticky-btn.call {
  background: var(--primary);
}

.sticky-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

.scroll-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

/* ===== REGISTRATION MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--light-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--body-text);
  transition: all 0.3s;
}

.modal-close:hover {
  background: #ffe5d5;
  color: var(--primary);
}

.modal h2 {
  text-align: center;
  margin-bottom: 28px;
  color: #1a3b8f;
  font-size: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #D32531;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color 0.3s;
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3b5bdb;
  box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23575757' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #3b5bdb, #1a3b8f);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 91, 219, 0.3);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== RESPONSE POPUP ===== */
.response-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 20px;
}

.response-popup.active {
  opacity: 1;
  visibility: visible;
}

.response-box {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.response-popup.active .response-box {
  transform: scale(1);
}

.response-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.response-icon.success {
  background: #e6f9e6;
  color: #008E36;
}

.response-icon.error {
  background: #ffe6e6;
  color: #D32531;
}

.response-box h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.response-box p {
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.response-box .btn {
  min-width: 160px;
  justify-content: center;
}

/* ===== SPINNER ===== */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header .container {
    padding: 0 24px;
  }

  .nav-links {
    gap: 20px;
    font-size: 0.88rem;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .hero-image-wrapper {
    max-width: 340px;
  }

  .hero-tag {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-badges img {
    height: 60px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-card {
    min-width: calc(50% - 16px);
  }

  .courses, .specializations, .about, .impact,
  .why-choose, .placement, .testimonials, .cta {
    padding: 60px 0;
  }

  .course-carousel-footer {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    z-index: 1001;
    margin-left: 0;
    margin-right: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--dark);
    font-size: 1.05rem;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .announcement-bar {
    font-size: 0.75rem;
    padding: 6px 0;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 40px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-badges img {
    height: 50px;
  }

  .hero-bg-shape {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    right: 0;
    border-radius: 50% 50% 0 0;
  }

  .hero-image-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-float-card {
    display: none;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .impact-card {
    padding: 24px 16px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .placement-stats {
    gap: 24px;
  }

  .testimonial-card {
    min-width: calc(100% - 16px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 28px 20px;
  }

  .sticky-buttons {
    bottom: 16px;
    right: 16px;
  }

  .sticky-btn {
    width: 50px;
    height: 50px;
  }

  .courses, .specializations, .about, .impact,
  .why-choose, .placement, .testimonials, .cta {
    padding: 48px 0;
  }

  .section-title {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .header .container {
    padding: 0 16px;
  }

  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-outline-dark {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges img {
    height: 44px;
  }

  .placement-stats {
    gap: 16px;
  }

  .placement-stat .stat-number {
    font-size: 1.8rem;
  }

  .footer-programs-grid {
    grid-template-columns: 1fr;
  }

  .courses, .specializations, .about, .impact,
  .why-choose, .placement, .testimonials, .cta, .faq {
    padding: 36px 0;
  }
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 80px 0;
  background: var(--light-bg);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 28px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary span {
  font-size: 1rem;
  flex: 1;
  font-family: var(--font-body);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-answer {
  padding: 0 28px 22px;
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer p { margin: 0; }

.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .faq-item summary { padding: 16px 20px; }
  .faq-item summary span { font-size: 0.94rem; }
  .faq-answer { padding: 0 20px 18px; font-size: 0.9rem; }
}

/* ===== PHONE INPUT WITH DIAL CODE PREFIX ===== */
.phone-input-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.phone-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 103, 34, 0.15);
}

.phone-dial-code {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #f5f5f5;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  border-right: 1.5px solid #e0e0e0;
  min-width: 64px;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
}

.phone-input-wrap input[type="tel"] {
  flex: 1;
  border: none !important;
  border-radius: 0 !important;
  outline: none;
  padding: 12px 14px;
  font-size: 0.95rem;
  background: transparent;
  width: 100%;
  min-width: 0;
}

.phone-input-wrap input[type="tel"]:focus {
  box-shadow: none !important;
  border: none !important;
}

/* ===== HONEYPOT (anti-spam) — visually hidden but accessible to bots ===== */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ===== "OTHER" CUSTOM TEXT INPUT ===== */
.other-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-top: 8px;
  background: var(--white);
}

.other-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 103, 34, 0.15);
}

/* Style for disabled separator option in country dropdown */
#country option[disabled] {
  color: #ccc;
  font-weight: 400;
}
