@import url('https://fonts.googleapis.com/css2?family=Chonburi&family=Italianno&family=Manrope:wght@100..800&family=Poiret+One&family=Shippori+Mincho&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');


/* Variables */
:root {
--primary-color:#0A2640;
--secondary-color:#B0C6D1;
--yellow-color: #ff9f1c;
--accent-color:#FFD700;
--bg-color: #F5F5F5;
--text-color:#333333;
--italiano:"Italianno", serif;
--manrope: "Manrope", serif;
}


img{
  object-position: center;
  object-fit: cover;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding:0;
  overflow-x: hidden;
}

.top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
  padding: 0px 20px;
  font-family: var(--manrope);
  font-size: 16px;
}

.contact-info span {
  margin-right: 20px;
  padding: 20px;
  display: inline-flex;
  align-items: center;
}

.contact-info span i {
  margin-right: 8px;
}

.social-icons a {
  color: white;
  margin-left: 15px;
  font-size: 26px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #FFD700; /* Optional: Add hover effect for icons */
}

/* Header Container */
.header {
  background-color: var(--secondary-color);
  padding: 0; /* Ensure no unnecessary padding */
  position: relative;
}

/* Flexbox Layout for Header */
.header header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  max-width: 100%;
  padding: 0 20px;
  position: relative; /* Ensure child elements can be positioned relative to this container */
}

/* Left-aligned Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between the image and text */
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none; /* Remove underline from links */
  color: black; /* Default text color */
}

.profile-img {
  width: 100px; /* Adjust image size as needed */
  height: 100px;
  border-radius: 50%; /* Makes the image circular */
  object-fit: cover;
}


.logo-text h1 {
  font-size: 3rem; /* Adjust font size for the name */
  font-family:var(--italiano); /* Mimics the font style */
  font-weight: normal;
  margin: 0; /* Remove extra spacing */
  letter-spacing: 2.8px;
}

.logo-text p {
  font-size: 10px; /* Adjust font size for the title */
  line-height: 1.3;
  margin-top: -15px;
  font-family: var(--manrope);
}

/* Right Navigation */
.nav-right {
  display: flex;
  font-family: var(--manrope);
  justify-content: space-between;
  gap: 40px;
  height: auto;
  margin-left: auto;
  margin-bottom: auto;
  padding-top:15px;
  position: relative; /* Necessary for hover-rect */
}

.nav-right a {
  text-decoration: none;
  font-size: 20px;
  color: #000000; /* Default color for all nav items */
  transition: color 0.3s ease; /* Smooth color transition */
  position: relative;
  z-index: 2; /* Keep text above hover-rect */
  padding: 10px;
}

.hover-rect {
  position: absolute;
  top: 0; /* Align it to the top of the parent container */
  left: 0;
  height: 100%; /* Dynamically adjust to match parent height */
  background-color: var(--primary-color);
  width: 100px; /* Default width, dynamically updated via JS */
  border-radius: 0; /* Remove rounding for cleaner alignment */
  transition: transform 0.3s ease, width 0.3s ease; /* Smooth hover animation */
  z-index: 1; /* Behind the text */
}

/* Active State for Initial Button */
.nav-item.active {
  color: white; /* Active button text is white */
}

/* Default State (Non-active) */
.nav-item {
  color: black; /* Default non-active state is black */
}

/* Hover Effect */
.nav-item:hover {
  color: white;
}

/* Placeholder (Blurred) */
.placeholder {
  filter: blur(1.2px);
  transition: filter 0.3s ease-in-out; /* Smooth transition when the full image loads */
}

/* Image container to ensure proper sizing */
.profile-img {
  width: 75px; 
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
}

/* Drop Box */
.dropbox {
  position: relative; /* Keep it relative to its container */
  margin-left: auto; /* Push it to the right end of the flex container */
  display: inline-block;
  display: none;
}

.dropbtn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn span {
  display: inline-block;
  transition: all 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

.dropbtn:hover {
  color: #fdfffc;
  background-color: #000;
}

.dropdown-content {
  display: none;
  position: absolute; /* Dropdown appears below the button */
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  right: 0; /* Align dropdown content to the right of the button */
  top: 100%; /* Dropdown appears below the button */
  text-align: center; /* Align text to the right */
}

.dropdown-content li {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
  font-family: var(--manrope);
}

.dropdown-content li a {
  color: black;
  text-decoration: none;
  display: block;
}

.dropdown-content li:hover {
  background-color: #f1f1f1;
}

.dropbox:hover .dropdown-content {
  display: block;
}

.dropdown-content {
  transform: scale(0.9); /* Shrinks slightly */
  transition: transform 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940), opacity 0.3s ease;
}

