/* ===== Modern Zonal Office Theme ===== */
:root {
  --primary: #0d6efd;
  --primary-dark: #3498db;
  --primary-soft: rgba(255, 255, 255, 0.1);
  --secondary: #6c757d;
  --accent: #ffc107;
  --dark: #0f172a;
  --light: #f8f9fa;
  --soft-bg: #f3f6f9;
  --glass: rgba(255, 255, 255, 0.95);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
}

/* ===== Global Reset & Typography ===== */
body {
  font-family: var(--font-body);
  color: #334155;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
}

h1 {
  font-family: var(--font-heading);
  color: var(--light);
  font-weight: 700;
}

a { text-decoration: none; color: var(--primary); transition: all 0.3s ease; }
a:hover { color: var(--primary-dark); }

.section-padding { padding: 80px 0; }
@media (max-width: 768px) { .section-padding { padding: 50px 0; } }

.object-fit-cover { object-fit: cover; }
.tracking-tight { letter-spacing: -0.5px; }
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }

/* ===== Preloader ===== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: white;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}
.logo-container img { width: 150px; }
.spinner {
  margin-top: 20px;
  width: 40px; height: 40px;
  border: 3px solid var(--soft-bg);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ===== Top Bar ===== */
.top-bar { font-size: 0.9rem; }
.lang-link {
  color: var(--secondary);
  padding: 2px 8px;
  border-radius: 4px;
}
.lang-link:hover, .lang-link.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

/* ===== Navbar ===== */
.navbar { padding: 15px 0; transition: padding 0.3s; }
.navbar.sticky-top { background: var(--glass); backdrop-filter: blur(10px); }
.nav-logo { height: 50px; border-radius: 8px; }
.nav-link {
  color: #4b5563 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  font-family: var(--font-heading);
}
.nav-link:hover, .nav-link.active-link { color: var(--primary) !important; }
.btn-login { font-family: var(--font-heading); font-size: 0.9rem; }

/* ===== Hero Section ===== */
.hero-section { overflow: hidden; }
.hero-img { height: 600px; object-fit: cover; }
.overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
}
.hero-content {
  bottom: 20%; left: 50%; transform: translateX(-50%);
  text-align: center; width: 80%;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  .hero-img { height: 450px; }
  .hero-content h1 { font-size: 2rem; }
}

/* ===== Stats Cards ===== */
.bg-soft { background-color: var(--soft-bg); }
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
}
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md) !important;
}
.icon-box {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.bg-primary-soft { background: var(--primary-soft); }
.bg-warning-soft { background: rgba(255, 193, 7, 0.1); }
.bg-success-soft { background: rgba(25, 135, 84, 0.1); }

/* ===== Director Card ===== */
.director-avatar {
  width: 140px; height: 140px; object-fit: cover;
  background: white;
}
.h-100px { height: 100px; }

/* ===== Feature Lists ===== */
.icon-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ===== Quick Links ===== */
.quick-link-card { transition: 0.3s; }
.quick-link-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md) !important; }
.quick-link-card img { height: 80px; width: auto; object-fit: contain; }

/* ===== Footer ===== */
.footer-modern {
  background: #0b0f19;
  font-family: var(--font-body);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: white; padding-left: 5px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: white;
}
.social-btn:hover { background: var(--primary); transform: scale(1.1); }

/* ===== Animation Utilities ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s forwards ease-out;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Animation Initial States */
.scroll-animate { opacity: 0; transform: translateY(40px); transition: 1s ease; }
.scroll-animate.from-left { transform: translateX(-50px); }
.scroll-animate.from-right { transform: translateX(50px); }
.scroll-animate.active { opacity: 1; transform: translate(0); }