@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
    --primary-color: #2c3855;
    --primary-color-dark: #435681;
    --text-dark: #333333;
    --text-light: #767268;
    --extra-light: #f3f4f6;
    --white: #ffffff;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    font-size: 1.1rem;
}

img {
    width: 100%;
    display: flex;
}

body {
    font-family: "Poppins", sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
      padding: 1rem;
  }

  .nav__logo img {
      width: 60px;
  }

  .nav__links {
      display: none; /* Hide links on small screens */
  }

  .menu-icon {
      display: block;
      font-size: 1.8rem;
      cursor: pointer;
  }

  .language-toggle {
      width: 120px;
      height: 40px;
  }

  .language-btn {
      font-size: 14px;
      padding: 8px;
  }
}
@media (min-width: 320px) and (max-width: 600px) {
header{
  padding-left: 10px;
}
nav {
    padding: 0.5rem; /* Reduced padding for smaller screens */
    flex-direction: row; /* Keep items in a row */
    align-items: center; /* Center align items vertically */
    justify-content: space-between; /* Space between logo and links */
}
.nav__logo{
  margin-right: auto;
}
.nav__logo img {
    width: 50px; /* Smaller logo size for mobile */
}

.nav__links {
    display: none; /* Hide links on small screens */
}

.menu-icon {
    display: block; /* Show menu icon */
    font-size: 1.8rem; /* Larger icon */
    cursor: pointer;
}

.language-toggle {
    width: 130px; /* Adjusted width for mobile */
    height: 40px; /* Adjusted height for better alignment */
}

.language-btn {
    font-size: 12px; /* Slightly smaller font size */
    padding: 8px; /* Adjusted padding for buttons */
}
}



/* Sidebar styles */
.sidebar {
position: fixed;
right: -250px; /* Initially hidden on the right */
top: 0;
width: 250px;
height: 100%;
background-color: rgba(0, 128, 0, 0.6); /* Green with transparency */
backdrop-filter: blur(10px); /* Applies blur effect */
padding: 2rem 1rem;
transition: right 0.3s ease;
z-index: 10;
}


.sidebar.active {
right: 0; /* Show sidebar when active */
}

.sidebar ul {
list-style: none;
padding: 0;
}

.sidebar li {
margin-bottom: 1.5rem;
}

.sidebar a {
font-size: 1.2rem;
font-weight: 500;
color: var(--white);
}

.close-sidebar {
font-size: 1.5rem;
color: var(--white);
cursor: pointer;
margin-bottom: 2rem;
}

.menu-icon {
display: none; /* Initially hidden */
}

@media (max-width: 768px) {
.menu-icon {
    display: block; /* Show menu icon for mobile view */
}
}

.title {
  text-align: center; /* Center the title horizontally */
  margin-top: 20px; /* Add some spacing at the top */
  margin-bottom: 20px; /* Add some spacing at the bottom */
  font-family: 'Poppins', sans-serif; /* Use a modern and elegant font */
}

.title h1 {
  font-size: 2.5rem; /* Large font size for the title */
  color: #333; /* Deep green color for the text */
  font-weight: 600; /* Bold text for emphasis */
  letter-spacing: 1.5px; /* Add spacing between letters */
  line-height: 1.2; /* Adjust line height for readability */
}

@media (max-width: 768px) {
  .title h1 {
    font-size: 2rem; /* Reduce font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .title h1 {
    font-size: 1.5rem; /* Further reduce font size for very small screens */
  }
}


/* Default Styles (applied to large screens by default) */
.gallery {
  width: 100%;
  padding: 20px;
  max-width: calc(100vw - 40px);
  margin: auto;
}
.zoom {
  transform: scale(1);
  transition: 0.5s;
}
.zoom:hover {
  transform: scale(1.2);
}
.checkin {
  display: grid;
  grid-template-columns: 24.25% 24.25% 24.25% 24.25%;
  column-gap: 1%;
  grid-template-rows: 300px 300px;
  row-gap: 10px;
}
.checkin .item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.checkin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkin .item .content {
  position: absolute;
  bottom: 10px;
  left: 10px;
}
.checkin .item .content .des {
  opacity: 0.7;
}
.checkin .item:nth-child(1) {
  grid-column-start: 1;
  grid-column-end: 3;
}
.checkin .item:nth-child(2) {
  grid-column-start: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}

/* For Medium Screens (max-width: 820px) */
@media screen and (max-width: 820px) {
  .gallery {
    width: 100%;
    padding: 10px;
  }
  .checkin {
      grid-template-columns: auto auto;
      grid-template-rows: 300px 300px 300px 300px;
  }
  .checkin .item:nth-child(2) {
      grid-column-start: unset;
      grid-column-end: unset;
      grid-row-start: unset;
      grid-row-end: unset;
  }
  .checkin .item:nth-child(1) {
      grid-row-start: 1;
      grid-row-end: 3;
      grid-column-start: 1;
      grid-column-end: 2;
  }
  .checkin .item:nth-child(5) {
      grid-column-start: 2;
      grid-row-start: 3;
      grid-row-end: 5;
  }
}

/* For Small Screens (max-width: 767px) */
@media screen and (max-width: 767px) {
  .gallery {
    width: 100%;
    padding: 10px;
}
  .checkin {
      grid-template-columns: 100%;
      grid-template-rows: 300px 300px 300px 300px 300px 300px;
  }
  .checkin .item:nth-child(1),
  .checkin .item:nth-child(5) {
      grid-column-start: unset;
      grid-column-end: unset;
      grid-row-start: unset;
      grid-row-end: unset;
  }
}

