/* ==========================================================
   Annai School of Nursing ANM - Homepage styles
   ========================================================== */
:root {
  --green-900: #02150e;
  --green-700: #0b5a3c;
  --green-600: #0f6b47;
  --green-100: #e6f2ec;
  --mint: #eef7f2;
  --gold: #f2b705;
  --text: #2b3a33;
  --muted: #5d6f66;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 61, 41, .12);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-text strong {
  color: var(--green-900);
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  transition: all .3s ease;
}

.header-contact a {
  text-decoration: none;
  color: inherit;
}

.header-contact .contact-item strong a:hover {
  color: #0b7a3d;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
  transition: box-shadow .3s ease, padding .3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

.site-header .header-nav {
  background-color: #00286f;
}

/* Header row 1: contact + admissions (left), logo (right) */
.header-top {
  border-bottom: 1px solid #e3efe8;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.contact-item small {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
  font-weight: 600;
}

.contact-item strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-900);
  white-space: nowrap;
}

.admission-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-900);
  white-space: nowrap;
}

.admission-link:hover {
  color: var(--green-600);
}

.contact-btn {
  white-space: nowrap;
  padding: .6rem 1.3rem;
}

.brand-right {
  flex-shrink: 0;
}

.brand-right .brand-logo {
  width: 500px;
}

.brand-right .brand-text {
  text-align: right;
}

/* Header row 2: navigation menu */
.header-nav {
  padding-top: 0;
  padding-bottom: 0;
}

/* Bootstrap makes dropdowns static inside .navbar-nav; keep them floating under their link */
.header-nav .navbar-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: .4rem;
}

.header-nav .navbar-nav .dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -.5rem;
}

.header-nav .nav-item.dropdown {
  position: relative;
}

.header-nav .navbar-brand {
  margin-right: 0;
}

.header-nav .navbar-nav {
  flex-direction: row;
}

#desktopNav {
  padding: 5px 0;
  align-items: center;
}

#desktopNav .navbar-nav {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.1rem;
}

#desktopNav .nav-item,
#desktopNav .nav-link,
#desktopNav .btn {
  white-space: nowrap;
}

.navbar-nav .nav-link.dropdown-toggle::after {
  content: "\f078" !important;
  font-family: "Font Awesome 6 Free";
  font-weight: 800;
  display: inline-block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  margin-left: .4em;
  vertical-align: middle;
  border: none !important;
  transition: transform .3s ease;
  font-size: 13px;
}

.navbar-nav .nav-link.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.navbar-nav .nav-link.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Wider screens: show full contact row; medium screens: trim it so nothing overflows */
.header-top .container {
  flex-wrap: nowrap;
}

.header-contact {
  min-width: 0;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-contact {
    gap: 1.25rem !important;
  }

  /* .email-item {
    display: none !important;
  } */

  .contact-item strong,
  .admission-link {
    font-size: 14px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .brand-right .brand-logo {
    width: 450px;
  }

  .brand-right .brand-text {
    font-size: 15px;
  }

  .brand-right .brand-text small {
    font-size: 13px;
  }

  #desktopNav .navbar-nav {
    gap: .45rem;
  }

  .header-nav .nav-link {
    font-size: 15px;
    padding-left: .3rem !important;
    padding-right: .3rem !important;
  }

  #desktopNav .btn-gold {
    padding: .5rem 1rem;
  }
}


.brand-text {
  font-size: 17px;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 17px;
}

.brand-text small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--muted);
}

.navbar-nav .nav-link {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: .5rem .25rem;
  position: relative;
}


.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold);
}

