/* =====================
   GLOBAL RESET & VARS
===================== */

:root {
  --primary: #ff9900;
  --dark: #0f172a;
  --muted: #475569;
  --light-bg: #f0f9ff;
  --footer-bg: #020617;
  --whatsapp: #25d366;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--dark);
}

/* Offset for fixed navbar */
#about,
#training,
#whyus,
#contact {
  scroll-margin-top: 100px;
}

/* =====================
   COMMON LAYOUT
===================== */

.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.center-text {
  text-align: center;
}

.white {
  color: #ffffff;
}

/* =====================
   NAVBAR
===================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #e7e7e7;
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 64px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  color: #122649;
}

.nav-links a:hover {
  color: var(--primary);
}

/* =====================
   HERO SECTION
===================== */

.hero {
  height: 90vh;
  margin-top: 70px;
  background: url("assets/hero-bg.jpg") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(15,23,42,0.75),
    rgba(15,23,42,0.85)
  );
}

.hero-content {
  position: relative;
  color: #ffffff;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 20px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* =====================
   BUTTONS
===================== */

.btn {
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.primary {
  background: var(--primary);
  color: #000;
}

.outline {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.large {
  font-size: 18px;
}

.btn.whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
}

.btn.whatsapp:hover {
  background: #1ebe5d;
}

/* =====================
   SECTIONS
===================== */

.section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.soft-bg {
  background: var(--light-bg);
}

.about-section h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.about-section p {
  max-width: 820px;
  margin: 0 auto 14px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

/* =====================
   GRID & CARDS
===================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.image-card img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 15px;
}

.highlight-card ul {
  padding-left: 18px;
  margin-top: 10px;
}

.highlight-card li {
  margin-bottom: 10px;
}

/* =====================
   WHY SECTION
===================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.why-item {
  padding: 28px;
  border-radius: 16px;
  background: #f8fafc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.why-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

/* =====================
   TRAINING SECTION
===================== */

.training-section {
  background: url("assets/aws-training-bg.jpg") center / cover no-repeat;
}

.training-section h2{
  color: #fff
}

.training-cta {
  margin-top: 24px;
  text-align: center;
}

/* =====================
   CONTACT CTA
===================== */

.contact-cta {
  background: linear-gradient(180deg, #020581, #0f1700);
  color: #ffffff;
  text-align: center;
}

.contact-subtext {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.6;
  color: #e5e7eb;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.contact-email {
  margin-top: 18px;
  font-size: 15px;
  color: #e5e7eb;
}

.contact-email a {
  color: #ffb84d;
  text-decoration: none;
}

/* =====================
   FOOTER
===================== */

footer {
  background: var(--footer-bg);
  color: #94a3b8;
  text-align: center;
  padding: 40px 20px;
}

.footer-logo {
  height: 100px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
  border-radius: 6%;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 768px) {
  .nav-container {
    justify-content: center;
  }

  .logo img {
    margin: 0 auto;
    height: 48px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons,
  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .footer-logo {
    height: 52px;
  }
  
  .training-cta .btn {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    padding: 14px 18px;
    line-height: 1.3;
  }
}
