@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
body {
  font-family: Arial, sans-serif;
  margin: 0;
  scroll-behavior: smooth;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  color: rgb(0, 0, 0);
}

.nav-left {
    display: flex;
    /* display:; */
  font-size: 1.5em;
  font-weight: bold;
}
.custom-icon{
    height: 2em;
    width: 2em;
}

.nav-right button {
  margin-left: 10px;
  padding: 8px 12px;
  background: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.nav-right button:hover {
  background-color: #e0e0e0;
}
.teamname{
  font-size: 10px;
}
.headingwrap{
  display: flex;
  gap: 1em;
  display: inline;
}
.heading{
  font-size: 55px;
  font-weight: 800;

}
.subheading{
  font-size: 55px;

}

/* Hero (Home Section) */
.hero {
  /* background: url('healthcareimage.jpg') no-repeat center center/cover; */
  background: url('images/view-walking-man-with-prosthetic-legs-white-sneakers.jpg') no-repeat center center/cover;
  position: relative;
  color: white;
  min-height: 100vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5); /* optional dark overlay */
  padding: 40px;
  border-radius: 10px;
}

section {
  padding: 50px;
  min-height: 100vh;
  border-bottom: 1px solid #ccc;
}

input, textarea {
  width: 80%;
  padding: 10px;
  margin: 5px 0;
}

#need {
  /* background: url('medeq.jpg') no-repeat center center/cover; */
  background: url('images/wheelchair-meadow.jpg') no-repeat center center/cover;
  position: relative;
  color: white;
}





#donate {
  background: url('images/side-view-man-using-nebulizer.jpg') no-repeat center center/cover;
  position: relative;
  color: white;
}

/* Optional dark overlay for readability */
.section-bg .overlay {
  background: rgba(0, 0, 0, 0.6); /* semi-transparent overlay */
  padding: 50px;
  border-radius: 10px;
}

.section-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

form input,
form textarea {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
}

form input::placeholder,
form textarea::placeholder {
  color: #666;
}