/* Dropdowns with smooth opening */
.dropdown-menu {
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .5rem;
  min-width: 260px;
  opacity: 0;
  transform: translateY(10px);
  display: block;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

.dropdown-menu.show,
.dropdown:hover>.dropdown-menu {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.dropdown-item {
  font-size: 15px;
  border-radius: 8px;
  padding: .55rem .9rem;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--green-100);
  color: var(--green-700);
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -.5rem;
}

.dropdown-submenu>.dropdown-item i {
  font-size: 12px;
  color: var(--green-600);
}

.dropdown-submenu:hover>.dropdown-menu {
  opacity: 1;
  transform: none;
  visibility: visible;
}

@media (min-width: 1000px) and (max-width: 1200px) {
  .brand-right .brand-logo {
    width: 250px;
  }
}

@media (min-width: 992px) {
  .dropdown:hover>.dropdown-menu {
    display: block;
  }
}

.btn-gold {
  background: var(--gold);
  color: var(--green-900);
  font-weight: 600;
  border-radius: 50px;
  padding: .6rem 1.4rem;
  border: 0;
}

button.btn-close.btn-close-white {
  filter: grayscale(10);
}

.btn-gold:hover {
  background: #ffc928;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(242, 183, 5, .35);
}

.hamburger {
  font-size: 20px !important;
  color: var(--white) !important;
  border: 0 !important;
  background-color: #00286f !important;
  transition: all 0.3s ease !important;
}

.hamburger:hover,
.hamburger:focus {
  color: #ffc107 !important;
  background-color: #001b4d !important;
  transform: scale(1.05);
}

.hamburger:focus-visible {
  outline: 2px solid #ffc107 !important;
  outline-offset: 3px;
}

/* ---------- Mobile offcanvas menu ---------- */
.mobile-menu {
  width: min(340px, 88vw);
  background: var(--green-900);
  color: #eaf5ef;
}

.mobile-menu .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background-color: #fff;
}

.mobile-menu .offcanvas-header strong {
  color: var(--white);
  font-family: 'Merriweather', serif;
}

.mobile-nav>li {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mobile-nav a,
.sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: .65rem 0;
  color: #eaf5ef;
  font-size: 14px;
  background: none;
  border: 0;
  text-align: left;
}

.mobile-nav a:hover,
.sub-toggle:hover {
  color: var(--gold);
}

.sub-toggle i {
  transition: transform .3s ease;
  color: var(--gold);
}

.sub-toggle[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.sub-list {
  padding-left: 14px;
  border-left: 2px solid rgba(242, 183, 5, .5);
  margin-bottom: .5rem;
}

.sub-list a {
  font-size: 15px;
  padding: .6rem 0;
}

.nested .sub-list {
  border-left-color: rgba(255, 255, 255, .3);
}

.mobile-contact p {
  font-size: 15px;
  margin-bottom: .4rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 8px;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}

.social-icons a:hover {
  background: var(--gold);
  color: var(--green-900);
  transform: translateY(-3px);
}

.collapse {
  transition: height .35s ease;
}

/* ---------- Hero (Owl) ---------- */
.hero-section {
  position: relative;
}

.hero-slide {
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  position: relative;
}


.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 700px;
}

.eyebrow {
  color: var(--green-600);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 15px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin: .5rem 0 1rem;
}

.lead-text {
  font-size: 17px;
  color: var(--muted);
}

.owl-theme .owl-nav [class*="owl-"] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-700) !important;
  color: #fff !important;
  font-size: 22px;
  transition: all .3s ease;
  margin: 0 !important;
}

.owl-theme .owl-nav .owl-prev {
  left: 16px;
}

.owl-theme .owl-nav .owl-next {
  right: 16px;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: var(--gold) !important;
  color: var(--green-900) !important;
}

.owl-theme .owl-dots .owl-dot span {
  background: #b9d9c8;
  width: 10px;
  height: 10px;
  margin: 5px 4px;
  transition: all .3s;
}

.owl-theme .owl-dots .owl-dot.active span {
  background: var(--green-600);
  width: 26px;
  border-radius: 10px;
}

.hero-section .owl-theme .owl-dots {
  position: absolute;
  bottom: 18px;
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background: var(--green-700);
  color: var(--white) !important;
  border-radius: 50px;
  padding: .75rem 1.7rem;
  font-weight: 600;
  border: 2px solid var(--green-700);
  box-shadow: 0 8px 18px rgba(11, 90, 60, .2);
  transition: all .3s ease-in-out;
}

.btn-primary-custom:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .15);
}

.btn-outline-custom {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-700);
  border-radius: 50px;
  padding: .72rem 1.7rem;
  font-weight: 600;
}

.btn-outline-custom:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- Sections ---------- */


