/* ============================================
   Mohammad Al Gergawi - Corporate Website
   Premium Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #0a1628;
  --navy-light: #131f3a;
  --navy-mid: #1a2a4a;
  --gold: #c8a54e;
  --gold-light: #d4b96a;
  --gold-dim: rgba(200, 165, 78, 0.15);
  --white: #ffffff;
  --grey-100: #f7f8fa;
  --grey-200: #eef0f4;
  --grey-300: #d1d5de;
  --grey-400: #9ca3b0;
  --grey-600: #5a6270;
  --grey-800: #2c3240;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-light: rgba(255, 255, 255, 0.75);
  --glass-border-light: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --shadow-gold: 0 8px 30px rgba(200, 165, 78, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s ease;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

p {
  font-size: 1.05rem;
  color: var(--grey-600);
  line-height: 1.8;
}

.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 40px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--grey-400);
  max-width: 600px;
  font-weight: 300;
}

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

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--navy);
}

.section-grey {
  background: var(--grey-100);
}

/* --- Password Screen --- */
.password-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.password-screen.hidden {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.password-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 40%, #0d1f3c 70%, #0a1628 100%);
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.password-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(200, 165, 78, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(200, 165, 78, 0.05) 0%, transparent 50%);
}

.password-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.password-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbFloat 12s ease-in-out infinite;
}

.password-orb:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.password-orb:nth-child(2) {
  width: 300px;
  height: 300px;
  background: #1a5fb4;
  bottom: -80px;
  left: -80px;
  animation-delay: -4s;
}

.password-orb:nth-child(3) {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: 50%;
  left: 50%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.password-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  text-align: center;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.password-card .emblem {
  width: 60px;
  height: 60px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-card .emblem svg {
  width: 28px;
  height: 28px;
  fill: var(--navy);
}

.password-card h2 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.password-card .subtitle {
  color: var(--grey-400);
  font-size: 0.9rem;
  margin-bottom: 35px;
  font-weight: 300;
}

.password-input-wrap {
  position: relative;
  margin-bottom: 20px;
}

.password-input-wrap input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition-fast);
}

.password-input-wrap input::placeholder {
  color: var(--grey-400);
}

.password-input-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 165, 78, 0.15);
}

.password-input-wrap .toggle-pw {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey-400);
  transition: var(--transition-fast);
}

.password-input-wrap .toggle-pw:hover {
  color: var(--gold);
}

.password-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.password-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.password-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 12px;
  opacity: 0;
  transition: var(--transition-fast);
}

.password-error.show {
  opacity: 1;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}

.nav-logo .logo-text {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo .logo-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}

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

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

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

.nav-cta {
  padding: 10px 24px !important;
  background: rgba(200, 165, 78, 0.15) !important;
  border: 1px solid rgba(200, 165, 78, 0.3);
  border-radius: 50px !important;
  color: var(--gold) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
}

.hero-bg-gradient::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(200, 165, 78, 0.06) 0%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  padding-right: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(200, 165, 78, 0.1);
  border: 1px solid rgba(200, 165, 78, 0.2);
  border-radius: 50px;
  margin-bottom: 30px;
}

.hero-badge span {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--grey-400);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 165, 78, 0.2);
  pointer-events: none;
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.hero-float-card.card-1 {
  bottom: -20px;
  left: -40px;
}

.hero-float-card.card-2 {
  top: 40px;
  right: -30px;
}

.hero-float-card .card-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-float-card .card-label {
  font-size: 0.78rem;
  color: var(--grey-400);
  margin-top: 4px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-gold-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy-light);
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--grey-400);
  font-weight: 400;
}

/* --- Highlight Cards --- */
.highlights {
  padding: 100px 0;
  background: var(--white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.highlight-card {
  background: var(--grey-100);
  border-radius: var(--radius-md);
  padding: 45px 35px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-dim);
}

.highlight-card .card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.highlight-card .card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--navy);
}

.highlight-card h4 {
  margin-bottom: 12px;
}

.highlight-card p {
  font-size: 0.95rem;
  color: var(--grey-400);
}

.highlight-card .card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(200, 165, 78, 0.07);
  line-height: 1;
}

/* --- Timeline --- */
.timeline-section {
  padding: 100px 0;
  background: var(--grey-100);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 50px auto 0;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(200, 165, 78, 0.1));
}

.timeline-item {
  position: relative;
  padding-bottom: 50px;
  padding-left: 30px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -37px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--grey-100);
  box-shadow: 0 0 0 4px rgba(200, 165, 78, 0.2);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-item h4 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--grey-400);
}

