/* ===== CSS Variables - IGCE Brand Colors ===== */
:root {
  --ig-primary: #00983c;
  --ig-primary-dark: #006b2a;
  --ig-primary-light: #f4fbf6;
  --ig-accent: #1db954;
  --ig-dark: #1e2d26;
  --ig-gradient: linear-gradient(135deg, #00983c 0%, #006b2a 100%);

  --gray-200: #dfe7e2;
  --gray-600: #6c757d;
  --gray-700: #495057;

  --shadow-sm: 0 0.125rem 0.5rem rgba(0, 152, 60, 0.08);
  --shadow-md: 0 0.25rem 1rem rgba(0, 152, 60, 0.12);
  --shadow-lg: 0 0.5rem 2rem rgba(0, 152, 60, 0.16);

  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;

  --transition-normal: 0.3s ease;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--ig-dark);
  font-weight: 700;
}
.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.bg-light {
  background: var(--ig-primary-light) !important;
}
.text-white-90 {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 107, 42, 0.75) 0%,
    rgba(0, 152, 60, 0.55) 30%,
    rgba(0, 152, 60, 0.35) 100%
  );
  z-index: 2;
}
.hero-content-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 7rem 0;
}
.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  color: white;
  text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.3);
}
.hero-lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
}
.text-highlight {
  color: #ffd700;
  font-weight: 700;
}

/* ===== Sub Navigation ===== */
.page-subnav {
  background: white;
  padding: 0.9375rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.subnav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.subnav a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.subnav a:hover {
  color: var(--ig-primary);
}
.subnav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ig-accent);
  transition: width var(--transition-normal);
}
.subnav a:hover::after {
  width: 100%;
}

/* ===== Section Common ===== */
.section-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ig-accent);
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
}
.section-title {
  font-size: 2rem;
  color: var(--ig-dark);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}
.section-text {
  font-size: 1rem;
  color: var(--gray-700);
}

/* ===== About Section ===== */
.about-section {
  padding: 4rem 0;
  background: white;
}
.about-image-container {
  position: relative;
}
.main-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}
.feature-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--ig-primary-light);
  color: var(--ig-primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon i {
  font-size: 1.25rem;
}
.feature-box h6 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.feature-box p {
  font-size: 0.75rem;
  margin: 0;
  color: var(--gray-600);
}

/* ===== Departments Section ===== */
.departments-section {
  padding: 4rem 0;
}
.dept-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  height: 100%;
  transition: var(--transition-normal);
  border: 1px solid var(--gray-200);
}
.dept-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.dept-icon {
  width: 4rem;
  height: 4rem;
  background: var(--ig-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.dept-icon i {
  font-size: 1.5rem;
  color: white;
}
.dept-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.dept-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

/* ===== Hospital Section ===== */
.hospital-section {
  padding: 4rem 0;
  background: var(--ig-gradient);
  position: relative;
}
.hospital-section .section-title {
  color: white;
}
.hospital-stat {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}
.treatments-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.treatment-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  transition: var(--transition-normal);
}
.treatment-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.treatment-item i {
  font-size: 1rem;
}
.treatment-item span {
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== Career Section ===== */
.career-section {
  padding: 4rem 0;
}
.career-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.career-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--ig-primary-light);
  border-radius: var(--radius-md);
}
.career-item i {
  font-size: 1.5rem;
  color: var(--ig-primary);
}
.career-item h6 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.career-item p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--gray-600);
}
.stats-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stat-box {
  background: var(--ig-primary-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}
.stat-box .stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ig-primary);
}
.stat-box .stat-label {
  font-size: 0.75rem;
  color: var(--gray-600);
}
.recruiter {
  background: var(--ig-primary-light);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 2rem 0;
}
.cta-card {
  background: var(--ig-gradient);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cta-card h3 {
  font-size: 1.5rem;
  color: white;
}
.cta-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Buttons ===== */
.btn {
  font-weight: 500;
  border-radius: 2rem;
  transition: var(--transition-normal);
}
.btn-primary {
  background: white;
  color: var(--ig-primary);
  border: none;
}
.btn-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(255, 255, 255, 0.2);
}
.btn-outline-light {
  border: 2px solid white;
  color: white;
  background: transparent;
}
.btn-outline-light:hover {
  background: white;
  color: var(--ig-primary);
  transform: translateY(-2px);
}
.btn-light {
  background: white;
  color: var(--ig-primary);
  border: none;
}
.btn-light:hover {
  background: var(--ig-primary-light);
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
}
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-lead {
    font-size: 0.875rem;
  }
  .hero-sub {
    font-size: 0.8125rem;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .subnav {
    gap: 1rem;
  }
  .subnav a {
    font-size: 0.875rem;
  }
  .feature-box {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 0.75rem;
  }
}
@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.5rem;
  }
  .stat-number {
    font-size: 2rem;
  }
}

/* ===== Animations ===== */
@keyframes floatElement {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(180deg);
  }
}

/* ===== Print ===== */
@media print {
  .hero-section,
  .cta-section,
  .page-subnav,
  .btn {
    display: none !important;
  }
  .hero-content-overlay {
    position: relative;
    background: var(--ig-primary);
    padding: 1rem 0;
  }
}
