@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&family=Poppins:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
  
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    list-style-type: none;
}

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #fff;
    --main-color: #0ef;
    --main2-color: #f9004d;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: #E6F7FF;
    /* font-family: "Roboto", sans-serif; */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-style: normal;
}


h1,h2,h3,h4,h5,h6{
    font-family: "Merriweather", serif;
    font-size: 4rem;
    font-weight: 700;
}


section {
    height: 100%;
    width: 100%;
    overflow: hidden;
}




.navbar {
    display: flex;
    justify-content: space-between;
    /* font-family: "montserrat", sans-serif; */
   
    list-style: none;
    padding: 0;
    margin: 0;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
   
    align-items: center;
    padding: 30px 30px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: background-color 0.3s, padding 0.3s; /* Animation for background and padding */
    z-index: 1000; /* Ensures navbar is on top */
    background-color: #fff; /* Initially transparent */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.navbar.scrolled {

    /* background-color: rgba(255, 255, 255, 0.8);  */
    background-color: rgba(255, 255, 255, 1);            
    padding: 20px 20px;         
}


.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    font-size: 28px; /* Hamburger icon size */
    color: #000;
    cursor: pointer; /* Pointer cursor on menu toggle */
}

.nav-links ul {
    list-style-type: none;
    display: flex;
    gap: 8px; /* Space between links */
}

.nav-links ul li{
   
}

nav ul li {
    margin-top: 10px;
    flex: 1; /* Ensures all items have equal width */
    text-align: center; /* Centers the text in each link */
}


.nav-links a {

    display: block;
    padding: 8px 0px; /* Increase padding to provide more space */
    color: white;
    text-decoration: none;
    text-align: center;
    white-space: nowrap; /* Prevents text from wrapping */
    transition: background-color 0.3s ease;
    width: 100px;
        font-family: "Roboto", Sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    outline: none;
   color: #0056b3;
   text-transform: uppercase;
    line-height: 22px;

    transition: color 0.3s; 
    border-radius: 4px;

}

.nav-links a:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #fff;
}

/* Active Link Effect */
.nav-links a.active {
    background-color: #007bff; /* Darker blue on hover */
    color: #fff;
}

.menu-toggle {
    font-size: 24px;

    background: #007bff;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.menu-toggle:hover {
    
    background:#000;
    color: #007bff;

}



/* Responsive Design */

@media (max-width: 1200px){
    .nav-links a{
        width: 100%;
        padding: 10px 10px;
    }
}


@media (max-width: 1024px) {
    .navbar {
        justify-content: space-between; /* Space between logo and toggle */
        background-color: #fff;
       
    }

    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .nav-links {
        position: absolute; /* Position it absolutely */
        top: 98px; /* Below the navbar */
        left: 0;
        width: 100%;
        background-color: #fff; /* Dark background */
        overflow: hidden; /* Hide overflowing content for transition */
        max-height: 0; /* Initially collapsed */
        transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out; /* Slide down effect */
    
    }

    .nav-links.active {
        max-height: 450px; /* Expand height when active */
       
    }

    .nav-links ul {
        flex-direction: column; /* Stack links vertically */
        width: 100%; /* Full width */
        padding: 0; /* Reset padding */
        /* padding-bottom: 20px; */
       gap: 0;
      
    }

    .nav-links ul li{
    
        width: 100vw;
        margin-top: 0;
    }

    .nav-links a {
        padding: 15px 20px; /* Add padding to the links */
        width: 100%; /* Full width for links */
        text-align: center; /* Center text */
    }
}



#logo-container {
    display: inline-block;
    max-width: 280px; /* Maximum width for larger screens */
    margin-top: -20px;
    width: 100%; /* Ensures the logo container is fluid */
    margin-right: 20px;
}

#logo-container img {
    padding-top: 10px;
    width: 100%; /* Image takes full width of container */
    height: auto; /* Maintains aspect ratio */
    display: block;
}



/* Responsive adjustments for smaller screens */




