.elementor-3312 .elementor-element.elementor-element-9374c2e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3312 .elementor-element.elementor-element-dfc6d5b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3312 .elementor-element.elementor-element-186e083{--display:grid;--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3312 .elementor-element.elementor-element-cd5c399{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3312 .elementor-element.elementor-element-e0f726f{--display:flex;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-3312 .elementor-element.elementor-element-186e083{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-3312 .elementor-element.elementor-element-186e083{--e-con-grid-template-columns:repeat(1, 1fr);--grid-auto-flow:row;}}/* Start custom CSS for html, class: .elementor-element-d18f956 */<script>
    document.addEventListener("DOMContentLoaded", function() {
        // Get the current URL
        const currentUrl = window.location.href;
        // Select all navigation links
        const navLinks = document.querySelectorAll('.rx-nav-link');

        navLinks.forEach(link => {
            // Check if the link's href matches the current URL
            if (link.href === currentUrl) {
                link.classList.add('active');
            } else {
                link.classList.remove('active');
            }
        });
    });
</script>/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-21b7156 *//* Updated Import for Poppins with Light and Regular weights */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');



html {

  scroll-behavior: smooth;

}



body {

  margin: 0;

  padding: 0;

  /* Global font set to Poppins */

  font-family: 'Poppins', sans-serif !important;

  font-weight: 300; 

}



.full-width-header {

  width: 100%;

  /* Background Image Implementation */

  background-image: 

                    url('https://rxglobalsmc.ph/wp-content/uploads/2026/04/rxglobalsmc_abtus-4.jpg');

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  

  /* Layout */

  padding: 120px 0 40px 0; /* Slightly increased top padding for better visual balance with a photo */

  display: flex;

  justify-content: center;

}



.header-content {

  width: 90%;

  max-width: 1200px;

  display: flex;

  justify-content: space-between;

  align-items: center;

}



.small-title {

  font-family: 'Poppins', sans-serif !important;

  font-size: 25px;

  font-weight: 600;

  color: #888;

  text-transform: uppercase;

  letter-spacing: 2px;

  display: block;

  margin-bottom: 15px;

}



.main-heading {

  font-family: 'Poppins', sans-serif !important;

  font-size: 64px;

  line-height: 1.1;

  font-weight: 500; /* Medium weight for the heading */

  margin: 0;

}



.blue-text {

  color: #3b71ed;

}



.black-text {

  color: #1a1a1a;

}



.explore-btn {

  font-family: 'Poppins', sans-serif !important;

  background-color: #3b71ed;

  color: #fff;

  padding: 18px 40px;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 500;

  font-size: 16px;

  transition: transform 0.3s ease;

}



/* Card Container Styles */

.card-container {

    display: flex;

    gap: 20px;

    padding: 60px 20px;

    flex-wrap: wrap;

    justify-content: center;

    background-color: #f4f7f6;

    scroll-margin-top: 50px; 

}



.card {

    background: #fff;

    width: 320px;

    border-radius: 20px;

    overflow: visible !important; 

    box-shadow: 0 10px 20px rgba(0,0,0,0.05);

    cursor: pointer;

    position: relative;

    user-select: none;

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

}



/* HOVER: Lift the card */

.card:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(0,0,0,0.12);

}



/* CLICK: Press the card down */

.card:active {

    transform: translateY(-2px) scale(0.97);

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    background-color: #fcfcfc;

    transition: all 0.1s ease;

}



/* Shine effect on hover */

.card::after {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.2), rgba(255,255,255,0) 70%);

    transform: translateX(-100%);

    transition: 0.6s;

}



.card:hover::after {

    transform: translateX(100%);

}



.card-content {

    padding: 45px 25px 25px 25px;

}



.card-title {

    font-family: 'Poppins', sans-serif !important;

    margin: 0 0 10px 0;

    font-size: 1.5rem;

    color: #333;

    font-weight: 500; 

}



