/* ============================================================
   HOMEPAGE CSS — APIIP Investment Portal
   Extracted from approved mockup-homepage.html
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary: #fe5900;
  --primary-light: #ff7a33;
  --primary-dark: #d94e00;
  --secondary: #0b6e4f;
  --secondary-light: #0f9b6e;
  --accent-blue: #1a5fb4;
  --accent-blue-dark: #0d3b7a;
  --dark: #0a1628;
  --dark-section: #1f2546;
  --light-bg: #f4f7fb;
  --warm-light: #fff8f3;
  --text-body: #444;
  --text-muted: #5a6a80;
  --white: #ffffff;
  --nav-dropdown: #3e4095;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }

.container { max-width: 1240px; }

/* Section spacing */
.section-padding { padding: 90px 0; }

/* Section titles */
.section-header { text-align: center; margin-bottom: 55px; }
.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #00053c;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 20px auto 0;
}
.section-header.light h2 { color: var(--white); }
.section-header.light h2::after { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10002;
  transition: all 0.35s ease;
}
#header .header-nav-wrapper {
  background: transparent;
  transition: all 0.35s ease;
}
#header.scrolled .header-nav-wrapper {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
#header.scrolled .menuzord-menu > li > a {
  font-size: 11px;
}
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 80px;
}
.header-left { display: flex; align-items: center; gap: 10px; flex: 1; }
.logo-holder { display: flex; align-items: center; }
.logo-holder .white-logo { height: 55px; }
.logo-holder .black-logo { display: none !important; }
.right-logo img { height: 55px; }

/* Mobile nav styles in mobile-nav.css */

/* Desktop Nav */
.desktop-nav-new { margin-left: 40px; }
.menuzord-menu { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; }
.menuzord-menu > li { position: relative; }
.menuzord-menu > li > a {
  display: block;
  padding: 28px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  white-space: nowrap;
}
.menuzord-menu > li > a:hover,
.menuzord-menu > li > a.active { color: var(--primary); }
.menuzord-menu > li > a i { margin-left: 4px; font-size: 11px; }

/* Dropdown */
.sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(11, 110, 79, 0.85) 100%);
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  z-index: 100;
}
.menuzord-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu li a {
  display: block;
  padding: 10px 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: all 0.25s;
}
.sub-menu li a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--primary-light);
  padding-left: 28px;
}

/* Mobile toggle styles in mobile-nav.css */

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner-bg2.jpg') center/cover no-repeat;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(11, 110, 79, 0.55) 50%,
    rgba(254, 89, 0, 0.3) 100%
  );
}
.hero-mandala {
  position: absolute;
  right: -8%;
  top: 5%;
  width: 600px;
  opacity: 0.07;
  animation: mandalaRotate 80s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes mandalaRotate { to { transform: rotate(360deg); } }

.hero-dot-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: url('../images/bg-dot.svg') repeat;
  opacity: 0.04;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.hero-badge i { color: var(--primary); }
.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
  max-width: 700px;
}
.hero-title span {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(254, 89, 0, 0.35);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(254, 89, 0, 0.5);
  color: var(--white);
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.35s ease;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-3px);
  color: var(--white);
}
.btn-hero-pitch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid rgba(255,193,7,0.6);
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
}
.btn-hero-pitch:hover {
  background: rgba(255,193,7,0.2);
  border-color: #ffc107;
  transform: translateY(-3px);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(255,193,7,0.3);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
}
.hero-scroll span {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 13px;
  margin: 0 auto;
  position: relative;
}
.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* ============================================================
   QUICK ACCESS BAR
   ============================================================ */
.quick-access {
  position: relative;
  z-index: 10;
  margin-top: -75px;
  padding-bottom: 40px;
}
.qa-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 20px 50px rgba(10, 22, 40, 0.12);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.qa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
}
.qa-card.orange::before { background: var(--primary); }
.qa-card.teal::before { background: var(--secondary); }
.qa-card.blue::before { background: var(--accent-blue); }
.qa-card.navy::before { background: var(--dark); }
.qa-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(10, 22, 40, 0.18);
}
.qa-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qa-icon img { height: 50px; }
.qa-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #00053c;
  margin-bottom: 10px;
  line-height: 1.5;
}
.qa-card .qa-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s;
}
.qa-card:hover .qa-arrow { gap: 12px; }