@media (max-width: 768px) {
    .nav-links{
        top: 84px; 
    }

    #logo-container {
        max-width: 200px; /* Reduce logo size for tablets */
    }
}

@media (max-width: 480px) {
    #logo-container {
        max-width: 150px; /* Further reduce logo size for small mobile screens */
    }
}


/* Responsive adjustments for smaller screens */




@media (max-width: 768px) {
    #logo-container {
        max-width: 200px; /* Reduce logo size for tablets */
    }
}

@media (max-width: 480px) {
    #logo-container {
        max-width: 150px; /* Further reduce logo size for small mobile screens */
    }
}



/* /////////////////////////////////////////////////////////////////////////////////// */


/* Styling for the new home section carousel */
.home-carousel-section {
    width: 100%; /* Full width */
    max-width: 100%; /* Prevents horizontal overflow */
    overflow: hidden;
    margin-top: 97px;
}

.home-carousel {
    height: 80vh; /* Set the carousel height to 80% of the viewport height */
}

.home-carousel-inner {
    height: 100%; /* Full height for carousel inner */
}

.home-carousel-item {
    height: 100%; /* Each item will take up full height */
}

.home-carousel-item img {
    width: 100%; /* Full width for responsiveness */
    height: 100%; /* Full height for covering the space */
    object-fit: cover; /* Cover the area without distorting */
    object-position: center; /* Center the image */
}

/* Customizing the carousel controls */
.home-carousel-control-prev,
.home-carousel-control-next {
    width: 5%; /* Narrow the controls */
    background: transparent;
}

.home-carousel-control-prev-icon,
.home-carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Customizing the carousel indicators */
.home-carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%; /* Circular indicators */
}


/* Media query for smaller screens */

@media (max-width: 1024px){
    .home-carousel {
        height: 70vh; /* Smaller height for mobile screens */
    }
}


@media (max-width: 768px) {
    .home-carousel {
        height: 60vh; /* Smaller height for mobile screens */
    }
}

@media (max-width: 576px) {
    .home-carousel {
        height: 50vh; /* Further reduced height for small mobile devices */
    }

    .home-carousel-control-prev,
    .home-carousel-control-next {
        width: 10%; /* Slightly larger controls on smaller screens */
    }

    .home-carousel-control-prev-icon,
    .home-carousel-control-next-icon {
        width: 15px;
        height: 15px;
    }
}

  
/* /////////////////////////////////////////////////////////////////////////////// */




/* General Section Styling */
.pharma-section {
    text-align: center;
    padding: 50px;
    background-color: #E6F7FF;
    margin: 50px 0;
}

.section-header {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 700;
    color: #0056b3;
}

/* Box Container */
.boxes-container {
    max-width: 950px; /* Maximum width for the container */
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Ensure even distribution of boxes */
    gap: 20px; /* Reduce the space between boxes */
    padding: 0 20px; /* Add some padding for better appearance */
}

.box {
    flex: 1 1 calc(30% - 20px); /* Max 3 boxes per row, with a small gap */
    max-width: 100%; /* Ensure the boxes don't exceed the container */
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.box:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Box Image and Hover Effect */
.box-img-container {
    position: relative;
    overflow: hidden;
}

.box-img-container img {
    border-bottom: 1px solid #cfcdcd;
    width: 100%;
    height: 180px;
    display: block;
    transition: transform 0.3s ease;
    /* opacity: 0.8; */
}


.box:hover .box-img-container img {
    transform: scale(1.1); /* Slight zoom on hover */
}

.hover-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    transition: bottom 0.4s ease;
    font-size: 14px;
}

.box:hover .hover-content {
    bottom: 0; /* Slide up on hover */
}

/* Box Details (Icon and Header) */
.box-details {
    background: #1486ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: left;
}

.pharma-icon {
    font-size: 24px;
    color: #fff;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.box h3 {
    font-size: 18px;
    color: #333;
}

.box:hover .pharma-icon {
    color: #fcac4b;
}


/* Responsive Design */
@media (max-width: 992px) {
    .box {
        flex: 1 1 calc(50% - 20px); /* 2 boxes per row on tablets */
    }

    .section-header {
        font-size: 2.5rem; /* Adjust header font size */
    }
}