/* --- Quote Section --- */
.quote-section {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200, 165, 78, 0.04) 0%, transparent 70%);
}

.quote-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-mark {
  font-size: 6rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 30px;
  font-family: Georgia, serif;
}

.quote-text {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--white);
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 30px;
}

.quote-author {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- About Page --- */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at bottom right, rgba(200, 165, 78, 0.06) 0%, transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.page-hero .breadcrumb a {
  color: var(--grey-400);
}

.page-hero .breadcrumb a:hover {
  color: var(--gold);
}

.page-hero .breadcrumb .separator {
  color: var(--grey-400);
}

.page-hero .breadcrumb .current {
  color: var(--gold);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--grey-400);
  font-size: 1.15rem;
  max-width: 600px;
}

/* Split Content */
.split-section {
  padding: 100px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-grid.reverse {
  direction: rtl;
}

.split-grid.reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.split-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.split-image .overlay-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
}

.split-text h6 {
  color: var(--gold);
  margin-bottom: 12px;
}

.split-text h2 {
  margin-bottom: 20px;
}

.split-text p {
  margin-bottom: 16px;
}

.split-text .feature-list {
  margin-top: 24px;
}

.split-text .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--grey-600);
}

.split-text .feature-list li svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Leadership Vision Pillars --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--grey-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

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

.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--gold-dim);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
}

.pillar-card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--grey-400);
}

/* --- Government Role Cards --- */
.gov-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.gov-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--grey-200);
  display: flex;
  gap: 24px;
  transition: var(--transition);
}

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

.gov-card .gov-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gov-card .gov-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
}

.gov-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.gov-card p {
  font-size: 0.9rem;
  color: var(--grey-400);
}

/* --- Projects Showcase --- */
.project-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.project-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  cursor: pointer;
  group: true;
}

.project-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-panel:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: var(--transition);
}

.project-panel:hover .project-overlay {
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.4) 60%);
}

.project-overlay h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.project-overlay p {
  color: var(--grey-300);
  font-size: 0.92rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: var(--transition);
}

.project-panel:hover .project-overlay p {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}

.project-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(200, 165, 78, 0.2);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* --- Global Initiatives Grid --- */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.initiative-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: var(--transition);
}

.initiative-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.initiative-card .card-image {
  height: 220px;
  overflow: hidden;
}

.initiative-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.initiative-card .card-body {
  padding: 28px;
}

.initiative-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.initiative-card p {
  font-size: 0.9rem;
  color: var(--grey-400);
}

/* --- Media / Blog Layout --- */
.media-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.media-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
}

.media-featured:hover {
  box-shadow: var(--shadow-lg);
}

.media-featured .featured-image {
  height: 340px;
  overflow: hidden;
}

.media-featured .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-featured .featured-body {
  padding: 35px;
}

.media-featured .featured-body h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.media-featured .featured-body p {
  font-size: 0.95rem;
  color: var(--grey-400);
  margin-bottom: 16px;
}

.media-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-sidebar-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--grey-200);
  transition: var(--transition);
}

.media-sidebar-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.media-sidebar-item .tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.media-sidebar-item h5 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.media-sidebar-item p {
  font-size: 0.85rem;
  color: var(--grey-400);
}

/* --- Contact Form --- */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-form-wrap {
  background: var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 45px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--grey-800);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 165, 78, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-card .info-icon {
  width: 44px;
  height: 44px;
  background: rgba(200, 165, 78, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .info-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.contact-info-card h5 {
  color: var(--white);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-info-card p {
  color: var(--grey-400);
  font-size: 0.88rem;
}

.contact-info-card a {
  color: var(--gold);
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  margin-top: auto;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom center, rgba(200, 165, 78, 0.03) 0%, transparent 60%);
}

.footer-top {
  padding: 80px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-brand .logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo-text span {
  color: var(--gold);
}

.footer-brand p {
  color: var(--grey-400);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-col h6 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--grey-400);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--grey-400);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--gold-light);
}

.footer-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 150px;
  margin-top: 20px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.8) contrast(1.1);
}

.footer-bottom {
  padding: 24px 0;
  position: relative;
  z-index: 2;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--grey-400);
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: var(--navy);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-desc {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrap {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 50px auto 0;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-grid.reverse {
    direction: ltr;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gov-cards-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .initiatives-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 50px auto 0;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .container {
    padding: 0 1.2rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 0;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-number {
    font-size: 2rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 40px auto 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .password-card {
    padding: 40px 28px;
  }

  .page-hero {
    min-height: 40vh;
    padding: 120px 0 60px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-badge {
    margin: 0 auto 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Loader for page transitions */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(200, 165, 78, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
