:root {
  --primary: #2f6f73;
  --primary-deep: #163d50;
  --accent: #0f5d66;
  --ink: #1a3139;
  --muted: #61737b;
  --bg: #f5f7f6;
  --surface: #ffffff;
  --surface-soft: #eef5f3;
  --line: rgba(22, 61, 80, 0.12);
  --shadow: 0 18px 50px rgba(18, 48, 60, 0.08);
  --radius: 28px;
  --container: 1160px;
  --topbar-height: 40px;
  --header-height: 78px;
  --header-offset: calc(var(--topbar-height) + var(--header-height));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  line-height: 1.75;
  padding-top: var(--header-offset);
  background:
    radial-gradient(circle at top left, rgba(47, 111, 115, 0.15), transparent 28%),
    linear-gradient(180deg, #fbfcfc 0%, var(--bg) 100%);
}

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

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

input,
select,
textarea,
button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(245, 247, 246, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 200px;
  height: 100px;
  border-radius: 16px;
  object-fit: contain;
}

.brand span {
  color: var(--primary-deep);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-menu a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: black;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-deep);
  background: rgba(47, 111, 115, 0.1);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
}

.hero,
.page-banner {
  position: relative;
  overflow: hidden;
}

.hero::after,
.page-banner::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(47, 111, 115, 0.18), transparent 67%);
  pointer-events: none;
}

.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero-grid,
.editorial-grid,
.contact-grid,
.form-section,
.split-spotlight,
.visual-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.visual-story {
  align-items: start;
}

.about-inline-image {
  display: none;
  margin: 1.25rem 0 1.5rem;
}

.hero-copy h1,
.page-banner h1,
.section-title h2,
.text-block h2 {
  margin: 0;
  line-height: 1.08;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  max-width: 11ch;
}

.page-banner {
  padding: 5rem 0 3rem;
}

.page-banner h1 {
  /* max-width: 14ch; */
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-tagline {
  margin: 1rem 0 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--primary);
}

.lead,
.hero-text,
.text-block p,
.section-title p,
.update-row p,
.course-line p,
.contact-list p,
.site-footer p {
  color: black;
}
.hero-copy .hero-tagline {
  margin-top: 0.25rem !important;
  margin-bottom: 0.55rem !important;
}

.hero-copy .hero-text {
  margin-top: 0.35rem !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
}

.hero-copy .hero-text + .hero-text {
  margin-top: 0.1rem !important;
}

/* Final mobile top-bar single-line fix */
@media (max-width: 720px) {
  .top-bar {
    padding: 6px 0 !important;
  }

  .top-bar-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.45rem !important;
    text-align: left !important;
  }

  .top-bar-left,
  .top-bar-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .top-bar-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 0.45rem !important;
    overflow-x: auto !important;
    scrollbar-width: none;
  }

  .top-bar-left::-webkit-scrollbar {
    display: none;
  }

  .top-bar-left a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    font-size: 10px !important;
    gap: 4px !important;
  }

  .top-bar-left a:last-child {
    display: inline-flex !important;
  }

  .top-bar-left a:first-child::after {
    content: "|" !important;
    margin-left: 0.45rem;
    opacity: 0.75;
  }

  .top-bar-right {
    flex: 0 0 auto !important;
    gap: 0.3rem !important;
  }

  .top-bar-social {
    width: 22px !important;
    height: 22px !important;
  }

  .top-bar-social svg {
    width: 12px !important;
    height: 12px !important;
  }
}

@media (max-width: 480px) {
  .top-bar-left {
    gap: 0.35rem !important;
  }

  .top-bar-left a {
    font-size: 9px !important;
  }

  .top-bar-left a:first-child::after {
    margin-left: 0.35rem;
  }

  .top-bar-right {
    gap: 0.25rem !important;
  }

  .top-bar-social {
    width: 20px !important;
    height: 20px !important;
  }
}

.course-card {
  position: relative;
}

