*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat";
}

h1, h2, h3, h4, h5, h6, a, p, li {
    font-family: "Montserrat";
  }

  @font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }

  .wrapper {
    max-width: 1700px !important;
    margin: 0 auto;
  }

  .button {
    background-color: #016CB3;
    color: white;
    border-radius: 40px;
    margin-left: clamp(10px, 2vw, 20px); 
    text-decoration: none;
    padding: clamp(12px, 2vw, 18px) clamp(20px, 4vw, 30px); 
    font-size: clamp(14px, 2.5vw, 18px); 
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .button:hover {
    background-color: white;
    color: #016CB3;
  }


  /* headings and para */
  .heading-box{
    font-weight: 600;
    font-size: clamp(28px, 5vw, 50px) !important;
    text-align: left;
    color: #333;
  }

  .heading-box span {
    font-weight: 600;
    font-size: clamp(28px, 5vw, 50px) !important;
    text-align: left;
    color: #016CB3;
  }

  .para-cont{
    font-size: clamp(16px, 2vw, 18px) !important;
    font-weight: 300;
    text-align: left;
  }

  /* header */
  .navbar-custom {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    background: transparent !important; 
    padding: 10px 40px;
    transition: top 0.6s ease-in-out;
}


.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: white;
}
.navbar-brand img {
    width: clamp(150px, 15vw, 250px);
    margin-right: 10px;
}
.navbar-nav {
    background-color: #0b0e12; 
    border-radius: 50px;
}


.nav-link {
    color: white !important;
    /* padding: 5px 15px; */
}

.nav-link:hover {
  color: #016CB3 !important;
}



