* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 20px;
    /* Width of the vertical scrollbar */
    height: 12px;
    /* Height of the horizontal scrollbar */
}


/* Track (background of the scrollbar) */

::-webkit-scrollbar-track {
    background: #F0F0F0;
    /* Light gray */
}


/* Thumb (the draggable part of the scrollbar) */

::-webkit-scrollbar-thumb {
    background-color: #ced2ce;
    /* Green */
    border: 3px solid #eef1ed;
    /* Space around thumb */
}


/* Hover effect for the thumb */

::-webkit-scrollbar-thumb:hover {
    background-color: #919191;
    /* Darker green */
}


/* Corner (intersection of horizontal and vertical scrollbars) */

::-webkit-scrollbar-corner {
    background: #F0F0F0;
    /* Matches the track */
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    background: #FFF;
    color: #333;
    overflow-x: hidden;
    height: 100%;
    line-height: 1.6;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
height:80px;
    background: #FFF;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 5px 10px;
    z-index: 1000;
    transition: background 0.3s ease;
}

/* Logo Styling */

.logo {
    margin-left: 50px;
    font-size: 28px !important;
    font-weight: bold;
    letter-spacing: 2px;
    color: #000;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #f39c12;
}

.mdiv {
    margin-top: 100px;
    display: block;
}


/* Navigation links */

.nav-links {
    display: flex;
    gap: 1px;
    align-items: center;
    font-size: 16px;
}

.nav-links a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 50px !important;
}
.nav-links a:hover {
    background: #0085e5 !important;
   color: #FFF;

    border-radius: 50px !important;
}


/* Login Button */

.login-button {
    background-color: #1295f3;
    color: #fff;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #e67e22;
}


/* Hamburger Menu */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 30px;
    height: 4px;
    background-color: #000000;
    border-radius: 2px;
}


/* Mobile Menu */

.nav-links.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: #333;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.nav-links.mobile-menu.open {
    display: flex;
    transform: translateX(0);
}

.nav-links.mobile-menu ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.nav-links.mobile-menu ul li {
    margin: 20px 0;
    border-bottom: #333;
}

.nav-links.mobile-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    padding: 10px;
    transition: color 0.3s ease;
}

.nav-links.mobile-menu ul li a:hover {
    color: #f39c12;
}


/* Close Button */

.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}


/* Desktop View */

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .hamburger {
        display: none;
    }
    .nav-links a {
        font-size: 18px;
        padding: 12px 25px;
    }
    .login-button {
        padding: 12px 30px;
        font-size: 18px;
    }
}


/* Mobile View */

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .login-button {
        font-size: 14px;
        padding: 8px 20px;
    }
}


.image-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* Optional: Restrict max width if needed */
    height: 300px;
    /* Fixed height */
    overflow: hidden;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image fits properly */
    display: block;
}

.text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #035ebfe6;
    /* Semi-transparent black */
    color: #fff;
    padding: 15px 20px;
    width: 50%;
    border-bottom-right-radius: 50px;
    box-shadow: 0 4px 6px rgba(197, 5, 5, 0.3);
    max-width: 300px;
}

.overlay h2 {
    margin: 0 0 5px;
    font-size: 20px;
    align-items: start;
    font-weight: bold;
}

.overlay p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}


/* Dot Styles */

.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #888;
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.dot.active {
    background-color: #f9c74f;
}


/* Media Queries for Smaller Screens */

@media (max-width: 480px) {
    .header {
        padding: 15px 10px;
    }
    .logo {
        font-size: 22px;
    }
    .nav-links {
        gap: 10px;
    }
    .nav-links a {
        font-size: 14px;
    }
    .login-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

marquee {
    margin-top: 20px;
    background-color: #e7e7e7;
    color: #000;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    padding: 10px;
    border: 1px solid #dfe0e1;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1200px;
    gap: 20px;
}

.card-view {
    flex: 1;
    background-color: #fff !important;

    box-shadow: 0 4px 8px rgba(239, 238, 238, 0.1);
    margin-left: 5%;
    /* 20% left margin for larger screens */
}

h3 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
}

.span-class {
    font-size: 18px;
    font-style: italic;
    color: #0b58bd;
}


/* .card-view p {
    font-size: 15px;
    margin-top: 20px;
    color: #8c8c8c;
} */