.course-img-wrap {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.course-card--software .course-img-wrap {
  background-image:
    linear-gradient(rgba(16, 38, 55, 0.2), rgba(16, 38, 55, 0.2)),
    url("../sdev.jpeg");
}

.course-card--graphic .course-img-wrap {
  background-image:
    linear-gradient(rgba(51, 24, 68, 0.12), rgba(51, 24, 68, 0.12)),
    url("../gd.png");
}

.course-card--web .course-img-wrap {
  background-image:
    linear-gradient(rgba(8, 54, 70, 0.16), rgba(8, 54, 70, 0.16)),
    url("../sdesign.png");
}

@media (max-width: 720px) {
  .footer-bottom,
  .footer-bottom .container,
  .footer-bottom p {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 720px) {
  .site-footer .footer-grid > div:last-child p,
  .site-footer .footer-grid > div:last-child p a {
    display: block !important;
    width: auto !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.site-header {
  position: relative;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: #0f5d66;
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 720px) {
  .footer-bottom .container,
  .footer-bottom p {
    text-align: center !important;
  }
}

/* Final top-bar/header no-gap fix */
.top-bar {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

.site-header {
  top: calc(var(--topbar-height) - 1px) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.top-bar + .site-header {
  margin-top: 0 !important;
}

/* Mobile stat-line single-row fix */
@media (max-width: 720px) {
  .stat-line {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    align-items: start !important;
  }

  .stat-line div {
    padding-top: 0.7rem !important;
  }

  .stat-line strong {
    font-size: 1.1rem !important;
    line-height: 1.15 !important;
  }

  .stat-line span {
    display: block !important;
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 480px) {
  .stat-line {
    gap: 0.4rem !important;
  }

  .stat-line strong {
    font-size: 1rem !important;
  }

  .stat-line span {
    font-size: 0.7rem !important;
  }
}

@media (max-width: 720px) {
  .footer-bottom p {
    text-align: center !important;
    width: 100%;
  }
}

.hero-actions {
  margin-top: 0.4rem !important;
  margin-bottom: 0.5rem !important;
  transform: none !important;
}

/* Final mobile top-bar single-line fix */
@media (max-width: 720px) {
  .top-bar {
    padding: 6px 0 !important;
  }

  .top-bar-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.45rem !important;
    text-align: left !important;
  }

  .top-bar-left,
  .top-bar-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .top-bar-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 0.45rem !important;
    overflow-x: auto !important;
    scrollbar-width: none;
  }

  .top-bar-left::-webkit-scrollbar {
    display: none;
  }

  .top-bar-left a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    font-size: 10px !important;
    gap: 4px !important;
  }

  .top-bar-left a:last-child {
    display: inline-flex !important;
  }

  .top-bar-left a:first-child::after {
    content: "|" !important;
    margin-left: 0.45rem;
    opacity: 0.75;
  }

  .top-bar-right {
    flex: 0 0 auto !important;
    gap: 0.3rem !important;
  }

  .top-bar-social {
    width: 22px !important;
    height: 22px !important;
  }

  .top-bar-social svg {
    width: 12px !important;
    height: 12px !important;
  }
}

@media (max-width: 480px) {
  .top-bar-left {
    gap: 0.35rem !important;
  }

  .top-bar-left a {
    font-size: 9px !important;
  }

  .top-bar-left a:first-child::after {
    margin-left: 0.35rem;
  }

  .top-bar-right {
    gap: 0.25rem !important;
  }

  .top-bar-social {
    width: 20px !important;
    height: 20px !important;
  }
}

@media (max-width: 720px) {
  body {
    margin: 8px;
  }
}

.home-courses-section {
  padding-bottom: 2.5rem;
}

.home-environment-section {
  padding-top: 2.5rem;
}

.home-courses-section + .section {
  margin-top: -1rem;
}

@media (max-width: 720px) {
  .site-footer .brand-footer img {
    width: 200px !important;
  }

  .site-footer .footer-grid > :not(:first-child),
  .site-footer .footer-links,
  .site-footer h3,
  .site-footer p {
    text-align: center !important;
  }

  .site-footer .footer-links {
    justify-items: center !important;
  }

  .site-footer .footer-grid > :not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .site-footer .footer-links a,
  .site-footer p {
    display: block;
    width: 100%;
    margin: 0;
    text-align: left !important;
  }

  .site-footer .footer-links {
    justify-items: stretch !important;
    width: 100%;
  }

  .site-footer h3 {
    text-align: left !important;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-footer .brand-footer img {
    width: 180px !important;
  }

  .site-footer .footer-grid > :not(:first-child),
  .site-footer .footer-links,
  .site-footer h3,
  .site-footer p {
    text-align: center !important;
  }

  .site-footer .footer-grid > :not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .site-footer .footer-links a,
  .site-footer p {
    display: block;
    width: 100%;
    margin: 0;
    /* text-align: left !important; */
  }

  .site-footer .footer-links {
    justify-items: stretch !important;
    width: 100%;
  }

  .site-footer h3 {
    text-align: left !important;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .top-bar-left {
    gap: 0.45rem !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
  }

  .top-bar-left a {
    display: inline-flex !important;
    white-space: nowrap !important;
    font-size: 10px !important;
  }

  .top-bar-left a:last-child {
    display: inline-flex !important;
  }
}

@media (max-width: 520px) {
  .top-bar-left {
    gap: 0.35rem !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
  }

  .top-bar-left a {
    font-size: 9px !important;
  }

  .top-bar-left a:last-child {
    display: inline-flex !important;
  }
}

.hero-mobile-visual {
  display: none;
}

.why-mobile-image {
  display: none;
}

.environment-mobile-image {
  display: none;
}

@media (max-width: 720px) {
  main,
  main .text-block,
  main .section-title,
  main .soft-panel,
  main .form-card,
  main .download-callout,
  main .contact-card,
  main .policy-panel,
  main .course-card-body,
  main .update-row,
  main .notice-card,
  main .section-heading-center {
    text-align: center !important;
  }

  main .course-card-body,
  main .feature-list,
  main .contact-list,
  main .footer-links {
    align-items: center;
  }

  main .course-card-body h3,
  main .course-card-body p,
  main .text-block p,
  main .section-title p,
  main .update-row p,
  main .contact-list p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .courses-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    justify-items: stretch !important;
  }

  .course-card {
    width: 100% !important;
    text-align: center !important;
  }

  .course-card-body {
    align-items: center !important;
  }

  .course-card-body h3,
  .course-card-body p {
    width: 100%;
    text-align: center !important;
  }

  .courses-grid .course-card {
    background: linear-gradient(180deg, #ffffff 0%, #eef6f5 100%) !important;
    border: 1px solid rgba(47, 111, 115, 0.18) !important;
    box-shadow: 0 14px 30px rgba(22, 61, 80, 0.1) !important;
  }

  .courses-grid .course-card-body {
    background: transparent !important;
  }

  .courses-grid .course-card-body h3 {
    color: var(--primary-deep) !important;
  }

  .courses-grid .course-card-body p {
    color: #49626c !important;
  }

  .feature-list {
    align-items: stretch !important;
    text-align: left !important;
  }

  .feature-item {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .feature-item span:last-child {
    flex: 1;
    line-height: 1.6;
  }

  .feature-icon {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .cta-text h2 {
    line-height: 1.12 !important;
    margin-bottom: 0.35rem !important;
  }

  .cta-text p {
    margin-top: 0 !important;
  }

  .hero-mobile-visual {
    display: block;
    margin: 1rem auto 0.5rem;
  }

  .hero-mobile-visual .hero-main-img {
    height: 240px;
    border-radius: 24px;
    object-position: top;
  }

  .hero-visual {
    display: none !important;
  }

  .why-mobile-image {
    display: block;
    margin: 1rem auto 1.25rem;
  }

  .editorial-grid .image-frame {
    display: none !important;
  }

  .visual-story .image-frame {
    display: none !important;
  }

  .about-inline-image {
    display: block;
    margin: 1rem auto 1.25rem;
  }

  .environment-mobile-image {
    display: block;
    margin: 1rem auto 1.25rem;
  }

  .split-spotlight .page-visual {
    display: none !important;
  }

  #application-form .form-card,
  #application-form .form-card h2,
  #application-form .form-group,
  #application-form .form-group label,
  #application-form .form-group input,
  #application-form .form-group select,
  #application-form .form-group textarea {
    text-align: left !important;
  }

  #application-form .form-card .btn {
    justify-content: center;
  }

  .updates-right,
  .updates-right .notice-card,
  .updates-right .notice-card h3,
  .updates-right .notice-card p,
  .updates-right .notice-card .n-label,
  .updates-right .notice-card .n-btn,
  .soft-panel .update-row,
  .soft-panel .update-row h3,
  .soft-panel .update-row p,
  .soft-panel .tag-row {
    text-align: left !important;
  }

  .soft-panel .tag-row {
    justify-content: space-between !important;
  }

  .updates-right .notice-card .n-btn {
    justify-content: flex-start !important;
  }

  .contact-grid .contact-card,
  .contact-grid .contact-card h2,
  .contact-grid .contact-card strong,
  .contact-grid .contact-card p,
  .contact-grid .form-card,
  .contact-grid .form-card h2,
  .contact-grid .form-group,
  .contact-grid .form-group label,
  .contact-grid .form-group input,
  .contact-grid .form-group textarea {
    text-align: left !important;
  }

  .contact-grid .form-card .btn {
    justify-content: flex-start !important;
  }
}

/* Final logo size separation */
.site-header .brand img {
  width: clamp(140px, 20vw, 200px) !important;
  height: auto !important;
  max-height: 100px !important;
}

.site-footer .brand-footer img {
  width: 150px !important;
  height: auto !important;
  max-height: none !important;
}

.site-footer .brand-footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

@media (min-width: 721px) {
  .site-footer .brand-footer img {
    width: 310px !important;
  }
}

@media (max-width: 720px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start;
    gap: 0.9rem;
  }

  .site-footer .footer-grid > :first-child {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .site-footer .footer-grid > :not(:first-child) {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.7rem;
  }

  .site-footer h3 {
    font-size: 0.88rem;
  }

  .site-footer .footer-links,
  .site-footer p {
    font-size: 0.76rem;
    line-height: 1.5;
  }
}

@media (max-width: 720px) {
  .hero-copy {
    text-align: center;
  }

  .hero {
    padding-top: 2rem !important;
  }

  .hero-copy .eyebrow {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-copy .eyebrow,
  .hero-copy h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .hero-tagline,
  .hero-copy .hero-text {
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-actions {
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .site-header .brand img {
    width: 190px !important;
    max-height: 68px !important;
  }

  .site-footer .brand-footer img {
    width: 400px !important;
  }
}

@media (max-width: 520px) {
  .site-header .brand img {
    width: 178px !important;
    max-height: 90px !important;
  }

  /* .site-footer .brand-footer img {
    width: 180px !important;
  } */
}

/* Responsive content margins excluding header and footer */
@media (max-width: 720px) {
  main .container {
    width: min(calc(100% - 2rem), var(--container)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 520px) {
  main .container {
    width: min(calc(100% - 1.5rem), var(--container)) !important;
  }
}

@media (max-width: 720px) {
  :root {
    --topbar-height: 40px;
  }

  .top-bar {
    padding: 6px 0;
  }

  .top-bar-inner {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 0.5rem;
  }

  .top-bar-left,
  .top-bar-right {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
  }

  .top-bar-left {
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
  }

  .top-bar-left a {
    white-space: nowrap;
    gap: 4px;
    font-size: 11px;
  }

  .top-bar-right {
    gap: 6px;
    flex-shrink: 0;
  }

  .top-bar-social {
    width: 24px;
    height: 24px;
  }

  .top-bar-social svg {
    width: 13px;
    height: 13px;
  }

  .site-header {
    z-index: 9998;
  }

  .navbar {
    min-height: 64px;
    gap: 0.75rem;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand img {
    width: 132px;
    max-height: 56px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --topbar-height: 36px;
  }

  .brand img {
    width: 120px;
    max-height: 150px;
  }

  .top-bar-inner {
    gap: 0.35rem;
  }

  .top-bar-left {
    gap: 0.55rem;
  }

  .top-bar-left a {
    justify-content: flex-start;
    text-align: left;
    font-size: 10px;
  }

  .top-bar-left a:last-child {
    display: none;
  }

  .top-bar-right {
    gap: 4px;
  }

  .top-bar-social {
    width: 22px;
    height: 22px;
  }

  .top-bar-social svg {
    width: 12px;
    height: 12px;
  }

  .navbar {
    min-height: 60px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

/* Mobile-only visibility and alignment fixes */
@media (max-width: 720px) {
  :root {
    --topbar-height: 34px;
  }

  .top-bar {
    padding: 5px 0;
  }

  .top-bar-left {
    gap: 0.5rem;
  }

  .top-bar-left a:first-child {
    font-size: 10px;
  }

  .top-bar-left a:last-child {
    display: none;
  }

  .site-header {
    z-index: 9998;
  }

  .navbar {
    min-height: 76px;
    gap: 0.75rem;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand img {
    width: 172px;
    max-height: 64px;
    object-fit: contain;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

  .site-footer {
    padding: 2.4rem 0;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    text-align: left;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .brand-footer img {
    width: 150px;
    max-width: 100%;
    height: auto;
  }

  .footer-links,
  .site-footer p {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .site-footer h3 {
    margin-bottom: 0.65rem;
    font-size: 1rem;
  }

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

  .course-card {
    width: 100%;
    text-align: left;
  }

  .course-img-wrap {
    height: 200px;
  }

  .course-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 18px;
  }

  .course-card-body h3 {
    width: 100%;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .course-card-body p {
    width: 100%;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #4f5f67;
  }
}

@media (max-width: 520px) {
  :root {
    --topbar-height: 32px;
  }

  .brand img {
    width: 160px;
    max-height: 158px;
  }

  .brand-footer img {
    width: 150px;
  }

  .footer-grid {
    gap: 0.85rem;
  }

  .site-footer h3 {
    font-size: 0.92rem;
  }

  .footer-links,
  .site-footer p {
    font-size: 0.8rem;
  }

  .course-img-wrap {
    height: 180px;
  }
}

/* Final header/top-bar overlap fix */
.top-bar {
  z-index: 10000;
}

.site-header {
  top: var(--topbar-height) !important;
  z-index: 9998;
}

body {
  padding-top: var(--header-offset) !important;
}

@media (max-width: 720px) {
  .brand img {
    width: 190px !important;
    max-height: 68px !important;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 178px !important;
    max-height: 100px !important;
  }
}

/* Final responsive cleanup */
body {
  padding-top: var(--header-offset);
}

.site-header {
  top: var(--topbar-height);
  width: 100%;
}

.brand img {
  width: clamp(140px, 20vw, 200px);
  height: auto;
  max-height: 100px;
}

.brand-footer img {
  width: min(100%, 150px);
  height: auto;
}

.nav-menu {
  flex-wrap: wrap;
}

.top-bar-left a,
.contact-list p a,
.site-footer p a {
  overflow-wrap: anywhere;
}

.placement-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.placement-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 1.5rem;
}

.placement-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(22, 61, 80, 0.12);
  border-left: 4px solid #2f6f73;
  border-radius: 16px;
}

.placement-step-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #163d50, #2f6f73);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.placement-step strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: #163d50;
}

.placement-step span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #61737b;
}

.placement-image-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.placement-image {
  width: 100%;
  max-width: 480px;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.13);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .placement-layout {
    gap: 2rem;
  }
}

@media (max-width: 960px) {
  .top-bar-left,
  .top-bar-right {
    justify-content: center;
  }

  .navbar {
    min-height: 72px;
  }

  .nav-menu {
    max-height: calc(100vh - var(--header-offset) - 2rem);
    overflow-y: auto;
  }

  .hero-copy h1 {
    max-width: none;
  }

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

@media (max-width: 720px) {
  :root {
    --topbar-height: 40px;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .top-bar {
    padding: 6px 0;
  }

  .top-bar-inner {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .top-bar-left,
  .top-bar-right {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .top-bar-left {
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
  }

  .top-bar-left a {
    white-space: nowrap;
    gap: 4px;
    font-size: 11px;
  }

  .top-bar-right {
    gap: 6px;
    flex-shrink: 0;
  }

  .top-bar-social {
    width: 24px;
    height: 24px;
  }

  .top-bar-social svg {
    width: 13px;
    height: 13px;
  }

  .navbar {
    min-height: 64px;
    gap: 0.75rem;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand img {
    width: 132px;
    max-height: 56px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .page-banner h1,
  .text-block h2,
  .section-title h2 {
    word-break: break-word;
  }

  .hero-main-img {
    height: 320px;
  }

  .hero-badge {
    min-width: auto;
    max-width: calc(100% - 1rem);
    padding: 10px 12px;
  }

  .hero-badge-1,
  .hero-badge-2 {
    left: 12px;
    right: 12px;
  }

  .hero-badge-1 {
    bottom: 12px;
  }

  .hero-badge-2 {
    top: 12px;
  }

  .cta-actions,
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .footer-socials {
    justify-content: center;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .placement-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  :root {
    --topbar-height: 36px;
  }

  .brand img {
    width: 120px;
    max-height: 150px;
  }

  .top-bar {
    font-size: 12px;
  }

  .top-bar-inner {
    gap: 0.35rem;
  }

  .top-bar-left {
    gap: 0.55rem;
  }

  .top-bar-left a {
    justify-content: flex-start;
    text-align: left;
    font-size: 10px;
  }

  .top-bar-left a:last-child {
    display: none;
  }

  .top-bar-right {
    gap: 4px;
  }

  .top-bar-social {
    width: 22px;
    height: 22px;
  }

  .top-bar-social svg {
    width: 12px;
    height: 12px;
  }

  .navbar {
    min-height: 60px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-main-img,
  .placement-image {
    height: 240px;
  }

  .modal-overlay {
    padding: 1rem;
  }
}

.hero-text {
  margin: 0;
}

.hero-actions {
  margin: 0.5rem 0 0.5rem;
  transform: translateY(-8px);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: 0 16px 30px rgba(22, 61, 80, 0.22);
}

.btn-secondary {
  color: var(--primary-deep);
  background: rgba(47, 111, 115, 0.1);
}

.search-shell,
.soft-panel,
.form-card,
.download-callout,
.contact-card,
.policy-panel {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.search-row input,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(22, 61, 80, 0.14);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.search-row input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(47, 111, 115, 0.6);
  box-shadow: 0 0 0 4px rgba(47, 111, 115, 0.12);
}

.hero-visual,
.image-frame,
.page-visual {
  position: relative;
}

.hero-visual img,
.image-frame img,
.page-visual img {
  width: 100%;
  border-radius: 34px;
  /* background: linear-gradient(160deg, #dceceb, #f6fbfa); */
  /* box-shadow: var(--shadow); */
}

@media (min-width: 961px) {
  .visual-story {
    align-items: stretch;
  }

  .visual-story .image-frame {
    height: 100%;
    min-height: 640px;
  }

  .visual-story .image-frame img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .editorial-grid,
  .split-spotlight {
    align-items: stretch;
  }

  .editorial-grid .image-frame,
  .split-spotlight .page-visual {
    height: 100%;
    min-height: 560px;
  }

  .editorial-grid .image-frame img,
  .split-spotlight .page-visual img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .home-environment-section .page-visual {
    min-height: 600px;
  }
}

.hero-notes {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.hero-notes div {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(18, 48, 60, 0.84);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.hero-notes p,
.mini-note p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(238, 245, 243, 0.85), rgba(245, 247, 246, 0.7));
}

.section-title {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.text-block h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.text-block p + p {
  margin-top: 1rem;
}

.quote-strip {
  padding-left: 1.2rem;
  border-left: 4px solid rgba(47, 111, 115, 0.35);
  font-weight: 700;
  color: var(--primary-deep);
}

.stat-line,
.course-line,
.update-row,
.contact-list,
.policy-list {
  display: grid;
  gap: 1rem;
}

.stat-line {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.stat-line div {
  padding-top: 1rem;
  border-top: 1px solid rgba(22, 61, 80, 0.12);
}

.stat-line strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-deep);
}

.course-list {
  display: grid;
  gap: 1.1rem;
}

.course-line {
  grid-template-columns: 2fr auto;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(22, 61, 80, 0.1);
}

.course-line:last-child {
  border-bottom: 0;
}

.course-line h3,
.update-row h3,
.policy-list h3 {
  margin: 0 0 0.2rem;
}

.course-fee {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(47, 111, 115, 0.12);
  color: var(--primary-deep);
  font-weight: 800;
  white-space: nowrap;
}

.note-box {
  margin-top: 1.75rem;
  padding: 1rem 0 0;
  border-top: 2px solid rgba(47, 111, 115, 0.18);
  color: red;
  font-weight: 700;
}

.update-row {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(22, 61, 80, 0.1);
}

.update-row:last-child {
  border-bottom: 0;
}

.update-tag {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-callout,
.policy-panel {
  max-width: 780px;
}

.form-card h2,
.download-callout h2,
.contact-card h2,
.policy-panel h2 {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-weight: 700;
}

.full-width {
  grid-column: 1 / -1;
}

.contact-list div {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(22, 61, 80, 0.1);
}

.contact-list div:last-child {
  border-bottom: 0;
}

.policy-list {
  margin-top: 1.5rem;
}

.policy-list article {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(22, 61, 80, 0.1);
}

.policy-list article:last-child {
  border-bottom: 0;
}

.refund-alert {
  color: #8d1b1b;
  font-weight: 800;
}

.site-footer {
  padding: 2.8rem 0;
  background: rgba(47, 111, 115, 0.1);
  color: black
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.brand-footer span {
  font-size: 0.98rem;
  color: black;
}

/* .site-footer a:hover {
  color: #fff;
} */

@media (max-width: 960px) {
  .hero-grid,
  .editorial-grid,
  .contact-grid,
  .form-section,
  .split-spotlight,
  .visual-story,
  .footer-grid,
  .stat-line {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    text-align: center;
  }

  .hero-notes {
    position: static;
    margin-top: 1rem;
  }
}

@media (max-width: 720px) {
  .section,
  .hero,
  .page-banner {
    padding: 3.5rem 0;
  }

  .search-row,
  .form-grid,
  .course-line {
    grid-template-columns: 1fr;
  }

  .search-row {
    display: grid;
  }

  .btn,
  .search-row button {
    width: 100%;
  }

  .search-shell,
  .soft-panel,
  .form-card,
  .download-callout,
  .contact-card,
  .policy-panel {
    padding: 1.2rem;
  }
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #111; /* optional */
}

/* .site-header {
  margin-top: 40px;
} */

.top-bar {
  background-color: #0f5d66; 
  color: #ffffff;
  font-size: 13px;
  padding: 7px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left a:hover {
  opacity: 0.8;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-social {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s;
}

.top-bar-social svg {
  width: 15px;
  height: 15px;
}

.top-bar-social:hover {
  background: rgba(255, 255, 255, 0.3);
}


/* ═══════════════════════════════════════════════════════════════
   images.css  —  ISSD Homepage Image & New Section Styles
   Add this file as: <link rel="stylesheet" href="css/images.css">
   Place this file inside your  css/  folder.
═══════════════════════════════════════════════════════════════ */

/* ─── Global image reset ─────────────────────────────────────── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rounded-img {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.section-img {
  width: 100%;
  object-fit: cover;
}

/* ─── Top Bar ────────────────────────────────────────────────── */
.top-bar {
  /* background-color:  linear-gradient(135deg, var(--primary-deep), var(--primary)); */
  color: #ffffff;
  font-size: 13px;
  padding: 7px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left a:hover { opacity: 0.8; }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-social {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s;
  text-decoration: none;
}

.top-bar-social svg {
  width: 15px;
  height: 15px;
}

.top-bar-social:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ─── Hero Section Image ─────────────────────────────────────── */
.hero-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.hero-main-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  object-position: top;
}

/* Floating badges over hero image */
.hero-badge {
  position: absolute;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: 'Manrope', sans-serif;
  min-width: 180px;
  z-index: 2;
}

.hero-badge-1 {
  bottom: 60px;
  left: -24px;
}

.hero-badge-2 {
  top: 40px;
  right: -24px;
}

.badge-icon {
  font-size: 22px;
  line-height: 1;
}

.hero-badge strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1.2;
}

.hero-badge span {
  display: block;
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

/* ─── Stats Banner ───────────────────────────────────────────── */
.stats-banner {
  background: #1a3a5c;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-card:last-child {
  border-right: none;
}

.stat-card strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ─── Section: Centered heading ─────────────────────────────── */
.section-heading-center {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.section-heading-center h2 {
  margin-top: 8px;
  margin-bottom: 12px;
}

.section-sub {
  color: #666;
  font-size: 15px;
}

/* ─── Courses Grid ───────────────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.course-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8edf2;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.course-card.is-open {
  box-shadow: 0 18px 46px rgba(18, 48, 60, 0.16);
}

.course-img-wrap {
  height: 180px;
  overflow: hidden;
}

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

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

.course-card-body {
  padding: 20px;
}

.course-tag {
  display: inline-block;
  background: #e8f0fb;
  color: #1a3a5c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.course-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  margin-top: 0;
}

.course-card-body p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 14px;
}

.course-toggle {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 111, 115, 0.1);
  color: #163d50;
  font-size: 12px;
  font-weight: 800;
  padding: 11px 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.course-toggle:hover {
  background: rgba(47, 111, 115, 0.16);
}

.course-card.is-open .course-toggle {
  background: #163d50;
  color: #ffffff;
}

.course-details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 61, 80, 0.12);
}

.course-details p {
  margin: 0 0 10px;
  color: #4f5f67;
}

.course-details strong {
  color: #163d50;
}

.course-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #1a3a5c;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}

.course-link:hover {
  color: #2563eb;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ─── Feature List (in split spotlight) ─────────────────────── */
.feature-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #444;
}

.feature-icon {
  width: 22px;
  height: 22px;
  background: #1a3a5c;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e8edf2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 3px solid #e8f0fb;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: auto;
}

.testimonial-card span {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 3px;
}

/* ─── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: #0f5d66;
  /* padding: 64px 0; */
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text h2 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0;
  
}

.cta-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-top: -15px;
  
  
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  
}

.btn-white {
  background: #ffffff;
  color: #1a3a5c;
  border: 2px solid #ffffff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-white:hover {
  background: #e8f0fb;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── Footer Socials ─────────────────────────────────────────── */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.footer-social-icon svg {
  width: 16px;
  height: 16px;
}

.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ─── Footer Bottom Bar ──────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  padding-bottom: 8px;
}

.footer-bottom p {
  font-size: 13px;
  /* color: rgba(255, 255, 255, 0.5); */
  text-align: center;
  margin: 0;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.15); }
  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 768px) {
  .hero-main-img {
    height: 300px;
  }
  .hero-badge-1 { left: 8px; bottom: 12px; }
  .hero-badge-2 { right: 8px; top: 12px; }

  .courses-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-bar-inner {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .top-bar-left {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 1024px) {
  main,
  main .text-block,
  main .section-title,
  main .soft-panel,
  main .form-card,
  main .download-callout,
  main .contact-card,
  main .policy-panel,
  main .course-card-body,
  main .update-row,
  main .notice-card,
  main .section-heading-center {
    text-align: center !important;
  }

  main .course-card-body,
  main .feature-list,
  main .contact-list,
  main .footer-links {
    align-items: center;
  }

  main .course-card-body h3,
  main .course-card-body p,
  main .text-block p,
  main .section-title p,
  main .update-row p,
  main .contact-list p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section,
  .hero,
  .page-banner {
    padding: 3.5rem 0;
  }

  .search-row,
  .form-grid,
  .course-line,
  .courses-grid,
  .stats-grid,
  .testimonial-grid {
    grid-template-columns: 1fr !important;
  }

  .search-row {
    display: grid;
  }

  .btn,
  .search-row button {
    width: 100%;
  }

  .search-shell,
  .soft-panel,
  .form-card,
  .download-callout,
  .contact-card,
  .policy-panel {
    padding: 1.2rem;
  }

  .course-card {
    width: 100% !important;
    text-align: center !important;
  }

  .course-card-body {
    align-items: center !important;
  }

  .course-card-body h3,
  .course-card-body p {
    width: 100%;
    text-align: center !important;
  }

  .hero-mobile-visual {
    display: block;
    margin: 1rem auto 0.5rem;
  }

  .hero-mobile-visual .hero-main-img {
    height: 240px;
    border-radius: 24px;
    object-position: top;
  }

  .hero-visual,
  .editorial-grid .image-frame,
  .visual-story .image-frame,
  .split-spotlight .page-visual {
    display: none !important;
  }

  .why-mobile-image,
  .environment-mobile-image,
  .about-inline-image {
    display: block;
    margin: 1rem auto 1.25rem;
  }

  .feature-list {
    align-items: stretch !important;
    text-align: left !important;
  }

  .feature-item {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .feature-item span:last-child {
    flex: 1;
    line-height: 1.6;
  }

  .feature-icon {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-text h2 {
    font-size: 1.5rem;
  }
}


/* ═══════════════════════════════════════════
   ISSD — Fixed Top Bar + Header
   Existing styles-ஐ break பண்ணாம,
   இந்த மூணு rules மட்டும் add பண்ணுங்க
   (உங்கள் style.css-ல் கடைசியில paste பண்ணுங்க)
═══════════════════════════════════════════ */

/* 1. Top bar — fixed to very top */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* 2. Site header — fixed just below top bar */
.site-header {
  position: fixed;
  top: 40px;          /* top-bar-ன் height — உங்கள் top-bar உயரம் மாறினா இதையும் மாத்துங்க */
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;   /* scroll பண்ணும்போது content மேலே தெரியாம இருக்க */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 3. Body — fixed elements content-ஐ மறைக்காம இருக்க top padding */
body {
  padding-top: 110px; /* 40px (top-bar) + 70px (header) = 110px
                         உங்கள் header உயரம் வேறா இருந்தா adjust பண்ணுங்க */
}

/* ═══════════════════════════════════════════
   ISSD — Fixed Top Bar + Header (No Gap Fix)
═══════════════════════════════════════════ */

/* 1. Top bar — fixed to very top */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* height auto — content எவ்வளவு இருக்கோ அவ்வளவு மட்டும் */
}

/* 2. Site header — gap இல்லாம top-bar கீழே ஒட்டி இருக்கும் */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  /* margin-top: top-bar height — JS மூலம் dynamically set ஆகும் */
}

/* 3. Body padding — JS set பண்ணும், fallback மட்டும் */
body {
  padding-top: 110px;
}

/* Footer logo — header-ஐ affect பண்ணாம, இதுக்கு மட்டும் */
.brand-footer img {
  width: 400px;
  height: auto;
}

/* Course cards — center alignment */
.courses-grid {
  justify-items: center;
}

.course-card {
  width: 100%;
  text-align: center;
}
/* 3 cards மட்டும் இருக்கும்போது center-ல் வர */
.courses-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ── WhatsApp Float Button ── */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;

  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  color: #ffffff;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.5); opacity: 0;   }
  100% { transform: scale(1.5); opacity: 0;   }
}

/* ── Placement Divider Banner ───────────────────── */
.placement-divider {
  background: #f0faf6;
  border-top: 2px solid #1D9E75;
  border-bottom: 2px solid #1D9E75;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.placement-divider-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  flex-wrap: wrap;
}

.placement-divider-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #1D9E75;
  box-shadow: 0 0 0 5px #c8f0e2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.placement-divider p {
  margin: 0;
  font-size: 18px;
  color: #0F6E56;
  line-height: 1.6;
  font-family: 'Manrope', sans-serif;
}

.placement-divider p strong {
  color: #085041;
  font-weight: 700;
}

/* Animated marquee shimmer line */
.placement-divider::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(29, 158, 117, 0.07),
    transparent
  );
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  to { left: 160%; }
}

@media (max-width: 600px) {
  .placement-divider-inner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 1.25rem;
  }

  .placement-divider p {
    font-size: 13.5px;
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(76, 175, 125, 0.4);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(76, 175, 125, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(76, 175, 125, 0.4);
  }
}

/* CTA Banner - Poster image only */
.cta-poster-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 500px;      /* background size fix */
  height: 600px;
  overflow: hidden;  /* extra image hide ஆகும் */
}

.cta-poster-img img {
  width: 800px;   /* image மட்டும் increase */
  height: 700px;
  object-fit: contain;
}

/* ── Course list – 2×2 grid cards ── */
.course-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 1.5rem;
}

.course-line {
  position: relative;
  padding: 1.4rem 1.25rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(22, 61, 80, 0.12);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  grid-template-columns: unset;
  align-items: unset;
  border-bottom: 1px solid rgba(22, 61, 80, 0.12);
}

.course-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #1D9E75;
}

.course-line:last-child::before {
  background: #534AB7;
}

.course-line h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.course-line p {
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.course-line p:last-of-type {
  font-weight: normal;
}

.course-fee {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 0 0;
  margin-top: 4px;
  border-top: 1px solid rgba(22, 61, 80, 0.1);
  border-radius: 0;
  background: transparent;
  font-size: 17px;
  font-weight: 800;
  color: #085041;
  white-space: nowrap;
}

.course-line:last-child .course-fee {
  font-size: 13px;
  color: #3C3489;
}

@media (max-width: 720px) {
  .course-list {
    grid-template-columns: 1fr;
  }
}
/* ── CTA Banner — centered layout (poster removed) ── */
.cta-inner.cta-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.cta-inner.cta-centered .cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.cta-inner.cta-centered .cta-actions {
  justify-content: center;
  margin-top: -2rem;
}

/* Remove old poster styles — override */
.cta-poster-img {
  display: none;
}

/* ── Modals ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 30, 40, 0.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(10, 30, 40, 0.2);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem 1rem;
  border-bottom: 1px solid rgba(22, 61, 80, 0.1);
  flex-shrink: 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #163d50;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(22, 61, 80, 0.08);
  color: #163d50;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(22, 61, 80, 0.16);
}

.modal-body {
  padding: 1.4rem 1.6rem 1.8rem;
  overflow-y: auto;
  line-height: 1.75;
}

.modal-body h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 0.95rem;
  color: #163d50;
  font-weight: 700;
}

.modal-body h3:first-of-type {
  margin-top: 0.5rem;
}

.modal-body p {
  margin: 0;
  font-size: 0.9rem;
  color: #444;
}

.modal-updated {
  font-size: 0.8rem !important;
  color: #2f6f73 !important;
  font-weight: 600;
  margin-bottom: 0.5rem !important;
}

.modal-body a {
  color: #2f6f73;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .modal-box {
    max-height: 90vh;
    border-radius: 16px;
  }
  .modal-header,
  .modal-body {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

/* ── Hero Section Redesign ── */
.hero-copy .hero-tagline {
  margin-top: 0.25rem !important;
  margin-bottom: 0.1rem !important;
}

.hero-copy .hero-text {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.5 !important;
}

.hero-copy .hero-text + .hero-text {
  margin-top: 0.1rem !important;
}

.hero-actions {
  margin-top: 0.4rem !important;
  margin-bottom: 0.5rem !important;
  transform: none !important;
}
/* Final mobile top-bar single-line fix */
@media (max-width: 720px) {
  .top-bar {
    padding: 6px 0 !important;
  }

  .top-bar-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.45rem !important;
    text-align: left !important;
  }

  .top-bar-left,
  .top-bar-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .top-bar-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 0.45rem !important;
    overflow-x: auto !important;
    scrollbar-width: none;
  }

  .top-bar-left::-webkit-scrollbar {
    display: none;
  }

  .top-bar-left a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    font-size: 10px !important;
    gap: 4px !important;
  }

  .top-bar-left a:last-child {
    display: inline-flex !important;
  }

  .top-bar-left a:first-child::after {
    content: "|" !important;
    margin-left: 0.45rem;
    opacity: 0.75;
  }

  .top-bar-right {
    flex: 0 0 auto !important;
    gap: 0.3rem !important;
  }

  .top-bar-social {
    width: 22px !important;
    height: 22px !important;
  }

  .top-bar-social svg {
    width: 12px !important;
    height: 12px !important;
  }
}

@media (max-width: 480px) {
  .top-bar-left {
    gap: 0.35rem !important;
  }

  .top-bar-left a {
    font-size: 9px !important;
  }

  .top-bar-left a:first-child::after {
    margin-left: 0.35rem;
  }

  .top-bar-right {
    gap: 0.25rem !important;
  }

  .top-bar-social {
    width: 20px !important;
    height: 20px !important;
  }
}


#issd-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.8s ease, visibility 1.8s ease;
}

#issd-preloader.hide {
  opacity: 0;
  visibility: hidden;
}

#issd-preloader img {
  width: clamp(280px, 30vw, 360px);
  max-width: 82vw;
  height: auto;
}

