﻿/* ==========================================================================
   ENROLLGHANA HERO SECTION STYLES
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #F0FFF0 0%, #F0FFF0 100%);

    /* 10rem top padding provides an offset spacer so it clears your fixed navigation menu safely */
    padding: 1rem 2rem 1rem 2rem; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.hero-section1 {
    background: linear-gradient(135deg, #04140a 0%, #000000 100%);


    /* 10rem top padding provides an offset spacer so it clears your fixed navigation menu safely */
    padding: 1rem 2rem 1rem 2rem; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}
.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Left Column Styling */
.hero-left-content {
    display: flex;
    flex-direction: column;
}

.hero-eyebrow {
    color: #6366f1; /* Tech purple label accent color */
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: #ffffff;
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.hero-description {
    color: #94a3b8;  /* Muted silver/slate paragraph text */
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 540px;
}

/* Hero Actions Button Area */
.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.hero-btn-blue {
    background-color: #1d5cd4; /* Vibrant royal blue from image */
    color: #ffffff;
    border: 1px solid transparent;
}

.hero-btn-blue:hover {
    background-color: #1a52bd;
}

.hero-btn-outline {
    background-color: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-btn:active {
    transform: scale(0.98);
}

/* Right Column Statistics Card Panel */
.stats-card-panel {
    background-color: #1d243e; /*rgba(30, 41, 59, 0.3);*/
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 3rem;
    backdrop-filter: blur(12px);
}

.stats-panel-header {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2.5rem;
    display: block;
}

.stats-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2.5rem;
    column-gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.stat-item-block {
    display: flex;
    flex-direction: column;
}

.stat-numeric-value {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

.stat-text-label {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.stats-panel-footer {
    color: #475569;
    font-size: 0.85rem;
    font-style: italic;
}

/* ==========================================================================
   RESPONSIVE VIEWPORT BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr; /* Stacks column components cleanly on tablets */
        gap: 3.5rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 8rem; /* Reduces spacer depth slightly on small screen widths */
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .stats-card-panel {
        padding: 2rem;
    }
}

/* 2x2 Grid setup with tightly controlled layout spacing */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Snug space between the cards */
    max-width: 840px;
    width: 100%;
}

/* Compact Feature Cards */
.feature-card {
    background-color: #ffffff;
    border-radius: 6px;
    padding: 5px 5px; /* Reduced padding removes excess empty space */
    display: flex;
    align-items: flex-start; /* Aligns icon gracefully with the top line of text */
    gap: 10px; /* Snug gap between icon and text content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 130px; /* Prevents layout pop while keeping the card size small */
    box-sizing: border-box;
}

/* Inline SVG Icon Wrapper */
.card-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin: 40px 0px 0 20px; /* Micro-adjustment to align perfectly with the first title sentence */
}

/* Precise SVG Sizing and Coloring */
.card-icon svg {
    width: 100%;
    height: 100%;
    stroke: #8fa0b5; /* Light slate blue color matching your reference image icons */
}

/* Card typography adjustments */
.card-content {
    display: flex;
    flex-direction: column;
}

/* Heading styles (+233..., Campus Visits, etc.) */
.card-title {
    color: #384252; /* Deep slate color for high-contrast titles */
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 6px 0; /* Tight bottom margin pulls the descriptions closely underneath */
    letter-spacing: -0.01em;
}

/* Secondary descriptions and metadata */
.card-description {
    color: #65758c; /* Soft grey text for sub-items */
    font-size: 0.88rem;
    line-height: 1.45; /* Clean text spacing without bloated vertical height */
    margin: 0;
}

/* Responsive adjustment for a clean single-column look on mobile viewports */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        min-height: auto; /* Drops minimum height restriction on mobile devices */
    }
}

/* Container bar pinning it to the top */
/* Container bar pinned permanently to the top of the viewport */
.announcement-bar {
  display: flex;
  align-items: center;
  background-color: #1d243e; /* Navy theme matching your stats card */
  border-bottom: 1px solid #273052;
  height: 40px;
  overflow: hidden;
  font-family: system-ui, -apple-system, sans-serif;

  /* Sticky Fixed Mechanics */
  position: fixed;   /* Locks the bar in place relative to the browser viewport */
  top: 40;            /* Flushes it to the very top edge */
  left: 0;           /* Aligns it to the left edge */
  width: 100%;       /* Spans it perfectly across the entire screen width */
  z-index: 9999;     /* Keeps it layered safely above all other scrolling webpage elements */
}



/* Stationary Header Badge */
.announcement-heading {
  background-color: #93c572; /* Pistachio Green highlight accent */
  color: #061f10;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10; /* Keeps heading layered solidly on top of scrolling text */
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.4);
}

/* Wrapper for the track */
.marquee-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

/* The actual running text style */
.marquee-text {
  display: inline-block;
  color: #ffffff;
  font-size: 0.9rem;
  padding-left: 20px;
  display: flex;
  align-items: center;
  
  /* Pacing Control: 25 seconds for a clean, readable movement speed */
  animation: scroll-left 25s linear infinite;
}

/* The fluid CSS Keyframe Animation loop */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pause the scrolling animation when a user hovers over the bar */
.marquee-container:hover .marquee-text {
  animation-play-state: paused;
}

/* 1. Base style for all statistics figures */
.stat-numeric-value {
  color: #ffffff;
  font-weight: 700;
  font-size: 2.5rem;
  display: inline-block;
  
  /* 4-second total loop time: 1 second allocated for each of the 4 items */
  animation: turn-flash 15s ease-in-out infinite;
}

