/* Navbar Styling*/
  
.navbar {
  display: flex;
  justify-content: space-between;         
  align-items: center;
  background-color: white;
  padding: 0 30px;                        
  height: 70px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;                          
  z-index: 1000;
}

  .navbar img {
    height: 40px;
    padding-top:8px;
    margin-right: auto;
  }
  
  .navbar a, .subnav {
    font-family: 'Poppins', sans-serif; 
    font-weight: 550; 
    font-size: 14px;
    color: rgb(78, 77, 77);
    text-transform: uppercase; 
    text-align: center;
    padding: 20px 16px;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.8px; 
    padding: 10px 10px;
  }
  .navbar a:hover, .subnav:hover .subnavbtn {
    background-color: lightblue;
    color: darkblue;
  }
  
  .subnav {
    position: relative;
  }
  
  .subnavbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: rgb(117, 114, 114);
    background-color: inherit;
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase; 
    letter-spacing: 1px;
  }
  
  .subnav-content {
    display: none;
    position: absolute;
    top: 45px;
    left: 10%;
    background-color: white;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .subnav-content a {
    display: block;
    padding: 10px 16px; 
    color: black;
    text-decoration: none;
    text-transform: uppercase; 
    font-family: 'Poppins', sans-serif; 
    letter-spacing: 1px;
  }
  
  .subnav-content a:hover {
    background-color: lightblue;
    color: darkblue;
  }
  
  .subnav:hover .subnav-content {
    display: block;
  }
  .navbar a.active, .subnav a.active {
    font-weight: bolder;
    color:black;
     /* active link bolder */
  }

  /*  Main content styling (Index page)*/
.front-page{
    padding-top:90px;
}
.text-info{
    font-family: 'Poppins', sans-serif; 
    font-weight: 700;
    font-size: 2.5rem; 
    color: #72a5f7;
    text-align: center;
    margin-bottom: 20px; 
}
.text-dark{
   font-family: 'Poppins', sans-serif; 
   font-weight: 400; 
   font-size: 1rem; 
   line-height: 1.6; 
   color: #333; 
   text-align: center; 
   max-width: 800px; 
   margin: 0 auto; 

    
}

/* General Styling */
.video-banner {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.banner-video {
  width: 100%;
  height: auto;
  display: block;
}


/* Image Styling */
.mobile-banner {
    display: none; /* Hide image by default */
    width: 100%; 
    height: auto; 
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .banner-video {
        display: none; /* Hide video on mobile devices */
    }

    .mobile-banner {
        display: block; /* Show image on mobile devices */
        padding-top:130px;
}}



.image-text-section{
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding:20px;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;
    

}
.image-text-section img{
    width:40%;
    height:auto;
    justify-content: flex-end;
    border-radius: 8px;
    margin: 0 auto;
    order:2;
}
.text-content{
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
    text-align: justify;
    margin-left: 20px;
}
.text-content h2{
    margin-bottom: 10px;
    
}
.image-text-section2{
    display:flex;
    align-items:center;
    padding:20px;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;

}
.image-text-section2 img{
    width: 40%;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
}
.text-content2{
    flex: 1;
    margin-right: 20px;
    text-align: justify;
}
.text-content2 h2{
    margin-bottom: 10px;
    
}
.image-text-section3{
    display:flex;
    align-items:center;
    padding:20px;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;
    padding-bottom:30px;

}
.image-text-section3 img{
    width: 40%;
    height: auto;
    margin-right: 20px;
    border-radius: 8px;
}
.text-content3{
    flex: 1;
    text-align: justify;
    margin-right: 20px;
}
.text-content3 h2{
    margin-bottom: 10px;
    
}
.slider-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

/* Slider Container Styling */
.slider-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

/* Card Wrapper */
.card-wrapper {
    display: flex;
    gap: 20px;
    scroll-behavior: smooth; 
    overflow-x: auto;
    scrollbar-width: none; 
}
.card-wrapper::-webkit-scrollbar { 
    display: none; /* Hide scrollbar in Chrome, Safari, Opera */
}

/* Individual Card Styling */
.slider-card {
    min-width: 300px;
    max-width: 300px; /* Width to fit three cards + partial 4th */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}
.icon_cite{
    width:40px;
    height:40px;
    border-radius:20%;
    margin-bottom: 10px;
    object-fit: cover;

}
.testimonial-text {
    font-size: 0.7em;
    color: #333;
    margin: 10px 0;
    text-align: justify;
}

.author {
    font-weight: lighter;
    color: #666;
    text-align: justify;
    font-size: 0.6em;
}

/* Navigation Button Styling */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #666;
    padding: 0 15px;
    z-index: 1;
}

.nav-button:hover {
    color: #333;
}

.nav-button.left {
    left: 0;
}

.nav-button.right {
    right: 0;
}

.MessageSection {
  background-image: url('images/bg-3.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff; 
}

.Messagelines {
  max-width: 800px; 
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Messagelines p {
  font-size: 1.2em;
  line-height: 1.5;
  margin: 0;
}

.message-button-wrapper {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.message-button {
  display: inline-block;
  padding: 12px 28px;
  background-color: #007bff;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.message-button:hover {
  background-color: #0056b3;
}

/* News Card Slider Section */
/* News Slider Section */
.news-slider-section {
    padding: 20px 0;
    background-color: #f8f9fa;
    position: relative;
}

.news-slider-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1000px; 
    margin: 0 auto;
    overflow: hidden;
}

.news-wrapper {
    display: flex;
    gap: 20px;
    scroll-behavior: smooth; 
    overflow-x: auto;
    scrollbar-width: none; 
    
}
.news-wrapper::-webkit-scrollbar { 
    display: none; 
}

.news-card {
    min-width: 300px;
    max-width: 300px; 
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-date {
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

.news-description {
    font-size: 0.8rem;
    color: #333;
    line-height: 1.4;
}

/* Navigation Buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #666;
    padding: 0 15px;
    z-index: 1;
}

.nav-button.left2 {
    left: 0; 
}

.nav-button.right2 {
    right: 0; 
}

.nav-button:hover {
    color: #0056b3;
}
/* news slider section ends here*/

/*see all link */

.see-all-wrapper {
  display: flex;
  justify-content: flex-end;
  padding: 20px 95px 20px 40px; /* top right bottom left */

}

.see-all-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.see-all-link:hover {
  text-decoration: underline;
  color: #0056b3;
}

@media (max-width: 768px) {
  .see-all-wrapper {
    justify-content: center;
    padding: 16px 20px;
  }

  .see-all-link {
    font-size: 0.95rem;
  }
}


.MessageSection2{
    background-image: url('images/bg-3.jpg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff; 

}

.Messagelines2 {
    max-width: 800px; 
    padding: 20px;
    border-radius: 10px;
}

.Messagelines2 p {
    font-size: 1.2em;
    line-height: 1.5;
    margin: 0;
}
.Messagelines2 a{
    color:white;

}
/* the styling for the main page ends here*/

/* Product page styling */
.lensreviewer_description{
    display:flex;
    align-items:center;
    padding:20px;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;
    padding-top: 100px;
    text-align: justify;
}
.lensreviewer_description img{
    width: 40%;
    height:40% ;
    margin-right: 20px;
    border-radius: 8px;
    padding-top: 50px;
}
.product-text1{
    flex: 1;
    text-align: justify;
    
}
.innovation{
    background-color: #cbeaf7;
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 10px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #070303cc; 

}
.innovation-text {
    max-width: 800px; 
    padding: 20px;
    border-radius: 10px;
    text-align: justify;
    font-size: 1.0em;
}

.innovation-text p {
    font-size: 1.0em;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}
.innovation-text h2{
    font-size:x-large;
    font-weight: bolder;
    color: black;
    padding-bottom:10px;
    padding-top:5px;
    text-align: center;
}
.lensreviewer_description2{
    display:flex;
    align-items:center;
    padding:20px;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;

}
.lensreviewer_description2 img{
    width: 40%;
    height:auto ;
    margin-right: 20px;
    border-radius: 8px;
    padding-top: 50px;
}
.product-text2{
    flex: 1;
    text-align: justify;
    
}

/* Principle Section */
.principle {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap:30px;
}
.principle-text{
    flex: 1;
    text-align: justify;
}
.principle-image
{
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: center;  
}

.product-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }



/* benefits section similar to innovation section*/
.benefits{
    background-color:#cbeaf7;
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #070303cc;

}
.benefits-text {
    max-width: 800px; 
    padding: 20px;
    border-radius: 10px;
}

.benefits-text p {
    font-size: 1.0em;
    line-height: 1.5;
    margin: 0;
    text-align: justify;
    font-style: italic;
}
.benefits-text h2{
    font-size:x-large;
    font-weight: bolder;
    color: black;
    padding-bottom:10px;
    padding-top:5px;
}

/* Identify section*/

.identify-heading{
    text-align: center;
    padding-top:30px;
    padding-bottom:20px;
    font-weight: bolder;
}
.identify-text{
    text-align: center;
    padding-top: 25px;
    font-weight:500 ;
    font-size: larger;
    padding-bottom:25px;
}
.identify-image{
    padding-left: 80px;
}

/* Technology page styling */

.general_description{
    background-image: url('images/bg-2.jpg'); 
    background-size:auto; 
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 10px;
    align-items: center;
    text-align: center;
    justify-content: center;
    display:flex;
    
}
.general_description-text h2{
    text-align: center;
    padding-bottom:10px;
    color:white;
}
.general_description-text p{
    
    max-width:850px;
    display: flex;
    align-items: center;
    justify-content:center;
    text-align:justify;
    color: #fff; 
    font-size: 1.0em;
}
/*general_description-behind section(want pic on the rt and text on left similar to principle section in product page*/
.general_description-behind{
    display:flex;
    align-items:center;
    justify-content:space-around;
    padding:40px;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;

}
.general_description-behind-img{
    max-width: 40%;
    display: flex;
    justify-content: flex-end;
}
.general_description-behind-text{
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
    text-align: justify;
    font-size: 1.0em;
}
.principle-text h2{
    margin-bottom: 10px;
}
/* what is new? section*/
.new{
    background-color: #d5dcdf;
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    padding: 35px 10px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #070303cc; 
}
.new-text{
    max-width: 850px; 
    padding: 5px;
    border-radius: 10px;
}
.new-text p {
    font-size: 1.0em;
    line-height: 1.5;
    margin: 0;
    text-align: justify;
}
.new-text h2{
    font-size:x-large;
    font-weight: bolder;
    color: black;
    padding-bottom:3px;
    padding-top:3px;
}

/* Technology card slider*/
.tech-slider-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.tech-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.card-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    scroll-behavior: smooth;
}

.tech-card {
    min-width: 300px;
    max-width: 300px; 
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.tech-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.tech-content {
    padding: 15px;
}

.tech-date {
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

.tech-description {
    color: #333;
    font-size: 0.9em;
    line-height: 1.4;
}

 

/* About us page*/
.main-about {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Layout */

.company-container {
    display: flex;
    align-items: stretch; 
    gap: 20px;
    padding-top: 80px;
}

/* Company Section */
.company {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding:40px;
    max-width: 1200px;
    margin: 0 auto;
    
    padding-bottom: 10px;
}

/* Text Container */
.company-text {
    flex: 1;
    padding-right:40px;
    text-align: justify;
}
.company-text{
    text-align:center;
}

/* Image Container */
.company-image {
    flex: 1;
    display: flex; 
    justify-content: center;
    align-items: center;
}

/* Image */
.company-image img {
    height: auto; 
    max-height: 100%; 
    max-width: 380px; 
    object-fit: contain; 
    border-radius: 8px; 
}


.company-text2{
    display:flex;
    text-align: justify;
    padding:20px;
    padding-right: 40px;
    padding-top:1px;

}
.company2{
    display:flex;
    align-items:center;
    padding:20px;
    padding-top:5px;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;
    text-align: justify;
}
.career-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 20px 40px; 
}
.career-list{
    display:flex;
    align-items:center;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;
    text-align: justify;
    background-color: #cbe7f3;
    background-size:cover;
    background-position: center;
}
.career-list-text1{
    flex: 1;
    text-align: justify;
    padding:20px;
    font-style: italic;
    
}
.career-text{
    flex: 1;
    text-align: justify;
    padding:20px;
    padding-left: 60px;
    padding-right: 40px;

}

/* Career Team Section */
.career-team {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Text Container */
.career-team-text {
    flex: 1;
    padding-right: 20px;
    text-align: justify;
}

/* Image Container */
.career-team-image {
    flex: 1;
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
}

/* Image */
.career-team-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}


.career-team2 {
    display: flex; 
    justify-content: center; 
    padding: 5px 40px;
    max-width: 1200px;
    margin: 0 auto; 
}

.career-team-text2 {
    flex: 1;
    text-align: justify;
    padding: 30px 20px 20px 20px;
}


/* Contact us form*/

/* Contact Section */
.contact-section {
    background-color: #f8f9fa; 
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form-container {
    background-color: #ffffff; 
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.form-header {
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    align-items: center;
}

.contact-form-container h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-form-container p {
    font-size: 0.9rem;
    color: #777;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff; 
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.submit-button {
    background-color: #001f5c; 
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0044cc; 
}



/* Awards Image Section */
.award-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
    width: 100%;
}

.award-img {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.award-img img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
}

/* Slightly larger on full HD screens */
@media (min-width: 1400px) {
    .award-img img {
        max-width: 1200px;
    }
}

/* Extra-large screens */
@media (min-width: 1800px) {
    .award-img img {
        max-width: 1400px;
    }
}



/* IOl decentration page */


.image-text-sectioniol{
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding:20px;
    padding-bottom: 10px;
    padding-top: 120px;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;
    

}
.image-text-sectioniol img{
    max-width: 40%;
    display: flex;
    justify-content: flex-end;
    border-radius: 8px;
    margin: 0 auto;
    padding: 20px;
    order:2;
}
.text-contentiol{
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
    text-align: justify;
}
.text-contentiol h2{
    margin-bottom: 10px;
    
}

.iol-sec2{
    padding-top:8px;
    padding-bottom: 10px;
    padding-right:65px;
    padding-left:50px;
    text-align:justify;
}

.iol-sec2 ul{
    padding-left: 80px;
}

.image-text-sectioniol2{
    display:flex;
    align-items:center;
    padding:20px;
    max-width:1200px;
    margin:0 auto;
    border-radius: 8px;

}
.image-text-sectioniol2 img{
    width: 40%;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
}
.text-contentiol2{
    flex: 1;
    margin-right: 20px;
    text-align: justify;
}
.reference-iol{
    padding-left:150px;
    padding-right:20px;
    font-size: smaller;
    text-align: justify;
}

/*   Image Side by Side  */

/* General reset 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}  */



/* Section styling */
.image-comparison {
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
    padding: 50px; 
    gap: 20px; 
}

/* Image container styling */
.image-container {
    text-align: center; 
}

.image-container img {
    max-width: 80%; 
    height: auto; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.image-container p {
    margin-top: 10px;
    font-size: 1.0em;
    font-style: italic; 
    color: #555;
}

/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
}  

/* Section styling */
.iol-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Row styling */
.iol-row {
    display: flex;
    align-items: flex-start; 
    gap: 20px; 
    margin-bottom: 30px; 
}

/* Image container */
.iol-image-container {
    flex: 0 0 600px; 
    text-align: center; 
}

.iol-image-container img {
    width: 100%; 
    height: auto; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    margin-bottom: 10px;
}

.image-label {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

/* Text styling */
.iol-text {
    flex: 1; 
    text-align: left;
}

.iol-text p {
    margin-bottom: 10px;
    color: #333;
}




/* Updated Cataract page Styling*/
.cataract-page{
    padding-top: 90px;
}
.cataract-general1{
    display: flex;
    padding:20px;
    padding-left: 40px;
}

.cataract-definition{
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding: 20px;
    margin-top: 80px; 
    max-width: 1200px;
    margin: 0 auto; 
    gap: 20px; 
    box-sizing: border-box;
    padding-top:20px;
    

}
.cataract-definition-image {
    flex: 0 0 40%; 
    display: flex;
    justify-content: flex-end;
    align-items: center;

}
.cataract-definition-image img{
    max-height: 100%; 
    width: auto; 
    max-width: 430px; 
    object-fit: contain; 
    border-radius: 8px; 
}
.cataract-definition-text{
    flex: 1; 
    max-width: 60%; 
    text-align: justify; 
}
.cataract-definition-text h2{
    margin-bottom: 10px;
    
}
.cataract-definition ul{
    padding-left:20px;
}


/* Footer */
.page-footer {
    position: relative;
    background-color:#edefef;
    margin-top: 20px;
}

/* Footer Container */
.page-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; 
    padding-top:25px;
}

/* Footer Row - Aligning Columns with Small Gap */
.page-footer .row {
    display: flex;
    justify-content: space-between;
    gap: 30px; 
    flex-wrap: wrap; 
}

/* Footer Columns */
.page-footer .col-sm-3 {
    flex: 1;
    min-width: 200px; 
    
}
.page-footer .col-sm-3 h5 a:hover{
    color:#a1b0c7;

}
.page-footer h5 a {
    text-decoration: none;
}

/* Footer Headings */
.page-footer h5 {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px; 
    color: #333;
    cursor:pointer;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
}
.page-footer .col-sm-3 a:visited,
.page-footer .col-sm-3 a:active,
.page-footer .col-sm-3 a:focus{
    color:#333;
    text-decoration: none;
    outline:none;
}


/* Footer Links */
.page-footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: #000;
}

.page-footer ul li {
    margin-bottom: 5px; 
}
.page-footer a,h5{
    color: #161617;

}

.page-footer ul li a {
    text-decoration: none;
    color: #555;
    font-size: 12px;
}

.page-footer ul li a:hover {
    color: #6b6e72;
}

/* Copyright Section */
.footer-copyright {
    text-align: center;
    padding: 5px 0;
    font-size: 11px;
    color: #888;
}

/* Social Media Icons */
.social-icons {
    position: absolute;
    bottom: 10px;
    right: 20px; 
    display: flex;
    gap: 10px;
}

.social-icons a img {
    width: 35px; 
    height: 35px;
    transition: transform 0.3s ease;
}

.social-icons a img:hover {
    transform: scale(1.2);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .page-footer .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-icons {
        position: relative;
        text-align: center;
        margin-top: 10px;
        justify-content: center;
    }
}





/* News-Section pop up style*/
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .popup-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .popup-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
  }
  
  .close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: white;
    color: black;
    font-size: 24px;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
  }
  .popup-trigger{
  cursor: pointer;
  color: #1a0dab; /* Google-style blue */
  text-decoration: underline;
  font-weight: 500;
  display: inline-block;
  }
  
  @media (max-width: 768px) {
    .popup-content {
      max-width: 95vw;
      max-height: 80vh;
    }
  }
  
  /*Contact us page (new add on) */

  .contact-main{
    padding-top:100px;
  }