/* ============================================================
   STATS COUNTER BAR
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--accent-blue) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/bg-dot.svg') repeat;
  opacity: 0.04;
}
.stat-item { text-align: center; position: relative; z-index: 2; }
.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  font-size: 26px;
  color: var(--primary-light);
  border: 1px solid rgba(255,255,255,0.08);
}
.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.stat-number .stat-suffix {
  font-size: 30px;
  color: var(--primary-light);
}
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}
.stat-divider {
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   ABOUT APIIP
   ============================================================ */
.about-section { background: var(--light-bg); }
.about-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.about-image-frame {
  position: relative;
  padding: 30px;
}
.about-image-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: 20px;
  opacity: 0.15;
  transform: translate(12px, 12px);
}
.about-image-frame::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  background: var(--secondary);
  border-radius: 16px;
  opacity: 0.12;
  z-index: -1;
}
.about-image-frame img {
  width: 100%;
  max-width: 340px;
  position: relative;
  z-index: 2;
}
.about-content { padding-left: 30px; }
.about-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.about-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: #00053c;
  margin-bottom: 12px;
  line-height: 1.25;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 110, 79, 0.08);
  color: var(--secondary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}
.achievement-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
  border: 2px solid #f0c040;
  border-radius: 12px;
  margin: 24px 0;
}
.achievement-callout .trophy-icon {
  font-size: 34px;
  color: #d4a017;
}
.achievement-callout .ach-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: #6b5208;
  margin-bottom: 2px;
}
.achievement-callout .ach-text p {
  font-size: 13px;
  color: #8a7030;
  margin: 0;
}
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  transition: all 0.35s ease;
  box-shadow: 0 6px 20px rgba(254, 89, 0, 0.25);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(254, 89, 0, 0.4);
  color: var(--white);
}

/* ============================================================
   WHY INVEST
   ============================================================ */
.why-invest-section { background: var(--warm-light); }
.reason-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 26px;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
}
.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.reason-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--white);
}
.reason-icon.orange { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.reason-icon.teal { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); }
.reason-icon.blue { background: linear-gradient(135deg, var(--accent-blue), #3b82f6); }
.reason-icon.green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.reason-icon.purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.reason-icon.red { background: linear-gradient(135deg, #dc2626, #f87171); }
.reason-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #00053c;
  margin-bottom: 10px;
}
.reason-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.btn-bordered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background: transparent;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--primary);
  transition: all 0.35s ease;
}
.btn-bordered:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 89, 0, 0.3);
}

/* ============================================================
   INVESTMENT SECTORS
   ============================================================ */
.sectors-section {
  background: var(--dark-section);
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
}
.sectors-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--warm-light);
  transform: skewY(-3deg);
  z-index: 1;
}
.sectors-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--light-bg);
  transform: skewY(-3deg);
  z-index: 1;
}
.sectors-content { position: relative; z-index: 3; }
.sector-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  display: block;
}
.sector-card img.sector-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.sector-card:hover img.sector-bg { transform: scale(1.1); }
.sector-card .sector-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.1) 0%, rgba(10,22,40,0.85) 100%);
  transition: all 0.4s;
}
.sector-card:hover .sector-overlay {
  background: linear-gradient(180deg, rgba(254,89,0,0.1) 0%, rgba(10,22,40,0.9) 100%);
}
.sector-card .sector-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 3;
}
.sector-card .sector-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.4s;
}
.sector-card:hover .sector-icon-circle {
  background: var(--primary);
  border-color: var(--primary);
}
.sector-card .sector-icon-circle img { height: 24px; filter: brightness(0) invert(1); }
.sector-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.sector-card .sector-stat {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s;
}
.sector-card:hover .sector-stat { opacity: 1; transform: translateY(0); }

/* ============================================================
   NEWS + TWITTER
   ============================================================ */