@media (max-width: 768px) {
    .box {
        flex: 1 1 300px; /* 1 box per row on mobile */
        max-width: 75%;
        min-width: 250px; 
        margin: 10px;
        box-sizing: border-box;
    }

    .boxes-container{
        justify-content: center;
    }

    .section-header {
        font-size: 2rem; /* Adjust header size for mobile */
    }
}

@media (max-width: 576px) {
    .section-header {
        font-size: 1.8rem; /* Smaller header for very small screens */
    }

    .box-content i {
        font-size: 2rem; /* Adjust icon size for mobile */
    }

    .box-content h4 {
        font-size: 1.2rem; /* Reduce box header size */
    }

    .box-content p {
        font-size: 0.9rem; /* Reduce paragraph size */
    }
}



/* ////////////////////////////////////////////////////////////////////////////// */

/* ///////////////////////////////////////////////////////////////////// */


.carousel-section {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
  }
  
  .carousel-item {
    height: 500px;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }

  .carousel-item h5 {
    font-size: 4rem;
    font-weight: bolder;
    margin-bottom: 20px;
  }

  .carousel-item p {
    font-size: 2rem;
    word-spacing: 2px;
  letter-spacing: 1px;
  }
  
  .carousel-item img {
    min-height: 100%;
    background-position: center;
    background-size: cover;
  }
  
  .carousel-caption {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 5px;
    height: 220px;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: #ff5100;
    border-radius: 50%;
  }
  
  .carousel-indicators {
    bottom: 10px;
  }
  
  .carousel-indicators li {
    background-color: #007bff;
    transition: background-color 0.3s;
  }
  
  .carousel-indicators li.active {
    background-color: #0056b3;
  }
  

  /* Default for large screens */

/* Default for large screens */
.carousel-inner img {
    width: 100%;
    height: 70vh; /* 70% of the viewport height */
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 30px;
    text-align: center;
    color: #fff;
}

.carousel-caption h5 {
    font-size: 3.5rem;
}