/* 2. The Chain Reaction Timeline (Staggered Delays) */
.stat-item-1 .stat-numeric-value {
  animation-delay: 0s;     /* Flashes first: 4000+ */
}

.stat-item-2 .stat-numeric-value {
  animation-delay: 5s;     /* Flashes second: 200+ */
}

.stat-item-3 .stat-numeric-value {
  animation-delay: 10s;  /* Flashes third: 6 */
}

.stat-item-4 .stat-numeric-value {
  animation-delay: 10s;     /* Flashes fourth: 30+ */
}


/* 3. The Keyframe Flash Blueprint */
@keyframes turn-flash {
  0% {
    color: #ffffff;
    transform: scale(1);
    text-shadow: none;
  }
  /* The quick flash occurs within the first 20% of its individual window */
  10% {
    color: #93c572; /* Pistachio Green accent */
    transform: scale(1.1); /* Slight pop forward */
    text-shadow: 0 0 15px rgba(147, 197, 114, 0.5);
  }
  20%, 100% {
    color: #ffffff;
    transform: scale(1);
    text-shadow: none;
  }
}

/* Transparent Off-White Card Container Style */
.admission-card {
  background: rgba(255, 255, 255, 0.08); /* Transparent off-white base layer */
  backdrop-filter: blur(12px);          /* Smooth frosted glass background distortion */
  -webkit-backdrop-filter: blur(12px);  /* Safari compatibility mirror */
  border: 1px solid rgba(255, 255, 255, 0.15); /* Soft structural edge highlighting */
  border-radius: 20px;
  padding: 40px;
  max-width: 650px;
  margin: 40px auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  font-family: system-ui, -apple-system, sans-serif;
}

/* Card Heading Title */
.admission-title {
  color: #ffffff;
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
  border-left: 4px solid #93c572; /* Pistachio brand accent border tag */
  padding-left: 12px;
}

/* Custom Ordered List Mechanics */
.admission-list {
  list-style: none; /* Disables the native ugly browser dot numbers */
  padding: 0;
  margin: 0;
  position: relative;
}

/* Left structural connecting line between steps */
.admission-list::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
}

/* List Item Row Wrapper */
.admission-step {
  display: flex;
  position: relative;
  margin-bottom: 28px;
  counter-increment: step-counter; /* Creates an automated programmatic loop index counter */
}

.admission-step:last-child {
  margin-bottom: 0;
}

/* Customized Vector Number Counter Badges */
.admission-step::before {
  content: counter(step-counter); /* Grabs the automatic list number value */
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: #ffffff; /* Bright solid background for legibility contrast */
  color: #1d243e;      /* Deep dark typography color */
  font-weight: bold;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* Inner Text Segment Area Positioning */
.step-content {
  padding-left: 60px; /* Pushes content rightward away from custom step badge */
}

.step-content h3 {
  color: #ffffff;
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.step-content p {
  color: rgba(255, 255, 255, 0.7); /* Desaturated off-white secondary color for readable body */
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Container layout grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 32px;
  background-color: #f5f5f5; /* Light page background layout */
  font-family: system-ui, -apple-system, sans-serif;
}

/* Card Surface Element */
.staff-card {
  background-color: #f9f9f9;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

/* Gray background crop zone for avatar graphic */
.image-container {
  background-color: #333639;
  border-radius: 12px;
  height: 220px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

/* Profile photo scaling settings */
.staff-avatar {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* Information Container */
.staff-info {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.staff-role {
  color: #111111;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

/* Department Label Bases */
.staff-department {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Color codes mapping to labels */
.text-admin { color: #58804d; }
.text-academic { color: #507d5c; }
.text-domestic { color: #4e7845; }

/* Horizontal container for name and icon cluster */
.staff-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.staff-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #555555;
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111111; /* Solid dark color for system symbols */
}

/* Scale styling for icons vector layers */
.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

/* --- Base Resets & Variables --- */
:root {
  --color-primary-dark: #0f172a;   /* Rich deep dark color for titles */
  --color-text-muted: #64748b;     /* Muted body text gray */
  --color-accent-blue: #2563eb;    /* Vibrant blue for bullets and icons */
  --color-bg-light: #f8fafc;       /* Ultra light background tint */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.sector-section {
  font-family: var(--font-family);
  background-color: var(--color-bg-light);
  padding: 10px 10px; /* Generous padding on edges instead of a max-width box */
  width: 100%;
  color: var(--color-primary-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Section Header Layout --- */
.section-header {
  max-width:100%;
  margin-bottom: 56px;
}

.section-title {
  font-size: 2.line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
  color: var(--color-primary-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Cards Container Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* --- Individual Card Structure --- */
.card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
}

/* --- Icon Theming styles --- */
.icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-blue {
  background-color: #eff6ff;
  color: #3b82f6;
}

.icon-green {
  background-color: #f0fdf4;
  color: #22c55e;
}

.icon-orange {
  background-color: #fff7ed;
  color: #f97316;
}

/* --- Card Typography --- */
.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0 0 24px 0;
  flex-grow: 1; /* Pushes content down so listings align if text heights vary */
}

/* --- Custom Bullet List Items --- */
.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 20px;
  margin-bottom: 2px;
}

.card-list li:last-child {
  margin-bottom: 0;
}

/* Custom styled bullet dot injection */
.card-list li::before {
  content: "•";
  color: var(--color-accent-blue);
  font-weight: bold;
  font-size: 1.25rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .sector-section {
    padding: 48px 16px;
  }
}