.news-twitter-section { background: var(--light-bg); }
.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.news-header h3 {
  font-size: 26px;
  font-weight: 800;
  color: #00053c;
  position: relative;
  padding-left: 16px;
}
.news-header h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
}
.news-scroll-list {
  max-height: 540px;
  overflow-y: auto;
  padding-right: 8px;
}
.news-scroll-list::-webkit-scrollbar { width: 4px; }
.news-scroll-list::-webkit-scrollbar-track { background: #eee; border-radius: 2px; }
.news-scroll-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
.news-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { padding-left: 6px; }
.news-thumb {
  width: 80px;
  height: 70px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
}
.news-thumb.grad-1 { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.news-thumb.grad-2 { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); }
.news-thumb.grad-3 { background: linear-gradient(135deg, var(--accent-blue), #3b82f6); }
.news-thumb.grad-4 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.news-item .news-date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}
.news-item .news-title {
  font-size: 14px;
  font-weight: 600;
  color: #00053c;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Twitter Feed */
.twitter-feed-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.twitter-feed-header {
  background: linear-gradient(135deg, #1a8cd8, #0c63a4);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.twitter-feed-header i { font-size: 20px; color: var(--white); }
.twitter-feed-header span { font-size: 15px; font-weight: 600; color: var(--white); }
.twitter-feed-body { padding: 8px 0; flex: 1; overflow-y: auto; max-height: 410px; }
.tweet-card {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.tweet-card:last-child { border-bottom: none; }
.tweet-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tweet-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--light-bg);
}
.tweet-author { font-size: 13px; font-weight: 600; color: #00053c; }
.tweet-handle { font-size: 12px; color: var(--text-muted); }
.tweet-text { font-size: 13px; color: var(--text-body); line-height: 1.6; }
.tweet-text a { color: #1a8cd8; }
.tweet-date { font-size: 11px; color: var(--text-muted); margin-top: 8px; }
.tweet-actions { display: flex; gap: 8px; margin-top: 8px; }
.tweet-actions a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.tweet-actions a:hover { color: #1a8cd8; }
.twitter-feed-footer {
  padding: 14px 22px;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}
.btn-twitter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #1a8cd8;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
}
.btn-twitter:hover {
  background: #0c63a4;
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-section { background: var(--white); }
.event-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.event-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--white);
  position: relative;
}
.event-image.grad-a { background: linear-gradient(135deg, #0a1628 0%, var(--accent-blue) 100%); }
.event-image.grad-b { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.event-image.grad-c { background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%); }
.event-image.grad-d { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); }
.event-date-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.event-date-badge .edb-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  display: block;
  line-height: 1;
}
.event-date-badge .edb-day {
  font-size: 22px;
  font-weight: 800;
  color: #00053c;
  display: block;
  line-height: 1.2;
}
.event-body { padding: 22px; }
.event-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #00053c;
  margin-bottom: 8px;
  line-height: 1.4;
}
.event-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.event-body .event-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.event-body .event-link:hover { gap: 10px; }

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, var(--secondary) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.newsletter-content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.newsletter-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.newsletter-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto 30px;
}
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto 16px;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 16px 22px;
  border: none;
  border-radius: 8px 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
}
.newsletter-form button {
  padding: 16px 30px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 0 8px 8px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: #1a2a48; }
.newsletter-small {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.7);
}
.footer-logo-area { margin-bottom: 24px; }
.footer-logo-area img { height: 70px; margin-bottom: 16px; }
.footer-logo-area h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.4;
}
.footer-logo-area .org-short {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer-contact { list-style: none; margin-bottom: 20px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  align-items: flex-start;
}
.footer-contact li i {
  color: var(--primary);
  width: 18px;
  text-align: center;
  margin-top: 3px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-links h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-links ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
}
.footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.footer-links li a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-links li a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .menuzord-menu > li > a { padding: 28px 11px; font-size: 12px; }
  #header.scrolled .menuzord-menu > li > a { font-size: 10px; }
  .hero-title { font-size: clamp(32px, 4.5vw, 50px); }
  .desktop-nav-new { margin-left: 20px; }
}

@media (max-width: 991px) {
  .desktop-nav-new { display: none; }
  .main-header { min-height: 70px; }
  .logo-holder .white-logo { height: 45px; }
  .right-logo img { height: 45px; }

  .hero-content { padding-top: 80px; }
  .hero-mandala { width: 350px; right: -15%; }
  .about-content { padding-left: 0; margin-top: 30px; }
  .stat-number { font-size: 36px; }
  .stat-divider { display: none; }
  .quick-access .col-sm-6 { margin-bottom: 16px; }
  .section-header h2 { font-size: 32px; }
  .about-content h2 { font-size: 28px; }
  .newsletter-content h2 { font-size: 28px; }
  .hero-scroll { display: none; }

  /* Sector row 1: 2-col instead of cramped 3-col at tablet */
  .sectors-section .row > .col-md-4 { flex: 0 0 50%; max-width: 50%; }

  /* News + Twitter: stack at tablet */
  .news-twitter-section .col-lg-7,
  .news-twitter-section .col-lg-5 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 767px) {
  .hero-section { min-height: 85vh; }
  .hero-title { font-size: 30px; }
  .hero-subtitle { font-size: 15px; }
  .hero-ctas { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline, .btn-hero-pitch { width: 100%; justify-content: center; padding: 13px 24px; }
  .hero-mandala { display: none; }
  .qa-card { padding: 24px 18px; }
  .stats-section { padding: 50px 0; }
  .stat-item { margin-bottom: 30px; }
  .sector-card { height: 220px; }
  .news-header h3 { font-size: 22px; }
  .newsletter-form { flex-direction: column; gap: 10px; max-width: 100%; }
  .newsletter-form input { border-radius: 8px; }
  .newsletter-form button { border-radius: 8px; }
  .footer-links ul { grid-template-columns: 1fr; }

  /* Sector row 1: single column on phones */
  .sectors-section .row > .col-md-4 { flex: 0 0 100%; max-width: 100%; }

  /* News list: shorter on mobile */
  .news-scroll-list { max-height: 400px; }
}

@media (max-width: 575px) {
  .section-padding { padding: 60px 0; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 14px; }
  .about-content h2 { font-size: 24px; }
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 14px; }
  .logo-holder .white-logo { height: 38px; }
  .right-logo img { height: 38px; }
  .main-header { min-height: 60px; }

  /* Stats: single column on small phones */
  .stats-section .col-6 { flex: 0 0 100%; max-width: 100%; }
  .stat-item { margin-bottom: 20px; }
  .stat-number { font-size: 30px; }

  /* About image responsive */
  .about-image-wrap { max-width: 100%; }

  /* Footer tighten */
  .footer-logo-area img { height: 55px; }
}

/* ============================================================
   LOADING & MISC
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }

/* ============================================================
   HOMEPAGE-SPECIFIC ACCESSIBILITY
   (Global focus + keyboard dropdowns in gigw-accessibility.css)
   ============================================================ */

/* Homepage dropdown uses opacity/visibility (not display:none) */
.menuzord-menu > li.dropdown:focus-within > .sub-menu,
.menuzord-menu > li.dropdown.kb-open > .sub-menu,
.menuzord-menu > li.dropdown > a[aria-expanded="true"] + .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a:focus-visible {
  background: rgba(255,255,255,0.08);
  color: var(--primary-light);
  padding-left: 28px;
}

/* ── Footer link focus ── */
.footer-social a:focus-visible {
  background: var(--primary);
  color: var(--white);
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

.footer-links li a:focus-visible {
  color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── Button focus states ── */
.btn-hero-primary:focus-visible,
.btn-hero-outline:focus-visible,
.btn-hero-pitch:focus-visible,
.btn-orange:focus-visible,
.btn-bordered:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ── Newsletter form focus ── */
.newsletter-form input:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
}

/* ── Event/sector card focus ── */
.sector-card:focus-visible,
.event-link:focus-visible,
.qa-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* ── Ensure reduced motion preference is respected ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .page-loader { display: none; }
}
