/* ===================================================
   PHOENIX INSTITUTE OF LIFT TECHNOLOGY — Main Styles
   =================================================== */

/* --- CSS Variables --- */
:root {
  --purple: #5B3159;
  --pink: #ED2858;
  --coral: #F77D80;
  --white: #FFFFFF;
  --black: #000000;
  --light-grey: #F5F5F5;
  --text-dark: #222222;
  --text-grey: #555555;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: relative;
  width: 100%;
  height: 90px;
  background: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Geometric left purple block */
.site-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 30%;
  height: 100%;
  background: var(--purple);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  z-index: 0;
}

/* Geometric right coral block */
.site-header::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 30%;
  height: 100%;
  background: var(--coral);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

/* ===================================================
   NAVIGATION
   =================================================== */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list li a {
  display: block;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-list li a:hover,
.nav-list li a.active {
  color: var(--pink);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: clamp(360px, 52vw, 680px);
  background: #000;
  overflow: hidden;
}

/* Native HTML5 video — fills hero like a background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
  pointer-events: none;
  z-index: 2;
}

.hero-title {
  color: var(--white);
  font-size: clamp(22px, 3.8vw, 48px);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
  padding: 0 24px;
  line-height: 1.2;
}

/* ===================================================
   PAGE BANNER (inner pages)
   =================================================== */
.page-banner {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner-content::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--pink);
  margin: 0 auto 16px;
}

.page-banner-content h1 {
  color: var(--white);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ===================================================
   SECTION COMMON
   =================================================== */
section { padding: 70px 20px; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 8px;
  line-height: 1.2;
}

.section-underline {
  width: 50px;
  height: 3px;
  background: var(--pink);
  margin: 10px 0 20px;
}

.section-underline.center {
  margin: 10px auto 20px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-grey);
  max-width: 640px;
  line-height: 1.7;
}

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

/* ===================================================
   ABOUT HOME SECTION
   =================================================== */
.about-home {
  background: var(--white);
  padding: 50px 20px 0;
  overflow: hidden;
}

.about-home-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 0;
  align-items: end;
  /* height is set per breakpoint: 588px desktop, auto on mobile */
}

/* Heading: "ABOUT US" */
.about-heading {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Pink underline already handled by .section-underline */
.about-home-text .section-underline {
  margin: 6px auto 18px;
}

/* Subheading: "PHOENIX ELEVATE" */
.about-subheading {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.2;
}

/* Tagline */
.about-tagline {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
  font-style: normal;
}

/* Description paragraph */
.about-desc {
  font-size: 14px;
  color: var(--text-grey);
  line-height: 1.75;
  margin-bottom: 24px;
  text-align: justify;
  max-width: 380px;
}

.about-home-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 24px 20px;
}

.about-home-text .btn { align-self: center; }

/* Right column: technician image */
.about-home-img {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  overflow: hidden;
}

.about-home-img img {
  width: auto;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* ===================================================
   WHY CHOOSE US
   =================================================== */
.why-section {
  position: relative;
  background-image: url('../images-old/h-trans-web.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 20px;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.88);
}

.why-section .container { position: relative; z-index: 1; }

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

.why-card {
  text-align: center;
  padding: 16px;
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--pink);
}

.why-icon svg { width: 28px; height: 28px; }

.why-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-grey);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ===================================================
   COURSES HOME SECTION
   =================================================== */
.courses-home {
  background: var(--white);
  padding: 70px 20px;
}

.courses-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.courses-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
}

.courses-cards { display: flex; flex-direction: column; gap: 20px; }

.course-item {
  background: var(--light-grey);
  border-left: 4px solid var(--pink);
  padding: 18px 20px;
  border-radius: 4px;
}

.course-item .duration {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.course-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 4px;
}

/* ===================================================
   GALLERY STRIP
   =================================================== */
.gallery-strip {
  padding: 0;
  display: flex;
  overflow: hidden;
}

.gallery-strip img {
  flex: 1;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.3s;
}

.gallery-strip img:hover { filter: brightness(1); }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-block;
  padding: 11px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

.btn-pink:hover {
  background: #c41d45;
  color: var(--white);
}

.btn-outline-pink {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink);
}

.btn-outline-pink:hover {
  background: var(--pink);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  color: var(--white);
}

