/* Container for all sections */
/* KEY CHANGE: Fixed position and smooth transition for full-page scrolling */
#main-body.scroll-container {
  display: block;
  position: fixed;
  /* FIX 1: Push content down below fixed navigation */
  top: 80px;
  left: 0;
  width: 100%;
  /* FIX 2: Height is 100% of viewport MINUS the navigation bar height */
  height: calc(100% - 80px);
  /* This transition makes the full-screen scroll smooth */
  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.slide {
  /* FIX 3: Use 100% of parent container (calc(100% - 80px)) height, not 100vh */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center; /* Vertically and horizontally center content */
  background-color: var(--light-gray);
  background-image: url("https://www.transparenttextures.com/patterns/otis-redding.png");
  color: var(--dark-gray);
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  margin: 0;
  padding: 0;
}

.slide:nth-child(even) {
  background-color: var(--white);
}

.slide-content-wrapper {
  /* Max width remains large for a spacious feel */
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  padding: 40px; /* Internal padding to keep content off the edges */
}

/* Scroll Indicator Styling - FIXED */
#scroll-indicator {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000; /* Increased Z-index to ensure visibility over content */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
  background-color: var(--primary-green);
  transform: scale(1.4);
}

/* Scroll Hint Styling (Visible on every section) - NOW FIXED */
#scroll-hint {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dark-gray);
  z-index: 1000;
  font-size: 1.2rem;
  font-weight: 600;
  animation: bounce 2s infinite;
  /* Ensure this transition property is present */
  transition: opacity 0.3s, color 0.3s;
}

.white-scroll-hint {
  color: var(--white) !important;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* ------------------------------------- */

/* Section 1: Intro (Index 0) - Center focused */

.intro-1 {
  background-color: var(--dark-gray);
  color: var(--white);
}

.intro-1 .slide-content-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
    opacity: 0;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: forwards;
}

.intro-title {
  /* Increased font size for dramatic effect in a full-screen view */
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--light-green);
  margin-bottom: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.1;
}

.intro-hero {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem; /* Increased font size */
  font-weight: 500;
  line-height: 1.6;
  color: var(--light-gray);
  margin-top: 30px;
}

/* ------------------------------------- */

/* Section 2: Paragraph (Index 1) - Simple Text Block */

.para-1 {
  background-color: var(--white);
}

.para-title {
  font-family: "Poppins", sans-serif;
  font-size: 3rem; /* Increased font size */
  font-weight: 300;
  color: #333;
  margin-bottom: 40px;
}

.para-desc {
  font-family: "Open Sans", sans-serif;
  font-size: 1.3rem; /* Increased font size */
  line-height: 2; /* Increased line height for better readability on a big screen */
  color: #555;
  text-align: justify;
  margin: 0 auto;
  max-width: 900px;
}

/* ------------------------------------- */

/* Section 3: Services (Index 2) - Grid of offerings */

.services-1 {
  background-color: var(--light-gray);
}

.services-title {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem; /* Increased font size */
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 60px; /* Increased margin for more separation */
}

.services-grid {
  display: grid;
  /* Use 3 columns on a large screen for a balanced look */
  grid-template-columns: repeat(3, 1fr);
  gap: 50px; /* Increased gap for more breathing room */
  text-align: left;
}

.services-grid > div {
  padding: 40px; /* Increased internal padding for the cards */
  border-radius: 10px;
  background-color: var(--white);
  border: 1px solid var(--light-green);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 250px; /* Increased card height */
}

.services-grid > div:hover {
  transform: translateY(-8px); /* More pronounced hover effect */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.services-grid h3 {
  font-family: "Montserrat", sans-serif;
  color: var(--secondary-green);
  font-size: 1.6rem; /* Increased font size */
  margin-bottom: 15px;
}

.services-grid p {
  font-family: "Open Sans", sans-serif;
  color: #666;
  font-size: 1.1rem;
}

/* ------------------------------------- */

/* Section 4: Call to Action (Index 3) - Button Focused */

.call-to-action-1 {
  background-color: var(--primary-green);
  background-image: none;
}

.cta-title {
  font-family: "Poppins", sans-serif;
  font-size: 4.5rem; /* Increased font size */
  font-weight: 800;
  color: var(--black);
  margin-bottom: 60px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Added shadow for pop */
}

.cta-btn {
  display: inline-block;
  background-color: var(--dark-gray);
  color: var(--primary-green);
  border: 3px solid var(--primary-green); /* Thicker border */
  border-radius: 8px; /* Slightly more rounded */
  padding: 20px 50px; /* Much bigger button */
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.8rem; /* Increased font size */
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, transform 0.15s ease-out,
    border-color 0.3s, color 0.3s;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 5px 15px;
}

.cta-btn:hover {
  background-color: var(--primary-green);
  border-color: var(--dark-gray);
  color: var(--dark-gray);
}

.cta-btn:active {
  transform: translateY(3px);
  box-shadow: none;
}

.cta-highlight {
  color: var(--secondary-green);
  text-decoration: underline;
  text-decoration-color: var(--dark-green);
}

#navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}
 
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px); /* Start 20px lower */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Move to its final position */
  }
}

