/* ==========================================================================
DESIGN SYSTEM & GLOBAL STYLES
========================================================================== */
:root {
/* Color Palette */
--primary-red: #E50012;
--primary-red-hover: #C4000F;
--primary-blue: #1E40AF;
--primary-blue-light: #2563EB;
--primary-purple: #5B21B6;
--primary-purple-hover: #4C1D95;
--text-dark: #0F172A;
--text-muted: #475569;
--bg-slate: #F8FAFC;
--bg-white: #FFFFFF;
--bg-blue-light: #EFF6FF;
--accent-gold: #F59E0B;
/* Fonts */
--font-heading: 'Space Grotesk', 'Outfit', 'Inter', -apple-system, sans-serif;
--font-display: 'Outfit', 'Inter', -apple-system, sans-serif;
--font-sans: 'Inter', -apple-system, sans-serif;
/* Borders & Shadows */
--radius-sm: 8px;
--radius-md: 16px;
--radius-lg: 24px;
--radius-full: 9999px;
--shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
--shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
--shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--shadow-premium: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
/* Transitions */
--transition-fast: 0.2s ease;
--transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Reset & Base Rules */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
font-size: 16px;
}
body {
font-family: var(--font-sans);
color: var(--text-dark);
background-color: var(--bg-slate);
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
/* Global animation */
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(28px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.core-values-section,
.stats-section,
.about-section {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 1s ease-out forwards;
}
.core-values-section {
  animation-delay: 0.28s;
}
.stats-section {
  animation-delay: 0.40s;
}
.about-section {
  animation-delay: 0.6s;
}
.hero-content {
  transform: translateY(0);
  opacity: 1;
  animation: none;
}
.hero-buttons button {
opacity: 0;
transform: translateY(22px);
animation: fadeInUp 0.85s ease-out forwards;
animation-delay: 0.52s;
}
.hero-buttons button:nth-child(2) {
animation-delay: 0.68s;
}
.hero-flair {
opacity: 0;
transform: translateY(18px);
animation: fadeInUp 0.85s ease-out forwards;
animation-delay: 0.82s;
}
/* Typography Utility */
h1, h2, h3, h4 {
font-family: var(--font-heading);
font-weight: 700;
line-height: 1.25;
}
a {
text-decoration: none;
color: inherit;
transition: color var(--transition-fast);
}
img {
max-width: 100%;
height: auto;
display: block;
}
/* CSS HACK CONTROLS */
.css-toggle-input {
display: none;
}
/* ==========================================================================
BUTTONS & ACTIONS
========================================================================== */
.btn-primary {
display: inline-flex;
align-items: center;
gap: 8px;
background-color: var(--primary-red);
color: var(--bg-white);
font-family: var(--font-display);
font-weight: 600;
font-size: 0.95rem;
padding: 14px 28px;
border-radius: var(--radius-full);
border: none;
cursor: pointer;
box-shadow: var(--shadow-sm);
transition: all var(--transition-smooth);
}
.btn-primary:hover {
background-color: var(--primary-red-hover);
transform: translateY(-2px);
box-shadow: 0 10px 20px -5px rgba(229, 0, 18, 0.3);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-outline {
display: inline-flex;
align-items: center;
gap: 8px;
background-color: transparent;
color: var(--primary-purple);
font-family: var(--font-display);
font-weight: 600;
font-size: 0.95rem;
padding: 14px 28px;
border-radius: var(--radius-full);
border: 2px solid var(--primary-purple);
cursor: pointer;
transition: all var(--transition-smooth);
}
.btn-outline:hover {
background-color: var(--primary-purple);
color: var(--bg-white);
transform: translateY(-2px);
box-shadow: 0 10px 20px -5px rgba(91, 33, 182, 0.2);
}
.btn-secondary {
display: inline-flex;
align-items: center;
gap: 10px;
background-color: var(--primary-purple);
color: var(--bg-white);
font-family: var(--font-display);
font-weight: 600;
font-size: 1rem;
padding: 14px 30px;
border-radius: var(--radius-sm);
border: none;
cursor: pointer;
box-shadow: var(--shadow-md);
transition: all var(--transition-smooth);
}
.btn-secondary:hover {
background-color: var(--primary-purple-hover);
transform: translateY(-2px);
box-shadow: 0 12px 24px -6px rgba(91, 33, 182, 0.4);
}
.btn-arrow {
transition: transform var(--transition-fast);
}
.btn-primary:hover .btn-arrow,
.btn-outline:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
transform: translateX(4px);
}
/* ==========================================================================
HEADER SECTION
========================================================================== */
.main-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 80px;
background-color: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(226, 232, 240, 0.8);
z-index: 100;
display: flex;
align-items: center;
transition: all var(--transition-smooth);
}
.header-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
display: flex;
align-items: center;
justify-content: space-between;
}
/* Logo Brand */
.logo-brand {
display: flex;
align-items: center;
gap: 12px;
}
.logo-shield {
filter: drop-shadow(0 4px 6px rgba(30, 64, 175, 0.15));
transition: transform var(--transition-smooth);
}
.logo-image {
display: block;
width: 48px;
height: 63px;
max-width: 100%;
}
.logo-brand:hover .logo-shield {
transform: scale(1.05) rotate(2deg);
}
.logo-text {
display: flex;
flex-direction: column;
}
.logo-title {
font-family: var(--font-display);
font-weight: 800;
font-size: 1.7rem;
padding: 5px;
letter-spacing: 0.5px;
color: var(--primary-blue-light);
line-height: 1.1;
}
.logo-subtitle {
font-family: var(--font-display);
font-weight: 700;
font-size: 1.4rem;
letter-spacing: 2px;
color: var(--primary-purple);
}
/* Nav Menu Desktop */
.nav-links {
display: flex;
align-items: center;
gap: 32px;
list-style: none;
}
.nav-link {
font-family: var(--font-display);
font-weight: 600;
font-size: 0.95rem;
color: var(--text-muted);
position: relative;
padding: 8px 0;
}
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary-blue-light);
transition: width var(--transition-fast);
}
.nav-link:hover {
color: var(--primary-blue-light);
}
.nav-link:hover::after,
.nav-link.active::after {
width: 100%;
}
.nav-link.active {
color: var(--primary-blue-light);
}
/* Enquire Button Header */
.btn-header {
background-color: var(--primary-red);
color: var(--bg-white);
font-family: var(--font-display);
font-weight: 700;
font-size: 0.8rem;
padding: 5px 10px;
border-radius: 6px;
cursor: pointer;
transition: all var(--transition-smooth);
}
.btn-header:hover {
background-color: var(--primary-red-hover);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(229, 0, 18, 0.2);
}
/* Mobile Navigation Hamburger Styles */
.menu-icon-btn {
display: none;
cursor: pointer;
color: var(--text-dark);
position: relative;
z-index: 102;
}
.menu-icon-btn .icon-close {
display: none;
}
/* ==========================================================================
HERO SECTION
========================================================================== */
.hero-section {
position: relative;
min-height: calc(100vh - 80px);
padding-top: 120px;
padding-bottom: 90px;
/* Defer heavy hero background image loading — gradient shown immediately */
background-image: linear-gradient(
  to bottom, 
  rgba(0, 0, 0, 0.2), 
  rgba(0, 0, 0, 0.4)
), url('images/l3.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
overflow: hidden;
}
.hero-section.awards-hero {
  background-image: linear-gradient(180deg, rgba(135, 110, 110, 0.339), rgba(133, 110, 110, 0.339)), url('images/IMG_5109.JPG');
  background-position: center;
  background-size: cover;
}
.hero-section::before {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
z-index: 1;
}
/* Fancy Background organic waves matching the reference image */
.hero-bg-shapes {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
}

/* Mobile slider: hidden by default, enabled in mobile media queries */
.mobile-slider {
  display: none;
}
.shape-purple {
position: absolute;
top: -160px;
right: -160px;
width: 720px;
height: 720px;
border-radius: 42% 58% 70% 30% / 42% 48% 60% 58%;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.22) 0%, rgba(139, 92, 246, 0.05) 100%);
filter: blur(50px);
animation: blob-float 15s infinite alternate ease-in-out;
}
.shape-blue {
position: absolute;
bottom: -120px;
left: -120px;
width: 640px;
height: 640px;
border-radius: 50% 50% 34% 66% / 50% 60% 40% 60%;
background: linear-gradient(135deg, rgba(56, 189, 248, 0.16) 0%, rgba(37, 99, 235, 0.04) 100%);
filter: blur(40px);
animation: blob-float 20s infinite alternate-reverse ease-in-out;
}
@keyframes blob-float {
0% { transform: translate(0, 0) scale(1); }
50% { transform: translate(40px, -24px) scale(1.08); }
100% { transform: translate(-20px, 42px) scale(0.96); }
}
.hero-container {
max-width: 1100px;
margin: 0 auto;
padding: 0 24px;
display: grid;
grid-template-columns: 1fr;
align-items: center;
gap: 32px;
position: relative;
z-index: 2;
min-height: calc(100vh - 140px);
}
.hero-content {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
gap: 50px;
max-width: 720px;
}
.hero-tagline {
font-family: var(--font-display);
font-weight: 800;
font-size: 0.9rem;
max-width: 600px;
letter-spacing: 2px;
color: rgba(255, 255, 255, 0.95);
text-transform: uppercase;
opacity: 0;
transform: translateX(-8px);
animation: fadeInUp 1s ease-out forwards, tagline-slide 12s ease-in-out 2.2s infinite;
animation-delay: 0.2s, 2.0s;
}
@keyframes tagline-slide {
0%, 100% { transform: translateX(0); }
20% { transform: translateX(-4px); }
40% { transform: translateX(6px); }
60% { transform: translateX(-2px); }
80% { transform: translateX(4px); }
}
.accent-line {
width: 64px;
height: 5px;
margin-top: -45px;
background: linear-gradient(90deg, #38BDF8 0%, #A78BFA 100%);
border-radius: var(--radius-full);
}
.hero-headline {
font-size: 2.8rem;
font-weight: 900;
color: #FFFFFF;
letter-spacing: -1.20px;
line-height: 1.05;
max-width: 450px;
}
.hero-description {
font-size: 0.95rem;
font-weight: 700;
color: rgba(255, 255, 255, 0.88);
max-width: 640px;
line-height: 1.7;
}
.hero-buttons {
display: flex;
gap: 18px;
flex-wrap: wrap;
}
.btn-outline {
background-color: transparent;
color: rgba(255, 255, 255, 0.96);
border: 2px solid rgba(255, 255, 255, 0.92);
}
.btn-outline:hover {
background-color: rgba(255, 255, 255, 0.12);
color: #FFFFFF;
border-color: #FFFFFF;
box-shadow: 0 18px 40px rgba(255, 255, 255, 0.12);
}
.hero-flair {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 18px;
}
.hero-flair-pill {
padding: 10px 18px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.18);
color: rgba(255, 255, 255, 0.92);
font-size: 0.86rem;
letter-spacing: 0.02em;
}
@media (max-width: 1024px) {
.hero-section {
background-image: linear-gradient(180deg, rgba(6, 18, 61, 0.60), rgba(7, 15, 41, 0.88));
}
.hero-container {
grid-template-columns: 1fr;
min-height: auto;
}
.hero-headline {
font-size: 3rem;
}
.hero-visual {
display: none;
}
}
/* ==========================================================================
CORE VALUES FLOATING RIBBON
========================================================================== */
.core-values-section {
position: relative;
z-index: 10;
margin-top: -60px; /* Overlaps with hero section perfectly */
padding: 0 24px;
}
.core-values-container {
max-width: 1200px;
margin: 0 auto;
background-color: var(--bg-white);
border-radius: var(--radius-md);
box-shadow: var(--shadow-premium);
border: 1px solid rgba(226, 232, 240, 0.7);
overflow: hidden;
}
.values-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
}
.value-card {
padding: 32px 24px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
border-right: 1px solid rgba(226, 232, 240, 0.8);
transition: background-color var(--transition-smooth), transform var(--transition-smooth);
}
.value-card:last-child {
border-right: none;
}
.value-card:hover {
background-color: var(--bg-slate);
transform: translateY(-2px);
}
.icon-circle {
width: 60px;
height: 60px;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
color: var(--bg-white);
box-shadow: var(--shadow-sm);
transition: transform var(--transition-smooth);
}
.value-card:hover .icon-circle {
transform: scale(1.1) rotate(5deg);
}
/* Values Icons Background Colors */
.icon-circle.bg-blue { background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%); }
.icon-circle.bg-purple { background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%); }
.icon-circle.bg-light-blue { background: linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%); }
.icon-circle.bg-indigo { background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%); }
.icon-circle.bg-red { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }
.value-title {
font-size: 1.05rem;
font-weight: 700;
margin-bottom: 12px;
}
/* Titles Colors Matching References */
.value-title.text-blue { color: #2563EB; }
.value-title.text-purple { color: #7C3AED; }
.value-title.text-light-blue { color: #0EA5E9; }
.value-title.text-indigo { color: #4F46E5; }
.value-title.text-red { color: #EF4444; }
.value-text {
font-size: 0.88rem;
color: var(--text-muted);
line-height: 1.5;
}
/* ==========================================================================
KEY STATS COUNTER SECTION (GRADIENT BANNER)
========================================================================== */
.stats-section {
padding: 80px 28px;
background-color: var(--bg-slate);
}
.stats-container {
max-width: 1200px;
margin: 0 auto;
background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
border-radius: var(--radius-md);
padding: 48px;
color: var(--bg-white);
box-shadow: var(--shadow-lg);
position: relative;
overflow: hidden;
}
.stats-container::after {
content: '';
position: absolute;
width: 300px;
height: 300px;
border-radius: var(--radius-full);
background: rgba(255, 255, 255, 0.05);
top: -150px;
right: -50px;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 32px;
position: relative;
z-index: 2;
}
.stat-item {
display: flex;
align-items: center;
gap: 20px;
}
.stat-icon {
background-color: rgba(255, 255, 255, 0.15);
width: 68px;
height: 68px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all var(--transition-smooth);
}
.stat-item:hover .stat-icon {
background-color: var(--bg-white);
color: var(--primary-blue);
transform: scale(1.05);
}
.stat-info {
display: flex;
flex-direction: column;
}
.stat-number {
font-family: var(--font-display);
font-size: 2.2rem;
font-weight: 800;
line-height: 1.1;
}
.stat-label {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.85);
font-weight: 500;
}



/* ==========================================================================
ABOUT US SECTION
========================================================================== */
.about-section {
background-image: linear-gradient(180deg, rgba(93, 44, 44, 0.38), rgba(91, 19, 19, 0.38)), url('images/IMG_5022.JPG');
background-repeat: no-repeat;
background-size: cover;
background-position: center bottom ;
align-items: center;
width:100%;
margin: 80px 0;
padding: 10px 24px 20px 24px;
justify-self: center;
}
/* Clean Desktop Base Rule */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}


/* Centered, stacked layout by default so content (image + text) is centered */
.about-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
/* Dotted background pattern */
.dot-grid-decor {
position: absolute;
bottom: -30px;
right: -30px;
width: 180px;
height: 180px;
background: radial-gradient(var(--primary-blue-light) 20%, transparent 20%);
background-size: 16px 16px;
opacity: 0.25;
z-index: 1;
}
/* About Content styling */
.about-content {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.section-badge-wrapper {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 26px;
margin-top: 10px;
}
.section-badge {
font-family: var(--font-display);
font-weight: 800;
font-size: 0.85rem;
letter-spacing: 1.5px;
color: var(--primary-blue-light);
text-transform: uppercase;
}
.badge-line {
height: 2px;
width: 40px;
background-color: var(--primary-blue-light);
border-radius: var(--radius-full);
}
.badge-line.line-left,
.badge-line.line-right {
width: 50px;
}
.section-headline {
font-size: 2.8rem;
font-weight: 800;
color: var(--primary-red); 
margin-bottom: 18px;
letter-spacing: -0.5px;
}
.highlight-purple {
color: var(--primary-red-hover);
}
.about-description {
font-size: 1.05rem;
width: 50%;
font-weight: 500;
color: var(--bg-slate);
margin-bottom: 32px;
line-height: 1.7;
}
/* ==========================================================================
MESSAGE FROM THE DIRECTOR
========================================================================== */
.director-section {
  padding: 0 24px; /* Removed top/bottom padding so image can touch the edges */
  background-color: var(--bg-white);
  display: flex;
  justify-content: center;
}

.director-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch; /* Forces text and image columns to be identical heights */
  gap: 64px;
}

.director-content {
  flex: 1;
  min-width: 0;
  padding: 80px 0; /* Moved the padding here so text stays perfectly spaced */
}

.director-visual {
  flex: 1;
  display: flex;
  align-items: stretch; /* Stretches layout element vertically */
}

.director-image-wrapper {
  width: 100%;
  max-width: 500px;  /* Increased max-width so it stays proportional to the new height */
  height: 88%;      /* Forces wrapper to match the full height of the section */
  border-radius: 0;  /* Optional: set to 0 if you want it flush with section borders */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.director-img {
  width: 100%;
  height: 100%;      /* Forces the raw image to fill the layout completely */
  display: block;
  object-fit: cover; /* Crops image cleanly without distortion */
  object-position: center top;
}

.director-message {
font-size: 1.05rem;
color: var(--text-muted);
margin-bottom: 24px;
line-height: 1.8;
}
.director-signature {
margin-top: 32px;
}
.director-signature p {
margin: 8px 0;
color: var(--text-dark);
}
.director-signature p:first-child {
font-size: 1.1rem;
font-weight: 600;
}
.director-signature p:last-child {
color: var(--text-muted);
font-size: 0.95rem;
}
@media (max-width: 768px) {
  .director-container {
    flex-direction: column;
    gap: 40px;
  }
  .director-section {
    padding: 0 24px;
  }
@media (max-width: 480px) {
   .director-section {
    padding: 0 24px;
  }
  
}

  /* ==========================================================================
MOBILE VIEW RESETS (Max-width: 480px)
========================================================================== */
/* ==========================================================================
MOBILE VIEW RESETS (Max-width: 480px)
========================================================================== */
@media screen and (max-width: 480px) {
  /* 1. REDUCE BACKGROUND IMAGE SIZE: Changes cover to contain or caps height */
  .about-section {
    background-image: linear-gradient(rgba(226, 232, 240, 0.38), rgba(226, 232, 240, 0.38)), url('images/IMG_5022.JPG');
    margin: 40px 0;
    font-weight: 500;
    padding: 30px 16px;
    background-size: cover auto; /* Forces the image to fit the container width */
  }

  .section-badge{
    color: #C4000F;
  }

  /* Force stack blocks cleanly */
  .about-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  /* Center the badges or realign content tags */
  .about-content {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  /* Shrink desktop-sized headline down so it does not overflow */
  .section-headline {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  /* Overwrite the 50% width so text expands fully on small screens */
  .about-description {
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  /* Ensure background decorations don't cause horizontal scrolling */
  .dot-grid-decor {
    display: none; 
  }

  /* 2. HIDE THE DIRECTOR IMAGE: Targets the visual wrapper box */
  .director-visual, 
  .director-image-wrapper {
    display: none !important;
  }

  /* Adjust layout spacing since the director image is gone */
  .director-container {
    flex-direction: column;
    gap: 0px; 
  }

  /* Fix what we offer grid to display 1 card per row */
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .offers-section {
    padding: 0 16px 10px 16px;
  }
}

/* ==========================================================================
TABLET VIEW RESETS (Max-width: 992px)
========================================================================== */
@media screen and (max-width: 992px) {
  .about-section {
    margin: 60px 0;
    padding: 40px 24px;
  }

  .about-content {
    align-items: center;
    text-align: center;
  }

  .section-headline {
    font-size: 2.3rem;
  }

  /* Give the text description more breathing room on tablet viewports */
  .about-description {
    width: 85%;
    font-size: 1rem;
  }

  /* Shift the 4-column desktop offers grid down to a clean 2x2 square layout */
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .offers-section {
    padding: 70px 24px;
  }
}


}
/* ==========================================================================
WHAT WE OFFER (CATEGORIES CARDS)
========================================================================== */
.offers-section {
padding: 100px 24px;
background-color: var(--bg-slate);
}
.offers-header-container {
max-width: 1250px;
margin: 0 auto 60px auto;
text-align: center;
}
.section-badge-wrapper.centered {
justify-content: center;
}
.section-headline.centered {
text-align: center;
margin-top: 12px;
}
.offers-grid-container {
max-width: 1200px;
margin: 0 auto;
}
.offers-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}
/* Offer Card Box Details */
.offer-card {
background-color: var(--bg-white);
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-sm);
border: 1px solid rgba(226, 232, 240, 0.7);
display: flex;
flex-direction: column;
transition: all var(--transition-smooth);
}
.offer-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-lg);
border-color: rgba(37, 99, 235, 0.15);
}
.offer-image-box {
width: 100%;
height: 200px;
position: relative;
overflow: hidden;
background-color: #E2E8F0;
}
.offer-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.offer-card:hover .offer-img {
transform: scale(1.05);
}
/* Rounded Icon badge floating on the image card border */
.offer-icon-badge {
position: absolute;
bottom: 12px;
left: 16px;
width: 36px;
height: 36px;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
color: var(--bg-white);
box-shadow: var(--shadow-md);
border: 2px solid var(--bg-white);
}
.offer-icon-badge.bg-blue { background-color: var(--accent-gold); }
.offer-icon-badge.bg-purple { background-color: var(--primary-purple); }
.offer-icon-badge.bg-light-blue { background-color: #0EA5E9; }
.offer-icon-badge.bg-red { background-color: var(--primary-red); }
/* Offer textual body info */
.offer-info {
padding: 24px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.offer-title {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 12px;
color: var(--text-dark);
}
.offer-description-text {
font-size: 0.92rem;
color: var(--text-muted);
margin-bottom: 20px;
line-height: 1.6;
flex-grow: 1;
}
.offer-link {
display: inline-flex;
align-items: center;
font-family: var(--font-display);
font-weight: 700;
font-size: 0.9rem;
color: var(--primary-red);
cursor: pointer;
transition: color var(--transition-fast);
}
.offer-link:hover {
color: var(--primary-red-hover);
}
.offer-link .arrow-symbol {
margin-left: 6px;
transition: transform var(--transition-fast);
}

/* ==========================================================================
GALLERY SECTION
========================================================================== */
.gallery-section {
  padding: 5px 24px 120px;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.gallery-item {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.06) rotate(-0.5deg);
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.gallery-hero{
  width: 100%;
  height: 400px;
  
  /* The linear-gradient comes first to sit on top of the image */
  background-image: 
    linear-gradient(rgba(255, 194, 192, 0.25), rgba(255, 194, 192, 0.25)), 
    url('images/IMG_5023.JPG');
    
  /* Standard background positioning properties */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Centering the inside text */
  display: flex;
  align-items: center;
  margin-top: 80px;
  justify-content: center;
  color: white; 
}

.gallery-item figcaption {
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.9));
}
.gallery-hero .hero-container { grid-template-columns: 1fr 0.9fr; gap: 36px; }
.gallery-hero .hero-student-img { height: 320px; object-fit: cover; }
.gallery-hero .hero-description { max-width: 600px; }

/* Responsive adjustments */
@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item img { height: 200px; }
}
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  /* Mobile hero: compact top text area, large slider area, mature minimal layout */
  .hero-section {
    padding-top: 12px; /* compact header space */
    min-height: calc(100vh - 80px); /* fill viewport below fixed header */
    position: relative;
    background-color: transparent;
    overflow: hidden;
  }

 

  /* Mobile slider container (absolute behind content) */
  /* Make slider fill the hero so images aren't clipped and cover full width */
  .mobile-slider {
    display: block;
    position: absolute;
    inset: 0; /* cover full hero-section */
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .mobile-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top; /* favor showing top of image */
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.02);
    animation: slideFade 18s infinite ease-in-out;
  }

  /* Slide backgrounds are applied dynamically via `slider.js` for flexible image management */

  /* Dark overlay for contrast on mobile (above slides, below content) */
  .hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,21,37,0.55), rgba(6,21,37,0.15));
    z-index: 1;
    pointer-events: none;
  }

  @keyframes slideFade {
    0% { opacity: 0; }
    4% { opacity: 1; }
    28% { opacity: 1; }
    32% { opacity: 0; }
    100% { opacity: 0; }
  }

  /* Center hero content vertically so the text band sits neatly above the slider */
  .hero-container { grid-template-columns: 1fr; padding-top: 0; position: relative; z-index: 4; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height: calc(100vh - 80px); }
  /* Ensure gallery hero stacks to a single column and centers content on small screens */
  .gallery-hero .hero-container { grid-template-columns: 1fr !important; text-align: center; }
  /* Hide the right-side visual and let the background image take center stage */
  .gallery-hero .hero-visual { display: none; }
  .hero-visual { display: none; }

  /* Center and brighten hero content for mobile */
  .hero-content { color: #FFFFFF; align-items: center; text-align: center; padding: 8px 20px; max-width: 92%; z-index: 6; display:flex; flex-direction:column; gap:6px; text-shadow: 0 6px 18px rgba(6,21,37,0.6); }
  /* Make accent line compact on small screens to prevent overlap */
  .accent-line {
    width: 48px;
    height: 4px;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-tagline { color: #FDE68A; font-weight: 800; letter-spacing: 1px; font-size: 0.82rem; margin-bottom: 0; }
  .hero-headline { color: #FFFFFF; font-size: 2rem; line-height: 1.02; margin-bottom: 0; font-weight: 800; }
  .highlight-red { color: #fdb1b7; }
  .highlight-black { color: #FFF; font-size: 1rem; }
  /* Remove verbose description on mobile to keep layout minimal */
  .hero-description { display: none; }
  /* Remove secondary/outline CTA to declutter */
  .hero-buttons { justify-content: center; gap: 12px; margin-top: 8px; margin-bottom: 0; }
  .hero-buttons .btn-outline { display: none; }
  /* Make primary CTA prominent and centered */
  .hero-buttons .btn-primary { display: inline-block; min-width: 220px; padding: 12px 20px; font-size: 1rem; border-radius: 999px; box-shadow: 0 14px 30px rgba(0,0,0,0.45); }

  /* Boost CTA visibility on mobile */
  .btn-primary { padding: 12px 22px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
  .btn-outline { background-color: transparent; color: #FFF; border-color: rgba(255,255,255,0.7); }
  .btn-outline:hover { background-color: rgba(255,255,255,0.08); }

  /* Ensure the hero image inside the visual doesn't appear on mobile */
  .student-img-container { display: none; }
}

/* Tweak hero spacing for small mobile devices */
@media (max-width: 480px) {
  .hero-section { padding-bottom: 10px; }
  .gallery-hero .hero-visual { display: none !important; }
  .hero-headline { font-size: 1.9rem; }
  .hero-description { font-size: 0.98rem; }
}
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 180px; }
}
.offer-card:hover .offer-link .arrow-symbol {
transform: translateX(4px);
}
/* ==========================================================================
CALL TO ACTION BANNER (CURVED BOTTOM CARD)
========================================================================== */
.cta-banner-section {
padding: 60px 24px 100px 24px;
background-color: var(--bg-slate);
}
.cta-banner-container {
max-width: 1200px;
margin: 0 auto;
background-color: var(--bg-blue-light);
border-radius: var(--radius-md);
border: 1px solid rgba(191, 219, 254, 0.6);
padding: 36px 48px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 32px;
position: relative;
overflow: hidden;
box-shadow: var(--shadow-md);
}
/* Background graphics elements on the CTA */
.cta-banner-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: linear-gradient(45deg, rgba(37, 99, 235, 0.02) 25%, transparent 25%),
linear-gradient(-45deg, rgba(37, 99, 235, 0.02) 25%, transparent 25%);
background-size: 20px 20px;
pointer-events: none;
}
.cta-icon-outer {
position: relative;
z-index: 2;
}
.cta-icon-circle {
width: 72px;
height: 72px;
border-radius: var(--radius-full);
background-color: var(--primary-purple);
color: var(--bg-white);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 10px 20px -5px rgba(91, 33, 182, 0.3);
}
.cta-content-middle {
flex-grow: 1;
position: relative;
z-index: 2;
}
.cta-banner-headline {
font-size: 1.7rem;
font-weight: 800;
color: var(--primary-blue);
margin-bottom: 6px;
letter-spacing: -0.5px;
}
.cta-banner-description {
font-size: 1.05rem;
color: var(--text-muted);
font-weight: 500;
}
.cta-action-button {
position: relative;
z-index: 2;
}
.btn-cta-enquire {
padding: 14px 32px;
}
/* ==========================================================================
PURE HTML/CSS ENQUIRY MODAL STYLING
========================================================================== */
/* The Modal Container is controlled by checkbox #modal-toggle */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(15, 23, 42, 0.6);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
opacity: 0;
pointer-events: none;
transition: opacity var(--transition-smooth);
}
.modal-box,
.modal-content {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 40px;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close-btn {
position: absolute;
top: 24px;
right: 24px;
font-size: 2rem;
color: var(--text-muted);
cursor: pointer;
line-height: 1;
transition: color var(--transition-fast);
}
.modal-close-btn:hover {
color: var(--primary-red);
}
.modal-header-logo {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}
.modal-header-logo h3 {
font-size: 1.1rem;
color: var(--primary-blue);
letter-spacing: 0.5px;
}
.modal-title {
font-size: 1.8rem;
font-weight: 800;
color: var(--text-dark);
margin-bottom: 8px;
}
.modal-subtitle {
font-size: 0.95rem;
color: var(--text-muted);
margin-bottom: 28px;
}
/* Modal Form Controls */
.modal-form {
display: flex;
flex-direction: column;
gap: 20px;
}
.form-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.form-group label {
font-size: 0.88rem;
font-weight: 600;
color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
font-family: var(--font-sans);
font-size: 0.95rem;
padding: 12px 16px;
border-radius: 6px;
border: 1px solid #CBD5E1;
background-color: var(--bg-slate);
color: var(--text-dark);
transition: all var(--transition-fast);
outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
border-color: var(--primary-blue-light);
background-color: var(--bg-white);
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.btn-submit-form {
margin-top: 10px;
justify-content: center;
padding: 14px;
border-radius: 6px;
font-size: 1rem;
}
/* CSS Checkbox Hack Actions for Modal Display */
#modal-toggle:checked ~ .modal-overlay {
opacity: 1;
pointer-events: auto;
}
#modal-toggle:checked ~ .modal-overlay .modal-box {
transform: scale(1);
}
/* ==========================================================================
AWARDS SECTION
========================================================================== */
.awards-section {
  padding: 120px 24px 60px 24px;
  background-image: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('images/hero_students.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.awards-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.section-description {
  font-size: 1.05rem;
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 24px auto;
  line-height: 1.7;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 0 30px;
  margin-top: 64px;
}

.award-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.7);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  min-height: 140px;
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.award-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.award-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
}

@media (max-width: 768px) {
  .awards-section {
    padding: 60px 24px;
  }
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .award-card {
    padding: 20px;
    min-height: auto;
  }
}
/* ==========================================================================
FOOTER SECTION
========================================================================== */
.site-footer {
background-color: #0F172A;
color: #94A3B8;
font-size: 0.92rem;
}
.footer-top {
padding: 80px 24px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
gap: 48px;
}
/* Footer Brand Columns */
.logo-brand.inverted .logo-title {
color: var(--bg-white);
}
.logo-brand.inverted .logo-subtitle {
color: var(--accent-gold);
}
.footer-brand-pitch {
margin-top: 20px;
font-size: 0.9rem;
line-height: 1.6;
}
.footer-links-col h4,
.footer-contact-col h4 {
font-family: var(--font-display);
font-size: 1.1rem;
color: var(--bg-white);
margin-bottom: 24px;
font-weight: 600;
}
.footer-links-col ul {
list-style: none;
display: flex;
flex-direction: column;
gap: 12px;
}
.footer-links-col a,
.footer-label-link {
color: #94A3B8;
transition: color var(--transition-fast);
cursor: pointer;
}
.footer-links-col a:hover,
.footer-label-link:hover {
color: var(--bg-white);
}
.contact-info-text {
line-height: 1.8;
}
.contact-info-text strong {
color: var(--bg-white);
}
/* Footer bottom block */
.footer-bottom {
padding: 30px 24px;
}
.footer-container.bottom-bar {
display: flex;
justify-content: space-between;
align-items: center;
grid-template-columns: none; /* Reset grid */
}
.Godswill:hover{
  color: #F59E0B;
}
/* Font Colors Utility */
.font-white { color: #FFFFFF; }
.font-gold { color: var(--accent-gold); }

/* ==========================================================================
   NEW CUSTOM STYLES (TESTIMONIALS, CONTACT, ACADEMICS, ORPHAN CLASSES)
   ========================================================================== */

/* Testimonials Section Styles */
.testimonials-section {
  padding:  0 24px 20px 24px;
  background-color: var(--bg-white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0px auto 0 auto;
}
.testimonial-card {
  background-color: var(--bg-slate);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.7);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 33, 182, 0.15);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--accent-gold);
}
.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}
.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
  color: var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
  border: 2px solid var(--primary-blue-light);
}
.testimonial-meta h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.testimonial-meta span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Contact Page Styles */
.head{
  padding: 20px;
  align-self: center;
  text-align: center;
}
.contact-section-wrapper {
  padding: 10px 24px;
  background-color: var(--bg-white);
  margin-top: 80px; /* offset fixed header */
}
.contact-grid-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}
.contact-card-premium {
  background-color: rgba(213, 236, 242, 0.664);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 64, 175, 0.15);
}
.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.contact-card-icon.bg-red { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); color: white; }
.contact-card-icon.bg-purple { background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%); color: white; }
.contact-card-icon.bg-blue { background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%); color: white; }
.contact-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.contact-card-detail {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-card-detail a:hover {
  color: var(--primary-blue-light);
}
.contact-layout-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact-layout-bottom {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.contact-form-card {
  background-color: rgba(213, 236, 242, 0.664);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-md);
}
.contact-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.map-outer-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 2px 20px 50px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  height: 100%;
  min-height: 450px;
}
.map-iframe {
  height: 100%;
  min-height: 450px;
  border: 0;
  display: block;
}

