/* Fonts loaded via <link> in header.php */

:root {
  --primary: #2b84ba; /* Darker Logo Blue for contrast */
  --primary-light: #3a9fdc; /* Logo Blue */
  --secondary: #ba217b; /* Logo Magenta */
  --accent: #f7c615; /* Logo Yellow */
  --accent-light: #99c745; /* Logo Green */
  --background: #f8fafc;
  --surface: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #f8fafc;
  
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* ===== TOP BAR ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  height: 40px;
  transition: transform 0.35s ease;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2.5rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.topbar-left a,
.topbar-left span {
  color: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.topbar-left a:hover {
  color: var(--accent);
}

.topbar-left i {
  color: var(--accent);
  font-size: 0.8rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-right a {
  color: rgba(255,255,255,0.8);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
}

.topbar-right a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  padding: 0 2rem;
}

header.scrolled, header.inner-page {
  padding: 0.8rem 0;
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

.logo-container h1 {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

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

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

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}




.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, #d82b90 100%);
  color: white !important;
  box-shadow: 0 4px 15px rgba(186, 33, 123, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(186, 33, 123, 0.6);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light) !important;
}

.mandatory-btn {
  font-weight: 400;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .mandatory-btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
  }
}

@media (max-width: 768px) {
  .mandatory-btn {
    font-size: 0.65rem !important;
    padding: 0.35rem 0.7rem !important;
    max-width: 120px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--primary) !important;
}

.hero {
  height: 100vh;
  min-height: 600px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-nav {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 20;
  display: flex;
  gap: 1rem;
}

.hero-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.hero-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Colourful dark gradient from bottom fading to transparent at the top */
  background: linear-gradient(to top, rgba(16, 40, 80, 0.95) 0%, rgba(110, 20, 70, 0.7) 45%, rgba(0, 0, 0, 0.1) 85%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem 15vh;
  color: var(--text-light);
  width: 100%;
}

.hero-subtitle {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.1s;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.3s;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.9s;
}

.section {
  padding: 6rem 0;
}

.section > *:not(.hero):not(.section-light) {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 2.8rem;
  color: var(--primary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--surface);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 2.5rem;
}

.card-title {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
}

.page-header {
  height: 250px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--primary);
  color: white;
  text-align: center;
  margin-bottom: 0;
  padding-top: 110px; /* offset for fixed topbar (40px) + header (~70px) */
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
}

.page-header h1 {
  font-size: 2rem;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 0.6rem;
}

/* Breadcrumb */
.page-header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb .separator {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.breadcrumb .current {
  color: var(--accent);
  font-weight: 500;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
footer {
  background: #0f172a;
  color: #f0e6f0;
  padding: 0 0 0;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  line-height: 0;
  overflow: hidden;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

/* Brand col */
.footer-brand .footer-logo {
  height: 70px;
  margin-bottom: 1.2rem;
  background: white;
  padding: 6px 10px;
  border-radius: 8px;
  display: block;
}

.footer-brand p {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: white;
  color: var(--secondary);
  border-color: white;
}

/* Headings */
.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}

/* Footer links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links li a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* Contact list */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}

.footer-contact li i {
  margin-top: 3px;
  color: rgba(255,255,255,0.6);
  min-width: 14px;
}

.footer-contact li a {
  color: rgba(255,255,255,0.78);
  transition: var(--transition);
}

.footer-contact li a:hover {
  color: #ffffff;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== VISION & MISSION SECTION ===== */
.vmp-section {
  background: #f0f6fa;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.vmp-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.vmp-bg-pattern svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vmp-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.vmp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.vmp-card {
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.vmp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.vmp-card--yellow {
  background: var(--accent); /* #f7c615 */
}

.vmp-card--magenta {
  background: var(--secondary); /* #ba217b */
}

.vmp-card--green {
  background: var(--accent-light); /* #99c745 */
}

.vmp-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.vmp-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.vmp-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.95;
}

@media (max-width: 900px) {
  .vmp-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .vmp-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }
}

/* ===== COURSES SECTION ===== */
.courses-section {
  background: #0f172a;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Educational pattern overlay */
.courses-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='0.08'%3E%3C!-- Graduation cap --%3E%3Cpath d='M20 38 L40 30 L60 38 L40 46 Z' /%3E%3Cline x1='60' y1='38' x2='60' y2='52'/%3E%3Cpath d='M53 49 Q60 55 67 49'/%3E%3Cline x1='40' y1='46' x2='40' y2='58'/%3E%3C!-- Book --%3E%3Crect x='70' y='20' width='30' height='38' rx='2'/%3E%3Cline x1='70' y1='20' x2='70' y2='58'/%3E%3Cline x1='76' y1='28' x2='94' y2='28'/%3E%3Cline x1='76' y1='34' x2='94' y2='34'/%3E%3Cline x1='76' y1='40' x2='94' y2='40'/%3E%3C!-- Pencil --%3E%3Crect x='10' y='65' width='8' height='30' rx='1' transform='rotate(-30 14 80)'/%3E%3Cpath d='M6 88 L10 98 L14 88' transform='rotate(-30 10 93)'/%3E%3C!-- Star --%3E%3Cpolygon points='90,62 92,68 98,68 93,72 95,78 90,74 85,78 87,72 82,68 88,68' /%3E%3C!-- Atom rings --%3E%3Ccircle cx='55' cy='90' r='10'/%3E%3Cellipse cx='55' cy='90' rx='18' ry='7' transform='rotate(0 55 90)'/%3E%3Cellipse cx='55' cy='90' rx='18' ry='7' transform='rotate(60 55 90)'/%3E%3Cellipse cx='55' cy='90' rx='18' ry='7' transform='rotate(120 55 90)'/%3E%3Ccircle cx='55' cy='90' r='2' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 0;
}

.courses-section .section-inner {
  position: relative;
  z-index: 1;
}

.courses-header {
  text-align: center;
  margin-bottom: 3rem;
}

.courses-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.5rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.course-card {
  background: #1e293b;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}

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

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

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

.course-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.course-body p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.75;
  text-align: center;
  flex: 1;
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.course-link:hover {
  gap: 0.7rem;
  color: var(--accent-light);
}

@media (max-width: 1024px) {
  .topbar {
    display: none !important;
  }
  header {
    top: 0 !important;
  }
  .mobile-menu-btn {
    display: block !important;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    align-items: flex-start;
  }
  .nav-links.active {
    left: 0;
  }
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .courses-title {
    font-size: 2.2rem;
  }
}



/* ===== PRINCIPAL SECTION ===== */
.principal-section {
  background: #f8fafc;
}

.principal-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: center;
}

/* Photo */
.principal-photo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.principal-socials {
  display: flex;
  gap: 1rem;
  z-index: 2;
}

.principal-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.principal-socials a:hover {
  transform: translateY(-3px);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(145, 200, 62, 0.3);
}

.principal-image {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 15px 35px rgba(43, 132, 186, 0.15), 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.principal-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(43, 132, 186, 0.2), 0 8px 20px rgba(0,0,0,0.08);
}

.principal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.principal-image:hover img {
  transform: scale(1.03);
}

/* Corner deco marks */
.principal-deco {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  z-index: 1;
  transition: all 0.4s ease;
}

.principal-deco-tl {
  top: -15px;
  left: -15px;
  background: var(--accent);
  opacity: 0.15;
}

.principal-deco-br {
  bottom: -15px;
  right: -15px;
  background: var(--primary);
  opacity: 0.1;
}

.principal-photo-wrap:hover .principal-deco-tl {
  top: -20px;
  left: -20px;
}

.principal-photo-wrap:hover .principal-deco-br {
  bottom: -20px;
  right: -20px;
}

/* Text */
.principal-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.principal-greeting {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.principal-text p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 0.9rem;
}

.principal-signature {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.principal-signature p {
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  text-align: left !important;
}

.principal-signature strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.2rem;
}

.principal-title {
  font-size: 0.9rem;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .principal-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .principal-photo-wrap {
    justify-content: center;
  }
  .principal-text p {
    text-align: left;
  }
}

/* ===== ABOUT HOME SECTION ===== */
.about-home {
  background: #ffffff;
}

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

.about-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.2rem;
}

.about-home-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-home-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  text-align: justify;
}

