@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --teal: #007A78;
  --gold: #C6922E;
  --navy: #021B4D;
  --white: #FFFFFF;

  /* Font mappings */
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background-color: var(--white);
  /* Premium abstract background utilizing ONLY the brand colors with low opacity */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0, 122, 120, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(198, 146, 46, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(2, 27, 77, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Base structural styles */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(2, 27, 77, 0.08);
  transition: var(--transition-smooth);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(2, 27, 77, 0.04);
}

.top-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.top-links a {
  color: rgba(2, 27, 77, 0.8);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.top-links a:hover {
  color: var(--teal);
}

.mainnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--navy);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--teal);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

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

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

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

/* Buttons and Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-primary {
  /* Teal Accent button */
  background-color: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 122, 120, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 122, 120, 0.25);
  background-color: #006664;
}

.btn-gold {
  /* Premium CTA button */
  background-color: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(198, 146, 46, 0.2);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(198, 146, 46, 0.3);
  filter: brightness(1.05);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid rgba(2, 27, 77, 0.15);
}

.btn-outline:hover {
  background-color: rgba(2, 27, 77, 0.05);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.nav-pill {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 122, 120, 0.1);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 122, 120, 0.2);
}

.nav-button {
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  background: transparent;
}

.nav-button:hover {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(0, 122, 120, 0.15);
}

/* Glassmorphism System */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 35px rgba(2, 27, 77, 0.05);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(2, 27, 77, 0.1);
  border-color: rgba(0, 122, 120, 0.2);
}

/* Sections Common */
section {
  padding: 6.5rem 0;
  position: relative;
}

.section-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  background: rgba(198, 146, 46, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(198, 146, 46, 0.2);
}

.section-heading h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: 1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-heading p {
  color: rgba(2, 27, 77, 0.75);
  font-size: 1.1rem;
}