.card-text {

    font-family: 'Poppins', sans-serif !important;

    font-size: 0.95rem;

    color: #666;

    line-height: 1.6;

    margin: 0;

    font-weight: 300; 

}



.card-image {

    position: relative;

    height: 180px;

    border-radius: 20px 20px 0 0;

    overflow: visible !important;

}



/* Image zoom on hover */

.card:hover .card-image img {

    transform: scale(1.1);

}



.card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.icon-circle {

    position: absolute;

    bottom: -30px;

    left: 25px;

    width: 65px;

    height: 65px;

    background-color: #2e5bff;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    border: 4px solid #fff;

    color: white;

    font-size: 24px;

    z-index: 10;

    transition: transform 0.3s ease;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}



/* THE ICON FIX */

.icon-circle i {

    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;

    font-weight: 900 !important; 

    color: #ffffff !important;

    font-size: 24px;

    display: flex !important;

    align-items: center;

    justify-content: center;

}



/* Icon tilt on hover */

.card:hover .icon-circle {

    transform: rotate(10deg) scale(1.1);

}



@media (max-width: 992px) {

  .header-content {

    flex-direction: column;

    text-align: center;

    gap: 40px;

  }

  .main-heading { font-size: 40px; }

}

/* Card Sizing - Increased width */

.card {

    background: #fff;

    width: 420px; /* Increased from 320px */

    border-radius: 25px; /* Slightly larger radius for the bigger scale */

    overflow: visible !important; 

    box-shadow: 0 10px 20px rgba(0,0,0,0.05);

    cursor: pointer;

    position: relative;

    user-select: none;

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

}



/* Card Image - Increased height */

.card-image {

    position: relative;

    height: 250px; /* Increased from 180px */

    border-radius: 25px 25px 0 0;

    overflow: visible !important;

}



/* Typography - Scaled up for the bigger card */

.card-title {

    font-family: 'Poppins', sans-serif !important;

    margin: 10px 0 12px 0;

    font-size: 1.85rem; /* Increased from 1.5rem */

    color: #333;

    font-weight: 500; 

}



.card-text {

    font-family: 'Poppins', sans-serif !important;

    font-size: 1.1rem; /* Increased from 0.95rem */

    color: #666;

    line-height: 1.6;

    margin: 0;

    font-weight: 300; 

}



/* Container adjustment for larger gap */

.card-container {

    display: flex;

    gap: 40px; /* Increased gap to accommodate larger cards */

    padding: 80px 20px;

    flex-wrap: wrap;

    justify-content: center;

    background-color: #f4f7f6;

    scroll-margin-top: 50px; 

}

/* Reduce the bottom padding of the header */

.full-width-header {

    padding: 80px 0 20px 0; /* Changed bottom from 80px to 20px */

}



/* Reduce the top padding of the card container */

.card-container {

    padding: 20px 20px 80px 20px; /* Changed top from 60px to 20px */

    gap: 40px;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    background-color: #f4f7f6;

    scroll-margin-top: 50px; 

}

.header-content {

  width: 90%;

  max-width: 1200px;

  display: flex;

  justify-content: space-between;

  align-items: center; /* Keeps the button centered with the text block */

  text-align: left;

}



.text-group {

  display: flex;

  flex-direction: column;

  align-items: flex-start; /* This is the key: it snaps all text to the left edge */

  text-align: left;

}



.small-title {

  font-family: 'Poppins', sans-serif !important;

  font-size: 25px;

  font-weight: 600;

  color: #888;

  text-transform: uppercase;

  letter-spacing: 2px;

  margin-bottom: 5px; /* Reduced margin to match the tight look in the photo */

  display: block;

}



.main-heading {

  font-family: 'Poppins', sans-serif !important;

  font-size: 64px;

  line-height: 1.1;

  font-weight: 500;

  margin: 0;

  text-align: left;

}

/* 1. Update the heading text color */

.blue-text {

  color: #13539C;

}



/* 2. Update the Explore button color */