.light-section {
  background: var(--white);
}

.mint-section {
  background: linear-gradient(180deg, #f1faf5, #e6f2ec);
}

.dark-section {
  background-color: #0b5d2a;
  background-image: url("../images/bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-600);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.course-sub {
  color: var(--green-600);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.check-list li {
  padding: .35rem 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.check-list i {
  color: var(--green-600);
}

.icon-circle {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(11, 90, 60, .25);
}

.icon-circle-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  box-shadow: none;
}

/* Glowing background orbs with slow rotation */
.bg-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 183, 5, .18), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: spin 30s linear infinite;
}

.glow-left {
  left: -120px;
  top: 10%;
}

.glow-right {
  right: -120px;
  bottom: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%);
}

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

/* Image card with hover zoom */
.img-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}

.img-card img {
  transition: transform .6s ease;
  display: block;
  width: 100%;
}

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

/* Feature items */
.feature-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--white);
  padding: 16px 18px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-item h6 {
  margin: 0;
  font-size: 16px;
}

.feature-item small {
  font-size: 15px;
  color: var(--muted);
}


/* Facilities */
.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 12px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
  transition: all .35s ease;
  margin: 6px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.facility-card i {
  font-size: 26px;
  color: var(--green-700);
  background: var(--green-100);
  width: 56px;
  height: 56px;
  line-height: 56px;
  border-radius: 50%;
  margin-bottom: 10px;
  transition: all .35s;
}

.facility-card h6 {
  font-size: 15px;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.facility-card:hover {
  background: var(--green-700);
  transform: translateY(-6px);
}

.facility-card:hover h6 {
  color: var(--white);
}

.facility-card:hover i {
  background: var(--gold);
  color: var(--green-900);
  transform: rotateY(360deg);
}

#facilitySlider .owl-dots,
#testimonialSlider .owl-dots {
  margin-top: 10px;
}

/* Gallery */
.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 8px;
  box-shadow: var(--shadow);
  height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  background: var(--green-700);
  color: var(--white);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}

.zoom-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 61, 41, .45);
  color: var(--white);
  font-size: 26px;
  opacity: 0;
  transition: opacity .35s ease;
}

.gallery-item:hover .zoom-icon {
  opacity: 1;
}

#gallerySlider .owl-nav [class*="owl-"] {
  top: 40%;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin: 8px;
}

.testimonial-card p {
  font-size: 16px;
  margin: 14px 0 20px;
}

.quote-icon {
  font-size: 30px;
  color: var(--gold);
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-100);
}

.rounded-4 {
  border-radius: 24px !important;
  box-shadow: var(--shadow);
}

/* Partners */
.partner-logo {
  background: var(--white);
  border-radius: 12px;
  padding: 18px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.partner-logo img {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: .7;
  transition: all .3s;
}

.partner-logo:hover img {
  filter: none;
  opacity: 1;
}

/* CTA band */
.cta-band {
  background: var(--green-900);
  padding: 28px 0;
  position: relative;
  border-top: 3px solid var(--gold);
}

/* Footer */
.site-footer {
  background: #042d1e;
  color: #cfe3d8;
  padding-top: 60px;
  font-size: 15px;
}

.site-footer h5 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 18px;
}

.site-footer p {
  margin-bottom: .5rem;
}

.site-footer .brand-text strong {
  color: var(--white);
}

.site-footer .brand-text small {
  color: #a9c9b9;
}

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

.footer-links a {
  color: #cfe3d8;
}

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

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 40px;
  padding: 18px 0;
  color: #9fbfae;
  font-size: 15px;
}


/* ===== ANNAI ABOUT US - REFERENCE DESIGN ===== */

.aimt-ref-about {
  --ref-green: #005735;
  --ref-dark: #00452d;
  --ref-gold: #e8bc30;
  --ref-mint: #c7e8d9;
  --ref-white: #ffffff;

  position: relative;
  width: 100%;
  min-height: 1000px;
  overflow: hidden;
  background: #fafffc;
  font-family: 'Poppins', sans-serif;
  isolation: isolate;
}

.aimt-ref-about *,
.aimt-ref-about *::before,
.aimt-ref-about *::after {
  box-sizing: border-box;
}

