body, html {
    
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
  display: grid;
 flex-direction: column;
  min-height: 100vh;
}

body::after, body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0; 
}


body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(images/water.jpg); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; 
  opacity: 0.7; 
  pointer-events: none;
  z-index: 0; 
}
 
body::before {
 
  background-image: url(images/plusk.png); 
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 80%;
  top: 20px;
  background-color: black;
  opacity: 0.4; 
 
  z-index: 1; 
}


.main-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #000;
  color: #fff;
  padding: 20px;
  text-align: le;
  
}

.down-arrow {
  font-size: 3rem;
  color: #ffffff;
  cursor: pointer;
  top: 100px;
  margin-top: 580px;
  z-index: 100; 
  position: relative; 
}

.up-arrow{
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  top: 100px;
  right: 940px;
  margin-top: 580px;
  z-index: 100; 
  position: relative;
}

.title {
  word-wrap: break-word; /* Break long words */
  overflow-wrap: break-word; /* Break lines gracefully */
  white-space: normal; /* Allow multi-line text */
  max-width: 90%; /* Limit width on small screens */
  font-size: 8vw; /* Responsive font size for smaller screens */
  position: absolute;
  left: 0;
  top: 140px;
  font-weight: bold;
  color: #159c56;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 2px;
  padding-left: 20px;
  z-index: 10; 
  font-family: 'Permanent Marker', cursive;
  font-size: 9rem;
 
}

/* Adjust the title styling for smaller screens */
@media (max-width: 970px) {
  .title {
    font-size: 6vw; /* Adjust font size for better fit */
    text-align: center; /* Center align text */
    top: 100px; /* Adjust spacing from the top */
    padding-left: 0; /* Remove unnecessary padding */
    margin: 0 auto; /* Center horizontally */
    max-width: 80%; /* Further constrain the width */
    flex-direction: column;
    text-align: center;
  }
}


.title br {
  margin-bottom: 5px;
}

.section-2 {
  position: relative;
  height: 100vh; 
  display: flex;
  flex-direction: column;
  background: linear-gradient(60deg, rgb(1, 2, 19) 0%, rgb(6, 50, 56) 100%);

}

.navbar {
  display: flex;
  justify-content: space-between; /* Adjust items to space out naturally */
  align-items: center; /* Center items vertically */
  padding: 10px 20px; /* Adjust spacing for navbar */
  background-color: rgba(0, 0, 0, 0.8); /* Optional: make navbar background semi-transparent */
  z-index: 10;
  width: 100%;
}

/* Navbar Items */
.navbar-nav {
  display: flex;
  flex-direction: row; /* Default for larger screens */
  list-style: none;
  padding: 0;
  margin: 0 auto; /* Center the navigation */
}


.content-container {
  flex: 1; 
  display: flex;
  justify-content: center; 
  align-items: center; 
  padding: 20px;
  flex-direction: column;
  
    overflow: hidden; /* Prevent overflow */
}

#slider{
  margin: 0 auto;
  max-width: 1000px;
  width: 90%;
  text-align: center;
}


.slider-position {
  margin-top: -280px;
}


#slider input[type=radio]{
  display: none;
}

#slider label{
  cursor: pointer;
  text-decoration: none;
}

#slides{
  padding: 10px;
  border: 3px solid #ccc;
  background: #fff;
  position: relative;
  z-index: 1;
  width: 100%;
}

#overflow{
  width: 100%;
  overflow: hidden;
}


#slide1:checked ~ #slides .inner {
  margin-left: 0;
  transition: margin-left 0.8s cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

#slide2:checked ~ #slides .inner {
  margin-left: -100%;
  transition: margin-left 0.8s cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

#slide3:checked ~ #slides .inner {
  margin-left: -200%;
  transition: margin-left 0.8s cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

#slide4:checked ~ #slides .inner {
  margin-left: -300%;
  transition: margin-left 0.8s cubic-bezier(0.770, 0.000, 0.175, 1.000);
}

#slides .inner{
  width: 400%;
  line-height: 0;
  height: 400px;
  display: flex; 
}

#slides .slide{
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: black;
}

#slides .slide_1{ background: #00171f; }
#slides .slide_2{ background: #00171f; }
#slides .slide_3{ background: #00171f ; }
#slides .slide_4{ background: #00171f; }

.slide-content{
  padding: 10px;
  flex-wrap: wrap; /* Enable wrapping for small screens */
  justify-content: center; /* Center content */
}

#controls{
  margin: -200px 0 0 0;
  width: 100%;
  height: 50px;
  z-index: 3;
  position: relative;
}

#controls label{
  transition: opacity 0.2s ease-out;
  display: none;
  width: 50px;
  height: 50px;
  opacity: .4;
}

#controls label:hover{
  opacity: 1;
}


#slide1:checked ~ #controls label:nth-child(2),
#slide2:checked ~ #controls label:nth-child(3),
#slide3:checked ~ #controls label:nth-child(4),
#slide4:checked ~ #controls label:nth-child(1) {
  background: url(images/white.svg) no-repeat;
  background-size: contain;
  float: right;
  margin: 0 -50px 0 0;
  display: block;
}


