/* ===== SPOOF TRIAL FONT (OTF) ===== */
@font-face {
    font-family: "Spoof Trial";
    src: url("fonts/SpoofTrial-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Spoof Trial";
    src: url("fonts/SpoofTrial-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Spoof Trial";
    src: url("fonts/SpoofTrial-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Spoof Trial", Inter, system-ui, sans-serif;
}
:root {
    --primary-green: #76bc21;
    --dark-green: #5a9018;
    --cta-orange: #ff9f1c;
    --bg-light: #f2fbe8;
    --white: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --transition: all 0.3s ease;
}
body {
    background: #ffffff;
}



/* HEADER WRAPPER */
.header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* HEADER CONTENT */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 5%;
}

/* LOGO */
.logo img {
    width: 154px;
    height: 89px;
    object-fit: contain;    
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 70px;
}

/* DESKTOP NAV */
.nav-links {
    display: none;
    gap: 70px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-green);
}

/* CTA BUTTON (DESKTOP ONLY) */
.btn-header {
    background: var(--cta-orange);
    color: white;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-header:hover {
    box-shadow: 0 6px 18px rgba(255,159,28,0.35);
    transform: translateY(-1px);
}

/* BURGER */
.burger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    width: 26px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1.5rem 5%;
    gap: 1.2rem;
    background: var(--white);
    border-radius: 0 0 28px 28px;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
}

/* DESKTOP BREAKPOINT */
@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }

    .burger,
    .mobile-menu {
        display: none;
    }

    .desktop-only {
        display: inline-block;
    }
}

/* MOBILE BREAKPOINT */
@media (max-width: 991px) {
    .desktop-only {
        display: none;
    }

    .mobile-menu.active {
        display: flex;
    }
}
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1.5rem 5%;
    gap: 1.2rem;
    background: var(--white);
    border-radius: 0 0 28px 28px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== HERO + FORM WRAPPER ===== */
.main-wrapper {
    position: relative;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    padding: 40px 5% 0; /* reduced top padding */
    z-index: 2;
    background: #ffffff;
}

/* bottom 50% background */
.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: #DFE8C7;
    z-index: -1;
}

.hero-banner {
    position: relative;
    max-width: 1363px;
    margin: 0 auto;
    height: 520px;
    border-radius: 75px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ensures top-left text alignment */
}

/* Banner Image */
.hero-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Dark gradient overlay */
.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.25) 45%,
        rgba(0,0,0,0.05) 70%
    );
}

/* Custom select arrow */
.form-card select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("images/dropdownarrow.png");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;

    padding-right: 48px; /* space for arrow */
    cursor: pointer;
}

/* Text box */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-left: 80px;
    color: #ffffff;
    animation: fadeUp 0.9s ease forwards;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 3vw, 4.1rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 520px;
    margin-bottom: 28px;
    opacity: 0.95;
}

/* CTA */
.hero-btn {
    display: inline-block;
    background: var(--primary-green);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.hero-btn:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

/* ===== FORM SECTION ===== */
.form-section {
    background: #DFE8C7;
    padding: 80px 5% 100px;
    position: relative;
    z-index: 1;
}
/* Inner grid */
.form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    animation: fadeUp 1s ease forwards;
}

/* Left text */
.form-text h2 {
    font-size: 76px;
    color: var(--primary-green);
    margin-bottom: 6px;
}

.form-text h3 {
    font-size: 76px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
}

.form-text button {
    background: var(--cta-orange);
    border: none;
    color: #fff;
    padding: 14px 34px;
    border-radius: 30px;
    font-size: 25px;
    font-weight: 700;
    cursor: pointer;
}

/* Right form */
.form-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-card input,
.form-card select {
    padding: 16px 20px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    outline: none;
}
@media (max-width: 768px) {
    .hero-banner {
        height: 420px;
        border-radius: 35px;
    }

    .hero-section {
        height: 210px; /* 50% of 420 */
    }

    .form-section {
        margin-top: -210px;
        padding-top: 210px;
    }
}

