* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: 'Sinhala MN', 'Noto Sans Sinhala', sans-serif;
  overflow: auto;
}



.main {
  width: 100%;
  height: 100vh;
  background: linear-gradient(to top left, #057f96 0%, #73c8cc 50%, #e1eddc 100%);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/image.jpg') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

.mesh {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80%;
  height: auto;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.content-wrapper {
  width: calc(100% - 100px);
  margin: 0 auto;
  min-height: 100vh;
  padding: 40px 50px;
  position: relative;
  z-index: 3;
}

/* Navbar Section */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 50px;
  margin: 0 auto;
  z-index: 4;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 70px;
}

.logo {
  width: 103.37px;
  height: 100px;
  object-fit: contain;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 30px;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Add animation for menu toggle */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Navbar Links */
.nav-items {
  position: fixed;
  display: flex;
  margin-right: 25px;
  top: -100%;
  list-style: none;
  gap: 30px;
}

.nav-items li a {
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  color: white;
  position: relative;
  transition: color 0.3s ease;
}

.nav-items li a:hover {
  color: #0D7F96;
}

.nav-items {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

/* When menu is toggled, display the items */
.nav-items.show {
  display: flex;
}

.nav-items li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #0D7F96;
  transition: width 0.3s ease;
}

.nav-items li a:hover::after {
  width: 100%;
}

.search {
  display: flex;
  align-items: center;
  border: 2px solid white;
  width: 341px;
  height: 50px;
  padding: 0 12px;
  gap: 7px;
  background: transparent;
  transition: background 0.25s;
}

.search-input {
  font-size: 18px;
  color: #ffffff;
  background: transparent;
  outline: none;
  border: none;
  width: 100%;
}

.search-input::placeholder,
.search-icon {
  color: #ffffff;
}

/* Main Content Section */
.main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  width: calc(100% - 100px);
  padding: 0 50px;
  margin: 0 auto;
  margin-top: 100px;
  position: relative;
  min-height: 50vh;
}

/* Title Section */
.title-section {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 5px;
  width: 50%;
}

.title {
  font-size: 50px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
}

.subtitle {
  font-size: 18px;
  font-weight: 400;
  color: white;
  letter-spacing: 0.9px;
}

/* Description Section */
.description-selection {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-top: 60px;
}

.description {
  color: #2B6066;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  word-spacing: 20px;
  text-align: right;
}

/* Lower Content Section */
.lower-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: calc(100% - 100px);
  padding: 0 50px;
  margin: 0 auto;
  position: absolute;
  bottom: 40px;
}

.action-buttons {
  display: flex;
  gap: 40px;
}

.action-button {
  width: 250px;
  height: 70px;
  padding: 10px 25px;
  font-size: 20px;
  font-weight: 300;
  font-family: 'Sinhala MN', sans-serif !important;
  text-align: left;
  border-radius: 42px;
  line-height: 20px;
}

.action-button.gradient {
  background: linear-gradient(316deg, #59a6a7 0%,  #469d9f 100%);
  border : none;
  color: white;
}

.action-button.outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.shapes-area {
  width: 81px; 
  height: 77px; 
  position: relative;
  display: flex;
  justify-content: center; 
  align-items: center; 
}
.ellipse-img {
  width: 30px;
  height: 30px;
  background-color: white;
}


@media only screen and (max-width: 768px) {
  body {
    font-family: 'Sinhala', sans-serif;
  }

  .main {
    width:100%;
    height: 100vh;
    padding: 15px;
  }

  .mesh {
    position: absolute;
    right: 0;
    top: 60%;
    transform: translateY(-40%);
    width: 100%;
    height: auto;
    opacity: 0.4;
  }

  .navbar {
    justify-content: space-between;
    padding: 0 15px;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 10px;
    top: 10px;
  }

  .nav-items {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 127, 150, 0.95);
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center; /* Vertically center the items */
    align-items: center; /* Horizontally center the items */
    text-align: center;
    font-size: 12px !important;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
  }
  
   .nav-items a {
    font-size: 12px !important;  /* Adjust font size for links inside nav-items */
  }

  .nav-items.show {
    transform: translateY(0);
  }

  .main-content {
      width:100%;
    margin-top: 10px;
    padding: 0 15px;
    flex-direction: column;
  }

  .title-section,
  .description-selection {
    width: 100%;
    text-align: center;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .title {
    font-size: 24px !important;
  }

  .subtitle {
    font-size: 12px ;
  }

   .description {
    text-align:center;
    display: inline-block; /* Prevent breaks */
    white-space: nowrap; /* Prevent text breaks */
    margin-bottom: 0; /* Remove margin */
    font-size: 14px; /* Adjust description font size for mobile */
    
    }
    
    .title-section {
  margin-bottom: 30px; /* Adjust margin-bottom for title section */
}

/* Specific Styles for Description Selection */
.description-selection {
  margin-bottom: 20px; /* You can adjust margin-bottom for the description if needed */
}


  .lower-content {
    margin-top : 30px;
    position: relative;
    padding: 0px 20px;
    display : flex;
    flex-direction: column;
    align-items: center;
    
  }

  .action-buttons {
    display : flex;
    justify-content: center;
    width: 100%;
    gap: 15px;
    flex-direction: column;
    
  }

  .action-button {
    height: 60px;
    font-size: 16px;    
    text-align: center;
    white-space: nowrap;
    padding: 10px;
  
  }

  .search {
    display: none;
  }
  .shapes-area {
    margin-top: 20px;
    width: auto;
    height: auto;
    display: none;
  }
  
}

/* Optional: hide ellipse on smaller screens */
@media (max-width: 480px) {
  .shapes-area {
    display: none; /* Hide on smaller devices */
  }
}

/* Tablet Devices */
@media (max-width: 1024px) {
  .content-wrapper {
    width: 100%;
    padding: 20px;
  }

  .navbar {
    padding: 0 20px;
  }

  .nav-left {
    gap: 30px;
  }

  .search {
    width: 250px;
  }

  .description {
    font-size: 30px;
    word-spacing: 10px;
  }

  .action-buttons {
    gap: 20px;
  }

  .action-button {
    width: 200px;
    font-size: 18px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .title {
    font-size: 30px;
  }

  .description {
    font-size: 20px;
  }

  .logo {
    width: 60px;
    height: 60px;
  }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
  .main-content {
    margin-top: 20px;
    
  }

  .description {
    font-size: 20px;
  }

  .lower-content {
    position: relative;
    padding: 20px 15px;
  }

  .action-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .action-button {
    width: calc(50% - 20px);
  }
}

/* Fix for larger screens */
@media (min-width: 1440px) {
  .content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
  }
}

