* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ffffff;
  --accent-color: #1b3b36;
  --accent-hover: #2e5b53;
  --text-light: #666666;
  --text-gray: #888888;
  --text-dark: #1f1f1f;
  --border-light: #e5e5e5;
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--primary-color);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(27, 59, 54, 0.95); /* Updated to green accent color */
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Arial", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color); /* Updated to white text */
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--primary-color); /* Updated to white text */
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color); /* Updated to white for hover effect */
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-color); /* Updated to white */
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: right 0.3s ease;
  z-index: 1050;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu ul li {
  margin: 1.5rem 0;
}

.mobile-menu ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: var(--accent-color);
}

.mobile-menu ul li a:hover::after {
  width: 100%;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--accent-color);
  cursor: pointer;
}

/* Hero Section */
.hero-slider {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--primary-color);
  max-width: 800px;
  padding: 2rem;
}

.slide-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: var(--shadow-medium);
}

.cta-button:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 12px 40px rgba(27, 59, 54, 0.3);
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* About Slider */
.about-slider {
  height: 600px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: top center;
}

.about-slide.active {
  opacity: 1;
}

.about-slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.about-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-slider-dot.active,
.about-slider-dot:hover {
  background: var(--accent-color);
  transform: scale(1.2);
}

/* Section Styles */
.section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: "Times New Roman", serif;
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 3rem;
  color: var(--accent-color);
  font-weight: 700;
  letter-spacing: 1px;
}

/* About Section */
.about {
  background: var(--primary-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  font-weight: 600;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Vision & Mission */
.vision-mission {
  background: url("./images/about.PNG") center/cover fixed;
  position: relative;
}

.vision-mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.vm-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.vision-mission .section-title {
  color: var(--primary-color);
}

.vm-item {
  background: var(--primary-color);
  padding: 2.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
}

.vm-item h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  font-weight: 600;
}

.vm-item p,
.vm-item ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.vm-item ul {
  list-style: none;
  padding-left: 0;
}

.vm-item ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.vm-item ul li::before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* CSR Section */
.csr {
  background: var(--accent-color);
  color: var(--primary-color);
}

.csr .section-title {
  color: var(--primary-color);
}

.csr-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.csr-intro,
.csr-outro {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.csr-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.csr-item {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  text-align: center;
  color: var(--text-dark);
}

.csr-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-color);
}

.csr-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.csr-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.csr-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
}

.csr-item-centered {
  grid-column: auto;
  grid-row: auto;
}

/* Contact Section */
.contact {
  background: var(--primary-color);
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-content > p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  background: var(--primary-color);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 250px; /* Ensures responsiveness */
  max-width: 300px;
  min-width: 200px;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-color);
}

.contact-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.contact-item p {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0;
}

@media (max-width: 768px) {
  .contact-info {
    flex-wrap: wrap;
  }
}

/* Footer */
footer {
  background: var(--accent-color);
  color: var(--primary-color);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .vm-item {
    padding: 2rem;
  }

  .csr-items {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .csr-item-centered {
    grid-column: auto;
    grid-row: auto;
  }

  .slide-content {
    transform: translateX(0); /* Reset for mobile */
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .csr-item {
    padding: 1.5rem;
  }
}

/* Loading animation for images */
.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.2s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