.dropbox:hover .dropdown-content {
  transform: scale(1); /* Grows to normal size */
}

/* Dropdown icon animation */
@keyframes rotate-in-center {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

@keyframes rotate-out-center {
  0% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(0deg);
  }
}


@media (max-width: 768px) { /* Target devices with a screen width of 768px or smaller */
/* Drop Box */
.dropbox {
  display: block;
}
  .nav-left {
    content-visibility: hidden;
  }
  .nav-right {
    content-visibility: hidden;
  }
  .top-container {
    content-visibility: hidden;
  }
  .header header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    padding: 2px 2px;
    position: relative; /* Ensure child elements can be positioned relative to this container */
  }
  .profile-img {
    width: 75px; /* Adjust image size as needed */
    height: 75px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover;
    margin:10px;
  }
  
  .logo-text h1 {
    font-size: 34px; /* Adjust font size for the name */
    font-family:var(--italiano); /* Mimics the font style */
    font-weight: normal;
    margin: 0; /* Remove extra spacing */
    letter-spacing: 1px;
  }
  
  .logo-text p {
    font-size: 9px; /* Adjust font size for the title */
    text-align: left;
    line-height: 1.3;
    margin: 0;
}
}


/*Slideshow contianer for banner*/
.slideshow-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  display: flex; 
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* Ensure the slides fit the container */
}

.slide {
  position: relative;
  flex: 0 0 100%; /* Each slide takes 100% of the container width */
  height: 80vh; /* Display only 80% of the viewport height */
  overflow: hidden; /* Clip extra image content */
}

.slide img {
  width: 100%; /* Scale image to fit screen width */
  height: auto; /* Maintain aspect ratio */
  position: absolute; /* Prevent image overflow */
  top: 0;
  left: 0;
  object-fit: cover; /* Ensure image fills the visible area */
}

/* Slide captions */
.caption {
  position: absolute;
  top: 50%; /* Center vertically */
  left: 10%; /* Align to the left */
  width: 60%; /* Restrict caption width */
  transform: translateY(-50%);
  color: white;
  padding: 30px 30px;
  font-size: 3rem;
  border-radius: 5px 0 0 5px; /* Rounded edges on the right */
  box-sizing: border-box; /* Ensure padding doesn't affect dimensions */
  font-family: var(--main-heading);
}

.prev, .next {
  position: absolute;
  top: 50%; /* Align vertically at the middle */
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.092); /* Semi-transparent background */
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.prev {
  left: 5px; /* Position the previous button on the left */
}

.next {
  right: 5px; /* Position the next button on the right */
}


@media (max-width: 768px) { /* Target devices with a screen width of 768px or smaller */
  .slide {
    height: auto; /* Allow the height to adjust based on the image's aspect ratio */
  }

  .slideshow-container {
    border-radius: 0px; /* Rounded corners for a friendly design */
  }

  .slide img {
    height: auto; /* Maintain the full image's height */
    object-fit: contain; /* Ensure the entire image is visible without cropping */
    position: relative; /* Remove absolute positioning for proper scaling */
  }

  .caption {
    font-size: 20px; /* Reduce font size for better readability on smaller screens */
    padding: 0px 10px; /* Adjust padding for smaller space */
    width: 50%; /* Increase width to better fit smaller screens */
  }

  .prev, .next {
    padding: 8px; /* Reduce padding for smaller buttons */
    font-size: 16px; /* Adjust button text size */
  }
  .top-bar {
    padding:0px;
    background-image: none;
    background-color: #f1f1f1;
  }
  .horizontal-line{
    display:grid;
    margin: 5%;
    margin-top: 0%;
    margin-bottom: 0%;
    width: 100%; /* Set the width of the line */
    height: 2px; /* Set the height (thickness) of the line */
    background-color: #2ec4b6; /* Set the color of the line */
  }
}


/*About Section*/
.About-bg {
  width: 100%;
  background-color: #e3ebf0;
  padding: 5% 0;
}

.About {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin: 0 auto;
  background-color: #e3ebf0;
  border-radius: 10px;
  padding: 20px;
}

.abimg {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 50%;
}

.abimg-container {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.abimg-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px; /* Removes border radius */
}