.image-container {
    flex: 1;
    text-align: right;
    margin-left: 2%;
    margin-right: 5%;
    /* 20% right margin for larger screens */
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.marquee-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #333;
    gap: 10px;
    margin-bottom: 10px;
}

.heading-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.marquee-img {
    display: flex;
    gap: 20px;
    animation: scrollMarquee 30s linear infinite;
    list-style: none;
    padding: 0;
    margin: 0;
}

.marquee-img li {
    flex: 0 0 auto;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 5px;
    background-color: #f9f9f9;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.marquee-img li:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.marquee-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@keyframes scrollMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.marquee-img:hover {
    animation-play-state: paused;
}

@media (max-width: 1024px) {
    .marquee-img {
        gap: 15px;
        animation-duration: 20s;
    }
    .marquee-img li {
        padding: 4px;
    }
    .marquee-img img {
        width: 120px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .marquee-img {
        gap: 10px;
        animation-duration: 25s;
    }
    .marquee-img img {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .marquee-img {
        gap: 8px;
    }
    .marquee-img img {
        width: 80px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .card-view,
    .image-container {
        width: 90%;
        margin: 10px auto;
    }
    .image-container {
        text-align: center;
    }
}


/* For phones */

@media (max-width: 480px) {
    .card-view,
    .image-container {
        width: 95%;
        /* Maximize width usage on small screens */
        padding: 15px;
        /* Reduce padding for better fit */
    }
    .card-view {
        margin: 10px auto;
    }
    .image-container img {
        width: 100%;
        /* Ensure the image scales properly */
        max-width: 300px;
        /* Set a max width for smaller devices */
    }
}

footer {
    background-color: #025db8 !important;
    color: #fff;
    padding: 20px !important;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}
  /* Glow effect on hover for footer links (Quick Links + Contact Us) */
  .footer-link-hover a:hover,
  .footer-contact-hover a:hover {
    color: #fff !important;
    text-shadow:
      0 0 25px #9a9a9a,
      0 0 25px #ffee00,
      0 0 25px #ffee00;
    transition: text-shadow 0.4s ease, color 0.5s ease;
  }
/* Media Queries for responsiveness */

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
        margin-bottom: 10px;
    }
}

.banner {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #e92227;
    /* Blue background for the banner */
    background-image: url('/assets/rspl-b.jpg');
    /* Add your banner image URL here */
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 768px) {
    .banner {
        height: 200px;
    }
}

.section-b {
    display: flex;
    align-items: center;
    margin-top: 50px;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.text-container {
    flex: 0 0 60%;
    padding: 10px;
}

.text-container .h2-tag {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 40px;
    color: #007BFF;
}

.text-container .p-tag {
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding-top: 20px;
    font-size: 18px;
    color: #000000;
}

.image-container {
    flex: 0 0 40%;
}

.image-container img {
    width: 100%;
    height: auto;
}

.reverse {
    flex-direction: row-reverse;
}


/* Optional: Add some styling for the text */

.text {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
    /* Change color as needed */
}


/* Media Query for responsive design */

@media screen and (max-width: 768px) {
    .section {
        flex-direction: column;
        /* Stack text and image vertically on smaller screens */
        gap: 10px;
        /* Reduce gap between text and image */
    }
    .text-container,
    .image-container {
        flex: 0 0 100%;
        /* 100% width for text and image on mobile */
    }
    .text {
        font-size: 16px;
        /* Smaller text on mobile */
    }
}

.columns {
    display: flex;
    /* Makes columns appear in a row */
    gap: 20px;
    /* Space between columns */
}

.columns ul {
    list-style-type: disc;
    /* Adds bullet points */
    padding: 0;
    margin: 0;
}

.columns li {
    margin: 5px 0;
    font-size: 12px;
    /* Adds spacing between list items */
}

@media (max-width: 768px) {
    .columns {
        flex-direction: column;
        /* Stacks columns vertically on smaller screens */
    }
}


/* Tabs Container */

.tabs-container {
    margin-top: 20px;
}


/* Tab Links */

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab-link {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
    border-radius: 5px;
}

.tab-link.active {
    background-color: #007BFF;
    color: #fff;
    font-weight: bold;
}

.tab-contents {
    margin-top: 20px;
}

.tab-content {
    display: none;
    background-color: #f9f9f9;
    /* Light background for content */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

.container {
    margin: 0 auto;
    padding: 1rem;
    display: block;
    width: 90%;
    max-width: 1200px;
}


/* Margin for the center-heading */

.center-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 45px;
    color: #c80422;
    margin: 1rem 0;
    /* Added top and bottom margin */
}

.content-wrapper {
    display: flex;
    gap: 1rem;
    /* Space between left and right sections */
}


/* Media queries for responsiveness */

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0.5rem;
    }
    .content-wrapper {
        flex-direction: column;
        /* Stack left and right sections vertically */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.25rem;
        /* Minimal padding for extra small screens */
    }
}