/* ============================================
   TABLET STYLES (Portrait & Landscape)
   Common dimensions: 768px - 1024px
   ============================================ */
@media screen and (max-width: 1024px) {
  .slide-content-wrapper {
    max-width: 900px;
    width: 85%;
    padding: 30px;
  }

  /* Section 1: Intro */
  .intro-title {
    font-size: 3.5rem;
    letter-spacing: 3px;
  }

  .intro-hero {
    font-size: 1.6rem;
    margin-top: 25px;
  }

  /* Section 2: Paragraph */
  .para-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .para-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
  }

  /* Section 3: Services */
  .services-title {
    font-size: 3rem;
    margin-bottom: 50px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .services-grid > div {
    padding: 30px;
    min-height: 220px;
  }

  .services-grid h3 {
    font-size: 1.4rem;
  }

  .services-grid p {
    font-size: 1rem;
  }

  /* Section 4: Call to Action */
  .cta-title {
    font-size: 3.5rem;
    margin-bottom: 50px;
  }

  .cta-btn {
    padding: 18px 45px;
    font-size: 1.6rem;
  }

  /* Scroll Indicator */
  #scroll-indicator {
    right: 15px;
    gap: 12px;
  }

  .dot {
    width: 11px;
    height: 11px;
  }

  #scroll-hint {
    font-size: 1.1rem;
    bottom: 40px;
  }
}

/* ============================================
   MOBILE STYLES (Portrait & Landscape)
   Common dimensions: 320px - 768px
   ============================================ */
@media screen and (max-width: 768px) {
  .slide-content-wrapper {
    max-width: 100%;
    width: 90%;
    padding: 20px;
  }

  /* Section 1: Intro */
  .intro-1 .slide-content-wrapper {
    padding: 30px 20px;
  }

  .intro-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
  }

  .intro-hero {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-top: 20px;
  }

  /* Section 2: Paragraph */
  .para-title {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .para-desc {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
    max-width: 100%;
  }

  /* Section 3: Services */
  .services-title {
    font-size: 2.2rem;
    margin-bottom: 35px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .services-grid > div {
    padding: 25px;
    min-height: auto;
  }

  .services-grid h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .services-grid p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Section 4: Call to Action */
  .cta-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  }

  .cta-btn {
    padding: 15px 35px;
    font-size: 1.3rem;
    border: 2px solid var(--primary-green);
  }

  /* Keep scroll indicators visible */
  #scroll-indicator {
    right: 10px;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  #scroll-hint {
    font-size: 1rem;
    bottom: 30px;
  }
}

/* ============================================
   SMALL MOBILE OPTIMIZATION
   Common dimensions: 320px - 480px
   ============================================ */
@media screen and (max-width: 480px) {
  .slide-content-wrapper {
    width: 92%;
    padding: 15px;
  }

  /* Section 1: Intro */
  .intro-1 .slide-content-wrapper {
    padding: 25px 15px;
  }

  .intro-title {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }

  .intro-hero {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-top: 15px;
  }

  /* Section 2: Paragraph */
  .para-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .para-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Section 3: Services */
  .services-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .services-grid {
    gap: 20px;
  }

  .services-grid > div {
    padding: 20px;
  }

  .services-grid h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .services-grid p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Section 4: Call to Action */
  .cta-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .cta-btn {
    padding: 12px 28px;
    font-size: 1.15rem;
  }

  /* Smaller scroll indicators */
  #scroll-indicator {
    right: 8px;
    gap: 8px;
  }

  .dot {
    width: 9px;
    height: 9px;
  }

  #scroll-hint {
    font-size: 0.95rem;
    bottom: 25px;
  }
}
