@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

#logo {
    width: 7rem;
}

#nav {
    display: flex;
    align-items: center;
    gap: 7rem;
}

#navLogo {
    display: flex;
    align-items: center;
}

#logoName {
    font-size: 20px;
    font-weight: bolder;
}

#navLinks-ul {
    display: flex;
    list-style-type: none;
    gap: 4rem;
    font-size: 20px;
}

#navLinks-ul a {
    text-decoration: none;
    color: black;
}

#navLinks-ul a:hover {
    color: greenyellow;
}

#services-dropdown {
    position: relative;
}

#drop-down {
    background-color: #f5f5f5;
    position: absolute;
    border: 1px solid;
    border-radius: 2px;
    padding: 15px 0;
    width: 200%;
    font-size: 16px;
    display: none;
    top: 40px;
    z-index: 1;
}

#drop-down-toggle:hover {
    cursor: pointer;
    color: greenyellow;
}

#regNum {
    font-weight: bolder;
}

#regNum:hover {
    color: greenyellow;
}

/* marquee styling  */

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

/* Slider */
.slider {
    position: relative;
    width: 85%;
    height: 500px;
    margin: 40px auto;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

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

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button.prev:hover,
button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slide.active {
    opacity: 1;
}

/* Keyframes for the marquee animation */
@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.textAlign {
    text-align: center;
}

.textAlign:hover {
    color: greenyellow;
    cursor: pointer;
}

.header-link-tonav {
    text-decoration: none;
    color: #333;
}

.accordion {
    width: 95%;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background-color: #f8f8ff;
    font-weight: bolder;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.button-content {
    font-size: 25px;
}

.button-content:hover {
    color: greenyellow;
}

.accordion-header .arrow {
    transition: transform 0.2s;
}

.accordion-header.active .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 20px;
    background-color: #f9f9f9;
}

.accordion-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 25px;
}

#range-products {
    display: flex;
    gap: 8rem;
    margin: 0 30px;
}

.first-service {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.first-service-text {
    font-size: 25px;
    text-align: justify;
}

#first-service-image {
    width: 500px;
    height: 450px;
    border-radius: 20px;
}

#innovative-distribution-logistics {
    display: flex;
    align-items: center;
    gap: 5rem;
    text-align: justify;
    margin: 0 30px;
}

#second-service-image {
    width: 500px;
}

#cost-effective-solutions {
    display: flex;
    align-items: center;
    gap: 10rem;
    text-align: justify;
    margin: 0 30px;
}

#third-service-image {
    width: 400px;
}

#pharmaceutical-wholesale-retail {
    margin: 0 30px;
    text-align: center;
}

.bolder {
    font-size: 22px;
}

#medical-procurement {
    margin: 0 30px;
    text-align: center;
}

/* Styles for the back to top button */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: white;
    color: black;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
}

#back-to-top:hover {
    background-color: greenyellow;
    color: #f8f8ff;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contactus-font {
    font-size: 23px;
}

.icon-image {
    width: 55px;
}

.email-phone {
    display: flex;
    align-items: center;
}

#you-can-findus {
    text-align: center;
}

.social-media-image {
    width: 80px;
}

.social-media-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

/* Styles for smooth loading effect */
.content-section {
    opacity: 0;
    transform: translateY(100px);
    /* Start from 100px below */
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Additional styles for accordion and services content */
.accordion {
    margin-top: 20px;
}

.service-item {
    margin-top: 20px;
}

#hamburger{
    width: 50px;
    display: none;
}

/* CSS for blur effect */
.blur {
    filter: blur(5px);
    /* Adjust the blur intensity as needed */
    pointer-events: none;
    /* Prevent interaction with blurred content */
}



/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    #nav {
        gap: 3rem;
    }

    #navLinks-ul {
        gap: 2rem;
        font-size: 18px;
    }

    #range-products,
    #innovative-distribution-logistics,
    #cost-effective-solutions {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    #first-service-image,
    #second-service-image,
    #third-service-image {
        width: 90%;
        height: auto;
    }

    .first-service-text,
    .bolder,
    .accordion-content p {
        font-size: 20px;
    }
   
}

@media (max-width: 768px) {
    #logo {
        width: 5rem;
    }

    #logoName {
        font-size: 18px;
    }

    #navLinks-ul {
        flex-direction: column;
        gap: 1rem;
    }

    .marquee p {
        font-size: 20px;
    }

    .slider {
        width: 100%;
        height: 300px;
    }

    #first-service-image,
    #second-service-image,
    #third-service-image {
        width: 100%;
    }

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

    .button-content {
        font-size: 18px;
    }

    .accordion-content p {
        font-size: 18px;
    }

    .first-service-text,
    .bolder {
        font-size: 18px;
    }
    #navLinks {
        display: none;
        position: absolute;
        left: 10rem;
        top: 5rem;
        border: 1px solid black;
        border-radius: 2px;
        padding: 20px 50px;
        z-index: 1;
        background-color: #f5f5f5;
    }
    #navLinks-ul {
        font-size: 16px;
        font-weight: bolder;
        display: flex;
        justify-content: center;
        gap: 1rem;
         margin-right: 30px;
    }
    #nav {
        gap: 2.5rem;
    }
    #hamburger{
        display: block;
    }
    #navLogo{
        margin-right: 30px;
    }
}

