/* Reset some default browser styles */
body, h1, h2, p {
    margin: 0;
    padding: 0;

}

/* Basic styling */
body {
 font-family: "Prompt", sans-serif;
  font-weight: 400;
  font-style: normal;
line-height: 1.6;
font-size: calc(1rem + 0vw);

}
section h2 {
    color: #fb7f3f;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: calc(2rem + 0vw);
}
section p {
        color: #666;
        margin-bottom: 15px;
    }
/* Base styles for the desktop version remain unchanged */
nav ul {
    list-style: none;
    display: flex;
    margin: 5px 0px;
}

nav ul li {
    margin-right: 0px;
}

nav li a {
    display: block;
    width: 100%;
    padding: 8px 15px;
    border-left: 1px solid;
    position: relative;
    z-index: 2;
    text-decoration: none;
    color: #444;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

nav li a:hover {
    border-bottom: 0px;
    color: #fff;
}

nav li:first-child a {
    border-left: 1px solid #3498db;
}

nav li:nth-child(2) a {
    border-left: 1px solid #ffd071;
}

nav li:nth-child(3) a {
    border-left: 1px solid #f0776c;
}

nav li:nth-child(4) a {
    border-left: 1px solid #5d9240;
}

nav li:last-child a {
    border-left: 1px solid #fb7f3f;
}

nav li a:after {
    content: "";
    height: 100%;
    left: 0;
    top: 0;
    width: 0px;
    position: absolute;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    z-index: -1;
}

nav li a:hover:after {
    width: 100%;
}

nav li:first-child a:after {
    background: #3498db;
    border-radius: 5px;
}

nav li:nth-child(2) a:after {
    background: #ffd071;
    border-radius: 5px;
}

nav li:nth-child(3) a:after {
    background: #f0776c;
    border-radius: 5px;
}

nav li:nth-child(4) a:after {
    background: #5d9240;
    border-radius: 5px;
}

nav li:last-child a:after {
    background: #fb7f3f;
    border-radius: 5px;
}

/* Header styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 4px solid #f31b04;
    color: #fff;
    padding: 10px;
}

.header-left img {
    max-width: 210px;
    height: auto;
}

.logo {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 5px;
}

.header-right, .header-left {
    display: flex;
    align-items: center;
}
.main-content{
    padding-top: 55px;
}
/* Mobile styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-left, .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .header-left {
        order: 1;
        padding: 10px 0;
    }

    .header-right {
        order: 2;
        padding: 10px 0;
    }

    nav ul {
        flex-direction: column;
        display: none; /* Hide menu by default */
        width: 100%;
        padding: 0;
        background-color: #fff;
    }

    nav ul li {
        width: 100%;
        margin-right: 0;
    }

    nav ul li a {
        border-left: none;
        border-top: 1px solid #ddd;
        padding: 15px;
        color: #444;
    }

    nav ul li a:hover {
        color: #fff;
    }

    nav ul li a:after {
        width: 100%;
    }

    nav ul li:first-child a {
        border-top: none;
    }

    /* Mobile menu toggle button */
    .menu-toggle {
        display: block;
        background-color: #444;
        color: #fff;
        padding: 10px 15px;
        cursor: pointer;
        width: 100%;
        text-align: center;
    }

    /* Show the menu when toggled */
    .menu-toggle.active + nav ul {
        display: flex;
    }
}

/* Header styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    width: 100%;
    display: flex;
    
}
footer .footercontent {
    padding: 10px;
}


.phoneicon {
  font-weight: 900;
  padding-right: 5px;
}
.emailicon {
  padding-right: 5px;
}
.emailicon + a {
    margin-top: -2px;
  }
  .contact-email{
    margin-top: -2px;
  }
.contact-info a {
    text-decoration: none;
    color: #000;
}

.emailin{
    margin-top: -2px;
}
.contact-info {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.contact-item img {
    max-width: 20px;
    height: auto;
    margin-right: 5px;
}
.quotecontent{
    margin-left: 35px;
  margin-right: 35px;
  margin-bottom: 35px;
}
/* ... Responsive styles ... */

/* ... Existing styles ... */

/* Hero section */
.bodycontainor{
    padding-top: 50px;
}
.hero-section {
    position: relative;
    height: 80vh; /* Set the height of the hero section to half of the viewport height */
    color: #fff;
    display: flex;
      height: 100%;
}
.background-overlay {
  position: relative;
  width: 100%; /* Adjust as needed */
}

.background-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Adjust the opacity as needed */
}