/* Styles for left and right sections */

.left-section
.right-section {
    flex: 1;
    padding: 1rem;
}

.left-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    /* Optional background */
}

.left-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.right-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


/* Tab styles */

.tabs {
    display: flex;
}

.tab-btn {
    padding: 20px 150px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tab-btn:hover {
    background-color: #0056b3;
}


/* Active button styling */

.tab-btn.active {
    background-color: #006bb3;
    color: #fff;
}

.content {
    flex-grow: 1;
}

.tab-content {
    display: none;
    background-color: #007BFF;
    color: white;
    font-size: 1.2rem;
}


/* Visible content */

.tab-content.active {
    display: block;
}

p {
    font-size: 1rem;
    /* Equivalent to 16px */
    line-height: 1.6;
}

@media (max-width: 768px) {
    p {
        font-size: 0.9rem;
        /* Slightly smaller for tablets */
    }
}

@media (max-width: 480px) {
    p {
        font-size: 0.85rem;
        /* Smaller size for mobile devices */
    }
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 100px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    z-index: 1;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown-btn {
    background-color: #246ff0;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}


/* Button hover effect */

.dropdown-btn:hover {
    background-color: #1b51bc;
}

.show {
    display: block;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    align-items: start;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    min-height: 180px;
    /* Ensure all cards have a minimum height */
    margin-top: auto;
    /* Allows items to auto-align but start with a base margin */
}

.grid-item:hover {
    transform: scale(1.05);
}

.company-logo {
    width: 150px;
    /* Fixed width */
    height: 150px;
    /* Fixed height */
    object-fit: contain;
    /* Maintain aspect ratio */
    margin-bottom: 10px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin: 0;
}


/* Media Queries */

@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .company-logo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    .company-logo {
        width: 100px;
        height: 100px;
    }
}

.grid-item {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    position: relative;
}

.company-logo {
    width: 100px;
    /* Fixed width */
    height: 100px;
    /* Fixed height */
    object-fit: contain;
    /* Ensures the image fits without distortion */
    display: block;
    margin: 0 auto;
    /* Centers the image within the container */
    border: 1px solid #ddd;
    /* Optional: adds a border for better visibility */
    padding: 5px;
    /* Optional: adds padding inside the border */
    background-color: #fff;
    /* Optional: adds a background to maintain visual consistency */
}

.expand-arrow {
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
    color: #007bff;
}

.divisions-list {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.divisions-list li {
    padding: 5px 0;
    font-size: 14px;
}

.card-wrapper {
    width: 90%;
    margin: auto;
    padding: 20px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    grid-auto-flow: row;
    padding-bottom: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.card img {
    width: 100%;
    max-width: 150px;
    border-radius: 10px;
    display: block;
}

.card h3 {
    text-align: left;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}


/* Responsive for small screens */

@media (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}

.card:hover {
    transform: translateY(-5px);
}


/* Container for the card grid */

.container.inner-row {
    padding: 20px;
    /* Padding around the container */
}


/* Define the grid structure for items */

.row.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Space between items */
}


/* Individual item styles (card) */

.item {
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 100%;
    /* Full width on smaller screens */
}


/* Logo section inside each card */

.item .pro-pannel .top .logo {
    text-align: center;
    margin-bottom: 20px;
}

.item .pro-pannel .top .logo img {
    max-width: 100%;
    height: auto;
}


/* Product list styling */

.inner-pro-list {
    list-style-type: none;
    padding: 0;
}

.inner-pro-list li {
    margin: 10px 0;
}

.inner-pro-list a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.inner-pro-list a:hover {
    color: #007bff;
}


/* Responsive Breakpoints for different screen sizes */


/* For larger screens (desktops and tablets) */

@media (min-width: 992px) {
    .item {
        width: 23%;
        /* 4 items per row on large screens */
    }
}


/* For medium screens (tablets and below) */

@media (max-width: 991px) and (min-width: 768px) {
    .item {
        width: 48%;
        /* 2 items per row on tablets */
    }
}


/* For small screens (mobile devices) */

@media (max-width: 767px) {
    .item {
        width: 100%;
        /* 1 item per row on mobile devices */
    }
}

.card-body ul {
    padding-left: 0;
    list-style-type: none;
}

.card-body ul li {
    margin-bottom: 5px;
}

.card-body ul li a {
    text-decoration: none;
    color: #333;
}

.card-body ul li a:hover {
    color: #007bff;
}

.card {
    display: flex;
    flex-direction: column;
    min-height: 200px;
    /* Adjust this as needed */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col-lg-3 {
    width: 23%;
}

@media (max-width: 767px) {
    .col-sm-12 {
        width: 100%;
    }
}

.navy-blue {
    color: #000080;
    /* Navy blue color */
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.division-name-container {
    display: flex;
    align-items: center;
    /* Aligns the text and arrow vertically */
    justify-content: flex-start;
    /* Aligns content to the left */
    font-size: 16px;
}

.division-name-container .division-text {
    margin-right: 10px;
    /* Adds some space between the name and the arrow */
}

.division-name-container .arrow {
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.division-name-container .arrow:hover {
    transform: translateX(5px);
}


/* Contact Card - Initial State */

.contact-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 50, 150, 0.1);
    /* Soft blue shadow */
    font-family: 'Poppins', sans-serif;
    color: #333;
    max-width: 400px;
    text-align: center;
    margin: auto;
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease-in-out, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}


/* On Hover - Smooth Background & Text Change */

.contact-card:hover {
    background: #025db8;
    color: #ffffff;
    box-shadow: 0px 10px 20px rgba(2, 93, 184, 0.5);
    /* Deeper blue shadow */
}


/* Text & Icon Color Transition */

.contact-card:hover .icon,
.contact-card:hover b,
.contact-card:hover .contact-heading {
    color: #ffeb3b;
    transition: color 0.5s ease-in-out;
}


/* Smooth Fade-in Effect for Text */

.contact-card p,
.contact-card b,
.contact-card .contact-heading,
.contact-card .icon {
    transition: opacity 0.5s ease-in-out;
}


/* Fades in text smoothly on hover */

.contact-card:hover p,
.contact-card:hover b,
.contact-card:hover .contact-heading,
.contact-card:hover .icon {
    opacity: 1;
}


/* Prevent text selection */

.contact-card p,
.contact-card b,
.contact-card .contact-heading,
.contact-card .icon {
    user-select: none;
}




/* Default hidden state */

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
}


/* Left Section Animation */

.animate-left {
    transform: translateX(-50px);
}


/* Right Section Animation */

.animate-right {
    transform: translateX(50px);
}


/* Fade-in for "Pharmaceutical Distributors since 1976" */

.animate-fade {
    opacity: 0;
    transform: scale(0.9);
}


/* Zoom-in effect for Contact Section */

.animate-zoom {
    transform: scale(0.7);
}


/* Brand Logo Marquee Bounce */

.marquee-img img {
    animation: bounce 2s ease-in-out infinite;
}


/* Scroll in effect when section becomes visible */

.show {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}


/* Keyframe for bouncing brands */

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


/* Initial Background */

#pharma-section {
    background-color: rgb(254, 253, 252) !important;
    /* Start with a calming blue */
    border-radius: 15px !important;
padding:50px;
    transition: background-color 3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#pharma-section:hover {
    background-color: #f8f9fa;
    color: #222;    
    transform: translateY(-5px);
    box-shadow: 8px 8px 25px rgba(0, 0, 0, 0.2);
}

#pharma-section:hover {
    opacity: 1;
}


@keyframes colorChange {
    0% {
        background-color: #2575fc;
    }
    50% {
        background-color: #086cd1;
    }
    100% {
        background-color: #64aaf0;
    }
}

#pharma-section {
    animation: colorChange 8s infinite alternate;
}