/* ===================================================
   ABOUT PAGE — ABOUT SECTION
   =================================================== */
.about-intro {
  background: var(--white);
  padding: 70px 20px 80px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}

.about-intro-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.about-intro-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

.about-info-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 8px;
}

.info-panel {
  padding: 22px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--white);
}

.info-panel.purple { background: var(--purple); }
.info-panel.coral { background: var(--coral); }

.info-panel p { color: rgba(255,255,255,0.92); }

/* ===================================================
   KEY FEATURES BAR
   =================================================== */
.features-bar {
  background: var(--pink);
  text-align: center;
  padding: 20px;
}

.features-bar h2 {
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.key-features {
  padding: 60px 20px;
  background: var(--white);
}

.key-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 10px;
}

.feature-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.feature-col .section-underline { margin-top: 0; margin-bottom: 14px; }

.feature-col p {
  font-size: 14px;
  color: var(--text-grey);
  line-height: 1.75;
}

/* ===================================================
   JOB OPPORTUNITIES
   =================================================== */
.job-section {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 20px;
}

.job-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.job-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.job-section .container { position: relative; z-index: 2; }

.job-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.job-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.job-title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.job-info-panel {
  background: rgba(255,255,255,0.95);
  padding: 28px 24px;
  border-radius: 4px;
}

.job-info-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}

.job-info-panel ul { padding-left: 0; }

.job-info-panel ul li {
  font-size: 13px;
  color: var(--text-grey);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-info-panel ul li::before {
  content: '•';
  color: var(--pink);
  font-weight: 700;
}

.job-features-panel {
  background: rgba(255,255,255,0.95);
  padding: 28px 24px;
  border-radius: 4px;
  margin-top: 14px;
}

.job-features-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}