.ssm {
  flex: 1;
  padding: 20px;
  max-width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ssm h2 {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 0px;
}

.ssm h1 {
  font-size: 60px;
  font-weight: normal;
  color: var(--text-color);
  font-family: var(--italiano);
  margin-bottom: 5px;
}

.ssm p {
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
  color: var(--text-color);
  font-family: var(--manrope);
}

.read-more-btn {
  background-color: var(--primary-color);
  color: var(--bg-color);
  font-family: var(--manrope);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more-btn i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.read-more-btn:hover {
  background-color: var(--primary-color);
  transform: scale(1.05);
}

.read-more-btn:active {
  background-color: var(--primary-color);
  transform: scale(0.95);
}

.read-more-btn:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .About {
    flex-direction: column;
    padding: 15px;
  }

  .abimg {
    max-width: 100%;
    margin-bottom: 20px; /* Adds space between image and text */
  }

  .ssm {
    max-width: 100%;
    padding: 10px;
  }

  .ssm h1 {
    font-size: 66px;
    font-weight: normal;
    text-align: center;
  }

  .ssm h2 {
    font-size: 20px;
  }

  .ssm p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .ssm h1 {
    font-size: 48px;
  }

  .ssm h2 {
    font-size: 18px;
  }

  .ssm p {
    font-size: 16px;
  }
}



/*Impact section */
/* Impact Section */
.impact-section {
  background-color: var(--bg-color);
  padding: 5% 0;
  text-align: center;
}

.impact-heading {
  font-family: var(--manrope);
  font-size: 3rem;
  font-weight: 200;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  height: 60px; /* Fixed height */
  line-height: 60px; /* Align text vertically */
}

.impact-heading::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
}

.impact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0 10%;
}

.impact-item {
  background: var(--bg-color);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-icon {
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.impact-text {
  font-family: var(--manrope);
  color: var(--text-color);
  font-size: 1.4rem;
  line-height: 2rem;
  padding-top: 10px;
  padding-left: 10px;
}

.impact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .impact-heading {
    font-size: 2.2rem;
  }

  .impact {
    grid-template-columns: 1fr;
    padding: 0 5%;
  }

  .impact-item {
    padding: 1.5rem;
  }

  .impact-text {
    font-size: 1.2rem;
  }
}
/*Impact section end*/

/* yt-section */
.gallery-bg {
  width: 100%;
  background-color: var(--primary-color);
  padding-top: 10px;
}

.gallery-bg .gallery-heading{
  background-color: var(--primary-color);
  font-family: var(--manrope);
  font-size: 3rem;
  font-weight: 200;
  color: var(--bg-color);
  position: relative;
  height: 60px; /* Fixed height */
  line-height: 60px; /* Align text vertically */
  text-align: center;
}

.gallery-bg .gallery-heading::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color: var(--bg-color);
  margin: 10px auto 0;
}

.gallery-yt {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  max-width: 1300px;
  margin: 0% auto;
  gap: 40px;
}

.yt-video {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 2% 0;
}

.yt-video .ytwrapper {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 5px solid #F5F5F5;
  overflow: hidden;
}

.yt-video .ytwrapper iframe {
  width: 100%;
  height: 100%;
}

.gallery-event {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.gallery-event .yt-video {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 115%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0%;
}

.yt-video .gallery-event .ytwrapper {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 5px solid black;
  overflow: hidden;
}

.yt-video .gallery-event .ytwrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .gallery-yt {
    flex-direction: column;
    gap: 0px;
    padding: 40px 0;
  }

  .gallery-bg .gallery-heading{
    background-color: var(--primary-color);
    font-family: var(--manrope);
    font-size: 2.2rem;
  }

  .yt-video {
    max-width: 100%;
    width: 90%;
    margin: 0% 0;
  }

  .gallery-event {
    width: 100%;
  }

  .gallery-event .yt-video {
    max-width: 100%;
    width: 90%;
  }
}


/*News and press releases*/
  .news-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 5% auto;
    padding: 20px;
    align-items: flex-start;
    font-family: var(--manrope);
}

.news-container h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--manrope);
}

.latest-news {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 4;
    border-right: 1px solid #000000;
    padding-right: 20px;
}