.explore-btn {

  font-family: 'Poppins', sans-serif !important;

  background-color: #13539C; 

  color: #fff;

  padding: 18px 40px;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 500;

  font-size: 16px;

  transition: all 0.3s ease;

  outline: none;

  display: inline-block;

}



/* 3. Update the icon circle background color */

.icon-circle {

  position: absolute;

  bottom: -30px;

  left: 25px;

  width: 65px;

  height: 65px;

  background-color: #13539C; 

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  border: 4px solid #fff;

  color: white;

  font-size: 24px;

  z-index: 10;

  transition: transform 0.3s ease;

  box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}



/* Updated hover state: slightly darker version of #13539C for better interaction */

.explore-btn:hover {

  background-color: #0f427d; 

  transform: translateY(-3px);

  box-shadow: 0 10px 20px rgba(19, 83, 156, 0.2);

}



/* Ensure no yellow light/outline remains */

.explore-btn:focus,

.explore-btn:active {

  outline: none !important;

  box-shadow: none !important;

}

.full-width-header {

  width: 100%;

  /* Darker blue overlay to make white text pop */

  

                url('https://rxglobalsmc.ph/wp-content/uploads/2026/04/rxglobalsmc_abtus-1.jpg');

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  padding: 120px 0 60px 0;

  display: flex;

  justify-content: center;

}



/* Change "OUR SERVICES" to white/light grey */

.small-title {

  font-family: 'Poppins', sans-serif !important;

  font-size: 25px;

  font-weight: 900;

  color: #f3c40f; /* Changed to solid white */

  text-transform: uppercase;

  letter-spacing: 2px;

  margin-bottom: 5px;

  display: block;

}



/* Change "Quality Healthcare" to pure white */

.blue-text {

  color: #ffffff !important;

}



/* Change "for a Better World" to pure white */

.black-text {

  color: #ffffff !important;

}



/* Ensure the main heading respects the white color */

.main-heading {

  font-family: 'Poppins', sans-serif !important;

  font-size: 64px;

  line-height: 1.1;

  font-weight: 800;

  margin: 0;

  color: #ffffff;

}



/* Update Button for better contrast against the new background */

.explore-btn {

  font-family: 'Poppins', sans-serif !important;

  background-color: #ffffff; /* White button */

  color: #13539C; /* Blue text */

  padding: 18px 40px;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 600;

  font-size: 16px;

  transition: all 0.3s ease;

  outline: none;

  display: inline-block;

}



.explore-btn:hover {

  background-color: #f0f0f0;

  transform: translateY(-3px);

  color: #0f427d;

}

/* Update the Card Sizing to ensure corners are clipped */

.card {

    background: #fff;

    width: 420px;

    /* This defines the roundness of the card corners */

    border-radius: 30px; 

    /* Essential: clips the top image corners to match the card radius */

    overflow: hidden !important; 

    box-shadow: 0 10px 20px rgba(0,0,0,0.05);

    cursor: pointer;

    position: relative;

    user-select: none;

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

}

/* Update Manufacturer, Importer, and Distributor titles to Yellow */

.card-title {

    font-family: 'Poppins', sans-serif !important;

    margin: 10px 0 12px 0;

    font-size: 1.85rem;

    color: #f3c40f !important; /* Updated to brand yellow */

    font-weight: 900; 

    transition: color 0.3s ease;

}



/* Optional: Slight color shift on hover for better interaction */

.card:hover .card-title {

    color: #e2b60d !important;

}

/* Card Sizing - Added Yellow Border Lining */

.card {

    background: #fff;

    width: 420px;

    border-radius: 30px; 

    overflow: hidden !important; 

    

    /* ADDED: Yellow border lining */

    border: 2px solid #f3c40f; 

    

    box-shadow: 0 10px 20px rgba(0,0,0,0.05);

    cursor: pointer;

    position: relative;

    user-select: none;

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

}



/* Optional: Make the border glow slightly on hover */

