:root {
    --primary: #1b9c73;
    --secondary: #588367;
    --accent: #a4b476;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Sen', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 140px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Prosto One', sans-serif;
}

/* HEADER  */
.main-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 97%;
    z-index: 1000;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    padding: 10px 30px;
    backdrop-filter: blur(6px);
}

/* Navigation Buttons */
.nav-menu .btn {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
}

.nav-menu .btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.nav-menu .dropdown-toggle {
    background: none;
    border: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
}

.nav-menu .dropdown-menu {
    background-color: var(--secondary);
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.nav-menu .dropdown-item {
    color: white;
    transition: all 0.2s ease;
}

.nav-menu .dropdown-item:hover {
    background-color: var(--accent);
    color: #000;
    padding-left: 25px;
}

/*  HERO SECTION */
.hero-section {
    background: linear-gradient(rgba(27, 156, 115, 0.85), rgba(88, 131, 103, 0.9)),
        url('https://images.unsplash.com/photo-1541336032412-2048a678540d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn-hero {
    background-color: var(--accent);
    color: #333;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ---------- ABOUT COLLAGE ---------- */
.about-collage {
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.collage-item {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-item:hover {
  transform: translateY(-5px);
}

/* --- Desktop Layout --- */
.item1 {
  top: 0;
  left: 0;
  width: 48%;
  height: 48%;
}

.item2 {
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
}

.item3 {
  bottom: 0;
  left: 0;
  width: 48%;
  height: 48%;
}

.item4 {
  bottom: 0;
  right: 0;
  width: 48%;
  height: 48%;
}

/* ---------- RESPONSIVENESS ---------- */

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .about-collage {
    height: 600px;
  }

  .collage-item {
    border-radius: 14px;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .about-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    height: auto;
    margin-top: 0; /* ✅ Remove top space */
  }

  .collage-item {
    position: relative;
    width: 100%;
    height: 180px;
    transform: none !important;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .about-collage {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0; /* ✅ Ensure no gap even on very small screens */
  }

  .collage-item {
    height: 200px;
  }
}



/*  TIMELINE  */
.timeline-section {
  padding: 80px 0;
  background-color: white;
}

.timeline-section h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

/* MAIN TIMELINE CONTAINER */
.timeline {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
  padding: 20px 0;
}

/* TIMELINE LINE */
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

/* TIMELINE ITEMS */
.timeline-item {
  padding: 20px 30px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

/* TIMELINE CIRCLE */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--primary);
  border: 4px solid white;
  top: 25px;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 3px var(--accent);
}

/* LEFT & RIGHT ITEMS */
.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.right::after {
  left: -10px;
  right: auto;
}

/* CARD CONTENT */
.timeline-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--accent);
  position: relative;
  z-index: 1;
}

/* ---------- RESPONSIVE SECTION ---------- */
@media (max-width: 768px) {
  /* .timeline::after {
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
  } */

  .timeline-item {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
    text-align: left;
  }

  /* Make the line appear behind cards */
  .timeline-item::after {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    right: auto;
    z-index: 0;
    box-shadow: none;
  }

  .timeline-content {
    margin-top: 20px;
    border-left: none;
    border-top: 4px solid var(--accent);
    z-index: 1;
  }
}

/* Even smaller devices */
@media (max-width: 480px) {
  .timeline-section {
    padding: 50px 0;
  }

  .timeline-content {
    padding: 15px;
  }

  /* .timeline-item::after {
    width: 14px;
    height: 14px;
  } */
}


/* FEATURES */
.features-section {
    padding: 80px 0;
    background-color: var(--light);
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--accent);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

/*  FOOTER  */
.footer {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 20px 30px;
    text-align: center;
}

.footer h5 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 5px;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    color: #333;
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
}

/*  TOGGLER */
.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/*  RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 992px) {
    .main-header {
        padding: 10px 20px;
        width: 95%;
        border-radius: 1;
    }

    .hero-section {
        padding: 90px 0;
    }

    .feature-card {
        padding: 25px;
    }
}


@media (max-width: 576px) {
    .hero-section {
        padding: 70px 0;
    }

    .hero-section h1 {
        font-size: 1.7rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .feature-card {
        padding: 20px;
    }

    .about-collage {
        grid-template-columns: 1fr;
    }

    .collage-item {
        height: 180px;
    }

    .footer {
        padding: 50px 20px;
    }

    .copyright {
        font-size: 0.8rem;
    }
}