#pharma-section-image {
    overflow: hidden;
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    width: 100% !important;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#pharma-section-image:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2);
}


/* Import Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Lora:wght@400&display=swap');

/* Full-width section with dark background */

#y-section {
    width: 100%;
    background-color: #0d47a1;
    /* Dark blue */
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-top: 50px;
    /* Adjust spacing from top */
}


/* Center heading with Poppins font */

  /* Section Heading */
  #y-section h2 {
    color: white;
    font-size: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 30px;
  }

  .heading-span {
    background: #025db8;
    padding: 8px 20px;
    border-radius: 6px;
    display: inline-block;
  }

  /* Layout Rows */
  .y-rows {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  /* Each Column/Card Wrapper */
  .y-col {
    background-color: #025db8;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    flex: 1 1 300px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  .y-col:hover {
    background-color: #1565c0;
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  /* Card Content */
  .y-card {
    text-align: center;
    padding: 20px;
    color: #fff;
  }

  .y-card h3 {
    font-size: 22px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
  }

  .y-card p {
    font-size: 15px;
    font-family: 'Lora', serif;
    font-weight: 400;
    line-height: 1.6;
    color: #f0f0f0;
  }

  /* Circle Icon Number */
  .circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(90deg, #007899 40%, #007f9f 60%, #009fc6 80%, #008bc6 90%) !important;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 1px 1px 2px rgba(230, 10, 10, 0.3);
  }

  .y-col:hover .circle {
    transform: scale(1.15);
    box-shadow: 0px 6px 15px rgba(255, 152, 0, 0.6);
    background: linear-gradient(90deg, #fbae3b 40%, #e88b00 60%, #fd6435 80%, #d63b0c 90%) !important;
  }

  /* Responsive */
  @media (max-width: 767px) {
    #y-section h2 {
      font-size: 26px;
    }

    .y-card h3 {
      font-size: 20px;
    }

    .y-card p {
      font-size: 14px;
    }

    .circle {
      width: 60px;
      height: 60px;
      font-size: 20px;
    }
  }

.scrolling-text-container {
    width: 100%;
    overflow: hidden;
    
    top: 80px;
    white-space: nowrap;
    background-color: #dadada;
    /* Dark blue background */
    padding: 10px 0;
    position: relative;
}

.scrolling-text {
    display: inline-block;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.2);
    animation: marquee 15s linear infinite;
}


/* Keyframes for smooth scrolling */

@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}