.aimt-ref-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  min-height: 1000px;
  margin: auto;
  padding: 55px 7.2% 250px;
}

/* White curved background */
.aimt-ref-about::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 73%;
  height: 850px;
  top: -190px;
  left: -12%;
  border-radius: 0 0 55% 20%;
  background: #fff;
  transform: rotate(-5deg);
}

.aimt-ref-copy {
  position: relative;
  z-index: 4;
  width: 57%;
  max-width: 810px;
}

.aimt-ref-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #c39b12;
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 15px;
}

.aimt-ref-eyebrow>span,
.aimt-ref-programme-heading>span {
  display: inline-block;
  width: 43px;
  height: 5px;
  background: var(--ref-gold);
  flex-shrink: 0;
}

.aimt-ref-copy h2 {
  margin: 0 0 24px;
  color: var(--ref-green);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -2.5px;
}

.aimt-ref-copy h2>span {
  display: block;
  color: #dc3545;
  margin-top: 5px;
}

.aimt-ref-description {
  max-width: 720px;
  margin: 0 0 24px;
  color: #414141;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

.aimt-ref-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 9px 8px 25px;
  border: 2px solid var(--ref-green);
  border-radius: 50px;
  background: var(--ref-green);
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all .35s ease;
}

.aimt-ref-button>span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ref-gold);
  color: var(--ref-dark);
  transition: transform .35s ease;
}

.aimt-ref-button:hover {
  background: var(--ref-gold);
  color: var(--ref-dark);
  border-color: var(--ref-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 70, 45, .15);
}

.aimt-ref-button:hover>span {
  background: white;
  transform: translateX(4px);
}

/* Main nursing photograph */
.aimt-ref-main-photo {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 12%;
  width: 36%;
  height: 690px;
  overflow: hidden;
  border-radius: 0 0 45% 30%;
  clip-path: polygon(0 0, 100% 0, 100% 77%, 68% 100%, 0 85%);
  background: #dbeee5;
}

.aimt-ref-main-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 60%,
      rgba(0, 69, 45, .13));
  pointer-events: none;
}

.aimt-ref-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .8s ease;
}

.aimt-ref-main-photo:hover img {
  transform: scale(1.045);
}

/* Circular clinical images */
.aimt-ref-photo {
  position: absolute;
  z-index: 5;
  width: clamp(145px, 15vw, 220px);
  aspect-ratio: 1;
  border: 7px solid white;
  outline: 3px solid var(--ref-gold);
  border-radius: 50%;
  overflow: hidden;
  background: #e7f4ec;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .14);
  transition: transform .45s ease, box-shadow .45s ease;
}

.aimt-ref-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .65s ease;
}

.aimt-ref-photo:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 40px rgba(0, 69, 45, .23);
}

.aimt-ref-photo:hover img {
  transform: scale(1.1);
}

.aimt-ref-photo-lab {
  top: 100px;
  right: 5%;
}

.aimt-ref-photo-dialysis {
  top: 295px;
  right: -1%;
}

.aimt-ref-photo-radio {
  top: 490px;
  right: 7%;
}

/* Programme section */
.aimt-ref-programmes {
  position: relative;
  z-index: 7;
  width: 70%;
  margin-top: 48px;
}

.aimt-ref-programme-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ref-green);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

.aimt-ref-programme-heading>span {
  width: 38px;
  height: 4px;
}

.aimt-ref-programme-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 17px;
}

.aimt-ref-course {
  min-width: 0;
  min-height: 210px;
  padding: 20px 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 27px;
  background: white;
  box-shadow: 0 8px 25px rgba(0, 80, 55, .09);
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}

.aimt-ref-course::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--ref-gold);
  transform: translateX(-50%);
  transition: width .4s ease;
}

.aimt-ref-course:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 35px rgba(0, 80, 55, .15);
}

.aimt-ref-course:hover::before {
  width: 70%;
}

.aimt-ref-course-icon {
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #064b35;
  background: #bde4d2;
  font-size: 31px;
  transition: transform .45s ease, background .35s ease;
}

.aimt-ref-gold-icon {
  color: #755b08;
  background: #f3d35e;
}

