/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary: #0f766e;
  --gold: #d97706;
  --dark: #1f2937;
  --light: #f9fafb;
  --white: #ffffff;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

/* Navigation */
.landing-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 70px; /* Increased logo size from 45px to 70px for better visibility */
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-btn-primary {
  background: var(--primary);
  color: var(--white) !important;
}

.nav-btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin-top: 77px;
  overflow: hidden;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(15, 118, 110, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: #b45309;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: scale(1.05);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--light);
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-card p {
  color: #6b7280;
  line-height: 1.7;
}

/* Footer */
.landing-footer {
  background: var(--dark);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
  }

  .hero {
    margin-top: 120px;
    min-height: 500px;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 1.875rem;
    line-height: 1.3;
    margin-bottom: 0.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
  }

  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
  }

  .about {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section-title {
    font-size: 1.875rem;
    margin-bottom: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card {
    padding: 1.75rem;
  }

  .about-card h3 {
    font-size: 1.375rem;
  }

  .about-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .landing-footer {
    padding: 1.5rem 0;
  }

  .landing-footer > div {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .landing-footer > div > div:last-child {
    text-align: center !important;
  }
}

/* Extra small mobile for landing */
@media (max-width: 480px) {
  .logo-img {
    height: 55px !important;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.625rem;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

  .btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .card-icon {
    font-size: 2.25rem;
  }
}

/* Landscape mobile for landing */
@media (max-width: 896px) and (orientation: landscape) {
  .hero {
    min-height: 450px;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
  }
}