/* 1. Hero Section */
.hero-section {
  padding: 7rem 0 9rem 0;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-copy h1 span.gradient-text {
  background: linear-gradient(135deg, var(--navy) 30%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  font-size: 1.15rem;
  color: rgba(2, 27, 77, 0.8);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 70px rgba(2, 27, 77, 0.12);
  border-radius: 30px;
  padding: 2.25rem;
  animation: floatAnimation 6s ease-in-out infinite;
}

.panel-chip {
  display: inline-block;
  background: rgba(0, 122, 120, 0.08);
  color: var(--teal);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 122, 120, 0.15);
}

.hero-visual-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.hero-visual-card p {
  font-size: 0.95rem;
  color: rgba(2, 27, 77, 0.8);
  margin-bottom: 1.5rem;
}

.panel-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.panel-price span {
  font-size: 1rem;
  color: rgba(2, 27, 77, 0.6);
  font-weight: 500;
}

.panel-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.panel-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

.panel-features svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* 2. About Institute */
.about-section {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(2, 27, 77, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-image-wrapper svg {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}

.about-stats-overlay {
  position: absolute;
  bottom: -30px;
  right: -20px;
  z-index: 3;
  width: 180px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 35px rgba(2, 27, 77, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
}

.about-stats-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-title);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-stats-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content .section-tag {
  margin-bottom: 1rem;
}

.about-content h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-content p {
  color: rgba(2, 27, 77, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  background: rgba(0, 122, 120, 0.08);
  color: var(--teal);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 122, 120, 0.15);
}

.about-feature-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-feature-desc {
  font-size: 0.85rem;
  color: rgba(2, 27, 77, 0.75);
}

/* 3. Courses Grid */
.courses-section {
  position: relative;
}

.courses-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(2, 27, 77, 0.1);
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(2, 27, 77, 0.8);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.cards-grid {
  display: grid;
  /* min() keeps cards from forcing horizontal scroll on narrow phones */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 2.25rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 35px rgba(2, 27, 77, 0.05);
  border-radius: 24px;
  padding: 2.25rem;
  transition: var(--transition-smooth);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(2, 27, 77, 0.12);
  border-color: rgba(0, 122, 120, 0.25);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.course-badge {
  background: rgba(0, 122, 120, 0.08);
  color: var(--teal);
  border: 1px solid rgba(0, 122, 120, 0.15);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.course-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.course-description {
  font-size: 0.95rem;
  color: rgba(2, 27, 77, 0.8);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.course-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(2, 27, 77, 0.06);
  border-bottom: 1px solid rgba(2, 27, 77, 0.06);
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(2, 27, 77, 0.5);
  font-weight: 600;
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.course-highlights {
  margin-bottom: 1.75rem;
}

.highlights-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlights-list li {
  font-size: 0.88rem;
  color: rgba(2, 27, 77, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlights-list li::before {
  content: "•";
  color: var(--teal);
  font-weight: bold;
}

.course-actions {
  display: flex;
  gap: 1rem;
}

.course-actions .btn-apply {
  flex: 1.2;
  text-align: center;
  background: var(--gold);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(198, 146, 46, 0.15);
}

.course-actions .btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(198, 146, 46, 0.25);
  filter: brightness(1.05);
}

.course-actions .btn-learn-more {
  flex: 0.8;
  background: transparent;
  color: var(--teal);
  border: 1.5px solid rgba(0, 122, 120, 0.3);
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.course-actions .btn-learn-more:hover {
  background: rgba(0, 122, 120, 0.05);
  border-color: var(--teal);
}

/* 4. Certifications */
.certifications-section {
  background: rgba(2, 27, 77, 0.02);
  border-top: 1px solid rgba(2, 27, 77, 0.04);
  border-bottom: 1px solid rgba(2, 27, 77, 0.04);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.cert-card {
  text-align: center;
  padding: 3rem 2rem;
}

.cert-badge {
  background: rgba(198, 146, 46, 0.08);
  border: 1px solid rgba(198, 146, 46, 0.2);
  color: var(--gold);
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem auto;
}

.cert-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.cert-card p {
  font-size: 0.95rem;
  color: rgba(2, 27, 77, 0.75);
}

/* 5. Placement Assistance */
.placement-section {
  position: relative;
}

.placement-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.placement-stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(2, 27, 77, 0.03);
}

.placement-stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.placement-stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.placement-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.placement-benefits h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.placement-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.placement-benefit-item {
  display: flex;
  gap: 1rem;
}

.placement-benefit-icon {
  background: rgba(0, 122, 120, 0.08);
  border: 1px solid rgba(0, 122, 120, 0.15);
  color: var(--teal);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.placement-benefit-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.placement-benefit-details p {
  font-size: 0.9rem;
  color: rgba(2, 27, 77, 0.75);
}

.placement-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: 28px;
  padding: 3rem;
  color: var(--white);
  box-shadow: 0 25px 50px rgba(2, 27, 77, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.placement-visual h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.placement-visual p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.placement-quote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

/* 6. Student Testimonials */
.testimonials-section {
  background: rgba(2, 27, 77, 0.02);
  border-top: 1px solid rgba(2, 27, 77, 0.04);
  border-bottom: 1px solid rgba(2, 27, 77, 0.04);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(2, 27, 77, 0.04);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 45px rgba(2, 27, 77, 0.08);
}

.test-rating {
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.25rem;
}

.test-quote {
  font-size: 0.98rem;
  color: rgba(2, 27, 77, 0.85);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  font-style: italic;
}

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

.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-title);
  font-size: 0.95rem;
  border: 2px solid var(--white);
  box-shadow: 0 4px 10px rgba(2, 27, 77, 0.1);
}

.test-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.test-info p {
  font-size: 0.8rem;
  color: rgba(2, 27, 77, 0.6);
  font-weight: 500;
}

/* 7. Industry Partners */
.partners-section {
  position: relative;
}

.partners-logos-container {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.partners-logos-container::before,
.partners-logos-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

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

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

.partners-slider {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: logoScroll 25s linear infinite;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-item svg {
  height: 38px;
  width: auto;
  fill: rgba(2, 27, 77, 0.35);
  transition: var(--transition-fast);
}

.partner-logo-item svg:hover {
  fill: var(--teal);
}

/* 8. Contact Form Section */
.contact-section {
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.contact-form-side h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.form-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 45px rgba(2, 27, 77, 0.06);
  border-radius: 24px;
  padding: 2.5rem;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(2, 27, 77, 0.12);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  transition: var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 122, 120, 0.08);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info-block h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  background: rgba(0, 122, 120, 0.08);
  border: 1px solid rgba(0, 122, 120, 0.15);
  color: var(--teal);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.info-text p,
.info-text a {
  font-size: 0.95rem;
  color: rgba(2, 27, 77, 0.75);
}

.info-text a:hover {
  color: var(--teal);
}

/* 9. Footer */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand .brand-logo {
  height: 44px;
  align-self: flex-start;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 0.25rem;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact-list svg {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

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

/* Animations */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

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

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation trigger styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Prevent any oversized element from spilling past the viewport on mobile */
img,
svg,
video {
  max-width: 100%;
}

/* Simple inner-page layout (About / Contact / list pages) */
.page-section {
  padding: 3.5rem 2rem 5rem;
}

.page-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  color: rgba(2, 27, 77, 0.8);
}

.page-layout {
  display: grid;
  /* min() prevents horizontal scroll on narrow phones */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  align-items: start;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-visual-card {
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-visual {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .placement-split {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .hero-section {
    padding: 4rem 0 5rem 0;
  }

  /* Header / navigation stacks and centers cleanly on tablets & phones */
  .mainnav {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  .topbar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .top-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
  }

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

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

  .certs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Keep the floating stat badge inside the screen */
  .about-stats-overlay {
    right: 50%;
    transform: translateX(50%);
    bottom: -24px;
  }

  .placement-visual {
    padding: 2rem;
  }

  .glass-card,
  .course-card,
  .testimonial-card,
  .form-card {
    padding: 1.75rem;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

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

  /* Stack the two card buttons so neither gets squeezed */
  .course-actions {
    flex-direction: column;
  }

  .course-meta {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  /* Shrink the big brand logo so it fits small screens */
  .brand img {
    height: 56px !important;
  }
}