.aimt-ref-course:hover .aimt-ref-course-icon {
  transform: rotateY(180deg);
  background: var(--ref-green);
  color: white;
}

.aimt-ref-course h3 {
  margin: 0;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.aimt-ref-course-line {
  width: 40px;
  height: 4px;
  background: var(--ref-gold);
  transition: width .35s ease;
}

.aimt-ref-course:hover .aimt-ref-course-line {
  width: 65px;
}

/* Gold and green curved decoration */
.aimt-ref-registration {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 195px;
  padding: 35px 10.8% 52px;
  display: flex;
  align-items: center;
  gap: 45px;
  color: white;
  background: var(--ref-green);
  border-radius: 120px 0 0 0;
  overflow: hidden;
}

.aimt-ref-registration::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -70px;
  width: 620px;
  height: 450px;
  border: 35px solid var(--ref-gold);
  border-radius: 50%;
  transform: rotate(-15deg);
  opacity: .95;
}

.aimt-ref-registration::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 87, 53, 1) 0%,
      rgba(0, 87, 53, .98) 55%,
      rgba(0, 87, 53, .55) 100%);
  pointer-events: none;
}

.aimt-ref-registration-item {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.aimt-ref-document-icon {
  position: relative;
  width: 78px;
  height: 78px;
  min-width: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  color: var(--ref-dark);
  font-size: 34px;
}

.aimt-ref-mini-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 18px;
  background: white;
}

.aimt-ref-registration-item h4 {
  color: white;
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.aimt-ref-registration-item strong {
  color: #ffcc18;
  display: block;
  font-size: clamp(23px, 2.5vw, 37px);
  font-weight: 800;
  white-space: nowrap;
}

.aimt-ref-registration-separator {
  width: 1px;
  height: 90px;
  background: rgba(255, 255, 255, .6);
  flex-shrink: 0;
}

.aimt-ref-disclaimer {
  position: absolute;
  z-index: 3;
  left: 19%;
  bottom: 12px;
  margin: 0;
  max-width: 650px;
  color: #edf7f0;
  font-size: 12px;
  line-height: 1.6;
}

.aimt-ref-campus {
  position: absolute;
  z-index: 0;
  right: 0;
  top: 0;
  width: 31%;
  height: 100%;
  opacity: .5;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 45%);
  mask-image: linear-gradient(90deg, transparent, black 45%);
}

.aimt-ref-campus img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative dots */
.aimt-ref-dot-pattern {
  position: absolute;
  top: 40px;
  right: 2%;
  width: 65px;
  height: 55px;
  z-index: 4;
  background-image: radial-gradient(var(--ref-gold) 2px, transparent 2.5px);
  background-size: 15px 15px;
}

.aimt-ref-leaf-decoration {
  position: absolute;
  z-index: 0;
  bottom: 150px;
  left: 0;
  color: rgba(10, 113, 68, .2);
  font-size: 95px;
  transform: rotate(-35deg);
}

