/* Add this to style.css to style links in the nav */
.nav-link {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 20px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.nav-link:hover {
  opacity: 1;
  color: var(--divitra-cyan);
}

/* Custom Properties for Global Branding */
:root {
  --primary-dark: #051622;    /* Deep Navy */
  --divitra-blue: #1A3C5A;    /* Dark Blue */
  --divitra-sky: #45B1E8;     /* Sky Blue */
  --divitra-cyan: #00D2FF;    /* Energy Cyan */
  --divitra-green: #00c896;   /* Energy Green for CTA */
  --light-bg: #f4f7fb;
  --white: #ffffff;
  --text-muted: #5a6b7d;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Prevents the sticky nav from covering section headers */
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--primary-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* HERO SECTION - Updated for high-impact */
.hero {
  background: linear-gradient(135deg, #051622 0%, #1A3C5A 50%, #45B1E8 100%) !important;
  color: white;
  padding: 160px 20px 100px; /* Extra top padding for the fixed nav */
  text-align: center;
}

.hero h1 {
  color: var(--divitra-cyan); 
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.hero p {
  max-width: 800px;
  margin: auto;
  font-size: 1.25rem;
  opacity: 0.9;
}

/* CTA BUTTON */
.cta {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 35px;
  background: var(--divitra-green);
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 200, 150, 0.3);
}

.cta:hover {
  background: #00e6ad;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 200, 150, 0.4);
}

/* SECTIONS */
.section {
  padding: 100px 20px;
  text-align: center;
}

.section.light {
  background: var(--light-bg);
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--divitra-blue);
}

/* Section accent line */
.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--divitra-cyan);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* GRID & CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card.highlight {
  border-top: 6px solid var(--divitra-cyan);
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 120px 20px 60px; }
  .section { padding: 60px 20px; }
}