.background-overlay {
  background-image: url(https://swapreenpharma.com/images/swapreenbg.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.hero-content h2 {
    margin-bottom: 10px;
}

.bannersection .phonesection a {
text-decoration: none;
  color: #fff;
}
.phonesection{
  margin-top: 20px;  
}
.bannersection{
    text-align: center;
  margin-top: -40px;
}
.pharmaoffers{
    padding-left: 40px;
    padding-right: 40px;
}
.hero-content .summary .mainheading{
  padding-bottom: 30px;
  padding-top: 30px;
  text-align: center;
  letter-spacing: 3px;
  font-size: calc(1rem + 1.4vw);

}
.hero-content .summary .heading{
    padding-bottom: 5px;
    font-size: calc(1rem + 1.4vw);

}
.hero-content .summarysection{
    margin-bottom: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}
.fullwidth{
    width: 100%;
    float: left;
    position: relative;
}
.summarysection .contactus{
    margin-top: 15px;

}
.summarysection .contactus a {
    text-decoration: none;
    color: #fff;
}
/* ... Existing styles ... */

/* Service demo section */
.bgcoveraboutus .service-demo {
  height: 40vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ourservices, .service-demo{
    padding: 40px 0;
    text-align: center;
    animation: fade-in 3s ease-out;
   background-color: #ebecf3;
   background-image: linear-gradient(45deg, #d6d6d6 25%, transparent 25%, transparent 75%, #eee 75%, #fff), linear-gradient(45deg, #fff 25%, #fff0 25%, transparent 75%, #fff 75%, #fff);
  background-size: 4px 4px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100px;
}
.service-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 -10px; /* To counteract the margin on individual service items */
}
.service-item img {
    max-width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.service-item h3 {
    font-weight: 400;
}



/* About Us section */
.about-section {
    padding: 40px 0;
    text-align: center;
    margin-top: -10px;
}

/* ... Existing styles ... */

/* Hero section animation */
.hero-section {
    animation: fade-in 1s ease-out;
}

/* Clients section animation */
.clients-section {
    animation: fade-in 4s ease-out;
}

/* About Us section animation */
.about-section {
    animation: fade-in 1s ease-out;
}
.homeaboutuscontent{
      padding-left: 35px;
  padding-right: 35px;
}
.fullwidth .summary{
    padding-top: 40px;
  padding-bottom: 40px;
}

/* Keyframes for fade-in animation */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes flash {
        /*0% { opacity: 1; }*/
        50% { opacity: 0; }
        100% { opacity: 1; }
    }

    .flash{
       animation: flash 1s linear 0s  infinite, stopFlash 20s forwards; /* 20s duration */
    }

    @keyframes stopFlash {
        to { opacity: 1; }
    }
/* ... Existing styles ... */

/* Products section */

/* ... Existing styles ... */

/* Products section */
.products-section {
    padding: 40px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.product-item {
    max-width: 300px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    flex: 0 0 calc(50% - 30px); /* Display 2 products per row */
    margin: 10px; /* Adjust margin for spacing between products */
}

.product-item h3 {
    margin-bottom: 10px;
}

.product-item p {
    margin-bottom: 10px;
}

/* ... Existing styles ... */

/* Responsive styles for mobile view */

/* ... Existing responsive styles ... */

/* ... Existing styles ... */

/* Pagination */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination a {
    color: #333;
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 4px;
    transition: background-color 0.3s;
}

.pagination a.active,
.pagination a:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* ... Existing responsive styles ... */
/* Style for the search form container */
.search-form {
    margin-bottom: 20px;
}

/* Style for the search input */
#searchInput {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px;
}

/* Style for the search button */
#searchButton {
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Style for the search button on hover */
#searchButton:hover {
    background-color: #0056b3;
}

.login, .register {
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login, .register {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.subdescription{
    margin-top: 25px;
}
button {
    background-color: #fb7f3f;
  color: #fff;
  border: 3px solid #f6f6ff;
  border-radius: 10px;
  padding: 10px 30px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-weight: 400;
  font-size: calc(1rem + 0.5vw);


}

button:hover {
    background-color: #f45300;
}

/* contact us */
.contact-form {
    max-width: 400px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 150px;
}

.contact-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form input[type="submit"]:hover {
    background-color: #45a049;
}

.error {
    color: red;
    margin-bottom: 10px;
}
.aboutus1{
    display: inline-block;
    margin-right: 40px;
  margin-left: 40px;
}

.servicescontation {
    display: flex;
    flex-wrap: wrap;
    margin-left: 30px;
    margin-right: 30px;
}

/* Style for the service tab container */
.servicestab {
    display: flex;
    flex-direction: column;
}

/* Style for the service heading */
.serviceheading h3 {
    color: #333;
    margin: 15px;
}

/* Style for the service content */
.servicecontent {
    color: #666;
    line-height: 1.6;
}
/* Style for the service item container */
.service-item {
position: relative;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 1px 10px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex: 0 0 calc(31%);
  margin: 10px auto;
  padding: 10px;
}

/* Style for the left top corner */
.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px; /* Adjust the width as needed */
    height: 50px; /* Adjust the height as needed */
    background-color: #007bff; /* Adjust the background color */
    border-bottom-right-radius: 100%;
}

/* Style for the service tab container */
.servicestab {
    display: flex;
    flex-direction: column;
}

/* Style for the service heading */
.serviceheading h3 {
    color: #fb7f3f;
    margin-bottom: 10px;
}

/* Style for the service content */
.servicecontent {
    color: #666;
    line-height: 1.6;
}