.press-releases {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-cards {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.news-card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.news-card h3 {
    font-size: 18px;
    color: #FF0000;
    font-weight: bold;
}

.news-card p {
    font-size: 14px;
    color: #333;
}

.date {
    font-size: 12px;
    color: #888;
    text-align: left;
    border-top: 1px solid #000000;
    padding-top: 5px;
}

.press-card {
    background: #fff;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.press-card img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.press-card .content {
    flex: 1;
}

.press-card h3 {
    font-size: 16px;
    color: #FF0000;
    font-weight: bold;
    margin: 5px 0;
}

.press-card p {
    font-size: 13px;
    color: #333;
    margin: 3px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-container {
        flex-direction: column;
        gap: 20px;
    }

    .news-container h1 {
      color: #4A2574;
      text-align: center;
      margin-bottom: 20px;
      font-family: var(--manrope);
    }

    .latest-news {
        border-right: none;
        padding-right: 0;
    }

    .news-cards {
        flex-direction: column;
    }

    .press-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .press-card img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .press-card .content {
        text-align: left;
    }

    .press-card p {
      font-size: 13px;
      color: #333;
      margin: 10px 0;
  }
}

/* Scroll Animation */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.hidden{
  display: none;
}

@media (max-width: 768px) {

  .navigation li {
      font-size: 16px;
  }

  .banner img {
      max-width: 100%;
  }
  .read-more-btn {
      font-size: 14px;
    }
}

@media (max-width: 480px) {
  .navigation li {
      font-size: 14px;
  }
  .read-more-btn {
      font-size: 13px;
    }

  .banner img {
      max-width: 90%;
  }
}

@-webkit-keyframes swing-in-left-fwd {
  0% {
    -webkit-transform: rotateY(100deg);
            transform: rotateY(100deg);
    -webkit-transform-origin: left;
            transform-origin: left;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    -webkit-transform-origin: left;
            transform-origin: left;
    opacity: 1;
  }
}
@keyframes swing-in-left-fwd {
  0% {
    -webkit-transform: rotateY(100deg);
            transform: rotateY(100deg);
    -webkit-transform-origin: left;
            transform-origin: left;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    -webkit-transform-origin: left;
            transform-origin: left;
    opacity: 1;
  }
}
@-webkit-keyframes swing-in-left-bck {
  0% {
    -webkit-transform: rotateY(-70deg);
            transform: rotateY(-70deg);
    -webkit-transform-origin: left;
            transform-origin: left;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    -webkit-transform-origin: left;
            transform-origin: left;
    opacity: 1;
  }
}
@keyframes swing-in-left-bck {
  0% {
    -webkit-transform: rotateY(-70deg);
            transform: rotateY(-70deg);
    -webkit-transform-origin: left;
            transform-origin: left;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    -webkit-transform-origin: left;
            transform-origin: left;
    opacity: 1;
  }
}

.content-item.swing-in-left-fwd {
  animation: swing-in-left-fwd 0.5s ease forwards;
}

/* Backward Entry Animation */
.content-item.swing-in-left-bck {
  animation: swing-in-left-bck 0.5s ease forwards;
}

/* Forward Exit Animation */
.content-item.swing-out-left-bck {
  animation: swing-in-left-bck 0.5s ease reverse forwards;
}

/* Backward Exit Animation */
.content-item.swing-out-left-fwd {
  animation: swing-in-left-fwd 0.5s ease reverse forwards;
}


/* Back-to-Top Button Styles */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 15px;
  padding: 15px 15px;
  background-color: var(--primary-color);
  color: white;
  font-size: 14px;
  border-radius: 50%;
  border-color: white;
  border-width: 3px;
  cursor: pointer;
  display: none; /* Initially hidden */
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}
.back-to-top:hover {
  background-color: var(--yellow-color);
  animation:color-change 1s ease-in-out;
  scale:1.2;
}

@keyframes color-change {
  0% {
    background-color: var(--primary-color);
  }
  100% {
    background-color: var(--text-color);
  }
}

/* Animation: bounce-in-top */
@-webkit-keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

/* Apply Animation to Button */
.back-to-top.show {
  display: block;
  animation: bounce-in-top 0.8s ease-in-out;
}


/* General Styles for the Vision Section */
.vision-section {
  background-color: var(--secondary-color); /* Light background color */
  padding: 60px 20px;
  text-align: center;
  font-family: var(--manrope);
}

.vision-section h1 {
  font-size: 3em;
  font-family: var(--manrope);
  font-weight: 200;
  color:var(--text-color);
}

.vision-section h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #323B3C;
  margin: 15px auto;
}

