@charset "utf-8";
.main-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  background-color: rgba(255, 255, 255, 1.0);
  background: linear-gradient(
    180deg,
    rgb(183, 192, 238) 0%,
    rgb(112, 103, 207) 33%,
    rgba(71, 59, 240, 0) 66%,
    rgba(0, 0, 0, 0) 100%
  );
}
/* General Reset */
body, ul {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navigation Bar */
.nav-bar {
  background: linear-gradient(to right, #121212, #1a1a40); /* Dark gradient */
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

.nav-container {
  display: flex;
  justify-content: space-between; /* Distributes space between logo, menu, and accessibility */
  align-items: center; /* Vertically aligns items */
  position: relative;
}

/* Logo */
.logo {
  font-size: 42px;
  font-weight: bold;
  color: #81F781; /* Bright green */
  border-right: 2px solid #81F781; /* Adds a line below the logo */
  padding-right: 35px; /* Adds spacing between the text and the line */  
  padding-left: 2%;
}

.logo a {
  text-decoration: none;
  color: inherit; /* Inherit color from the parent */
  font-size: inherit; /* Inherit font size */
  font-weight: inherit; /* Inherit font weight */
}

.logo a:hover {
  color: #81F781; /* Optional hover color */
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 80px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
}

.nav-link {
  text-decoration: none;
  color: #b4fcb4; /* Light green for links */
  font-size: 28px;
  position: relative;
}

/* Responsive Nav Bar */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column; /* Stack links vertically on smaller screens */
    gap: 20px; /* Reduce spacing between links */
    align-items: flex-start;
    display: none; /* Hide navigation links initially for mobile */
  }

   .nav-container {
    flex-direction: column;
  }

	
  /* Show Nav Links When Menu is Open */
  .nav-links.active {
    display: flex;
  }

  .nav-bar {
    padding: 10px 0; /* Reduce padding for smaller screens */
  }
}


/* Hover Effect */
.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #81F781; /* Bright green underline on hover */
  transition: width 0.3s ease-in-out;
  position: absolute;
  left: 0;
  bottom: -5px;
}

.nav-link:hover::after {
  width: 100%;
}

/* Accessibility Options */
.accessibility {
  flex: 1; /* Pushes it to the far right */
  text-align: right; /* Aligns text to the right */
  padding-right: 2%;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

/* Hero Section */

body, h2, p {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 1) 70%,       /* Dark gray at the top */
    rgba(112,103,207,1.00) 100%,
    rgba(71, 59, 240, 1) 100%     /* Deep color to match the footer or end section */
  );
  color: #ffffff;
  font-family: Arial, sans-serif; /* Optional for consistency */
  margin: 10;
  padding: 10;
}


.hero {
  position: relative;
  min-height: 70vh;
  width: 100%;
  background-image: linear-gradient(
    to bottom,
    rgba(112, 103, 207, 0) 10%,
    rgba(112,103,207,0.49) 50%,
    rgba(0,0,0,1.00) 100%
  ), url('images/sun-hung-22P5wvv7rj4-unsplash.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden; /* Add this to contain all children */
}
.overlay {
  position: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.00);
}


/* Content Styling */
.content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 70vh; /* Changed from 100vh to match hero height */
  padding: 20px;
  margin: 0 auto;
  position: relative; /* Add this */
  z-index: 1; /* Add this to ensure proper stacking */
}

.cta-button {
  position: absolute; /* Make it absolutely positioned */
  middle: 10px; /* Position it 20px from the bottom */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Offset for perfect centering */
  padding: 15px 30px;
  font-size: 38px;
  font-weight: bold;
  color: #ffffff;
  background-color: #4a90e2;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.cta-button:hover {
  background-color: #357ab8;
}

/* Image Description */
.image-description {
  position: absolute; /* Change back to absolute */
  bottom: 10%; /* Adjust this value to move it up/down */
  left: 20px; /* Reset the left position */
  background: rgba(0, 0, 0, 0.6);
  padding: 35px;
  padding-top: 20px;
  border-radius: 15px;
  max-width: 500px; /* Add max-width for better control */
}

.image-description h2 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #81F781;
}

.image-description p {
  font-size: 24px;
  color: #ffffff;
  line-height: 1.5;
}

