* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
}

 /* Main Scroll Button Container */
#scrollToTopBtn {
  position: fixed;
  bottom: -60px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #009C99;
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transition: bottom 0.5s ease, opacity 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

#scrollToTopBtn.show {
  bottom: 30px;
  opacity: 1;
}

/* Pulsing Ring (Kirupa style) */
#scrollToTopBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(77, 255, 246, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: pulse-ring 1.5s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

#scrollToTopBtn:hover {
  background-color: #009C99;
}

/* Styling the main height of the webpage */
.wrapper-main {
    min-height: 100vh;
    width: 100%;
    margin: 0 auto;
}

/* Styling the Navigational Bar of the main page*/
nav {
    background-color: rgb(255, 255, 255);
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 70px;
}

nav a {
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: 0.3s ease;
}

nav a.active {
  color: #009C99;
  font-weight: 700;
  border-radius: 5px;
}

nav a:hover {
    background-color: #f0f0f0;
    color: #009C99;
}

nav li:first-child {
    margin-right: auto;
}

.comp-logo {
    inline-size: 130px;
}

.home-btn {
    color: #009C99;
}

/* Styling the Sidebar of the main page*/
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.395);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.menu-button {
    display: none;
}

@media (max-width: 800px) {
    .hideOnMobile{
        display: none;
    }
    .menu-button {
        display: block;
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .sidebar {
        width: 100%;
    }
}

/* Preloader full screen background */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.spinner {
  width: 80px;
  height: 80px;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #009C99; /* Starting color */
  border-radius: 50%;
  animation: spin 1s linear infinite, colorShift 3s ease-in-out infinite;
}

/* Spinner rotation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Color shifting effect */
@keyframes colorShift {
  0% { border-top-color: #009C99; }   /* Teal */
  33% { border-top-color: #ff9800; }  /* Orange */
  66% { border-top-color: #2196f3; }  /* Blue */
  100% { border-top-color: #009C99; } /* Back to Teal */
}

/* Styling the hero section on the main page */
.fnl-hero-slider {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  padding-bottom: 40rem;
}

.fnl-hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
}

.fnl-hero-slide.fnl-active {
  opacity: 1;
  z-index: 1;
}

.fnl-slide-content {
  color: #fff;
  max-width: 600px;
  animation: fnl-slideInUp 1s ease-out;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fnl-slide-content.fnl-animate {
  opacity: 1;
  transform: translateY(0);
}

.fnl-slide-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.fnl-slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  background-color: #0304052a;
  padding: 1.3rem 0 1.3rem .4rem;
  border-radius: 12px;
}

.fnl-cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ff6600;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.fnl-cta-button:hover {
  background-color: #e65c00;
}

.services-btn {
    background-color: #009C99;
    transition: background-color 0.3s ease;
}

.services-btn:hover {
    background-color: #107472
}

/* Responsive */
@media (max-width: 768px) {
  .fnl-slide-content h1 {
    font-size: 2rem;
  }

  .fnl-slide-content p {
    font-size: 1rem;
  }
}

/* Styling the Mission and Vision cards on the main page */
.mission-vision {
    width: 100%;
    position: absolute;
    bottom: 140px;
    display: flex;
    margin: auto;
    column-gap: 120px;
    z-index: 9998;
}

.vision-card1 {
    background-color: rgb(255, 255, 255);
    width: 300px;
    /* height: 330px; */
    border-radius: 10%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.vision-card2 {
    background-color: rgb(255, 255, 255);
    width: 300px;
    /* height: 330px; */
    border-radius: 10%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.vision-content {
    padding: 10px 20px;
}

.vision-card img {
    margin: auto;
    display: block;
    width: 30px;
}

.reduce-vision {
    inline-size: 85px;
    padding-top: 15px;
}

.reduce-mission {
    inline-size: 60px;
    padding-top: 15px;
}

.content-words {
    text-align: center;
}

.content-words p {
    line-height: 1.4rem;
    font-size: 19px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-words h2 {
    font-size: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

/* Styling the Subsidiaries text on the main page */
.Sub-section {
    background-color: #009C99;
    text-align: center;
    /* padding-bottom: 10px; */
}

.Sub-section .sub-header {
    color: white;
    letter-spacing: 5px;
    font-size: 30px;
}

.Sub-section .sub-description {
    color: rgb(255, 255, 255);
    inline-size: 72%;
    margin: auto;
    line-height: 1.4rem;
    font-size: 1.2rem;
    word-spacing: 3px;
    padding-bottom: 150px;
    margin-bottom: 70px;
}

/* Styling the subsidiary cards and their background */
.subsidiaries-bg {
    background-color: #C3C3C3;
    padding-bottom: 20px;
    padding-top: 60px;
}

/* Styling the Subsidiaries cards on the main page */
.first-card-row{
    box-sizing: border-box;
    position: relative;
    bottom: 200px;
}

.cards-container {
    max-width: 1200px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    justify-content: center; 
    margin: auto;
    padding-top: 2rem;
    padding: 1rem;
}

.subs-cards {
    max-width: 380px;
    background-color: white;
    border-radius: 15px;
    vertical-align: top;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.subs-cards img {
    max-width: 100%;
    padding: 2rem;
    border-radius: 15px;
}

.sub-card-description {
    padding: 10px 30px; 
    white-space: wrap;   
}

.sub-card-description p {
    line-height: 1.2rem;
    font-size: 16px;
    padding-bottom: 20px;
    text-align: left;
    white-space: wrap;
    vertical-align: middle;
}

.sub-card-description h3 {
    font-size: 18px;
}

.sub-card-description a {
    text-decoration: none;
    color: black;
}

.sub-card-description a::after{
    content: '';
    width: 0;
    height: 2px;
    background-color: #009C99;
    display: block;
    margin: auto;
    transition-duration: 0.4s;
}

.sub-card-description a:hover::after{
    width: 40%;
}

.sub-card-description a:hover {
    color: #009C99;
}

.learn-link {
    text-align: center;
    font-size: 1.5rem;
    text-decoration: none;
}

.services-container img {
    inline-size: 40%;
    margin: auto;
    display: block;
    margin-top: 3rem;
    padding-bottom: 4rem;
}

.service-header {
    text-align: center;
    font-size: 1.8rem;
    padding-bottom: 2rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana,
}

.sHeader-description {
    text-align: center;
    width: 70%;
    margin: auto;
    font-size: 19px;
    margin-bottom: 60px;
    line-height: 1.4rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana,
}

.port-header {
    font-size: 1.4rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: light;
}

/* styling the slider */
.slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  overflow: hidden;
  /* background-color: #000; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 10px; */
}

.overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  background-color: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 5px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 16px;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 768px) {
  .slide {
    width: 90%;
    height: 70%;
  }

  .overlay {
    padding: 10px;
    font-size: 14px;
  }

  .prev, .next {
    padding: 12px;
    font-size: 14px;
  }
}

/* Styling the SDG Goals page on the main hope page */
.sdg-goals {
    padding-top: 40px;
    width: 90%;
    margin: auto;
}

.sdg-goals img{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.sdg-12-13 {
    display: flex;
    justify-content: space-evenly;
    column-gap: 5rem;
}

.sdg-12-14 {
    display: flex;
    justify-content: space-evenly;
    column-gap: 5rem;
}

.sdg-12-15 {
    display: flex;
    justify-content: space-evenly;
    column-gap: 5rem;
}

.sdg-12 img{
    inline-size: 140px;
    display: block;
    margin: auto;
}

.sdg-12 {
    inline-size: 600px;
    display: inline-block;
    /* padding-right: 100px; */
}

.h-12 {
    /* inline-size: 150px; */
    text-align: center;
    font-weight: bold;
}

.sdgh-all {
    font-weight: bold;
}

.sdg-12 p{
    width: 100%;
    /* inline-size: 600px; */
    text-align: center;
    vertical-align: top;
}

.sdg-13 {
    inline-size: 600px;
    display: inline-block;
    vertical-align: top;
} 

.sdg-13 img{
    inline-size: 140px;
    display: block;
    margin: auto;
} 

.sdg-13 p{
    width: 100%;
    text-align: center;
    vertical-align: top;
}

/* FNL Faq Section */
.fnl-faq-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 1.5rem;
  font-family: "Roboto", sans-serif;
}

.fnl-faq-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.fnl-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.fnl-faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.fnl-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
}

.fnl-faq-icon {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.fnl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.fnl-faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* Active state */
.fnl-faq-item.fnl-active .fnl-faq-answer {
  max-height: 300px;
}

.fnl-faq-item.fnl-active .fnl-faq-icon {
  transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
  .fnl-faq-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fnl-faq-section h2 {
    font-size: 2rem;
  }
}


/* Styling the design on top of the footer */
.design-part {
    background: rgb(238,174,202);
    background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(34,193,195,1) 100%);
    max-width: 100%;
    height: 0.5rem;
}

/* Styling the footer on the Products page */
.service-contact-container {
    max-width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.service-contact-container .footer-background-image img {
    position: absolute;
    object-fit: cover;
    object-position: center;
    max-width: 50%;
    left: 40%;
    top: 10%;
    margin: auto;
    z-index: -1;
}

.service-contact-container .footer-background-image img:nth-child(1) {
    left: 0%;
}

.service-contact-container .footer-background-image img:nth-child(2) {
    right: 0%;
    bottom: 0;
}

.service-contact-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 255, 251, 0.229);
    z-index: -2;
}

.service-contact-form {
    max-width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 250px;
}

.form-1 {
    padding-top: 50px;
}

.form-1 h3 {
    font-size: 1rem;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}

.form-2 {
    padding-top: 70px;
    padding-bottom: 70px;
}

/*Styling the social media buttons on the main home page*/
.social-media-btn {
    display: flex;
    align-items: center;
    column-gap: 5px;
    flex-wrap: wrap;
}

.fa {
    padding: 15px;
    font-size: 20px;
    inline-size: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 15px;
    z-index: -100;
}
  
.fa:hover {
    opacity: 0.7;
}
  
.social-media-btn .fa-facebook {
    background: #3B5998;
    color: white;
}
  
.social-media-btn .fa-twitter {
    background: #55ACEE;
    color: white;
}

.social-media-btn .fa-instagram {
    background: #e41717;
    color: white;
}

.social-media-btn a img {
    width: 47px;
    vertical-align: middle;
    padding-bottom: 3px;
    border-radius: 7px;
}

.social-media-btn .fa-youtube {
  background: #bb0000;
  color: white;
}

.social-media-btn .fa-whatsapp {
    color: white;
    background-color: rgb(21, 171, 21);
    padding: 14px;
}

.form-1 #support-us {
    margin-top: 10px;
    margin-bottom: -10px;
}

.form-1 #intouch{
    text-decoration: underline;
    text-decoration-color: #009C99;
}

.form-1 h3{
    line-height: 0.2rem;
    font-size: 1.6rem;
    margin-bottom: 5px;
    margin-top: 5px;
}

.form-1 a {
    text-decoration: none;
    color: black;
    font-size: 1.6rem;
    font-weight: bolder;
}

.anchor-contact a{
    font-size: 1.1rem;
    font-weight: 100;
    text-decoration: underline;
    transition-duration: 0.4s;
    color: #5d5757;
}

.anchor-contact a:hover {
    color: #009C99;
}

.post {
    padding-bottom: -19px;
}

.addr {
    margin-bottom: -15px;
}

.first-input input::placeholder {
    padding-top: 10px;
    padding-left: 5px;
    color: #8C8C8C;
    opacity: 0.5;
    font-size: 1rem;
    outline: #8C8C8C;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* .contact-inputs:focus {
    border: 1px solid #009C99;
} */

.first-input {
    padding-right: 30px;
}

input[type="email"],
input[type="text"],
input[type="tel"] {
    width: 47%;
    height: 4rem;
    text-indent: 1rem;
    /* padding: 20px 0 20px 20px; */
    font-size: 17px;
    color: #8C8C8C;
    border: none;
    padding-right: 20px;
    background-color: #fff;
    outline: 1px solid #009C99;
}

textarea:focus {
    outline: 1px solid #009C99;
}

input[type="email"],
input[type="text"] {
    margin-bottom: 20px;
}

input[type="text"],
input[type="tel"] {
    margin-right: 20px;
}

.services-row {
    margin-bottom: 20px;
}

select {
    width: 25%;
    font-size: 17px;
    height: 4rem;
    /* padding: 1rem 1.5rem; */
    background-color: #fff;
    color: #8C8C8C;
    border: none;
    outline: 1px solid #009C99;
}

.general-services {
    width: 47%;
    padding: 18px 1px;
    color: #8C8C8C;
    border: none;
    font-size: 1rem;
    outline: 1px solid #009C99;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23009C99" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    text-indent: 0.7rem;
}

.form-2 textarea {
    width: 98.8%;
    height: 150px;
    background-color: #fff;
    border: none;
    color: #8C8C8C;
    font-size: 20px;
    padding-top: 20px;
    padding-left: 28px;
    outline: 1px solid #009C99;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-request {
    width: 200px;
    height: 60px;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    background-color: #009C99;
    border: none;
    font-size: 1.2rem;
    color: #fff;
    transition-duration: 0.4s;
}

.btn-request:hover {
    background-color: black;
    color: #009C99;
}

/* .fnl-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
} */

/* .fnl-form-row input,
.fnl-select,
#request-message {
  flex: 1;
  padding: 1rem 2rem;
  border: 1px solid #009C99;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fff;
} */

.last-stand {
    padding-top: 40px;
    background-color: black;
}

.last-stand p {
    color: #8C8C8C;
    text-align: center;
    margin: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}