/* Responsive Navbar Styling */

@media (max-width: 768px) {
    .landing-page{
        padding-top: 35px;
    }
    .main-about{
        padding-top: 180px;
    }
    .cataract-page{
        padding-top: 320px;
    }
    .main-product{
        padding-top: 240px;
    }
    .body-iol{
        padding-top:280px;
    }
    .contact-main{
        padding-top:310px;
    }
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: white;
        padding: 10px 20px;
        height: auto;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        transition: top 0.3s ease-in-out;
    }
    .navbar img {
        height: 35px;
        padding-top: 5px;
        margin-bottom: 10px;
    }
    
    .navbar a,
.subnav {
    display: block;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    text-align: left;
}

.subnav {
    padding-left: 0; 
    position: relative;
}

.subnavbtn {
    display: inline-block;
    width: 100%;
    text-align: left;
    background-color: inherit;
    border: none;
    font-family: inherit;
    font-weight: 550;
    font-size: 14px;
    color: rgb(78, 77, 77);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 20px 16px; 
    font-size: 14px;
    line-height: 1;     
}

/* Dropdown content layout in mobile */
.subnav-content {
  display: none;
  position: absolute;
  top:100%;
  left:0;
  background-color: white;
  min-width: 200px;
  z-index: 999;

}

.subnav:hover .subnav-content {
    display: block;
}

.subnav-content a {
    font-size: 13px;
    padding: 8px 10px;
    display: block;
    text-align: left;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
}
.video-banner{
    margin-top: 50px;
}
}


/* Text and image content*/
/* Responsive Image and Text Sections */