/* Vision Blockquotes */
.vision-blockquotes {
  font-size: 20px; /* Increased font size */
  color: var(--primary-color);
  font-style: italic;
  margin-bottom: 40px;
  padding: 10px 20px;
  font-family: var(--manrope);
  border-left: 4px solid var(--primary-color); /* Decorative left border */
  background-color: #eef7fc; /* Light background for emphasis */
  display: inline-block;
  line-height: 1.8;
  max-width: 600px;
  text-align: center;
}

/* Vision Content Cards */
.vision-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.vision-card {
  background: linear-gradient(135deg, #ffffff, #eef7fc); /* Subtle gradient for modern feel */
  border: 2px solid #0A2640; /* Bold blue border */
  border-radius: 15px;
  width: 320px;
  padding: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--manrope);
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25); /* Subtle hover effect */
}

.vision-card h2 {
  font-size: 24px; /* Bigger heading */
  color: #2c3e50; /* Darker color for focus */
  margin-bottom: 16px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 20px;
  text-align: center;
}

.vision-card p {
  font-size: 16px; /* Larger text */
  color: #333;
  font-weight: bold;
  line-height: 1.8;
  text-align: center;
}

/* Decorative Circle Styles */
.decorative-circle-vision {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  left: 0;
  top: 0;
  display: inline-block;
  border:3px solid var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .vision-content {
    flex-direction: column;
    align-items: center;
  }

  .vision-card {
    width: 75%;
  }

  .vision-card h2 {
    font-size: 24px; /* Bigger heading */
    color: #2c3e50; /* Darker color for focus */
    margin-bottom: 12px;
    font-weight: bold;
    text-transform: capitalize;
    text-align: center;
  }

  .vision-section h1 {
    font-size: 2.2rem; /* Adjust title size for smaller screens */
  }

  .vision-blockquotes {
    font-size: 18px;
    max-width: 100%;
  }
}


/* Social Container */
.social-container-fb-ig {
  display: flex;
  background: var(--bg-color);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  height: 800px;
  padding: 10px 0;
  overflow: hidden;
}

.social-container-fb-ig .fb-ig-h h1{
  font-family: var(--manrope);
  font-weight: 200;
  font-size: 3em;
  color: var(--text-color);
}

.social-container-fb-ig .fb-ig-h h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #323B3C;
  margin: 15px auto;
}
.social-container-fb-ig .fb-ig {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 850px;
  position: relative;
  padding:50px 50px;
}
.social-container-fb-ig .fb-ig-container {
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
}
.PCline{
  width: 80%;
  height: 2px;
  background: #403C34;
}
@media (max-width: 768px) {
  .social-container-fb-ig .fb-ig {
    flex-direction: column;
  }
  .social-container-fb-ig {
    display: flex;
    background: var(--secondary-color);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    height: auto;
    padding: 50px 0;
  }
  .social-container-fb-ig .fb-ig-h h1{
    font-family: var(--manrope);
    font-weight: 200;
    font-size: 2.5em;
    color: var(--text-color);
    text-align: center;
  }
}
/* General Styles */
.slider-body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  height: 100%;
  padding: 10px;  /* Added padding for mobile devices */
  box-sizing: border-box;
  padding:5% 0;
}

.slider-body .slider-heading {
  font-family: var(--manrope);
  font-size: 3rem;
  font-weight: 200;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  height: 60px; /* Fixed height */
  line-height: 60px; /* Align text vertically */
}

.slider-body .slider-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #323B3C;
  margin: 15px auto;
}

.slider-container-gallery {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1200px; /* Limit max width */
  height: 600px;
  border-radius: 10px;
  overflow: hidden;
}

.main-image {
  flex: 3;
  display: flex;
  justify-content: center;
  align-items: center;  
}