/* Accordion Section */
.how-we-work {
  border-top: 5px solid #81F781; /* Adjust thickness and color */
  padding-top: 20px; /* Optional: Adds spacing above the content */
  padding-bottom: 40px;
}
.how-we-work h1 {
	background: transparent;
	padding-left: 20px;
	font-size: 54px;
}
.accordion-section {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.00) 100%, /* Match the bottom of the hero image */
    rgba(112, 103, 207, 0.8) 100%, /* Mid-section gradient color */
    rgba(71, 59, 240, 1) 10% /* Match the top of the footer */
  );
  padding: 50px 20px;
  text-align: center;
  color: #ffffff;
  font-family: Arial, sans-serif;
  margin-top: -2px; /* Remove gaps */
  margin-bottom: -2px;
  position: relative;
  z-index: 1;
}
.accordion-section h2 {
  font-size: 52px;
  margin-bottom: 30px;
  color: #81F781;
}

.accordion {
  max-width: 2440px;
  margin: 20px auto;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 15px;
  overflow: hidden;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background: linear-gradient(
	rgba(0,0,0,0.57) 0%,
    rgba(71,59,240,0.00) 95%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #ffffff;
  padding: 15px 20px;
  font-size: 38px;
  font-weight: bold;
  border:hidden;
  text-align: left;
  width: 100%;
  cursor: pointer;
  outline: none;
}

.accordion-header:hover {
  background: #357ab8;
}

.accordion-content {
  display: none;
  padding: 15px 50px;
  font-size: 26px;
  background-color: hsla(0,0%,7%,0.50);
  border-top: 5px solid #444;
}

/* Horizontal Scroll for Images */
.accordion-images {
  display: flex;
  gap: 5px;
  overflow-x: auto; /* Enable horizontal scrolling */
}

.accordion-images img {
  flex-shrink: 0; /* Prevent images from shrinking */
  width: auto; /* Adjust the image width as needed */
  height: 600px; /* Maintain aspect ratio */
  border-radius: 15px; /* Optional: Rounded corners */
  margin: 0; /* Ensure no additional margins are applied */
  padding-top: 5px;
}


/* Optional: Hide Scrollbar (if desired) */
.accordion-images::-webkit-scrollbar {
  height: 8px; /* Horizontal scrollbar height */
}

.accordion-images::-webkit-scrollbar-thumb {
  background-color: #a0ffa0; /* Scrollbar color */
  border-radius: 4px;
}

.accordion-images::-webkit-scrollbar-track {
  background-color: #121212; /* Track color */
}

.accordion-content ul {
  padding-left: 20px;
  list-style: disc;
}

.accordion-content img {
  width: 45%;
  margin: 10px 5%;
  border-radius: 8px;
}

.accordion-content img:last-child {
  margin-right: 0;
}

/* Active State */
.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg); /* Rotate icon */
}

/* Footer Section */
.footer {
	border-top: 5px solid #81F781; /* Adjust thickness and color */
  padding-top: 0px; /* Optional: Adds spacing above the content */

  background: linear-gradient(
    to top,
    rgba(112, 103, 207, 1) 0%,
    rgba(71,59,240,1.00) 100%,
    rgba(0, 0, 0, 0) 10%
  );
  padding: 10px;
  text-align: center;
  color: #000000;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: #81F781;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Accordion Functionality */
.accordion-header:focus + .accordion-content,
.accordion-header:active + .accordion-content {
  display: block;
}


/* Footer */
.footer {
  padding: 30px 20px;
  background: linear-gradient(
    to top,
    #CACAFF 0%,
    #8383FF 50%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Ensures proper layout on smaller screens */
}

/* Branding Section */
.footer-brand h2 {
  font-size: 34px;
  color: #81F781; /* Bright green */
}

.social-links {
  margin-top:10px;
}

.social-links a {
  text-decoration: none;
  color: #ffffff;
  margin-right: 15px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #81F781;
}

/* Footer Links */
.footer-links {
  display: flex;
  gap: 50px;
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #81F781;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #b4fcb4;
  font-size: 14px;
}

.footer-section ul li a:hover {
  color: #ffffff;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none; /* Hide menu by default */
    flex-direction: column; /* Stack links vertically */
    width: 100%;
    background-color: #121212;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex; /* Show menu when active */
  }

  .hamburger {
    display: block; /* Show hamburger menu */
  }
}