.job-features-panel ul li {
  font-size: 13px;
  color: var(--text-grey);
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.job-features-panel ul li::before {
  content: '•';
  color: var(--pink);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===================================================
   STATS STRIP
   =================================================== */
.stats-strip {
  background: var(--black);
  padding: 50px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.stat-divider {
  width: 30px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 8px auto 0;
}

/* ===================================================
   ENROLL CTA
   =================================================== */
.enroll-cta {
  padding: 70px 20px;
  background: var(--white);
  text-align: center;
}

.enroll-cta h2 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.enroll-cta p {
  font-size: 15px;
  color: var(--text-grey);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ===================================================
   COURSES PAGE
   =================================================== */
.courses-intro {
  padding: 60px 20px;
  background: var(--white);
  text-align: center;
}

.courses-intro h2 {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.courses-intro .sub {
  font-size: 15px;
  color: var(--text-grey);
  max-width: 680px;
  margin: 0 auto 16px;
  font-style: italic;
}

.courses-intro .desc {
  font-size: 14.5px;
  color: var(--text-grey);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.8;
  text-align: left;
  padding: 0 20px;
}

.course-cards-section {
  padding: 60px 20px;
  background: var(--white);
}

.course-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.course-card {
  text-align: left;
}

.course-card-img-wrapper {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 0 20px 0;
  border: 6px solid #f3f3f3;
}

.course-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card .duration-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.course-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
  line-height: 1.3;
}

.course-card .eligibility {
  font-size: 13px;
  color: var(--text-grey);
  margin-bottom: 14px;
}

.placement-section {
  padding: 60px 20px;
  background: var(--light-grey);
  text-align: center;
}

.placement-section h2 {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.placement-section .sub {
  font-size: 15px;
  color: var(--text-grey);
  max-width: 640px;
  margin: 0 auto 16px;
  font-style: italic;
}

.placement-section .desc {
  font-size: 14.5px;
  color: var(--text-grey);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  position: relative;
  background: var(--pink);
  padding: 60px 40px;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* 3-column icon row (matching original screenshot) */
.contact-icons-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  width: 100%;
  margin-top: 16px;
}

.contact-icon-col .contact-icon {
  margin: 0 auto 10px;
}

.contact-icon-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.contact-icon-col p,
.contact-icon-col a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.contact-left-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.contact-left-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.contact-left h2 {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.contact-left .section-underline {
  background: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}

.contact-info-group {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-info-text h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.contact-right {
  background: var(--white);
  padding: 60px 48px;
}

.contact-right h2 {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.contact-right .section-underline { margin-bottom: 16px; }

.contact-right .intro {
  font-size: 14px;
  color: var(--text-grey);
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-form .form-group { margin-bottom: 14px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pink);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

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

.map-section { padding: 0; }

.map-open-link {
  padding: 10px 20px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.map-open-link a {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.map-open-link a:hover { opacity: 0.75; }

.map-section iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.8);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1140px;
  margin: 0 auto 40px;
}

.footer-about img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
}

.footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-contact-item {
  margin-bottom: 14px;
}

.footer-contact-item .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.footer-contact-item p, .footer-contact-item a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===================================================
   FLOATING WHATSAPP
   =================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75); }
}

/* ===================================================
   RESPONSIVE — DESKTOP ONLY (≥ 901 px)
   =================================================== */
@media (min-width: 901px) {
  .about-home-grid {
    height: 588px;
    overflow: hidden;
  }
}

/* ===================================================
   RESPONSIVE — TABLET  (≤ 900 px)
   =================================================== */
@media (max-width: 900px) {
  .about-home-grid,
  .courses-home-grid,
  .about-intro-grid,
  .job-section-grid,
  .course-cards-grid,
  .contact-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Image BELOW text on mobile/tablet */
  .about-home-img { order: 2; }
  .about-home-text { order: 1; }

  /* Remove fixed height so content can breathe */
  .about-home-grid {
    height: auto;
    overflow: visible;
  }

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

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

  .contact-left { min-height: 360px; padding: 40px 24px; }
  .contact-right { padding: 40px 24px; }
}

/* ===================================================
   RESPONSIVE — MOBILE  (≤ 600 px)
   =================================================== */
@media (max-width: 600px) {

  /* ── Header: keep logo at FULL original size ── */
  .site-header {
    height: 90px;       /* same as desktop — logo stays identical */
  }

  /* Narrow the coloured wings on mobile — more white behind the logo */
  .site-header::before { width: 18%; }   /* purple — colour unchanged */
  .site-header::after  { width: 18%; }   /* coral  — colour unchanged */

  /* DO NOT reduce logo — keep at 72px */
  .header-logo img { height: 72px; }

  /* ── Navigation: hamburger centred ── */
  .site-nav {
    justify-content: center;
    padding: 0;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 300;
  }

  .nav-list.open { display: flex; }

  .nav-list li a { padding: 14px 20px; border-bottom: 1px solid #eee; }

  .nav-toggle { display: flex; }

  /* ── Hero ── */
  .hero-section {
    height: clamp(220px, 56vw, 360px);
    min-height: 220px;
  }

  .hero-title {
    font-size: clamp(18px, 5.5vw, 28px);
    letter-spacing: 1.5px;
    padding: 0 16px;
  }

  /* ── About Home ── */
  .about-home { padding: 36px 16px 0; }

  .about-home-grid {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
    gap: 24px;
  }

  .about-home-text {
    order: 1;
    padding: 0 8px 0;
    align-items: center;
  }

  .about-home-img {
    order: 2;
    justify-content: center;
    align-items: center;
    height: auto;
    overflow: visible;
    padding-bottom: 16px;
  }

  .about-home-img img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .about-desc { max-width: 100%; text-align: left; }

  /* ── Why Choose Us ── */
  .why-grid,
  .key-features-grid {
    grid-template-columns: 1fr;
  }

  .why-section { background-attachment: scroll; } /* fixes mobile parallax glitch */

  /* ── Courses ── */
  .courses-home { padding: 48px 16px; }

  .courses-home-grid {
    gap: 28px;
    margin-top: 24px;
  }

  .courses-img img { height: 220px; }

  /* ── Gallery ── */
  .gallery-strip { flex-wrap: wrap; }
  .gallery-strip img { flex: none; width: 50%; height: 160px; }

  /* ── Stats ── */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* ── About page ── */
  .about-info-panels { grid-template-columns: 1fr; }

  /* ── Page banner (inner pages) ── */
  .page-banner { height: 200px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* ── Courses page ── */
  .course-card-img-wrapper { width: 180px; height: 180px; }

  /* ── WhatsApp float: keep appropriately sized ── */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 16px;
  }

  /* ── Prevent horizontal overflow ── */
  .container { padding: 0 4px; }
  section { padding: 48px 16px; }
}