/* Tablet */
@media (max-width: 1100px) {
  .aimt-ref-container {
    padding: 55px 5% 265px;
  }

  .aimt-ref-copy {
    width: 64%;
  }

  .aimt-ref-copy h2 {
    font-size: clamp(40px, 5.4vw, 58px);
  }

  .aimt-ref-description {
    font-size: 15px;
  }

  .aimt-ref-main-photo {
    right: 7%;
    width: 36%;
    height: 600px;
  }

  .aimt-ref-photo {
    width: 155px;
    border-width: 5px;
  }

  .aimt-ref-photo-lab {
    right: 2%;
    top: 100px;
  }

  .aimt-ref-photo-dialysis {
    right: -1%;
    top: 270px;
  }

  .aimt-ref-photo-radio {
    right: 3%;
    top: 440px;
  }

  .aimt-ref-programmes {
    width: 78%;
    margin-top: 45px;
  }

  .aimt-ref-programme-grid {
    gap: 10px;
  }

  .aimt-ref-course {
    min-height: 175px;
    padding: 15px 5px;
  }

  .aimt-ref-course-icon {
    width: 62px;
    height: 62px;
    font-size: 25px;
  }

  .aimt-ref-registration {
    padding-left: 6%;
    padding-right: 6%;
    gap: 22px;
  }

  .aimt-ref-document-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 27px;
  }

  .aimt-ref-registration-item {
    gap: 12px;
  }

  .aimt-ref-registration-item h4 {
    font-size: 13px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .aimt-ref-about {
    min-height: auto;
  }

  .aimt-ref-container {
    min-height: auto;
    padding: 45px 22px 0;
    display: flex;
    flex-direction: column;
  }

  .aimt-ref-copy {
    width: 100%;
    order: 1;
  }

  .aimt-ref-eyebrow {
    font-size: 15px;
  }

  .aimt-ref-copy h2 {
    font-size: clamp(34px, 8vw, 46px);
    letter-spacing: -1px;
    line-height: 1.08;
  }

  .aimt-ref-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .aimt-ref-main-photo {
    position: relative;
    order: 2;
    right: auto;
    top: auto;
    width: 100%;
    height: 420px;
    margin-top: 35px;
    border-radius: 150px 150px 30px 30px;
    clip-path: none;
  }

  .aimt-ref-photo {
    position: absolute;
    width: 112px;
    border-width: 4px;
  }

  .aimt-ref-photo-lab {
    top: auto;
    right: 18px;
    bottom: 485px;
  }

  .aimt-ref-photo-dialysis {
    top: auto;
    right: 10px;
    bottom: 355px;
  }

  .aimt-ref-photo-radio {
    top: auto;
    right: 25px;
    bottom: 225px;
  }

  .aimt-ref-programmes {
    order: 3;
    width: 100%;
    margin: 40px 0 35px;
  }

  .aimt-ref-programme-heading {
    font-size: 13px;
    gap: 8px;
  }

  .aimt-ref-programme-heading>span {
    width: 25px;
  }

  .aimt-ref-programme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .aimt-ref-course {
    min-height: 165px;
    border-radius: 19px;
  }

  .aimt-ref-course-icon {
    width: 65px;
    height: 65px;
    font-size: 26px;
  }

  .aimt-ref-course h3 {
    font-size: 13px;
  }

  .aimt-ref-registration {
    position: relative;
    order: 4;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 44px);
    margin: 0 -22px;
    min-height: 0;
    padding: 35px 25px 70px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    border-radius: 65px 0 0 0;
  }

  .aimt-ref-registration-item {
    width: 100%;
  }

  .aimt-ref-registration-item h4 {
    white-space: normal;
    font-size: 14px;
  }

  .aimt-ref-registration-item strong {
    font-size: clamp(21px, 6vw, 29px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .aimt-ref-registration-separator {
    width: 100%;
    height: 1px;
  }

  .aimt-ref-disclaimer {
    left: 25px;
    right: 25px;
    bottom: 15px;
    font-size: 10px;
  }

  .aimt-ref-campus {
    width: 60%;
  }

  .aimt-ref-dot-pattern {
    display: none;
  }

  .aimt-ref-leaf-decoration {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .aimt-ref-about *,
  .aimt-ref-about *::before,
  .aimt-ref-about *::after {
    animation: none !important;
    transition: none !important;
  }
}



/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .site-header .header-nav {
    background-color: #ffffff;
  }

  .header-nav .navbar-brand {
    width: 300px;
  }
}

@media (max-width: 991px) {

  .header-nav .navbar-brand {
    width: 250px;
  }


}

@media (max-width: 767px) {


  .hero-content {
    padding-bottom: 70px;
  }

  .brand-logo {
    width: 200px;
  }

  .brand-text {
    font-size: 15px;
  }

  .header-nav {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .site-header .header-nav {
    background-color: #ffffff;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .achievements .col-6::after {
    display: none;
  }

  .gallery-item {
    height: 170px;
  }

  .section-label {
    font-size: 15px;
  }

  .header-nav .navbar-brand {
    width: 200px;
  }

  .owl-theme .owl-nav [class*="owl-"] {
    display: none !important;
  }

  .hero-section .owl-theme .owl-dots {
    display: none !important;
  }

}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .sub-list a {
    font-size: 14px;
}
}