/* Academics & Tables Styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 32px;
}
.subjects-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin: 20px 0;
}
.subjects-table th,
.subjects-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.subjects-table th {
  background-color: var(--bg-blue-light);
  color: var(--primary-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.subjects-table tr:last-child td {
  border-bottom: none;
}
.subjects-table tr:hover td {
  background-color: var(--bg-slate);
}

/* Admissions Page - Steps Styling */
.admission-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.step-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  text-align: center;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 33, 182, 0.15);
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.step-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

/* News/Events Layout */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.action-card-premium {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.action-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 64, 175, 0.15);
}
.card-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #E2E8F0;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.action-card-premium:hover .card-img-wrapper img {
  transform: scale(1.05);
}
.card-premium-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.card-badge.bg-sky { background-color: var(--bg-blue-light); color: var(--primary-blue-light); }
.card-badge.bg-red { background-color: #FEE2E2; color: var(--primary-red); }
.card-badge.bg-purple { background-color: #F3E8FF; color: var(--primary-purple); }
.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.card-link-premium {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

/* Admissions page additional grids */
.principal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.contact-info-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}
.academics-section {
  padding: 80px 24px;
}
.subjects-section {
  padding: 80px 24px;
  background-color: var(--bg-slate);
}
.quick-cards-row {
  padding: 80px 24px;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
}
.btn-cta.btn-red {
  background-color: var(--primary-red);
  color: var(--bg-white);
}
.btn-cta.btn-red:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(229, 0, 18, 0.3);
}
.btn-cta.btn-purple {
  background-color: var(--primary-purple);
  color: var(--bg-white);
}
.btn-cta.btn-purple:hover {
  background-color: var(--primary-purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(91, 33, 182, 0.3);
}

/* General Spacers and Section Blocks */
.section-block {
  padding: 80px 24px;
  background-color: var(--bg-white);
}
.section-block:nth-child(even) {
  background-color: var(--bg-slate);
}

/* Sticky WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-smooth);
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* Details Lightbox Overlay for events page news details */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}
.lightbox:target {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-close {
  cursor: pointer;
  transition: color var(--transition-fast);
}
.lightbox-close:hover {
  color: var(--primary-red) !important;
}
/* ==========================================================================
RESPONSIVE MEDIA QUERIES
========================================================================== */
/* Laptop & Large Tablets (Breakpoint 1024px) */
@media (max-width: 1024px) {
.hero-headline {
font-size: 3rem;
}
.values-grid {
grid-template-columns: repeat(3, 1fr);
}
.value-card:nth-child(3) {
border-right: none;
}
.value-card:nth-child(4) {
border-top: 1px solid rgba(226, 232, 240, 0.8);
}
.value-card:nth-child(5) {
border-top: 1px solid rgba(226, 232, 240, 0.8);
border-right: none;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
gap: 40px;
}
.offers-grid {
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}
.footer-container {
grid-template-columns: repeat(2, 1fr);
gap: 40px;
}
}
/* Medium Tablets & Mobile Menu Trigger (Breakpoint 768px) */
@media (max-width: 768px) {
/* Navigation Mobile Drawer implementation via pure CSS hack */
.menu-icon-btn {
display: block; /* Show hamburger button */
}
.nav-menu {
position: fixed;
top: 0;
left: -320px; /* Hidden offscreen by default */
width: 300px;
height: 100vh;
background-color: var(--bg-white);
box-shadow: var(--shadow-lg);
z-index: 101;
padding: 100px 32px 32px 32px;
transition: left var(--transition-smooth);
}
.nav-links {
flex-direction: column;
align-items: flex-start;
gap: 24px;
}
.nav-link {
font-size: 1.1rem;
}
/* When drawer checkbox is checked: slide nav in, show close icon, dim background */
.nav-drawer-overlay {
display: none;
}
#menu-toggle:checked ~ .main-header .menu-icon-btn .icon-hamburger {
display: none;
}
#menu-toggle:checked ~ .main-header .menu-icon-btn .icon-close {
display: block;
}
#menu-toggle:checked ~ .main-header .nav-menu {
left: 0;
}
#menu-toggle:checked ~ .nav-drawer-overlay {
display: block;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(15, 23, 42, 0.4);
backdrop-filter: blur(4px);
z-index: 99;
}
/* Grid Layouts Stacked on Mobile */
.hero-container {
grid-template-columns: 1fr;
text-align: center;
gap: 36px;
}
.hero-content {
align-items: center;
}
.accent-line {
    margin-left: auto;
    margin-right: auto;
  }
  /* Tidy the small accent line spacing on medium/narrow viewports */
  .accent-line {
    margin-top: 6px;
    height: 4px;
    width: 48px;
  }
