/* Global styles */
:root {
  --primary: #1a5b9b;
  --secondary: #0f3f70;
  --accent: #f4b400;
  --text: #1f334b;
  --muted: #5c6f84;
  --light: #f6f9fd;
  --dark: #06152b;
  --card: #ffffff;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(26, 91, 155, 0.35);
  border-radius: 999px;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

#topbar {
  background: #041e42;
  color: #fff;
  padding: 0.55rem 1.2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1040;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

#topbar span,
#topbar a {
  color: #f1f4f9;
  margin-right: 1rem;
}

#topbar a {
  color: var(--accent);
  font-weight: 600;
}

#header {
  position: fixed;
  top: 40px;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 54, 112, 0.08);
  z-index: 1030;
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
}

.logo {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.45rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.navbar ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin-left: 1.2rem;
}

.navbar a {
  color: var(--text);
  font-weight: 600;
  transition: color 0.25s ease;
}

.navbar a:hover,
.navbar .active {
  color: var(--primary);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.header-btn {
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(26, 91, 155, 0.18);
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #15447e 0%, #1e6eb1 48%, #64b5f6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding-top: 140px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.18), transparent 20%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1rem 3rem;
  max-width: 940px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-section p {
  margin: 1.8rem auto;
  max-width: 720px;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-actions a {
  min-width: 170px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}

.hero-stats span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 5.5rem 0;
}

.bg-light {
  background: #f8fbff;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem auto;
  text-align: center;
  position: relative;
}

.section-header h2 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
}

.section-header::after {
  content: '';
  width: 96px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  display: block;
  margin: 1.8rem auto 0;
  border-radius: 999px;
}

.about-card,
.about-highlight,
.service-card,
.value-box,
.box,
.mission-panel,
.vision-panel,
.contact-panel {
  background: var(--card);
  border-radius: 1.4rem;
  box-shadow: 0 24px 70px rgba(15, 54, 112, 0.1);
  padding: 2rem;
}

.about-card ul {
  padding-left: 1.4rem;
  margin-top: 1.3rem;
}

.about-card ul li {
  margin-bottom: 0.95rem;
  color: var(--muted);
}

.about-highlight {
  border: 1px solid rgba(26, 91, 155, 0.12);
}

.about-highlight h4 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.about-highlight p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

.service-card {
  text-align: center;
  padding: 2rem 1.75rem;
  border-top: 4px solid var(--accent);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 70px rgba(15, 54, 112, 0.15);
}

.service-card i {
  width: 68px;
  height: 68px;
  line-height: 68px;
  border-radius: 20px;
  background: rgba(26, 91, 155, 0.12);
  color: var(--primary);
  margin: 0 auto 1rem;
  font-size: 1.55rem;
}

.service-card h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--muted);
}

.values-grid,
.why-grid {
  display: grid;
  gap: 1.3rem;
}

.values-grid {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
}

.value-box,
.box {
  min-height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(26, 91, 155, 0.1);
}

.value-box i {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(26, 91, 155, 0.12);
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.value-box:hover,
.box:hover,
.service-card:hover {
  transform: translateY(-8px);
}

.value-box h3,
.box h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.value-box p,
.box p {
  color: var(--muted);
}

.mission-panel,
.vision-panel {
  min-height: 260px;
  margin-bottom: 1rem;
}

.mission-panel h2,
.vision-panel h2 {
  color: var(--secondary);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  padding: 1.9rem;
  border-radius: 1.3rem;
  border-left: 5px solid var(--primary);
}

.timeline-item span {
  font-weight: 700;
  color: var(--primary);
  min-width: 72px;
  font-size: 1rem;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.7;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
}

.box {
  padding: 2rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  background: linear-gradient(135deg, #0d214a 0%, #16315c 100%);
}

.contact-panel h2 {
  color: #fff;
}

.contact-panel p,
.contact-info li {
  color: #dce4f2;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info i {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form .form-control {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f7ff;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  box-shadow: none;
}

.contact-form button {
  border-radius: 1rem;
  padding: 0.95rem 1.9rem;
  background: var(--accent);
  border: none;
  color: #0f2a54;
  font-weight: 700;
}

.footer {
  padding: 1.8rem 0;
  background: #081a35;
  color: #9fb7d4;
}

.footer p {
  margin: 0;
}

@media (max-width: 1200px) {
  .hero-section {
    padding-top: 150px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .section {
    padding: 4.5rem 0;
  }

  .service-card,
  .value-box,
  .box,
  .mission-panel,
  .vision-panel,
  .contact-panel {
    padding: 1.75rem;
  }
}

@media (max-width: 992px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .section-header h2 {
    font-size: 2.3rem;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #topbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
  }

  #header .container {
    padding: 0.9rem 1rem;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    padding: 1rem;
    background: #fff;
    position: fixed;
    top: 108px;
    right: 1rem;
    width: calc(100% - 2rem);
    max-width: 320px;
    border-radius: 0.95rem;
    box-shadow: 0 18px 40px rgba(15, 54, 112, 0.12);
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar ul li {
    margin: 0.75rem 0;
  }

  .mobile-nav-toggle {
    display: block;
    color: var(--text);
  }

  #header .container {
    flex-wrap: wrap;
  }

  .hero-section {
    padding-top: 180px;
  }

  .hero-content {
    padding: 3rem 1rem 2rem;
  }

  .hero-section h1 {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .about-card,
  .about-highlight,
  .service-card,
  .value-box,
  .box,
  .mission-panel,
  .vision-panel {
    padding: 1.5rem;
  }

  .service-grid,
  .values-grid,
  .why-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  #header .container {
    justify-content: space-between;
  }

  .header-btn {
    display: none;
  }

  .about-card,
  .about-highlight,
  .service-card,
  .value-box,
  .box,
  .mission-panel,
  .vision-panel,
  .contact-panel {
    border-radius: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .hero-section {
    padding-top: 160px;
  }

  .topbar-left,
  .topbar-right {
    width: 100%;
    text-align: center;
  }

  #topbar span,
  #topbar a {
    margin-right: 0;
    display: inline-block;
    margin-bottom: 0.5rem;
  }
}