@media (min-width: 535px) and (max-width: 600px) {
    #navLogo{
        margin-right: 50px;
    }
    #nav {
        gap: 2rem;
    }
}

@media (min-width: 600px) and (max-width: 650px) {
    #navLogo{
        margin-right: 100px;
    }
}
@media (min-width: 651px) and (max-width: 660px) {
    #navLogo{
        margin-right: 150px;
    }
}
@media (min-width: 661px) and (max-width: 700px) {
    #navLogo{
        margin-right: 150px;
    }
}
@media (min-width: 700px) and (max-width: 750px) {
    #navLogo{
        margin-right: 200px;
    }
}
@media (min-width: 751px) and (max-width: 768px) {
    #navLogo{
        margin-right: 220px;
    }
}


@media (max-width: 480px) {
    #nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    #logo {
        width: 4rem;
    }

    #logoName {
        font-size: 16px;
    }

    #navLinks-ul {
        font-size: 16px;
    }

    .marquee p {
        font-size: 16px;
    }

    .slider {
        height: 200px;
    }

    #first-service-image,
    #second-service-image,
    #third-service-image {
        width: 100%;
    }

    .accordion-header {
        font-size: 12px;
        padding: 8px;
    }

    .button-content {
        font-size: 16px;
    }

    .accordion-content p {
        font-size: 16px;
    }

    .first-service-text,
    .bolder {
        font-size: 16px;
    }

    /* my own styling...  */
    #small-font-size{
    font-size: 18px;
   }
   #padding-left{
    padding-left: 40px;
   }
  .break-on-small-screen::before {
    content: '';
    display: block;
  }
  .social-media-image{
    width: 55px;
  }
  #copyright-font{
    font-size: 12px;
  }
  #aboutus-fontsize{
    font-size: 20px;
  }
  #navLinks {
    display: none;
    position: absolute;
    left: 7rem;
    top: 5rem;
    border: 1px solid black;
    border-radius: 2px;
    padding: 20px 50px;
    z-index: 1;
    background-color: #f5f5f5;
  }
  #navLinks-ul {
    font-size: 16px;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-right: 30px;
  }
  #regNum{
    margin-left: 10px;
    margin-right: 10px;
    font-size: 12px;
  }
  #hamburger{
    display: block;
    width: 45px;
  }
  #nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

@media (max-width: 360px) {
    #logo {
        width: 3rem;
    }

    #logoName {
        font-size: 14px;
    }

    #navLinks-ul {
        font-size: 14px;
    }

    .marquee p {
        font-size: 14px;
    }

    .slider {
        height: 150px;
    }

    #first-service-image,
    #second-service-image,
    #third-service-image {
        width: 100%;
    }

    .accordion-header {
        font-size: 10px;
        padding: 6px;
    }

    .button-content {
        font-size: 14px;
    }

    .accordion-content p {
        font-size: 14px;
    }

    .first-service-text,
    .bolder {
        font-size: 14px;
    }

    /* my own styling...  */
   #small-font-size{
    font-size: 18px;
   }
   #padding-left{
    padding-left: 40px;
   }
  .break-on-small-screen::before {
      content: '';
      display: block;
  }
  .social-media-image{
    width: 55px;
  }
  #copyright-font{
    font-size: 12px;
  }
  #aboutus-fontsize{
    font-size: 20px;
  }

  #nav {
   display: flex;
   flex-direction: row;
   gap: 1rem;
   position: relative;
  }

  #navLinks{
    display: none;
    position: absolute;
    left: 3.5rem;
    top: 5rem;
    border: 1px solid black;
    border-radius: 2px;
    padding: 20px 50px;
    z-index: 1;
    background-color: #f5f5f5;
  }
  #navLinks-ul{
    font-size: 16px;
    font-weight: bolder;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-right: 30px;
  }
   #regNum {
    font-size: 12px;
   }
}
@media (max-width: 250px) {
    #logoName{
        font-size: 10px;
    }
    #regNum{
        font-size: 10px;
    }
    #navLogo{
        margin-right: 0;
    }
    .break-on-small-screen::before {
        content: '';
        display: block;
    }
    #navLinks {
        left: 2rem;
        border: 1px solid black;
        border-radius: 2px;
        padding: 5px 20px;
    }
    #padding-left {
        padding-left: 0;
    }
    .spacing {
        display: none;
        /* This will remove the spacing */
    }
    #we-look-forward{
        font-size: 12px;
    }
    #you-can-findus{
        font-size: 19px;
    }
}