/* For Extra Small Screens (320px to 480px) */
@media screen and (max-width: 480px) {
  .gallery {
      width: 100%;
      padding: 10px;
  }
  .checkin {
      grid-template-columns: 100%;
      grid-template-rows: auto;
      row-gap: 15px;
  }
  .checkin .item {
      border-radius: 10px;
  }
  .checkin img {
      height: auto;
  }
  .checkin .item .content {
      bottom: 5px;
      left: 5px;
  }
  .zoom:hover {
      transform: scale(1.1);
  }
}



/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700|Raleway:300,400');

/* Colors */
:root {
  --blue: #428BFF;
  --red: #FF4A53;
  --dark: #333;
  --accent: var(--blue);
  --accent-inactive: #52c958;
  --secondary: var(--accent-inactive);
  --indicator-width: 50px;
  --indicator-height: 4px;
  --tab-count: 4;
}


/* body h1 {
  text-align: center;
  color: var(--accent);
  font-weight: 300;
  padding: 40px 0 20px;
  margin: 0;
} */
.tabs {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: white;
  padding: 30px;
  padding-bottom: 80px;
}

.tabs input[name="tab-control"] {
  display: none;
}

.tabs .content section h2,
.tabs ul li label {
  font-weight: bold;
  font-size: 22px;
  color: #388e3c;
}

.tabs ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.tabs ul li {
  box-sizing: border-box;
  flex: 1;
  width: 25%;
  padding: 0 10px;
  text-align: center;
}

.tabs ul li label {
  transition: all 0.3s ease-in-out;
  color: #52c958;
  padding: 5px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  user-select: none;
}

.tabs ul li label:hover,
.tabs ul li label:focus,
.tabs ul li label:active {
  outline: 0;
  color: #73e179;
}

.tabs .slider {
  position: relative;
  width: 25%;
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}

.tabs .slider .indicator {
  position: relative;
  width: 50px;
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: #388e3c;
  border-radius: 1px;
}

.tabs .content {
  margin-top: 30px;
}
.content{
  width: 70%;
}

.tabs .content section {
  display: none;
  line-height: 1.4;
  animation: content 0.3s ease-in-out 1 normal;
}

.tabs .content section h2 {
  color: #388e3c;
  display: none;
}

.tabs .content section h2::after {
  content: "";
  position: relative;
  display: block;
  width: 30px;
  height: 3px;
  background: #388e3c;
  margin-top: 5px;
  left: 1px;
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) label {
  cursor: default;
  color: #388e3c;
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  transform: translateX(0%);
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .content > section:nth-child(1) {
  display: block;
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) label {
  cursor: default;
  color: #388e3c;
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
  transform: translateX(100%);
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .content > section:nth-child(2) {
  display: block;
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) label {
  cursor: default;
  color: #388e3c;
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
  transform: translateX(200%);
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .content > section:nth-child(3) {
  display: block;
}

.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) label {
  cursor: default;
  color: #388e3c;
}

.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
  transform: translateX(300%);
}

.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .content > section:nth-child(4) {
  display: block;
}

@keyframes content {
  from {
    opacity: 0;
    transform: translateY(5%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

/* Responsive styles for smaller screens */
@media (max-width: 1000px) {
  .tabs ul li label {
    white-space: initial;
  }
}
@media (max-width: 768px) {
  .tabs {
    padding: 10px;
  }
  .tabs ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns on mobile */
    gap: 10px;
  }
  .tabs ul li {
    width: 100%; /* Each tab takes full width in grid */
    padding: 0;
  }
  .tabs ul li label {
    font-size: 22px; /* Reduced font size for mobile view */
    color: #52c958;
  }
  .tabs .slider {
    width: 50%; /* Adjust slider width for smaller screens */
  }
  .tabs .content {
    margin-top: 20px;
  }
  .tabs .content section h2 {
    display: block;
  }
  .content{
    width: 80%;
  }
}
@media (max-width: 600px) {
  .tabs {
    padding: 10px;
  }
  .tabs ul {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns on mobile */
    gap: 10px;
  }
  .tabs ul li {
    width: 100%; /* Each tab takes full width in grid */
    padding: 0;
  }
  .tabs ul li label {
    font-size: 18px; /* Reduced font size for mobile view */
    color: #52c958;
  }
  .tabs .slider {
    width: 50%; /* Adjust slider width for smaller screens */
  }
  .tabs .content {
    margin-top: 20px;
  }
  .tabs .content section h2 {
    display: block;
  }
  .content{
    width: 80%;
  }
}

/* Responsive styles for 480px and below */
@media (max-width: 480px) {
  .tabs {
    padding: 15px;
  }

  .tabs ul {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .tabs ul li label {
    font-size: 18px;
    padding: 5px 0;
  }

  .tabs .slider {
    width: 50%;
  }

  .tabs .content section h2 {
    font-size: 18px;
  }
  .content{
    width: 100%;
  }
}

/* Responsive styles for 320px and below */
@media (max-width: 320px) {
  .tabs {
    padding: 10px;
  }

  .tabs ul {
    grid-template-columns: 1fr 1fr; /* Ensuring two columns on smallest screens */
    gap: 5px; /* Smaller gap to save space */
  }

  .tabs ul li label {
    font-size: 16px; /* Smaller font for better fit */
    padding: 5px 0;
    color: #52c958;
  }

  .tabs .slider {
    width: 50%;
  }

  .tabs .content {
    margin-top: 10px;
  }

  .tabs .content section h2 {
    font-size: 16px;
  }
  .content{
    width: 100%;
  }
}