/* ===== ABOUT COMPOSITION ===== */
.about-comp-img {
  position: relative;
  padding: 2rem 2rem 4rem 4rem; /* Space for absolute elements */
  margin-top: 1rem;
}

/* Background decorative arc (yellow) */
.about-comp-arc {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border: 40px solid var(--accent);
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 50% 50%, 0 100%);
  z-index: 0;
  opacity: 0.9;
}

/* Dots pattern */
.about-comp-dots {
  position: absolute;
  top: -20px;
  right: 10%;
  width: 100px;
  height: 100px;
  z-index: 0;
  opacity: 0.5;
}

/* Main Image */
.about-comp-main {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  height: 420px;
  border: 10px solid #ffffff;
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
}

.about-comp-img:hover .about-comp-main {
  transform: rotate(0deg);
}

/* Small overlapping image */
.about-comp-small {
  position: absolute;
  bottom: 0;
  left: -1rem;
  width: 55%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 8px solid #ffffff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  z-index: 2;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.about-comp-img:hover .about-comp-small {
  transform: rotate(0deg) scale(1.02);
}

/* Floating Badge */
.about-comp-badge {
  position: absolute;
  top: 30px;
  left: 0;
  background: #1760db; /* Bright blue */
  color: white;
  padding: 1.2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(23,96,219,0.3);
  z-index: 3;
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.badge-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}
/* ===== FACILITIES SECTION ===== */
.facilities-arrows {
  display: flex;
  gap: 1rem;
}

.scroll-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: white;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.scroll-arrow:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.facilities-scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.facilities-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0 3rem; /* bottom padding for shadow */
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.facilities-scroll::-webkit-scrollbar {
  display: none;
}

.facility-card {
  flex: 0 0 auto;
  width: calc(25vw - 2.5rem);
  min-width: 240px;
  max-width: 300px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  cursor: pointer;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.facility-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  color: white;
  text-align: center;
}

.facility-overlay h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0;
  color: white;
}

@media (max-width: 768px) {
  .facility-card {
    width: 80vw;
    height: 320px;
  }
}

@media (max-width: 900px) {
  .about-home-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-home-heading {
    font-size: 2rem;
  }
}

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

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
  }

  .hero-content h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 85%;
    max-width: 300px;
    padding: 0.8rem 1.5rem;
  }
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
}

.call-btn {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

@media (max-width: 768px) {
  .floating-contact {
    bottom: 20px;
    right: 20px;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* About Page Responsive Grids */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.core-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .about-intro-grid {
    gap: 2rem;
  }
  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .core-values-grid {
    grid-template-columns: 1fr;
  }
}