@media (max-width: 768px) {
    .image-text-section,
    .image-text-section2,
    .image-text-section3 {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .image-text-section img,
    .image-text-section2 img,
    .image-text-section3 img {
        width: 80%;
        height:auto;
        margin: 0 auto 20px auto;
        display: block;
        order: 2;
        border-radius:8px;
    }
    
    .text-content,
    .text-content2,
    .text-content3 {
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        text-align: justify;
        padding-bottom: 15px;
    }
}
/* Responsive Card Slider Section */

@media (max-width: 768px) {
    .slider-section {
        padding: 20px 0;
    }
    
    .slider-container {
        flex-direction: column;
        max-width: 100%;
        padding: 10px;
        overflow: hidden;
    }
    
    .card-wrapper {
        gap: 10px;
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 10px;
        scroll-snap-type: x mandatory;
    }
    
    .slider-card {
        min-width: 70%; 
        max-width: 75%;
        scroll-snap-align: center;
    }
    
    .nav-button {
        font-size: 1.5em;
        padding: 0 10px;
    }
}
/* Responsive Message Section */

@media (max-width: 768px) {
    .MessageSection {
        padding: 40px 15px; 
        flex-direction: column;
        text-align: center;
    }
    
    .Messagelines {
        max-width: 100%; 
        padding: 15px;
    }
    
    .Messagelines p {
        font-size: 1em; 
        line-height: 1.4;
    }
}
/* Responsive News Card Slider Section */

@media (max-width: 768px) {
    .news-slider-section {
        padding: 15px 0;
    }
    
    .news-slider-container {
        flex-direction: column;
        max-width: 100%;
        padding: 10px;
        overflow: hidden;
        position: relative;
    }
    
    .news-wrapper {
        gap: 10px;
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 10px;
        scroll-snap-type: x mandatory;
        width: 100%;
    }
    
    .news-card {
        min-width: 300px;
        max-width: 300px;
        scroll-snap-align: center;
    }
    
    .nav-button {
        font-size: 1.5em;
        padding: 0 10px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        cursor: pointer;
        z-index: 2;
    }
    
    .nav-button.left2 {
        left: 10px;
    }
    
    .nav-button.right2 {
        right: 10px;
    }
    
    .nav-button:hover {
        background: rgba(0, 0, 0, 0.1);
    }
}
/* Responsive Message Section 2 */

@media (max-width: 768px) {
    .MessageSection2 {
        padding: 40px 15px; 
        flex-direction: column;
        text-align: center;
    }
    
    .Messagelines2 {
        max-width: 100%; 
        padding: 15px;
    }
    
    .Messagelines2 p {
        font-size: 1em; 
        line-height: 1.4;
    }
    
    .Messagelines2 a {
        color: white;
        font-size: 1em;
        text-decoration: underline;
    }
}
/* the styling for the main page ends here*/

/* Product page styling*/
/* Responsive Product Page Styling */

@media (max-width: 768px) {
    .lensreviewer_description {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        padding-top: 50px;
    }
    
    .lensreviewer_description img {
        width: 80%;
        height: auto;
        margin: 0 auto 20px auto;
        display: block;
    }
    
    .product-text1 {
        text-align: justify;
    }
}
/* Responsive Innovation Section */

@media (max-width: 768px) {
    .innovation {
        padding: 40px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .innovation-text {
        max-width: 100%;
        padding: 15px;
        text-align: justify;
    }
    
    .innovation-text p {
        font-size: 1em;
        line-height: 1.4;
    }
    
    .innovation-text h2 {
        font-size: 1.5em;
        padding-bottom: 5px;
        padding-top: 5px;
    }
}
/* Responsive Lens Reviewer and Principle Section */

@media (max-width: 768px) {
    .lensreviewer_description2 {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .lensreviewer_description2 img {
        width: 80%;
        height: auto;
        margin: 0 auto 20px auto;
        display: block;
        padding-top: 20px;
    }
    
    .product-text2 {
        text-align: justify;
    }
    
    .principle {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .principle-text {
        max-width: 100%;
        padding: 0;
    }
    
    .principle-text h2 {
        font-size: 1.5rem;
    }
}
/* Responsive Benefits Section */

@media (max-width: 768px) {
    .benefits {
        padding: 20px 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .benefits-text {
        max-width: 100%;
        padding: 15px;
        text-align: center;
    }
    
    .benefits-text p {
        font-size: 1em;
        line-height: 1.4;
        text-align: justify;
    }
    
    .benefits-text h2 {
        font-size: 1.5em;
        padding-bottom: 5px;
        padding-top: 5px;
    }
}
/* Responsive Identify Section */

@media (max-width: 768px) {
    .identify-heading {
        padding-top: 20px;
        padding-bottom: 15px;
        font-size: 1.2em;
    }
    
    .identify-text {
        padding-top: 15px;
        font-size: 1em;
        padding-bottom: 15px;
    }
    
    .identify-image {
        padding-left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .identify-image img {
        max-width: 90%; 
        height: auto;
    }
}

/* Texchnology page styling */
/* Responsive General Description Section */

@media (max-width: 768px) {
    .general_description {
        padding: 20px;
        text-align: center;
    }
    
    .general_description-text {
        max-width: 100%;
    }
    
    .general_description-behind {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .general_description-behind-text {
        max-width: 100%;
        padding-bottom: 20px;
    }
    
    .general_description-behind-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .general_description-behind-image img {
        max-width: 90%; 
        height: auto;
    }
}
/* Responsive What is New? Section */

@media (max-width: 768px) {
    .new {
        padding: 20px 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .new-text {
        max-width: 100%;
        padding: 10px;
    }
    
    .new-text p {
        font-size: 1em;
        line-height: 1.4;
        text-align: justify;
    }
    
    .new-text h2 {
        font-size: 1.5em;
        padding-bottom: 5px;
        padding-top: 5px;
    }
}
/* Responsive Technology Card Slider */

@media (max-width: 768px) {
    .tech-slider-section {
        padding: 20px 0;
    }
    
    .tech-slider-container {
        flex-direction: column;
        max-width: 100%;
        padding: 10px;
        overflow: hidden;
        position: relative;
    }
    
    .card-wrapper {
        gap: 10px;
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 10px;
        scroll-snap-type: x mandatory;
        width: 100%;
    }
    
    .tech-card {
        min-width: 90%; 
        max-width: 90%;
        scroll-snap-align: center;
    }
    
    .tech-image {
        height: 120px;
    }
}
/* Responsive Articles Section */

@media (max-width: 768px) {
    .articles-section {
        padding: 20px;
        padding-left: 20px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(1, 1fr); 
        gap: 15px;
    }
    
    .article-item .date {
        font-size: 0.85rem;
    }
    
    .article-item .title {
        font-size: 0.95rem;
    }
    
    .see-all {
        text-align: center;
    }
}

/* Responsive Cataract Definition Section */

@media (max-width: 768px) {

    .cataract-definition {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 10px;
    }
    
    .cataract-definition-image {
        flex: 0 0 auto;
        justify-content: center;
        width: 100%;
        order:-1;
    }
    
    .cataract-definition-image img {
        width: 80%; 
        height: auto;
        margin: 0 auto 20px auto;
        display: block;
        

    }
    
    .cataract-definition-text {
        max-width: 100%;
        text-align: justify;
    }
    
    .cataract-definition-text h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .cataract-general1{
        text-align:justify;
        padding:20px;
    }
}

/* responsive IOl and Decentration respionsive styling*/

@media (max-width: 768px) {
    .image-text-sectioniol,
    .image-text-sectioniol2 {
        flex-direction: column;
        text-align: justify;
        padding: 20px;
    }
    
    .image-text-sectioniol img{
        max-width: 80%;
        margin: 0 auto 20px auto;
        display: block;
        order: 0;
    }
    .image-text-sectioniol2 img{
        width: 80%;
        margin: 0 auto 20px auto;
        display: block;
        order: 0;
    }
    
    .text-contentiol,
    .text-contentiol2 {
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        text-align: justify;
    }
    
    .iol-sec2 {
        padding: 20px;
        text-align: justify;
    }
    
    .reference-iol {
        padding: 20px;
        text-align: justify;
    }
    
    .image-comparison {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    .image-container img {
        width: 80%;
        margin: 0 auto 20px auto;
        display: block;
    }
    
    .iol-row {
        flex-direction: column;
        align-items: justify;
    }
    
    .iol-image-container {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .iol-text {
        text-align: justify;
    }
    
}

/* Responsive About Us Page */

@media (max-width: 768px) {
    .company-container,
    .company,
    .company2,
    .career-list,
    .career-team {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        align-items: center;
    }
    
    .company-text p,
    .company-text2 p,
    .career-team-text p,
    .career-team-text2 p,
    .career-text p,
    .career-title h3,
    .career-team-text h2,
    .career-list-text1 p {
        max-width: 100%;
        padding: 15px;
        text-align: justify;
    }
    .career-team-text ul{
        max-width: 100%;
        padding: 30px;
        text-align: justify;

    }
    
    .company-image,
    .career-team-image {
        justify-content: center;
        width: 100%;
        display: flex;
    }
    
    .company-image img,
    .career-team-image img {
        max-width: 90%;
        height: auto;
    }
    
    .career-container {
        flex-direction: column;
        align-items: center;
        text-align: justify;
    }
    
    .career-wrapper {
        gap: 10px;
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 10px;
        scroll-snap-type: x mandatory;
    }
    
    .career-card {
        min-width: 80%;
        max-width: 85%;
        scroll-snap-align: center;
    }
    
    .nav-button-career {
        font-size: 1.5em;
        padding: 0 10px;
    }
    
    .contact-section {
        padding: 20px;
    }
    
    .contact-form-container {
        max-width: 100%;
    }
    
    .award-section {
        flex-direction: column;
        align-items: center;
    }
    
    .award-img {
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    .principle-image {
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 0 10px;
      box-sizing: border-box;
    }
  
    .principle-image .product-image {
      max-width: 90%;
      height: auto;
      display: block;
    }
  }
/* Tablet screen styling */
@media (min-width: 768px) and (max-width: 1024px) {

    /* Navbar */
    .navbar {
      height: 60px;
      padding: 0 20px;
    }
  
    .navbar a,
    .subnav {
      font-size: 13px;
      padding: 16px 10px;
    }
    .subnavbtn{
        display:inline-block;
    }
    .subnav-content{
        display:none;
        position: absolute;
        top:100%;
    }  
    .subnav:hover .subnav-content{
        display:block;
    }
    .landing-page{
      padding-top: 50px;
    }
    .main-about{
        padding-top:30px;
    }
    .cataract-page{
        padding-top: 70px;
    }
    .body-iol{
        padding-top: 80px;
    }
    .main-product{
        padding-top: 70px;
    }
    .image-text-sectioniol h2{
        padding-top:30px;
        padding-bottom:10px;
        padding-left:20px
    }

  
    /* General layout consistency */
    section,
    .company,
    .company2,
    .career-title,
    .career-text,
    .career-list,
    .career-team,
    .career-team2,
    .image-text-section,
    .image-text-section2,
    .image-text-section3,
    .image-text-sectioniol,
    .image-text-sectioniol2,
    .cataract-definition,
    .lensreviewer_description,
    .lensreviewer_description2,
    .principle,
    .cataract-general1,
    .iol-sec2,
    .general_description-behind {
      flex-direction: column;
      text-align: justify;
      padding: 20px;
      margin: 0 auto;
      max-width: 90%;
    }
  
    /* Paragraph blocks */
    .company-text,
    .company-text2,
    .career-list-text1,
    .career-text-content,
    .career-team-text,
    .career-team-text2,
    .text-content,
    .text-content2,
    .text-contentiol,
    .text-contentiol2,
    .cataract-definition-text,
    .cataract-general1 p,
    .product-text1,
    .product-text2,
    .principle-text,
    .iol-sec2 p,
    .image-text-sectioniol2 p,
    .image-text-sectioniol p,
    .general_description-behind-text {
      max-width: 100%;
      margin: 0 auto;
      padding: 10px 16px;
      text-align: justify;
    }
  
    /* Image containers */
    .company-image,
    .career-team-image,
    .image-text-section img, 
    .image-text-section2 img,
    .image-text-section3 img,
    .image-text-sectioniol img,
    .image-text-sectioniol2 img,
    .lensreviewer_description img,
    .lensreviewer_description2 img,
    .cataract-definition-image img,
    .image-text-section2 img,
    .cataract-definition-image img,
    .general_description-behind img,
    .identify-image img,
    .image-comparison img,
    .product-image {
      order: 2;
      max-width: 50%;
      width: 100%;
      height: auto;
      margin: 20px auto 0 auto;
      display: block;
    }
  
    .career-team-image img {
      max-width: 90%;
      height: auto;
    }
  
    /* Sliders and Carousels */
    .card-wrapper,
    .career-wrapper,
    .tech-slider-container,
    .news-wrapper {
      flex-wrap: nowrap;
      overflow-x: auto;
      justify-content: flex-start;
      scroll-behavior: smooth;
      gap: 16px;
    }
  
    .slider-card,
    .career-card,
    .tech-card,
    .news-card {
      min-width: 260px;
      max-width: 260px;
      flex: 0 0 auto;
      margin: 0;
    }
  
    .card-wrapper::-webkit-scrollbar,
    .career-wrapper::-webkit-scrollbar,
    .news-wrapper::-webkit-scrollbar {
      display: none;
    }
  
    /* Button Size Adjustments */
    .nav-button,
    .nav-button-career {
      font-size: 1.8rem;
      padding: 0 10px;
    }
  
  
    /* Contact form */
    .contact-form-container {
      width: 90%;
      max-width: 500px;
      margin: 0 auto;
    }
  
    /* Footer stack */
    .footer .row {
      flex-direction: column;
      padding: 20px;
    }
  }
  
  
  
  /*
   Responsive Design for Large Screens (>=1440px)
    */

@media (min-width: 1440px) {

    /* Containers - Keep all content centered */
    
    .lensreviewer_description,
    .principle,
    .general_description-behind,
    .image-text-section,
    .image-text-section2,
    .image-text-section3,
    .cataract-definition,
    .image-text-sectioniol,
    .image-text-sectioniol2,
    .iol-row,
    .iol-details {
      max-width: 1300px;
      margin: 0 auto;
      padding-left: 40px;
      padding-right: 40px;
      gap: 40px;
    }
  
    /* Text Blocks - Reduce width */
    
    .text-content,
    .text-content2,
    .text-content3,
    .product-text1,
    .product-text2,
    .principle-text,
    .cataract-definition-text,
    .iol-text,
    .general_description-text,
    .general_description-behind-text {
      max-width: 60%;
      font-size: 1.05rem;
      line-height: 1.7;
      padding-right: 20px;
    }
  
    /* Image Wrappers */
    .company-image img,
    .career-team-image img,
    .cataract-definition-image img,
    .lensreviewer_description img,
    .image-text-section img,
    .image-text-section2 img,
    .image-text-section3 img,
    .product-image,
    .iol-image-container img,
    .general_description-behind-image img {
      max-width: 420px;
      width: 100%;
      height: auto;
      object-fit: contain;
      border-radius: 8px;
    }
  
    /* Image section layout refinement */
    .principle-image,
    .career-team-image,
    .cataract-definition-image,
    .company-image,
    .image-container,
    .general_description-behind-img,
    .iol-image-container {
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 1;
    }
  
    /* Grid Articles Section */
    .articles-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  
    /* Card Carousel  */
    .card-wrapper,
    .news-wrapper,
    .career-wrapper {
      justify-content: flex-start;
      overflow-x: auto;
      gap: 20px;
      scroll-behavior: smooth;
    }
  
    .slider-card,
    .news-card,
    .career-card,
    .tech-card {
      min-width: 280px;
      max-width: 280px;
      flex-shrink: 0;
    }
  
    .tech-slider-container,
    .news-slider-container,
    .career-container {
      max-width: 1300px;
      margin: 0 auto;
      padding: 0 40px;
    }
  
    /* Footer alignment */
    .page-footer .container,
    .page-footer .row {
      max-width: 1300px;
      margin: 0 auto;
      padding: 0 40px;
    }
  
    .social-icons a img {
      width: 35px;
      height: 35px;
    }
  
   
  }
  
  /* iol and decentration page seperately */



@media (min-width: 1200px) {


  main,
  .image-text-sectioniol,
  .image-text-sectioniol2,
  .iol-sec2,
  .iol-details,
  .image-comparison {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 60px;
  }

  .image-text-sectioniol,
  .image-text-sectioniol2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 100px;
    gap: 40px;
  }

  .image-text-sectioniol img,
  .image-text-sectioniol2 img {
    max-width: 35%;
    height: auto;
    border-radius: 8px;
  }

  .text-contentiol,
  .text-contentiol2 {
    flex: 1;
    max-width: 60%;
    padding-right: 20px;
    text-align: justify;
    font-size: 1.1rem;
    color: #333;
  }

  .text-contentiol h2 {
    margin-bottom: 10px;
    font-size: 1.6rem;
  }

  .iol-sec2 {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 60px;
    padding-right: 60px;
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
  }

  .iol-sec2 ul {
    padding-left: 80px;
  }

  .image-comparison {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 50px 60px;
    gap: 40px;
  }

  .image-container {
    text-align: center;
    flex: 1;
  }

  .image-container img {
    max-width: 100%;
    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: 1rem;
    font-style: italic;
    color: #555;
  }

 .iol-details {
  padding-left: 60px;
  padding-right: 60px;
  padding-top: 20px;
  padding-bottom: 20px;
}


  .iol-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
  }
  .iol-text p {
  margin-bottom: 10px;
}


 .iol-image-container {
  flex: 0 0 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


  .iol-image-container img {
  width: 90%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}


  .image-label {
    margin-top: 12px;
    font-size: 1rem;
    font-style: italic;
    color: #555;
  }

  .iol-text {
    flex: 1;
    padding-left: 30px;
    text-align: justify;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
  }

  .reference-iol {
    padding-left: 60px;
    padding-right: 60px;
    font-size: 0.9rem;
    text-align: justify;
  }


}



  /* About us page*/
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Company Section */
.company {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding: 40px 0;
    padding-top: 140px;
}

.company-text {
    flex: 1;
    padding-right: 20px;
    text-align: justify;
}

.company-image {
    flex: 1;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.company-image img {
    height: auto; 
    max-height: 100%; 
    max-width: 380px; 
    object-fit: contain; 
    border-radius: 8px; 
}

.company2 {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.company-text2 {
    flex: 1;
    text-align: justify;
    padding: 0;
}

.career-title {
    padding: 20px 0;
}

.career-list {
    display: flex;
    align-items: center;
    text-align: justify;
    background-color: #c5e9f8;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
}

.career-list-text1 {
    flex: 1;
    text-align: justify;
    font-style: italic;
}

.career-text {
    flex: 1;
    text-align: justify;
    padding: 20px 0;
}

.career-team {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding: 40px 0;
}

.career-team-text {
    flex: 1;
    padding-right: 20px;
    text-align: justify;
}

.career-team-image {
    flex: 1;
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
}

.career-team-image img {
    max-height: 100%; 
    width: auto; 
    max-width: 500px; 
    object-fit: contain; 
    border-radius: 8px; 
} 

.career-team2 {
    padding: 30px 0;
}

.career-team-text2 {
    flex: 1;
    text-align: justify;
    padding: 0;
}


/* Contact us form */
.contact-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    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: 600px;
    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;
}