.main-image img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.see-more {
  background-color: var(--primary-color);
  color: var(--bg-color);
  font-family: var(--manrope);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.see-more i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.see-more:hover {
  background-color: var(--primary-color);
  font-weight: bold;
}

.see-more:active {
  background-color: var(--primary-color);
  transform: scale(0.95);
}

.see-more:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.thumbnail-slider {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 10px;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  height: 100%;
  width: 100%;
  overflow-x: scroll;  /* Enable horizontal scrolling */
  -ms-overflow-style: none;  /* For Internet Explorer 10+ */
  scrollbar-width: none;  /* For Firefox */
}

.thumbnails::-webkit-scrollbar {
  display: none;  /* For Chrome, Safari, and Edge */
}

.thumbnails img {
  width: 95%;
  cursor: pointer;
  border-radius: 8px;
  transition: border 0.3s ease-in-out;
  scroll-snap-align: start;
  border: 2px solid transparent;
}

.thumbnails img.active {
  border: 3px solid var(--primary-color);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

/* Adjust Navigation Buttons for Desktop and Mobile */
.nav-button {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
}

/* Adjust Navigation Buttons for Desktop */
.nav-button.top {
  position: absolute;
  top: 10px; /* Properly position at the top inside the thumbnail container */
  left: 50%;
  transform: translateX(-50%);
}

.nav-button.bottom {
  position: absolute;
  bottom: 10px; /* Properly position at the bottom inside the thumbnail container */
  left: 50%;
  transform: translateX(-50%);
}

.nav-button.left,
.nav-button.right {
  display: none; /* Keep horizontal buttons hidden on PC */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .slider-container-gallery {
    flex-direction: column;  /* Stack the main image and thumbnails vertically */
    height: auto;  /* Allow for flexible height */
    margin:50px 0;
  }

  .slider-body .slider-heading {
    font-family: var(--manrope);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  .main-image {
    flex: 2;  /* Slightly reduce the main image size */
    margin-bottom: 20px;  /* Add spacing between main image and thumbnails */
  }

  .thumbnail-slider {
    flex: 1;
    width: 95%;  /* Ensure thumbnail section takes full width on small screens */
    position: relative;  /* To position the nav buttons */
  }

  .thumbnails {
    display: flex;
    flex-direction: row;  /* Make thumbnails horizontal */
    gap: 0px;
    overflow-x: auto;  /* Enable horizontal scrolling */
    height: auto;  /* Allow for flexible height */
    width: 100%;  /* Ensure it takes full width */
    padding-bottom: 10px;  /* Add bottom padding to allow smooth scrolling */
  }

  .thumbnails img {
    width: 60%;  /* Resize thumbnail images */
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
  }

  .thumbnails img.active {
    border: 2px solid var(--primary-color);
  }

  /* Rotate and position the nav buttons */
  .nav-button {
    position: absolute;
    top: 50%;  /* Center the nav buttons vertically */
    transform: translateY(-50%);  /* Center vertically */
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
  }

  .nav-button.top {
    display: none;  /* Hide the top button for mobile */
  }

  .nav-button.bottom {
    display: none;  /* Hide the bottom button for mobile */
  }

  .nav-button.left {
    display: block;
    left: 5px;  /* Position on the left end */
    transform: translateY(-50%);  /* Rotate the button */
  }

  .nav-button.right {
    display: block;
    right: 5px;  /* Position on the right end */
    transform: translateY(-50%);  /* Rotate the button */
  }

  .nav-button {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .slider-body {
    padding: 5px;  /* Reduce padding for very small screens */
  }

  .thumbnails img {
    width: 50%;  /* Further reduce thumbnail sizes on very small screens */
  }
}
.footer {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 40px 20px;
  font-family: var(--manrope);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-links,
.footer-qr,
.footer-socials {
  flex: 1;
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.footer-links h3,
.footer-qr h3,
.footer-socials h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: var(--bg-color);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--yellow-color);
}

.qr-container {
  background-color: var(--bg-color);
  padding: 20px;
  display: inline-block;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  align-self: center;
}

.qr-container img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.footer-socials .social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-socials a {
  font-size: 1.5rem;
  color: var(--bg-color);
  transition: color 0.3s;
  text-decoration: none;
}

.footer-socials a:hover {
  color: var(--yellow-color);
}

/* Responsive Design for Tablets and Smaller Screens */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column; /* Stack sections vertically */
    align-items: center; /* Center align sections */
  }
  .footer-links,
  .footer-qr,
  .footer-socials {
    margin-bottom: 20px;
    flex: unset; /* Remove flex equal width for sections */
    width: 100%; /* Ensure sections span full width */
  }

  .qr-container img {
    width: 120px; /* Adjust QR code size for smaller screens */
    height: 120px;
  }
}

/* Responsive Design for Mobile Screens */
@media (max-width: 480px) {
  .footer {
    padding: 30px 15px; /* Reduce padding for smaller screens */
  }

  .footer-links h3,
  .footer-qr h3,
  .footer-socials h3 {
    font-size: 1.2rem; /* Adjust section title size */
  }

  .footer-links a {
    font-size: 0.9rem; /* Adjust link text size */
  }

  .footer-socials a {
    font-size: 1.2rem; /* Adjust social icon size */
  }

  .qr-container img {
    width: 100px; /* Further reduce QR code size */
    height: 100px;
  }
}