.carousel-caption p {
    font-size: 2rem;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 992px) {
    .carousel-inner img {
        height: 60vh;
    }

    .carousel-caption h5 {
        font-size: 4rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {
    .carousel-inner img {
        height: 50vh;
    }

    /* Ensure captions are displayed */
    .carousel-caption {
        display: block !important;
        bottom: 20px;
        padding: 10px;
        background: rgba(0, 0, 0, 0.7); /* Optional: Add background for readability */
    }

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
    .carousel-inner img {
        height: 20vh;
    }
    
    .carousel-section{
        height: 400px;
    }

    .carousel-caption {
        display: block !important;
        bottom: 15px;
        padding: 5px;
        background: rgba(0, 0, 0, 0.7);
    }

    .carousel-caption h5 {
        font-size: 1.25rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    /* Hide carousel controls and indicators on very small screens */
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none;
    }
}

  

/* /////////////////////////////////////////////////////////////////////////// */







.contact {
    height: auto;
    width: 100%;
    background: #2a2d54;
    /* background: linear-gradient(to bottom, #00509E 0%, #2CA58D 50%, #00509E 100%); */
   
    position: relative;
    color: #f0f0f0;

    font-family: sans-serif;
    font-family: 'Poppins', sans-serif;
    /* z-index: 9; */
    box-sizing: border-box;
    font-size: 1.8rem;
    /* overflow: hidden; */
}

.contact-container {
    padding: 90px 15px 62px;
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
    display: flex;

    flex-wrap: wrap;
}

.contact-container ul li a {

    font-size: 14px;
    color: #cfd0e3;
    font-weight: 300;
    padding-bottom: 13px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}


.contact-container ul li a:hover {
    color: #007bff;
    transform: translateX(7px);
    /* Moves the text 5px to the right */


}



.contact-container ul li {
    padding-top: 10px;
}

.contact-container ul {
    padding-top: 15px;
}


.contact-container h1 {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 30px;
}


.one p {
    /* padding: 10px; */
    font-size: 1.7rem;
    text-align: center;
}

.one .link {
    display: flex;
    /* margin: 20px; */
    justify-content: center;
    
}

.link a {
    color: #cfd0e3;
    background-color: rgba(255, 255, 255, .1);
    padding: 4px 7px;
    margin: 7px;
    margin-left: 10px;
    transition: all 0.5s;
    border-radius: 10px;
  
}

.link a:hover {
    background-color: #ffebcd;
    color: #007bff;
}




.one {
    width: 23%;
    padding-right: 20px;
    background: rgba(255, 255, 255, .1);
    padding: 20px;
    margin: 60px 50px 150px 10px;
    border-radius: 20px;
}



.two {
    width: 23%;
}

.two div ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.three {
    width: 23%;
    display: inline-block;
}




.four {
    width: 23%;

}

.four .address {
    line-height: 2.5rem;
    display: inline-flex;
}

.four i {
    padding-right: 10px;
}

.four ul li span {
    color: #cfd0e3;
    font-size: 14px;
   
}

.four ul li .col {
    transition: all 0.3s ease;
}

.four ul li .col:hover {
    color: #007bff;
    transform: translateX(5px);

}

.four .address span {
    text-align: start;
}




.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: #cfd0e3;
    padding: 3rem 0 3rem 0;
    background: #2a2d54;
    border-top: 0.1px solid rgb(82, 82, 82);
}

.footer-text p {
    padding-left: 0px;
    font-size: 14px;
    color: #cfd0e3;
    font-weight: 300;
    text-align: center;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    font-size: 24px;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000;
    transition: opacity 0.4s ease, background-color 0.3s;
}

.scroll-top.disabled {
    opacity: 0.5;
    pointer-events: none; /* Disable interaction */
}

.scroll-top:hover {
    background-color: #0056b3;
}




@media screen and (max-width: 1024px) {
  
  
 
   
    .coco {
        width: 50%;
    }
    .one,
    .two,
    .three,
    .four {
        padding-bottom: 50px;
    }

  

    .container2 {
        flex-wrap: wrap;
        
    }

    .one {
        width: 70vw;
        padding-right: 20px;
        padding: 20px;
        margin:0px 20px 70px 0px;
        text-align: center;
    }

    .one .link{
        justify-content: center;
    }

    .contact-container {
        padding-left: 100px;
    }

}

@media screen and ( max-width: 768px) {


    .coco {
        width: 100%;
    }
    
    .one,
    .two,
    .three,
    .four {
        padding-bottom: 50px;
    }
    
  
    .contact-container {
        justify-items: center;
        padding-left: 50px;

    }

    .container2 div{
        flex-direction: column;
    }

    
    .footer-text p {
        font-size: 1rem;
    }

   

    .container2 {
      flex-direction: column;
         
    }

    .container2 div{
        width: 96%; 
      }

   
    .container2 div {
        
        margin-left: 0;
        margin-right: 0;
        width: 100%;
      }

      .con form .input-box {
        flex-direction: column;
    }

    .con form .input-box input {
        width: 100%;
        border-radius: 0;
    }

    .con form textarea {
        border-radius: 0;
    }

    .con h4 {
        font-size: 2rem;
    }

    .con form .input-box input,
    .con form textarea {
     margin: .8rem 0;    
     }

    

    .fdir img{
        width: 80vw;
        padding: 0 10px;
        height: auto;
    }

    .box{
        width: 60vw;
    }

}


@media screen and ( max-width: 595px) {
 

.con h4 {
    font-size: 1.8rem;
    margin: 1rem 0;
}


}



@media screen and ( max-width: 483px) {
 
    .con {      
        padding: 30px 20px 0;
    }

    .teamH1 h1{
        font-size: 2.2rem;
    }

  
}

@media screen and ( max-width: 425px) {
   
 


    .con h4 {
        font-size: 1.6rem;
    
    }

  
}

@media screen and ( max-width: 320px) {

  
     .con h4 {
        font-size: 1.3rem;
    }



}