@media (max-width: 1024px) {
    .hero-banner {
        height: 460px;
        border-radius: 50px;
    }

    .hero-section {
        padding-top: 60px;
    }

    .hero-section::after {
        height: 55%;
    }

    .form-section {
        padding-top: 100px;
        
    }
}
@media (max-width: 768px) {
    .hero-banner {
        height: 420px;
        border-radius: 32px;
    }

    .hero-section {
        padding-top: 40px;
    }

    /* More green visible on mobile */
    .hero-section::after {
        height: 65%;
    }

    .form-section {
        padding: 80px 5% 90px;
        padding-top: 480px !important;
    }
}
@media (max-width: 480px) {
    .hero-banner {
        height: 380px;
        border-radius: 24px;
    }

    .hero-section::after {
        height: 70%;
    }

    .form-section {
        padding-top: 70px;
    }
}



/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-banner {
        height: 460px;
        border-radius: 45px;
    }

    .hero-content {
        padding-left: 40px;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .form-section {
        
       
    }
}

@media (max-width: 600px) {
    .hero-banner {
        height: 420px;
        border-radius: 35px;
    }

    .hero-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* ===== MOBILE/TABLET FIX FOR SPLIT BACKGROUND ===== */
@media (max-width: 991px) {
    /* Give hero a consistent white cap so green doesn't appear behind header */
    .hero-section {
        padding: 26px 5% 0; /* tighter top spacing on mobile */
        background: #ffffff;
    }

    /* Replace percentage split with a fixed white cap height */
    .hero-section::after {
        height: auto;                /* override the old % rule */
        top: 160px;                  /* <-- white visible until this point */
        bottom: 0;
        background: #DFE8C7;
    }

    /* Banner sizing */
    .hero-banner {
        height: 420px;
        border-radius: 32px;
    }

    /* Content padding inside banner */
    .hero-content {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 18px;
        max-width: 95%;
    }

    .hero-btn {
        padding: 14px 22px;
        border-radius: 28px;
    }

    /* Form section spacing */
    .form-section {
        padding: 40px 5% 90px;  /* keep content clearly below hero */
        
    }
}

/* Smaller phones */
@media (max-width: 480px) {
    .hero-section::after {
        top: 150px;  /* slightly less white cap on small screens */
    }

    .hero-banner {
        height: 380px;
        border-radius: 24px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }
}
.header-spacer {
    height: 8px;
    background: #ffffff;
}



/* =========================================================
   BACHELOR DEGREES SECTION
   ========================================================= */

.degrees-section {
  position: relative;
  background: #ffffff;
  padding: 120px 5% 0px;
  overflow-x: hidden;
}

.degrees-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: flex-start; /* 🔥 TOP ALIGN (matches form section) */
  position: relative;
}
/* Keep degrees content above watermark */
.degrees-container {
  position: relative;
  z-index: 2;                /* content above watermark */
}
/* Prevent horizontal scroll from oversized watermark */
.degrees-section {
  position: relative;
  overflow-x: hidden;        /* prevent scroll */
}
/* LEFT CONTENT */
.degrees-eyebrow {
  color: var(--primary-green);
  font-size: 1.25rem;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.degrees-title {
  font-size: clamp(4.8rem, 7vw, 6.8rem); /* BIG like Figma */
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 18px;
  white-space: nowrap;
  position: relative;
  z-index: 4;
}
.degrees-title span {
  color: var(--primary-green);
  position: relative;
  z-index: 5; /* ABOVE image */
}

.degrees-subtitle {
  font-size: 43px;
  position: relative;
  z-index: 11;
  font-weight: 500;
  color: #333;
  margin-bottom: 28px;
}

.degrees-description {
  font-size: 22px;
  line-height: 1.75;
  color: #555;
  max-width: 670px;
  text-align: justify;        /* JUSTIFIED like Figma */
  text-justify: inter-word;
}

/* RIGHT IMAGE */
.degrees-image {
  position: relative;
  z-index: 1;
  margin-left: -350px;      /* pulls image under text */
  justify-self: end;        /* stick to right edge */
}
.degrees-image img {
  width: 100%;
  max-width: 520px;         /* BIGGER image */
  height: auto;
  border-radius: 70px;
  object-fit: cover;
  object-position: top center;
}

/* ===== ISTEC FULL-WIDTH WATERMARK ===== */
/* ===== ISTEC WATERMARK (FULL-WIDTH, GRADIENT STROKE LIKE FIGMA) ===== */
.istec-watermark {
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  width: 120vw;              /* FULL SCREEN WIDTH + bleed */
  max-width: none;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
/* Make the SVG scale full-width */
.istec-watermark svg {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 1024px) {
  .degrees-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .degrees-image {
    margin-left: 0;
    margin-top: 0;
    order: -1;
    justify-self: center;
  }

  .degrees-title {
    white-space: normal;
    font-size: 3.2rem;
  }
}
/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1024px) {
  .degrees-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .degrees-image {
    order: -1;
  }

  .degrees-image img {
    max-width: 360px;
    border-radius: 50px;
  }

  .istec-watermark {
    bottom: -20px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 768px) {
  .degrees-section {
    padding: 90px 5% 120px;
  }

  .degrees-eyebrow {
    font-size: 28px;
  }

  .degrees-title {
    font-size: 3rem;
  }

  .degrees-subtitle {
    font-size: 1.2rem;
  }

  .degrees-description {
    font-size: 0.95rem;
  }

  .degrees-image img {
    max-width: 300px;
    border-radius: 40px;
  }

  .istec-watermark {
    font-size: 12rem;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */
@media (max-width: 480px) {
  .degrees-title {
    font-size: 2.6rem;
  }

  .degrees-image img {
    max-width: 260px;
    border-radius: 32px;
  }

  .istec-watermark {
    font-size: 9rem;
  }
}

/* ================================
   FINAL ISTEC WATERMARK FIX
   ================================ */

/* Bachelor section must create space for watermark */
.degrees-section{
  position: relative;
  background: #ffffff;
  padding: 120px 5% 280px; /* bottom space for ISTEC */
  overflow: hidden;
}

/* Content always ABOVE watermark */
.degrees-container{
  position: relative;
  z-index: 1;
}

/* ISTEC watermark – full screen width */
.istec-watermark{
  position: absolute;
  left: 50%;
 bottom: 0;            /* close to section */
  transform: translateX(-50%);
  width: 100vw;                  /* FULL SCREEN */
  max-width: none;
  z-index: 1;
  pointer-events: none;
}
.degrees-title{
  position: relative;
  z-index: 10; /* higher than image */
}

.degrees-title span{
  position: relative;
  z-index: 11;
}
.istec-watermark img{
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------
   IMAGE overlaps ISTEC slightly
   ----------------------------- */
.degrees-image{
  position: relative;
  z-index: 3;   /* BELOW watermark */
}

/* -----------------------------
   TEXT NEVER overlaps ISTEC
   ----------------------------- */
.degrees-description{
  position: relative;
  z-index: 4;
  
}

/* -----------------------------
   MOBILE REFINEMENT
   ----------------------------- */
@media (max-width: 768px){
  .degrees-section{
    padding: 90px 5% 140px;
  }

  .istec-watermark{
    height: 200px;
  }
}

@media (max-width: 480px){
  .istec-watermark{
    height: 180px;
  }
}
/* ================================
   FINAL ISTEC WATERMARK FIX
   ================================ */

/* Bachelor section must create space for watermark */
.degrees-section{
  position: relative;
  background: #fff;
  padding: 120px 5% 380px;   /* ⬅️ EXTRA bottom space for ISTEC */
  overflow: hidden;
}

/* Content always ABOVE watermark */
.degrees-container{
  position: relative;
  z-index: 3;
}

/* ISTEC watermark – full screen width */
.istec-watermark {
  position: absolute;

  /* START FROM SCREEN LEFT, NOT SECTION */
  left: 50%;
  transform: translateX(-50%);

  /* PLACE UNDER STUDENT IMAGE */
   /* top: calc(100% - 300px);  /* adjust if needed */

  width: 100vw;             /* FULL SCREEN WIDTH */
  max-width: none;

  height: auto;             /* IMPORTANT: allow full height */
  min-height: 380px;        /* ensures visible height */

  z-index: 6;               /* ABOVE student image */
  pointer-events: none;
}
.istec-watermark {
  object-fit: contain;
}

.istec-watermark svg{
  width: 100%;
  height: 100%;
  display: block;
}

/* -----------------------------
   IMAGE overlaps ISTEC slightly
   ----------------------------- */
.degrees-image{
  position: relative;
  z-index: 4;               /* ⬅️ ABOVE watermark */
}

/* -----------------------------
   TEXT NEVER overlaps ISTEC
   ----------------------------- */
.degrees-description{
  position: relative;
  z-index: 11;
  margin-bottom: 40px;      /* breathing space above ISTEC */
}

/* -----------------------------
   MOBILE REFINEMENT
   ----------------------------- */
@media (max-width: 768px){
  .degrees-section{
    padding: 90px 5% 140px;
  }

  .istec-watermark{
    height: 200px;
  }
}

@media (max-width: 480px){
  .istec-watermark{
    height: 180px;
  }
}

@media (max-width: 991px){
  .istec-watermark{
    display: none !important;
  }
}

/* ================================
   WHY CHOOSE SECTION
   ================================ */

.why-section{
  padding: 0px 5% 10px; /* very close to ISTEC watermark */
  background:#fff;
}

.why-header span{
  color: var(--primary-green);
  font-weight: 500;
  font-size: 43px;
}

.why-header h2{
  font-size: clamp(2rem, 3vw, 3rem);
  font-size: 63px;
  font-weight: 700;
  margin: 6px 0 40px;
}

.qmark{
  color: var(--primary-green);
  font-weight: 700;
}

.why-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.why-slider {
  display: flex;
  transition: transform 0.6s ease;
}
.why-slider::-webkit-scrollbar{ display:none; }

/* Cards */
.why-card {
  min-width: 100%;
  max-width: 100%;
  background: linear-gradient(135deg, #b7d400, #7bb100);
  border-radius: 48px;
  padding: 64px;
  color: #fff;
  position: relative;
}

.why-icon {
  position: absolute;
  right: 48px;
  top: 48px;
  width: 192px;
}

.why-card h3{
  font-size: 153px;
  line-height: 1;
}

.subtitle{
  font-size: 50px;
  margin-bottom: 18px;
}

.desc{
  font-size: 23px;
  line-height: 1.6;
  margin-top: 80px;
  margin-bottom: 80px;
  
}



/* arrows */
.slider-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.slider-btn img{
  width:46px;
  height:46px;
}
.slider-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ================================
   MOBILE
   ================================ */
/* mobile */
@media (max-width: 768px) {
  .why-card {
    padding: 36px;
    border-radius: 32px;
  }

  .why-icon {
    width: 48px;
    right: 24px;
    top: 24px;
  }
}

@media (max-width: 991px){
  .degrees-section{
    padding-bottom: 0px !important; /* clean mobile spacing */
  }
}

/* =====================================================
   SLIDER ARROWS – OUTSIDE CARD, BOTTOM RIGHT
===================================================== */

.why-slider-wrapper {
  position: relative;
  padding-bottom: 90px; /* space for arrows */
}

/* Common arrow style */
.slider-btn {
  position: absolute;
  bottom: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* RIGHT arrow */
.slider-btn.right {
  right: 0;
}

/* LEFT arrow */
.slider-btn.left {
  right: 70px;
}

.slider-btn img {
  width: 52px;
  height: 52px;
}

/* Disabled arrow */
.slider-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* =========================
   MOBILE ADJUSTMENT
========================= */
@media (max-width: 768px) {
  .why-slider-wrapper {
    padding-bottom: 70px;
  }

  .slider-btn.left {
    right: 64px;
  }

  .slider-btn img {
    width: 44px;
    height: 44px;
  }
}
* ================================
   SLIDER TRACK
================================ */

.why-slider {
  display: flex;
  gap: 32px;                     /* 👈 guaranteed spacing */
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory; /* 👈 snap per card */
  padding-right: 32px;           /* space after last card */
  padding-left: 4px;             /* small leading space */
  scrollbar-width: none;
}

.why-slider::-webkit-scrollbar {
  display: none;
}

/* ================================
   CARD
================================ */

.why-card {
  flex: 0 0 calc(100% - 80px);    /* 👈 one card per view */
  max-width: 900px;
  scroll-snap-align: start;       /* 👈 snap cleanly */
  background: linear-gradient(135deg, #b7d400, #7bb100);
  border-radius: 48px;
  padding: 48px;
  color: #fff;
  position: relative;
}

/* ================================
   DESKTOP (multiple cards visible)
================================ */
@media (min-width: 1200px) {
  .why-card {
    flex: 0 0 620px;              /* 👈 fixed desktop width */
  }
}

/* ======================================
   WHY CARD – RESPONSIVE TYPOGRAPHY FIX
====================================== */

/* ---------- TABLET (≤ 1024px) ---------- */
@media (max-width: 1024px) {

  .why-card h3 {
    font-size: 96px;      /* ↓ from 153px */
  }

  .subtitle {
    font-size: 34px;      /* ↓ from 50px */
  }

  .desc {
    font-size: 18px;      /* ↓ from 23px */
  }

  .why-icon {
    width: 120px;         /* ↓ from 192px */
  }
}

/* ---------- MOBILE (≤ 768px) ---------- */
@media (max-width: 768px) {

    .why-header span {
        font-size: 28px;
    }
  .why-header h2{
    font-size: 36px;
  }
  .why-card {
    padding: 36px;
    border-radius: 32px;
  }

  .why-card h3 {
    font-size: 64px;      /* strong but fits */
  }

  .subtitle {
    font-size: 24px;
  }

  .desc {
    font-size: 15px;
    line-height: 1.55;
  }

  .why-icon {
    width: 56px;
    right: 24px;
    top: 24px;
  }
}

/* ---------- SMALL MOBILE (≤ 480px) ---------- */
@media (max-width: 480px) {

  .why-card h3 {
    font-size: 48px;
  }

  .subtitle {
    font-size: 20px;
  }

  .desc {
    font-size: 14px;
  }
}

/* ======================================
   WHY CARD – FINAL RESPONSIVE OVERRIDE
   (SAFE FIX – KEEP EXISTING CSS)
====================================== */

/* Tablet */
@media (max-width: 1024px) {

  .why-card {
    padding: 40px;
  }

  .why-card h3 {
    font-size: 96px;
  }

  .subtitle {
    font-size: 32px;
  }

  .desc {
    font-size: 18px;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .why-icon {
    width: 120px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .why-card {
    padding: 28px 24px 32px;
    border-radius: 28px;
  }

  .why-card h3 {
    font-size: 56px;
    line-height: 1.05;
  }

  .subtitle {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .desc {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 16px;
    margin-bottom: 16px; /* 🔥 removes extra space */
  }

  .why-icon {
    width: 48px;
    right: 20px;
    top: 20px;
  }
}

/* Small mobile */
@media (max-width: 480px) {

  .why-card h3 {
    font-size: 44px;
  }

  .subtitle {
    font-size: 18px;
  }

  .desc {
    font-size: 14px;
  }
}
/* ======================================
   MATCH WHY SECTION WIDTH TO DEGREES
====================================== */

.why-section {
  padding-left: 5%;
  padding-right: 5%;
}

/* inner alignment like .degrees-container */
.why-section > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


/* =========================================
   DEGREES SECTION – RESPONSIVE ONLY
   (NO DESKTOP CHANGES)
========================================= */

/* ---------- TABLET (≤ 1024px) ---------- */
@media (max-width: 1024px) {

  .degrees-container {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .degrees-image {
    margin-left: 0;
    order: -1;
    justify-self: center;
  }

  .degrees-image img {
    max-width: 420px;
    border-radius: 48px;
  }

  .degrees-title {
    white-space: normal;
    font-size: 3.6rem;
    line-height: 1;
  }

  .degrees-subtitle {
    font-size: 1.8rem;
  }

  .degrees-description {
    font-size: 1.05rem;
    max-width: 100%;
  }
}

/* ---------- MOBILE (≤ 768px) ---------- */
@media (max-width: 768px) {

  .degrees-section {
    padding: 90px 5% 140px;
  }

  .degrees-container {
    gap: 48px;
  }

  .degrees-title {
    font-size: 3rem;
  }

  .degrees-subtitle {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  .degrees-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .degrees-image img {
    max-width: 320px;
    border-radius: 40px;
  }

  /* watermark hidden on mobile as per design */
  .istec-watermark {
    display: none !important;
  }
}

/* ---------- SMALL MOBILE (≤ 480px) ---------- */
@media (max-width: 480px) {

  .degrees-title {
    font-size: 2.6rem;
  }

  .degrees-subtitle {
    font-size: 1.1rem;
  }

  .degrees-description {
    font-size: 0.9rem;
  }

  .degrees-image img {
    max-width: 260px;
    border-radius: 32px;
  }
}
/* =========================================
   FIX TEXT OVERFLOW – RESPONSIVE ONLY
   (DOES NOT AFFECT DESKTOP)
========================================= */

/* Tablet & below */
@media (max-width: 1024px) {

  .degrees-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .degrees-title {
    white-space: normal;          /* allow wrapping */
    word-break: break-word;       /* break long words if needed */
    overflow-wrap: anywhere;      /* modern safe wrap */
  }

  .degrees-subtitle,
  .degrees-description {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .degrees-title {
    font-size: 36px;
    line-height: 1.05;
    white-space: nowrap;
  }

  .degrees-subtitle {
    font-size: 1.2rem;
  }

  .degrees-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Small mobile */
@media (max-width: 480px) {

  .degrees-title {
    font-size: 36px;
    white-space: nowrap;
  }

  .degrees-subtitle {
    font-size: 1.1rem;
  }

  .degrees-description {
    font-size: 0.9rem;
  }
}


/* =========================================
   FORM SECTION – RESPONSIVE ONLY
   (No desktop changes)
========================================= */

/* Tablet & below */
@media (max-width: 1024px) {

  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  
  }

  .form-text h2,
  .form-text h3 {
    
  }

  .form-text button {
    margin-top: 20px;
  }

  .form-card {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .form-section {
    padding: 60px 5% 80px;
  }

  .form-text h2 {
    font-size: 42px;
  }

  .form-text h3 {
    font-size: 42px;
    line-height: 1.1;
  }

  .form-text button {
    font-size: 18px;
    padding: 12px 28px;
  }

  .form-card {
    width: 100%;
    max-width: 100%;
  }

  .form-card input,
  .form-card select {
    font-size: 0.95rem;
    padding: 14px 18px;
  }
}

/* Small mobile */
@media (max-width: 480px) {

  .form-text h2 {
    font-size: 34px;
  }

  .form-text h3 {
    font-size: 34px;
  }

  .form-text button {
    font-size: 16px;
    padding: 12px 24px;
  }

  .form-card input,
  .form-card select {
    font-size: 0.9rem;
    padding: 13px 16px;
  }
}
