/* style.css */
:root {
  --primary: #0a2351;
  /* Jaggerwood Dark Blue */
  --primary-light: #183770;
  /* Lighter shade for hover */
  --accent: #2c5bd1;
  /* A vivid blue for highlights */
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --bg-white: #ffffff;
  --bg-light: #f8f9fb;
  --bg-gray: #e6e9ee;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
  --shadow-sm: 0 4px 6px rgba(10, 35, 81, 0.05);
  --shadow-md: 0 10px 20px rgba(10, 35, 81, 0.1);
  --shadow-lg: 0 20px 40px rgba(10, 35, 81, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style-type: none;
}

/* Utilities */
.mt-2 {
  margin-top: 1.5rem;
}

.center {
  text-align: center;
}

h1,
h2,
h3,
h4 {
  color: var(--primary);
  line-height: 1.2;
}

.logo-img {
  mix-blend-mode: multiply;
  /* Removes white background from logo beautifully */
  height: 80px;
  object-fit: contain;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 20px;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  z-index: 1000;
  border-bottom: 1px solid rgba(10, 35, 81, 0.1);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 1.05rem;
  /* Increased slightly for better readability */
  color: var(--text-dark);
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hamburger Menu Icon */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 220px 0 120px;
  background:
    linear-gradient(135deg,
      rgba(10, 35, 81, 0.95) 0%,
      rgba(10, 35, 81, 0.8) 50%,
      rgba(44, 91, 209, 0.45) 100%),
    url("hero_background.png") center/cover no-repeat fixed;
  overflow: hidden;
}

.hero-background {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 700px;
}

.hero-subtitle {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #8daeff;
  /* Light cool blue that pops on dark navy */
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--bg-white);
}

.hero-title .highlight {
  color: #60a5fa;
  /* slightly brighter blue than accent */
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero .btn-secondary {
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
  background-color: var(--bg-white);
  color: var(--primary);
  border-color: var(--bg-white);
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background-color: var(--primary);
  color: var(--bg-white);
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.stat-item {
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 3.5rem;
  color: var(--bg-white);
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Common */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.title-underline {
  height: 4px;
  width: 60px;
  background-color: var(--accent);
  border-radius: 2px;
}

.center-underline {
  margin: 0 auto;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.8;
}

/* About Section */
.about-section {
  background-color: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-placeholder {
  position: relative;
  width: 100%;
  height: 400px;
  background: var(--bg-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.accent-blob {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--accent);
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(40px);
}

.glass-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* Pillars Section */
.pillars-section {
  background-color: var(--bg-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.pillar-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(10, 35, 81, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 35, 81, 0.1);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(44, 91, 209, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: scale(1.1);
}

.pillar-icon svg {
  width: 32px;
  height: 32px;
}

.pillar-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.pillar-text {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.pillar-badge {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 12px;
  background-color: var(--bg-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
}

/* Approach Section */
.approach-section {
  background-color: var(--bg-light);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.approach-step {
  position: relative;
  padding: 40px 30px;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.step-num {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.approach-step h4 {
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 12px;
}

.approach-step p {
  color: var(--text-muted);
}

/* Vision Section */
.vision-section {
  background-color: var(--primary);
  color: var(--bg-white);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.vision-section::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 70%);
  pointer-events: none;
}

.vision-title {
  color: var(--bg-white);
  font-size: 3rem;
  margin-bottom: 30px;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vision-text {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.8;
}

.vision-section .btn {
  margin-top: 40px;
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-details {
  margin-top: 30px;
}

.contact-details li {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.contact-details li strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(10, 35, 81, 0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(44, 91, 209, 0.1);
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: var(--bg-white);
  padding: 80px 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand img {
  height: 80px;
  margin-bottom: 20px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 16px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid rgba(10, 35, 81, 0.1);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger pillar card delays for a cooler effect */
.pillar-card:nth-child(1),
.approach-step:nth-child(1),
.stat-item:nth-child(1) {
  transition-delay: 0.1s;
}

.pillar-card:nth-child(2),
.approach-step:nth-child(2),
.stat-item:nth-child(2) {
  transition-delay: 0.2s;
}

.pillar-card:nth-child(3),
.approach-step:nth-child(3),
.stat-item:nth-child(3) {
  transition-delay: 0.3s;
}

.stat-item:nth-child(4) {
  transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 80px;
    gap: 0;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    padding: 20px 0;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 16px 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding: 140px 0 80px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .section-header.center,
  .title-underline.center-underline {
    text-align: left;
    margin-left: 0;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .stat-item {
    min-width: 120px;
  }
}