/* ===============================
   GLOBAL IMPROVEMENTS
================================ */
:root {
  --primary: #002f6c;
  --dark: #0b2d52;
  --light-bg: #f6f9fc;
}

html {
  scroll-behavior: smooth;
}

h2 {
  font-size: 36px;
  margin-bottom: 50px;
  text-align: center;
  color: var(--dark);
}

/* ===============================
   HERO
================================ */
.aviation-hero {
  position: relative;
  min-height: 100vh;
  background: url("../images/aviation-hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}

.aviation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(5, 20, 40, 0.95),
    rgba(5, 20, 40, 0.75)
  );
}

.aviation-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.aviation-hero-text {
  max-width: 700px;
  padding-left: 150px;
}

.aviation-badge {
  background: linear-gradient(135deg, var(--primary), #5dade2);
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  display: inline-block;
}

.aviation-hero h1 {
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.aviation-hero p {
  font-size: 17px;
  max-width: 520px;
  opacity: 0.95;
}

/* ===============================
   BUTTONS
================================ */
.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 18px;
}

.btn-primary,
.btn-outline {
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.35s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(30, 144, 255, 0.4);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(30, 144, 255, 0.55);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: #fff;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ===============================
   PROGRAMS
================================ */
.aviation-programs {
  padding: 100px 0;
  background: #fff;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.program-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.program-card:hover img {
  transform: scale(1.08);
}

.program-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.program-card h3 {
  padding: 20px 22px 8px;
  font-size: 20px;
}

.program-card p {
  padding: 0 22px 15px;
  font-size: 14.5px;
  color: #555;
}

.program-card a {
  padding: 0 22px 22px;
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

/* ===============================
   BENEFITS
================================ */
.aviation-benefits {
  background: var(--light-bg);
  padding: 100px 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.benefit {
  background: #fff;
  padding: 40px 25px;
  border-radius: 18px;
  text-align: center;
  transition: all 0.35s ease;
}

.benefit:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.benefit h4 {
  margin: 15px 0 10px;
  font-size: 18px;
}

.benefit p {
  font-size: 14px;
  color: #666;
}

/* ===============================
   DETAILS
================================ */
.aviation-details {
  padding: 100px 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.detail-box {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.detail-box h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.detail-box ul {
  padding-left: 18px;
}

.detail-box li {
  margin-bottom: 10px;
  font-size: 14.5px;
}

/* ===============================
   CTA
================================ */
.aviation-cta {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.aviation-cta h2 {
  color: #fff;
  margin-bottom: 15px;
}

.aviation-cta p {
  font-size: 17px;
  margin-bottom: 30px;
}

.extra-footer {
  background: linear-gradient(180deg, #001f47, #062c56);  
  padding: 90px 0;
  color: #e5e5e5;
  font-family: "Inter", sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1300px;
  margin: auto;
}

/* LOGO + TEXT */
.footer-logo {
  height: 90px;
  margin-bottom: 25px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: #cfcfcf;
  max-width: 420px;
}

/* SOCIAL */
.footer-social {
  margin-top: 25px;
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #b08d57;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #ffffff;
  color: #000;
}

/* LINK COLUMNS */
.footer-links h4 {
  color: #ffffff;
  margin-bottom: 18px;
  font-size: 18px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  font-size: 14px;
  color: #cfcfcf;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-links ul li:hover {
  color: #ffffff;
}

.footer-links ul li {
  margin-bottom: 12px;
}

/* anchor styling */
.footer-links ul li a {
  display: inline-block;
  color: #cfcfcf;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* hover effect */
.footer-links ul li a:hover {
  color: #ffffff;
}


#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  font-family: Poppins, sans-serif;
  z-index: 9999;
}

#chat-header {
  background: #003366;
  color: #fff;
  padding: 10px;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}

#chat-body {
  height: 250px;
  overflow-y: auto;
  padding: 10px;
  font-size: 14px;
}

#chat-input {
  width: 100%;
  border: none;
  border-top: 1px solid #ddd;
  padding: 10px;
}


@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.aviation-badge {
  animation: float 4s ease-in-out infinite;
}




/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
  .aviation-hero-grid,
  .program-grid,
  .benefit-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .aviation-hero {
    padding: 80px 0;
  }

  .aviation-hero h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }
}