.section-educate {
  background: linear-gradient(to bottom, #f2f8ff, #ffffff);
  padding: 60px 20px;
}

.educate-content {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.educate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.educate-card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.educate-card:hover {
  transform: scale(1.03);
}

.educate-card h3 {
  color: #007BFF;
}

.educate-card a {
  display: block;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.educate-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1.5em;
  transition: background-color 0.3s ease, transform 0.2s;
}

.educate-card:hover {
  background-color: #f0f8ff;
  transform: scale(1.02);
  cursor: pointer;
}

.section-details {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  gap: 40px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
}

.section-details:nth-child(even) {
  background-color: #eef6fa;
}

.section-details.left {
  flex-direction: row;
}

.section-details.right {
  flex-direction: row-reverse;
}

.details-content {
  flex: 1;
  min-width: 280px;
}

.details-content h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.details-content p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

.details-content a {
  color: #0066cc;
  text-decoration: none;
}

.details-content a:hover {
  text-decoration: underline;
}

.details-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.details-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


html {
  scroll-behavior: smooth;
}


/* Initial hidden state */
.details-content, .details-image {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

/* Content slides in from left */
.section-details.show .details-content {
  opacity: 1;
  transform: translateX(0);
}

/* Image slides in from right */
.section-details.show .details-image {
  opacity: 1;
  transform: translateX(0);
}

.section-details.left .details-content {
  transform: translateX(-50px);
}

.section-details.right .details-image {
  transform: translateX(50px);
}

.section-details {
  min-height: 400px; /* Prevents early layout shift */
}




/*slider horizontal
/* Feature Slider */
.slider-container {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 2rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: none;
  text-align: center;
}

.slide.active {
  display: block;
}

.slide img {
  max-height: 120px;
  margin-bottom: 1rem;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffd700;
  color: #000;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.arrow.left {
  left: -2px;
}

.arrow.right {
  right: -2px;
}
/*video
/* White background section */
.white-bg {
  background-color: #ffffff;
}

/* Video styling */
/* White background for this section */
.white-bg {
  background-color: #ffffff;
  padding: 3rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem; /* Adds space between text and video */
}

/* Heading */
.feature-heading {
  font-size: 34px;
  color: #222;
  margin-bottom: 1rem;
}

/* Text card styling */
.text-card {
  background-color: #f7f7f7;
  padding: 1.2rem 1.5rem;
  border-left: 5px solid #c49300;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 500px;
}

/* Video */
.feature-video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .white-bg {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-card {
    max-width: 100%;
  }
}
/*banner
/* SDG ticker inside the home section */
.sdg-ticker-inline {
  width: 100%;
  background-color: #0b1d1a; /* deep green */
  color: #ffffff;
  padding: 10px 0;
  overflow: hidden;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-top: 2rem;
}

.sdg-text {
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 40s linear infinite;
}

/* Animation to scroll the text */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}


/*slider icons*/
.small-video {
  width: 300px;          /* Set the width */
  height: auto;          /* Maintain aspect ratio */
  display: block;        /* Make it behave like a block for margin to work */
  margin: 20px auto;     /* Center horizontally */
  border-radius: 10px;   /* Rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Optional: nice shadow */
}


/*two card slider-prosthetic card*/
.card-slider {
  position: relative;
  max-width: 800px;
  margin: 30px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.6s ease;
}

.card-content {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.card-content.active {
  display: block;
  opacity: 1;
}

.card-content h2 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.card-content p,
.card-content ul {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.card-content ul {
  padding-left: 20px;
}

.arrow-buttons {
  margin-top: 20px;
  text-align: center;
}

.arrow-buttons button {
  background-color: #2c3e50;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  margin: 0 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.arrow-buttons button:hover {
  background-color: #1a252f;
}

.section-title{
  font-size: 30px;

}
/* .impossible{
  font-size: 32px;
  font-weight: 800;
  color: #0066cc;
  letter-spacing:5px ;
  cursor: pointer;
}
.impossible span{
  transition: 0.5s;
}
.impossible:hover span:nth-child(1){
  margin-right: 10px;
}
.impossible:hover span:nth-child(1):after{
  content:"'";
}

.impossible:hover span:nth-child(2)
{
  margin-left:100px;
} */

/* .impossible span {
  display: inline-block;
  transition: 0.5s;
  font-weight: bold;
  font-size: 32px;
}

.impossible:hover span:nth-child(1) {
  margin-right: 10px;
}

.impossible:hover span:nth-child(1)::after {
  content: "'";
}

.impossible:hover span:nth-child(2) {
  margin-left: 50px; /* Adjust as needed for desired gap */
/* } */ 

 .impossible span {
  font-family: "Anton", sans-serif;
  font-weight: 200;
  font-style: normal;
  display: inline-block;
  transition: 0.5s;
  font-weight: bold;
  font-size: 90px;
}

.impossible:hover span:nth-child(1)::after {
  content: "'";
}

.impossible:hover span:nth-child(2) {
  margin-left: 8px;
}

.impossible:hover span:nth-child(3) {
  margin-left: 40px; /* gap between "m" and "possible" */
}

/*pop up button hand*/
.product-btn {
  margin-top: 20px;
  background-color: #000;
  color: #fff;
  padding: 15px 40px;
  font-size: 18px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.3s ease;
  letter-spacing: 1px;
}

.product-btn:hover {
  background-color: #1a1a1a;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 500px;
  text-align: left;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th, table td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

table th {
  background-color: #f0f0f0;
}
/*pop up image*/
.thumbnail {
    width: 100px;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s;
  }

  .thumbnail:hover {
    transform: scale(1.05);
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
  }

  .modal-content {
    display: block;
    margin: 5% auto;
    max-width: 80%;
    border-radius: 12px;
  }

  .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
  }

  /*prosthetic leg*/
  .genium-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  background: #f5f5f5;
  flex-wrap: wrap;
}

.genium-content {
  flex: 1;
  max-width: 500px;
}

.genium-content h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
}

.genium-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.genium-btn {
  background-color: #1a237e;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.genium-video-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.video-circle {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.video-circle video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-text {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-shadow: 1px 1px 4px black;
}

/*footer*/
.footer-disclaimer {
  background-color: #000;
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.footer-disclaimer a {
  color: #fff;
  text-decoration: underline;
}

.footer-disclaimer a:hover {
  color: #ccc;
}
