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

:root {
  /* Navy blue color scheme from logo */
  --primary: #1a1a3e;
  --primary-light: #2d2d5f;
  --secondary: #4a90e2;
  --accent: #f5f7fa;
  --background: #ffffff;
  --foreground: #1a1a3e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card-bg: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

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

/* Typography */
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(26, 26, 62, 0.2);
}

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

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

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(245, 247, 250, 0.9), rgba(232, 238, 245, 0.9)), url("hero-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

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

/* Video Section */
.video-section {
  background-color: var(--accent);
  padding: 4rem 0;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.intro-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Gallery Section */
.gallery {
  background-color: var(--accent);
  padding: 5rem 0;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.slide {
  display: none;
  width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

.slide.active {
  display: block;
}

.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.dots-container {
  text-align: center;
  padding: 1.5rem 0;
  background-color: var(--card-bg);
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: var(--border);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: var(--primary);
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Mission Section */
.mission {
  background-color: var(--background);
  padding: 4rem 0;
}

.mission-text {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Vision Section */
.vision {
  background-color: var(--accent);
  padding: 4rem 0;
}

.vision-text {
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Values Section */
.values {
  background-color: var(--background);
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.value-card {
  background-color: var(--primary);
  color: white;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 26, 62, 0.3);
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

/* Structure Section */
.structure {
  background-color: var(--accent);
  padding: 5rem 0;
}

.structure-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.structure-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.structure-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateX(4px);
}

.structure-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(26, 26, 62, 0.1);
  color: var(--primary);
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.structure-item span {
  font-size: 1rem;
  color: var(--foreground);
  font-weight: 500;
}

/* Achievements Section */
.achievements {
  background-color: var(--background);
  padding: 5rem 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.achievement-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 2px solid var(--primary);
  text-align: center;
  transition: all 0.3s ease;
}

.achievement-card:hover {
  box-shadow: 0 12px 32px rgba(26, 26, 62, 0.15);
  transform: translateY(-4px);
}

.achievement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  color: white;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.achievement-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.achievement-description {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
}

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

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

.feature-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(26, 26, 62, 0.1);
  color: var(--primary);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--muted);
  line-height: 1.6;
}

/* Services Section */
.services {
  background-color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(74, 144, 226, 0.1);
  color: var(--secondary);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.service-availability {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--muted);
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* Support Section */
.support {
  background-color: var(--background);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.support-image {
  border-radius: 1.5rem;
  overflow: hidden;
}

.support-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.support-content {
  padding: 2rem 0;
}

.support-text {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.tips-list {
  list-style: none;
  margin-bottom: 2rem;
}

.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tips-list svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.tips-list span {
  color: var(--foreground);
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo-section {
  max-width: 400px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

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

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

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

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .structure-list {
    grid-template-columns: 1fr;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .mission-text {
    font-size: 1.25rem;
  }

  .vision-text {
    font-size: 1rem;
  }

  /* Added responsive styles for video */
  .video-section {
    padding: 3rem 0;
  }

  .video-container {
    border-radius: 0.5rem;
  }

  /* Added responsive styles for gallery */
  .slideshow-container {
    border-radius: 0.5rem;
  }

  .slide img {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 0;
  }

  section {
    padding: 3rem 0;
  }

  .logo {
    max-width: 200px;
  }
}
