/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background: #fff;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* GLOBAL CONTAINER */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===================== HEADER ===================== */
header {
  background: #0A2A66;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* NAVIGATION */
nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  transition: 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  background: #FFD700;
  color: #0A2A66;
  transform: translateY(-2px);
}

/* ===================== HERO SECTION ===================== */
.hero {
  background: linear-gradient(rgba(10, 42, 102, 0.85), rgba(10, 42, 102, 0.9)),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px 70px;
  position: relative;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.3;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 850px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  background: #FFD700;
  color: #0A2A66;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  border: none;
}

.btn:hover {
  background: #ffb800;
  transform: translateY(-3px);
}

/* ===================== CEO SECTION ===================== */
.ceo-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.ceo-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.ceo-image img {
  width: 100%;
  max-width: 340px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transition: 0.3s ease;
}

.ceo-image img:hover {
  transform: scale(1.03);
}

.ceo-info h2 {
  font-size: 2rem;
  color: #0A2A66;
  margin-bottom: 10px;
}

.ceo-info h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #444;
}

/* ===================== SERVICES PREVIEW ===================== */
.services-preview {
  padding: 80px 0;
}

.services-preview h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #0A2A66;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card {
  width: 290px;
  background: #fff;
  padding: 32px 25px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  text-align: center;
  transition: 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card h3 {
  font-size: 1.4rem;
  color: #0A2A66;
  margin-bottom: 15px;
}

.card p {
  color: #555;
}

/* ===================== AWARDS BANNER ===================== */
.awards-banner {
  background: #0A2A66;
  color: white;
  text-align: center;
  padding: 25px 20px;
}

.awards-banner h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* ===================== TESTIMONIAL ===================== */
.testimonial {
  background: #f5f7fa;
  padding: 70px 20px;
  text-align: center;
}

.testimonial blockquote {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
  font-style: italic;
}

.testimonial cite {
  font-size: 1.1rem;
  font-weight: bold;
  color: #0A2A66;
}

/* ===================== FOOTER ===================== */
footer {
  background: #111;
  color: #bbb;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #FFD700;
}

.social-links a {
  color: #FFD700;
  margin-right: 10px;
  font-size: 1.3rem;
  transition: 0.3s;
}

.social-links a:hover {
  transform: scale(1.2);
}

copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
}

/* ===================== MOBILE OPTIMIZATION ===================== */
@media (max-width: 768px) {

  /* Adjust container padding */
  .container {
    padding: 0 10px;
  }

  /* NAVIGATION STACK FIX */
  nav ul {
    flex-direction: column;
    background: #0A2A66;
    width: 100%;
    padding: 10px 0;
    gap: 0;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 12px;
  }

  /* HERO FIX */
  .hero {
    padding: 100px 15px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* CEO SECTION FIX */
  .ceo-flex {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .ceo-info h2 {
    font-size: 1.6rem;
  }

  /* SERVICES CARDS */
  .card {
    width: 100%;
    max-width: 330px;
  }

  /* TESTIMONIAL */
  .testimonial blockquote {
    font-size: 1.1rem;
  }
}

/* ===================== PRINT ===================== */
@media print {
  header, footer {
    background: #fff !important;
    color: #000 !important;
  }
}