/* footer */
.footer {
  background-color: #016CB3; 
  color: white;
  padding: 30px 20px;
}
.footer-logo img {
  max-width: 300px;
  margin: 50px auto;
}
.footer h5 {
  font-weight: bold;
}
.footer p {
  margin: 5px 0;
}
.footer .icon {
  margin-right: 8px;
  font-size: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

/************************************************* home page *************************************************/
.hero-banner {
  background: url('../images/home/Hero banner-1.jpg') no-repeat center center;
  position: relative;
  height: clamp(300px, 80vh, 700px);
  width: 100%;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-left: 5%;
  padding-right: 5%;
  overflow: hidden; /* Ensure no overflow issues */
}

.hero-heading {
  max-width: 600px;
  z-index: 1; /* Ensure text is on top */
}

.hero-heading h1 {
  color: white;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-banner img {
  position: absolute;
  right: 0;
  bottom: -5%;
  max-width: 22%; 
  height: auto;
  object-fit: contain; 
  z-index: 0; 
}

@media screen and (max-width: 768px) {
  .hero-banner {
    padding-left: 2%;
    padding-right: 2%;
  }

  .hero-heading h1 {
    font-size: clamp(24px, 5vw, 48px);
  }

  .hero-banner img {
    max-width: 50%;
    bottom: -10%; /* Adjust vertical position */
  }
}

/* about us */
.about-section {
  background: url('https://www.prins.upv.es/wp-content/uploads/2024/06/fondo-numeros.jpg') no-repeat center center;
  background-size: cover;
  /* height: 700px; */
}

.stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: left; 
}

.stat-row {
  display: flex;
  gap: 20px;
}

.stat-item {
  width: 200px;
  height: 200px;
  position: relative;
  background: url('https://www.prins.upv.es/wp-content/uploads/2024/06/circulo-numeros.png') no-repeat center center !important;
  background-size: contain !important;
  display: flex;
  flex-direction: row; 
  align-items: center;
  text-align: left;
}

.stat-item h3 {
  font-size: 50px;               
  font-weight: bold;
  color: #016CB3;            
  margin: 0;           
  position: absolute;
  top: 20px;            
  left: 115px; 
}           

.stat-item p {
  font-size: 18px;
  color: #333;           
  margin-left: 100px; 
  margin-top: 35px;             
}              
                 

@media (max-width: 768px) {                      
  .stats {
    display: flex;                
    flex-direction: column;                                
    align-items: center;               
  }

  .stat-row {
    display: flex;                              
    flex-wrap: wrap;                    
    justify-content: center;                                             
    gap: 10px;                   
    width: 100%;                     
  }                                                                

  .stat-item {
    width: calc(50% - 10px); 
    max-width: 150px;                                                                                  
  }
}


/* products */
.product-container {
  background: url('https://www.prins.upv.es/wp-content/uploads/2024/06/fondo-numeros.jpg') no-repeat center center;
  background-size: cover;
  padding: 50px 0;
  display: flex;
  align-items: center;
}
.circle-container {
  background: url('https://www.prins.upv.es/wp-content/uploads/2024/06/circulo-equipo-de-trabajo.png') no-repeat center center;
  background-size: contain;
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.machine-img {
  width: 50%;
  height: auto;
  object-fit: contain;
}
.arrow {
  position: absolute;
  right: -15px;
  top: 50%;
   transform: translateY(-50%) rotate(20deg);
  background: #016CB3;
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
}
.content-container {
  padding-left: 50px;
  text-align: left;
}

/* case study */

.case-study{
  height: 950px;
}
.case-studies {
  position: relative;
  width: 80%;
  margin: auto;
  text-align: left;
  perspective: 1000px; 
}


.case-card {
  position: absolute;
  width: 530px;
    height: 400px;
  border-radius: 8px;
  box-shadow: 8px 12px 15px rgba(0, 0, 0, 0.3);
  background-size: cover;
  background-position: center;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  transform-origin: center center;
}

.case-card h5 {
  color: #016CB3;
  font-weight: 600;
  background-color: rgb(255, 255, 255);
  padding: 10px;
}

/* Applying the Top-Down Perspective */
.main-card-div{
  transform: rotate(-15deg);
}

/* Applying the Top-Down Perspective */
.card1 {
/* top: 30px; */
top: 1px;
    left: 173px;
z-index: 999;
/* left: 50%; */
/* transform: translate(50%,-50%); */
/* transform: rotateX(20deg) rotateZ(-10deg); */
background-image: url('../images/home/black_and_white_pills_in_hand-1068228776.jpg');
}

.card2 {
  top: 445px;
  left: 143px;
/* transform: rotateX(20deg) rotateZ(8deg); */
background-image: url('../images/home/Paracetamol-Usage-Side-Effects-Alternative-Kofikrom-Pharmacy-Limited.jpeg');
}

.card3 {
  top: 160px;
  left: -320px;
/* transform: rotateX(20deg) rotateZ(-5deg); */
background-image: url('../images/home/many-different-pills-on-light-600nw-2367787403.jpg.webp');
}

.card4 {
top: 160px;
/* right: 50px; */
right: -240px;
/* transform: rotateX(20deg) rotateZ(5deg); */
background-image: url('../images/home/images.jpeg');
}


@media screen and (max-width: 1024px) {

  .case-study{
    height: auto;
  }
  .main-card-div {
    transform: none; /* Remove rotation effect */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px;
    justify-content: center;
  }

  .case-card {
    position: static;
    width: 100%;
    max-width: 320px;
    height: 200px;
    transform: none;
  }
}

/* Mobile View (One Card per Row) */
/* Mobile View (One Card per Row) */
@media screen and (max-width: 600px) {
  .case-studies {
    display: flex;
    flex-direction: column;  /* Stacking the cards vertically */
    align-items: center;  /* Center the cards horizontally */
    justify-content: center; /* Center the cards vertically (if there's enough space) */
  }

  .main-card-div {
    display: grid; /* You may still want the grid on mobile for layout */
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    width: 100%; /* Ensure the container takes up full width */
  }

  .case-card {
    position: static;  /* Remove absolute positioning */
    width: 100%;
    max-width: 320px;
    height: 200px;
    transform: none;
    margin: 0 auto;  /* Center cards horizontally */
  }
}



/* our clients */

.client {
  background: url('../images/home/Hero banner-1.jpg') no-repeat center center;
  background-size: cover;
}
.clients-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.client-slider {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
}
.slide-track {
  display: flex;
  gap: 20px;
  animation: scroll 15s linear infinite;
}
.client-box {
  background: white;
  display: inline-block;
  padding: 15px 50px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 300;
  transition: font-weight 0.3s, background 0.3s, transform 0.3s;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.client-box.active {
  font-weight: bold;
  background: linear-gradient(to bottom, #ffffff, #f0f0f0);
  transform: scale(1.1);
}
@keyframes scroll {
  from {
      transform: translateX(100%);
  }
  to {
      transform: translateX(-100%);
  }
}

@media (max-width: 992px) {
  .clients-section {
    flex-direction: column;
    text-align: center;
  }

  .client-box {
    padding: 12px 40px;
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .client-slider {
    width: 90%;
  }

  .client-box {
    padding: 10px 35px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  
  .client-box {
    padding: 8px 25px;
    font-size: 1rem;
  }
}

/* our blogs */
.blog-section {
  margin: auto;
  padding: 50px 0;
}

.blog-card {
  background: #016CB3;
  color: white;
  border-radius: 10px;
  padding: 35px;
  position: relative;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 10px;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M4 6v2h10.586L3 19.586 4.414 21 17 8.414V19h2V6H4z"/></svg>') 
      no-repeat center center;
  background-size: contain;
  transform: translateY(-50%) rotate(90deg);
  opacity: 1;
}

/* news and events */
.news-section {
  display: flex;
  /* height: 100vh; */
  overflow: hidden;
}
.left-section {
  background: url('https://media.istockphoto.com/id/1320947764/photo/empty-exhibition-center-with-truss-backdrop-for-exhibition-stands-3d-render.jpg?s=612x612&w=0&k=20&c=kH43yzgMRc-iKge7ywuGZQpnsjQ1Obai1-YLU-Vw3eo=') no-repeat center center/cover;
  width: 40%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: left;
  position: sticky;
  top: 0;
  height: auto;
}
.right-section {
  width: 60%;
  overflow-y: auto;
  position: relative;
  align-content: center;
}
.news-card {
  display: flex;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.news-card {
  display: flex;
  align-items: stretch;
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  height: 200px; 
}

.news-card img {
  width: 200px;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  margin-left: 20px;
}

.news-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.news-content h6 {
  font-size: 14px;
  color: gray;
  margin-bottom: 5px;
}

.news-content h5 {
  font-size: 18px;
  font-weight: bold;
}

.news-content .learn-more {
  text-decoration: none;
  color: #016CB3;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto; 
}

.divider {
  border-bottom: 3px solid #016CB3;
  width: 100%;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .news-section {
    flex-direction: column;
    align-items: center;
  }

  .left-section {
    width: 100%;
    height: 200px; /* Adjust height for the banner effect */
    position: relative;
    text-align: center;
  }

  .right-section {
    width: 100%;
    overflow-y: visible;
  }

  .news-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
  }

  .news-card img {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    height: auto;
  }

  .news-content {
    align-items: center;
  }
}

@media (max-width: 1024px) { /* Includes tablets */
  .news-section {
    flex-direction: column;
    align-items: center;
  }

  .left-section {
    width: 100%;
    height: 200px; /* Adjust for banner effect */
    position: relative;
    text-align: center;
  }

  .right-section {
    width: 100%;
    overflow-y: visible;
  }

  .news-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
  }

  .news-card img {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    height: auto;
  }

  .news-content {
    align-items: center;
  }
}

/************************************************* contact page *************************************************/
.contact-banner{
  background: url('../images/home/Hero banner-1.jpg') no-repeat center center;
    position: relative;
    height: clamp(300px, 80vh, 300px);
    /* height: 700px; */
    width: 100%;
    background-size: cover;
}

.contact-office-card {
  max-width: 400px;
  background: #fff;
  border-radius: 8px;
  text-align: left;
  position: relative;
  display: flex;
  align-items: center;
  border: none !important;
}
.icon-container img {
  filter: hue-rotate(25deg) saturate(5);
}


.map-container {
  width: 100%;
  height: 300px; /* Adjust height as needed */
}

.group-card {
  max-width: 300px;
  background: #fff;
  border-radius: 10px;
  /* text-align: center; */
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.group-logo img {
  width: 100px;
  margin-bottom: 10px;
}
.group-title {
  font-weight: bold;
  font-size: 1.2rem;
}
.group-address {
  font-size: 0.9rem;
  color: #555;
}
.group-number {
  font-size: 2rem;
  font-weight: 600;
  color: #eee;
}



.contact-container {
  max-width: 700px;
  margin: 50px auto;
  text-align: center;
}
.contact-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.contact-subtitle {
  color: #ff6600;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
.contact-form textarea {
  height: 150px;
  resize: none;
}