/* Ensures scrolling text appears below the header */

.scrolling-text-container {
    position: relative;
    width: 100%;
    background-color: #dadada;
    padding: 12px 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.heading-span {
    color: #191d96 !important;
    font-size:35px;
    background-color: transparent;
}

.scrolling-text {
    display: inline-block;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    color: #2d3192;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}


/* Ensures slider is positioned below scrolling text */

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 80px;
    /* Adjust as needed */
}


/* Slider animation */

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.scroll-arrow {
  position: fixed;
  bottom: 30px;
  right: 20px;
  display: none;
  z-index: 1050;
  width: 45px;
  height: 45px;
  background-color: #dc3545;
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.scroll-arrow:hover {
  transform: scale(1.1);
}
.content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #f8f8f8;
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}


/* Hover Effect with Smooth Transition */

.content-container:hover {
    background: #047ed5;
    /* Light blue on hover */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
    /* Slight zoom effect */
}

.image-section {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}


/* Image Hover Effect */

.image-section img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-container:hover .image-section img {
    transform: scale(1.05);
    /* Image scales up slightly on hover */
}

.text-section {
    flex: 1;
    max-width: 55%;
    transition: transform 0.3s ease;
}

.content-container:hover .text-section {
    transform: translateY(-5px);
    /* Slight upward movement on hover */
}

.text-section h2 {
    font-size: 22px;
    font-weight: bold;
    color: #e92227;
    /* Deep Blue */
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.content-container:hover .text-section h2 {
    color: #f9fafc;
    /* Darker blue on hover */
}

.text-section p,
.text-section ul {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #2d3192;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.content-container:hover .text-section p,
.content-container:hover .text-section ul {
    color: #faf8f8;
    /* Darker text on hover */
}

.text-section ul {
    padding-left: 20px;
}

.text-section li {
    margin-bottom: 8px;
}