.hero-headline {
font-size: 2.5rem;
}
.hero-buttons {
justify-content: center;
}
.about-container {
grid-template-columns: 1fr;
gap: 48px;
}
.about-visual {
order: 2; /* Move image down on mobile for natural reading flow */
justify-content: center;
}
.about-campus-img {
height: 320px;
}
.dot-grid-decor {
right: 10px;
bottom: -20px;
}
.values-grid {
grid-template-columns: 1fr;
}
.value-card {
border-right: none !important;
border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.value-card:last-child {
border-bottom: none;
}
.core-values-section {
margin-top: 10px;
}
.cta-banner-container {
flex-direction: column;
text-align: center;
padding: 40px 24px;
}
.cta-content-middle {
margin: 12px 0;
}
}
/* Small Mobile Screen Adjustments (Breakpoint 480px) */
@media (max-width: 480px) {
.hero-headline {
font-size: 2.1rem;
}
.hero-buttons {
flex-direction: column;
width: 100%;
gap: 12px;
}
.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
width: 100%;
justify-content: center;
}
.stats-grid {
grid-template-columns: 1fr;
}
.offers-grid {
grid-template-columns: 1fr;
}
.section-headline {
font-size: 2.1rem;
}
.btn-header {
display: none; /* Hide header btn on extra small viewports to save space */
}
.footer-container {
grid-template-columns: 1fr;
}
.footer-container.bottom-bar {
flex-direction: column;
text-align: center;
gap: 12px;
}
}