#slide1:checked ~ #controls label:nth-child(4),
#slide4:checked ~ #controls label:nth-child(3),
#slide3:checked ~ #controls label:nth-child(2),
#slide2:checked ~ #controls label:nth-child(1) {
  background: url(images/white-left.svg) no-repeat;
  background-size: contain;
  float: left;
  margin: 0 0 0 -50px;
  display: block;
}

#bullets{
  margin: 170px 0 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

#bullets label {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 10px;
  cursor: pointer;
}

#slide1:checked ~ #bullets label:nth-child(1),
#slide2:checked ~ #bullets label:nth-child(2),
#slide3:checked ~ #bullets label:nth-child(3),
#slide4:checked ~ #bullets label:nth-child(4) {
  background: #444;
}


.center-nav {
  flex-direction: column;
}

.center-nav .nav-item {
  margin: 0 15px;  
}


.center-nav .nav-link {
  color: #fff;
  text-align: center;
}

.navbar-nav {
margin: auto;
}

.navbar-nav .nav-item {
margin: 0 10px;
}

.navbar-nav .nav-link {
color: white !important;
text-transform: uppercase;
font-size: 1rem;
text-decoration: none;
}

.slide-content {
display: flex;
align-items: center; 
justify-content: flex-start;
gap: 20px; 
padding: 10px; 
margin: 15px; 
background-color: #f9f9f9;
border-radius: 10px; 
border: 1px solid #ddd; 
flex-wrap: wrap;
}


.slide-content .slide-image {
width: 50%;
max-width: 300px;
border-radius: 10px;
object-fit: cover;
}

.slide-content .text-content {
flex: 1; 
display: block; 
font-size: 1em; 
line-height: 2.5; 
white-space: normal; 
word-wrap: break-word; 
text-align: left; 
overflow-wrap: anywhere; 
text-align: justify;
}


.slide-content .text-content h2 {
font-size: 1.5em;
margin-bottom: 10px;
margin-left: 30px;
}

.slide-content .text-content p {
margin: 0;
margin-left: 30px;
}

.waves {
position:relative;
width: 100%;
height:15vh;
margin-bottom:-7px; 
min-height:100px;
max-height:150px;
}

.parallax > use {
animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
animation-delay: -2s;
animation-duration: 7s;
}
.parallax > use:nth-child(2) {
animation-delay: -3s;
animation-duration: 10s;
}
.parallax > use:nth-child(3) {
animation-delay: -4s;
animation-duration: 13s;
}
.parallax > use:nth-child(4) {
animation-delay: -5s;
animation-duration: 20s;
}

@keyframes move-forever {
0% {
  transform: translate3d(-90px, 0, 0);
}
100% {
  transform: translate3d(85px, 0, 0);
}
}



.navbar{
 
  background: #235303;
  padding: 1rem;
  height: 40px;
  
}

.nav-item{
  font-size: 1vw;
}
.navbar-collapse{
  flex-grow: 0;
}

.dropdown-menu{
  background: #556f44;
  transition: .4s;
}
.dropdown-item:hover{
  background: #35452a;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  color: #fff;
  padding: 15px 30px;
}
footer p{
  margin: 0 !important;
}


.socials a {
  color: #fff;
  text-decoration: none;
  margin-right: 15px;
  font-size: 18px;
  transition: color 0.3s ease;
}

@media (max-width: 970px) {
  footer {
    flex-direction: column;
    text-align: center;
  }

  .socials, .links {
    flex-direction: column;
  }

  .socials a, .links a {
    margin: 5px 0;
  }


 
}
  


  


/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
  .title {
      font-size: 6rem;
      top: 100px;
  }

  .slider-position {
      margin-top: -200px;
  }

  #slides .inner {
      height: auto;
      flex-direction: column;
  }

  .slide-content {
      flex-direction: column;
      align-items: center;
  }

  .slide-content .slide-image {
      width: 100%;
      max-width: 100%;
      margin-bottom: 15px;
  }

  .slide-content .text-content {
      width: 100%;
      text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .main-section {
      padding: 10px;
  }

  .title {
      font-size: 4rem;
      text-align: center;
      left: 50%;
      transform: translateX(-50%);
  }

  .down-arrow {
      margin-top: 300px;
  }

  .section-2 {
      height: auto;
  }

  .navbar-nav {
      flex-direction: column;
      align-items: center;
  }

  .navbar-nav .nav-item {
      margin: 10px 0;
  }

  #slider {
      width: 100%;
      padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  .title {
      font-size: 2.5rem;
  }

  .slide-content .text-content h2 {
      font-size: 1.2rem;
      margin-left: 0;
  }

  .slide-content .text-content p {
      font-size: 0.9rem;
      margin-left: 0;
  }
}

/* Ensure proper scaling and touch targets on mobile */
@media (max-width: 768px) {
  * {
      -webkit-tap-highlight-color: transparent;
  }

  body {
      touch-action: manipulation;
  }

  .nav-link, .dropdown-item {
      padding: 10px;
      min-height: 44px;
  }
}

/* Responsive Typography */
html {
  font-size: 16px;
}

@media screen and (max-width: 1200px) {
  html {
      font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  html {
      font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  html {
      font-size: 12px;
  }
}