.card:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(243, 196, 15, 0.2); /* Tinted shadow to match border */

    border-color: #e2b60d; /* Slightly darker gold on hover */

}



add effects when we click the services/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-ce61c62 *//* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.rx-presentation-layout {
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.rx-background-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.1) 50%), 
                      url('https://rxglobalsmc.ph/wp-content/uploads/2026/04/rxglobalsmc_abtus-5.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: fadeInBg 1.2s ease-out forwards;
}

.rx-content-overlay {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    /* Expanded for large screens */
    max-width: 1800px; 
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    margin: 0 auto;
}

.rx-main-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 85px;
    font-weight: 900; 
    line-height: 1.1;
    color: #13539C; 
    margin: 0;
    letter-spacing: -1px; 

    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

.rx-subheading-hero {
    font-size: 30px;
    font-weight: 800;
    color: #13539C;
    margin-top: 5px;
    white-space: nowrap; 

    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.8s forwards;
}

.rx-info-card-large {
    background: transparent; 
    border: 4px solid #f3c40f; 
    box-shadow: none; /* Usually looks better without a shadow if fully transparent */
    
    /* Keep other layout properties same as above */
    width: 100%;
    margin-top: 15px;
    border-radius: 40px;
    padding: 50px 70px;
    flex-grow: 0;
    height: auto;
    max-height: 65vh;
    overflow-y: auto;
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.rx-body-text {
    font-weight: 700; 
    color: #000000; 
    font-size: 21px; /* Increased font size for better fit in a bigger box */
    line-height: 1.6;
    text-align: left;
}

/* --- Animation Keyframes --- */
@keyframes fadeInBg {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- TEXT REVEAL MOTION --- */

/* The mask container that hides the text initially */
.rx-reveal-mask {
    display: block;
    overflow: hidden;
    margin-bottom: 5px;
}

/* The actual text item that moves */
.rx-reveal-item {
    display: inline-block;
    transform: translateY(115%); /* Start fully hidden below the mask */
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.8s ease;
    opacity: 0;
}

/* Triggered by the 'active' class from JavaScript */
.active .rx-reveal-item {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered Timing for a 'waterfall' feel */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.4s; }
.delay-4 { transition-delay: 0.6s; }

/* Refined floating effect for the Info Card */
.rx-info-card-large {
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(40px);
    opacity: 0;
}

.rx-info-card-large.active {
    transform: translateY(0);
    opacity: 1;
}
/* --- RESPONSIVE ADJUSTMENTS --- */

@media (max-width: 768px) {
    .rx-content-overlay {
        padding: 30px 20px; /* Reduced padding for mobile edges */
    }

    .rx-main-title {
        font-size: 48px; /* Scaled down from 85px */
        letter-spacing: -0.5px;
        white-space: normal; /* Allow text to wrap if title is long */
    }

    .rx-subheading-hero {
        font-size: 20px; /* Scaled down from 30px */
        white-space: normal; /* Allow wrap */
        line-height: 1.3;
    }

    .rx-info-card-large {
        padding: 30px 25px; /* Tighter padding inside the yellow box */
        border-width: 3px; /* Slightly thinner border for mobile */
        border-radius: 25px; /* Softer corners for small screens */
        max-height: 50vh; /* Prevents box from taking over the whole screen */
        margin-top: 25px;
    }

    .rx-body-text {
        font-size: 16px; /* Scaled down from 21px */
        line-height: 1.5;
    }

    .rx-background-photo {
        /* Optional: Change gradient to vertical for better text contrast on tall mobile screens */
        background-image: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 100%), 
                          url('https://rxglobalsmc.ph/wp-content/uploads/2026/04/rxglobalsmc_abtus-5.jpg');
    }
}

/* Extra small devices (phones under 480px) */
@media (max-width: 480px) {
    .rx-main-title {
        font-size: 38px;
    }
    
    .rx-info-card-large {
        padding: 20px;
    }
}/* End custom CSS */