/* =========================================================
   GLOBAL RESET
========================================================= */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  background: #ffffff;
  color: #111827;
}

.site-main {
  min-height: 60vh;
}

/* =========================================================
   PAGE TITLES CENTERED
========================================================= */

h1 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
}

/* =========================================================
   BASE NAV STRUCTURE
========================================================= */

.site-header nav {
  max-width: 1100px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.site-header nav a {
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
  transition: 0.3s ease;
}

/* =========================================================
   HOMEPAGE NAVBAR (Smoke Blue Glass)
========================================================= */

body.home .site-header {
  background: rgba(30, 58, 95, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.home nav a {
  color: #e2e8f0;
}

body.home nav a:hover {
  color: #93c5fd;
}

body.home nav a.active {
  color: #ffffff;
}

body.home nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #93c5fd;
  border-radius: 2px;
}

/* =========================================================
   INNER PAGE NAVBAR
========================================================= */

body.inner .site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

body.inner nav a {
  color: #111827;
}

body.inner nav a:hover {
  color: #2563eb;
}

body.inner nav a.active {
  color: #2563eb;
}

body.inner nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
}

/* =========================================================
   HERO
========================================================= */

.hero-banner {
  width: 100vw;
  height: 85vh;
  min-height: 650px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.hero-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  padding: 4rem;
  color: white;
}

.hero-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 1rem;
}

.hero-panel h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero-panel p {
  color: rgba(255,255,255,0.85);
}

/* =========================================================
   GLOBAL SECTIONS
========================================================= */

section {
  padding: 6rem 8%;
}

body.inner section {
  padding: 4rem 8%;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* =========================================================
   IMPACT BLOCKS (Restored Category Style)
========================================================= */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.impact-card {
  padding: 2rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  text-align: center;
  font-weight: 600;
  transition: 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.impact-card.network { border-top: 4px solid #2563eb; }
.impact-card.security { border-top: 4px solid #dc2626; }
.impact-card.ict { border-top: 4px solid #0ea5e9; }
.impact-card.automation { border-top: 4px solid #059669; }
.impact-card.ai { border-top: 4px solid #7c3aed; }

/* =========================================================
   CERTIFICATIONS SLIDER
========================================================= */

.cert-section {
  background: #f1f5f9;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cert-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.cert-slider {
  display: flex;
  transition: transform 0.6s ease;
}

.cert-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 260px;
  background: #ffffff;
}

.cert-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1e3a5f;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
}

.slider-btn.left { left: 10px; }
.slider-btn.right { right: 10px; }

/* =========================================================
   HIGHLIGHTS GRID
========================================================= */

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.highlight-card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 260px;
  background: #f8fafc;
  border-radius: 14px;
}

.highlight-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =========================================================
   INNER PAGE LIST STYLING (Subtle Yellow Accent)
========================================================= */

body.inner .timeline-item,
body.inner .contact-card {
  background: rgba(255, 244, 200, 0.35);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 12px;
  padding: 2rem;
}

body.inner ul li::marker,
body.inner ol li::marker {
  color: #eab308;
  font-weight: 600;
}

body.inner ul,
body.inner ol {
  padding-left: 1.5rem;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* =========================================================
   CONTACT PAGE ENHANCEMENT
========================================================= */

.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
}

.contact-card {
  width: 100%;
  max-width: 500px;
  padding: 2.5rem;
  border-radius: 16px;
  background: rgba(255, 244, 200, 0.35);
  border: 1px solid rgba(234, 179, 8, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #b45309;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.contact-value a {
  text-decoration: none;
  color: #1e3a5f;
  font-weight: 500;
}

.contact-value a:hover {
  color: #2563eb;
}


/* =========================================================
   MODERN NAVBAR
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(30, 58, 95, 0.75);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand a {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: 0.3s ease;
  padding: 0.3rem 0;
}

.nav-link:hover {
  color: #ffffff;
}

/* Animated underline */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #38bdf8;
}

.nav-link.active::after {
  width: 100%;
}

/* Contact button styling */
.contact-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.4);
}

.contact-btn:hover {
  background: rgba(56,189,248,0.3);
}

