/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/

/* Remove blank space above header */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Target all possible containers that might add space */
body>*:first-child {
    margin-top: 0 !important;
}

#page,
#content,
.site,
.site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure custom header has no top spacing */
.custom-header {
    margin-top: 0 !important;
}

/* Hide WordPress admin bar spacing if not logged in */
body.admin-bar .custom-header {
    margin-top: 0 !important;
}

/* Hide any Elementor header */
.elementor-location-header {
    display: none !important;
}

/* === Custom Header Styles === */
.custom-header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative !important;
    /* Normal flow, not fixed - v2 */
    top: auto !important;
    left: auto !important;
    z-index: 999;
    font-family: 'Inter', sans-serif;
    padding: 8px 0;
}

.custom-header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
}

.custom-header .logo img {
    height: 65px;
    transition: transform 0.3s ease;
}

.custom-header .logo img:hover {
    transform: scale(1.05);
}

/* Menu */
.custom-header .main-nav .menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.custom-header .main-nav .menu li {
    position: relative;
}

.custom-header .main-nav .menu li a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.custom-header .main-nav .menu li a:hover {
    color: #B83D48;
}

/* Dropdown indicator for parent items */
.custom-header .main-nav .menu li.menu-item-has-children>a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.custom-header .main-nav .menu li.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

/* Submenu */
.custom-header .main-nav .menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 12px 0;
    min-width: 220px;
    border-radius: 12px;
    z-index: 999;
    margin-top: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-header .main-nav .menu li:hover>ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-header .main-nav .menu li ul.sub-menu li {
    margin: 0;
}

.custom-header .main-nav .menu li ul.sub-menu li a {
    padding: 12px 24px;
    display: block;
    font-weight: 400;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.custom-header .main-nav .menu li ul.sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, #2F6886, #B83D48);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.custom-header .main-nav .menu li ul.sub-menu li a:hover {
    background: linear-gradient(90deg, rgba(47, 104, 134, 0.05), transparent);
    color: #B83D48;
    padding-left: 28px;
}

.custom-header .main-nav .menu li ul.sub-menu li a:hover::before {
    transform: scaleY(1);
}

/* CTA */
.custom-header .header-cta .cta-button {
    background: linear-gradient(135deg, #2F6886, #B83D48);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 104, 134, 0.2);
}

.custom-header .header-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(47, 104, 134, 0.3);
}

/* Mobile toggle - Hamburger Animation */
.custom-header .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.custom-header .mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #1f2937;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hide hamburger when menu is open */
.custom-header .mobile-menu-toggle.active {
    opacity: 0;
    pointer-events: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Contact Section - HIDE ON DESKTOP */
.mobile-menu-contact {
    display: none;
}

/* Mobile Menu Header - HIDE ON DESKTOP */
.mobile-menu-header {
    display: none;
}

/* Responsive */
@media(max-width:992px) {

    /* Larger logo on mobile */
    .custom-header .logo img {
        height: 80px;
    }

    /* Hide CTA on mobile */
    .custom-header .header-cta {
        display: none;
    }

    .custom-header .mobile-menu-toggle {
        display: flex;
    }

    /* Mega Menu Mobile Styles - FULL WIDTH */
    .custom-header .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        flex-direction: column;
        padding: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 999;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .custom-header .main-nav.active {
        right: 0;
    }

    /* Fixed Mobile Menu Header */
    .mobile-menu-header {
        display: flex;
        position: sticky;
        top: 0;
        background: linear-gradient(135deg, #ffffff, #f8f9fa);
        padding: 20px 25px;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid rgba(0, 0, 0, 0.08);
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .mobile-menu-header h3 {
        font-size: 24px;
        font-weight: 700;
        margin: 0;
        background: linear-gradient(135deg, #2F6886, #B83D48);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .mobile-menu-close {
        width: 40px;
        height: 40px;
        background: transparent;
        border: 2px solid #1f2937;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .mobile-menu-close:hover {
        background: linear-gradient(135deg, #2F6886, #B83D48);
        border-color: transparent;
        transform: rotate(90deg);
    }

    .mobile-menu-close::before,
    .mobile-menu-close::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 2px;
        background: #1f2937;
        transition: background 0.3s ease;
    }

    .mobile-menu-close:hover::before,
    .mobile-menu-close:hover::after {
        background: #fff;
    }

    .mobile-menu-close::before {
        transform: rotate(45deg);
    }

    .mobile-menu-close::after {
        transform: rotate(-45deg);
    }

    .custom-header .main-nav .menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0 0 20px 0;
    }

    .custom-header .main-nav .menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .custom-header .main-nav .menu li a {
        padding: 16px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 16px;
        font-weight: 500;
        position: relative;
    }

    .custom-header .main-nav .menu li a:hover {
        background: rgba(47, 104, 134, 0.05);
    }

    /* Mobile dropdown indicator */
    .custom-header .main-nav .menu li.menu-item-has-children>a::after {
        border: none;
        content: '+';
        font-size: 24px;
        font-weight: 300;
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    .custom-header .main-nav .menu li.menu-item-has-children.submenu-open>a::after {
        content: '−';
        transform: rotate(0deg);
    }

    /* Mobile Submenu */
    .custom-header .main-nav .menu li ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        border: none;
        background: rgba(47, 104, 134, 0.03);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .custom-header .main-nav .menu li.submenu-open>ul.sub-menu {
        max-height: 500px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .custom-header .main-nav .menu li ul.sub-menu li {
        border-bottom: none;
    }

    .custom-header .main-nav .menu li ul.sub-menu li a {
        padding: 14px 25px 14px 45px;
        font-size: 15px;
        font-weight: 400;
    }

    .custom-header .main-nav .menu li ul.sub-menu li a::before {
        display: none;
    }

    .custom-header .main-nav .menu li ul.sub-menu li a:hover {
        padding-left: 45px;
        background: rgba(47, 104, 134, 0.08);
    }

    /* Mobile Menu Contact Section - SHOW ON MOBILE */
    .mobile-menu-contact {
        display: block;
        margin-top: auto;
        padding: 25px;
        border-top: 2px solid rgba(0, 0, 0, 0.08);
        background: linear-gradient(135deg, rgba(47, 104, 134, 0.03), rgba(184, 61, 72, 0.03));
    }

    .mobile-menu-cta {
        margin-bottom: 20px;
    }

    .mobile-menu-cta .cta-button {
        display: block;
        width: 100%;
        text-align: center;
        background: linear-gradient(135deg, #2F6886, #B83D48);
        color: #fff;
        padding: 14px 24px;
        border-radius: 10px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(47, 104, 134, 0.3);
        transition: all 0.3s ease;
    }

    .mobile-menu-cta .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(47, 104, 134, 0.4);
    }

    .mobile-contact-info h4 {
        font-size: 14px;
        font-weight: 600;
        color: #1f2937;
        margin: 0 0 12px 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        color: #1f2937;
        text-decoration: none;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .mobile-contact-item:hover {
        background: rgba(47, 104, 134, 0.08);
        transform: translateX(5px);
    }

    .mobile-contact-item svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .mobile-contact-item .icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #2F6886, #B83D48);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-contact-item .icon svg {
        fill: #fff;
    }

    .mobile-contact-item .contact-text {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
    }

    .mobile-contact-item .contact-text small {
        display: block;
        font-size: 12px;
        opacity: 0.7;
        font-weight: 400;
    }
}

/* === Footer Image Section === */
.footer-image-link {
    display: block;
    text-decoration: none;
    width: 80%;
    margin: 60px auto 40px;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 10;
}

.footer-image-link:hover {
    opacity: 0.9;
}

.footer-image-section {
    width: 100%;
    background: #ffffff;
    padding: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 300px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* Responsive widths and heights for footer image */
@media (max-width: 992px) {
    .footer-image-link {
        width: 95%;
    }

    .footer-image-section {
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .footer-image-link {
        width: 95%;
    }

    .footer-image-section {
        min-height: 200px;
    }
}

/* === Custom Footer Styles === */
.custom-footer {
    width: 100%;
    background: #1a1f2c;
    color: #e5e5e5;
    font-family: 'Inter', sans-serif;
    margin-top: 0;
    padding-top: 0;
    position: relative;
    overflow: hidden;
    clear: both;
}

.custom-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2F6886, #B83D48);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h3.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2F6886, #B83D48);
    border-radius: 2px;
}

/* Footer About Section */
.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-about .footer-logo img:hover {
    transform: scale(1.05);
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: #ffffff;
    margin: 0 0 25px 0;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e5e5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #2F6886, #B83D48);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: transparent;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.social-link:hover svg {
    color: #ffffff;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 15px;
}

.footer-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 6px;
    height: 2px;
    background: linear-gradient(90deg, #2F6886, #B83D48);
    transition: width 0.3s ease;
}

.footer-menu li a:hover {
    color: #ffffff;
    padding-left: 20px;
}

.footer-menu li a:hover::before {
    width: 12px;
}



/* Footer Contact */
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact .contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.footer-contact .contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: #B83D48;
}

.footer-contact .contact-item span,
.footer-contact .contact-item a {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
    color: #ffffff;
}

.footer-contact .contact-item div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #2F6886, #B83D48);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 40px 0 30px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .custom-footer {
        margin-top: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 35px 0 25px;
    }

    .footer-about {
        grid-column: auto;
    }

    .footer-column h3.footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-description {
        font-size: 13px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .copyright {
        font-size: 13px;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

/* Hide Elementor Footer */
.elementor-location-footer {
    display: none !important;
}

/* === Privacy Policy Styles === */
.gmedex-privacy-header {
    text-align: center !important;
    margin-bottom: 40px !important;
    padding-bottom: 25px !important;
    border-bottom: 3px solid var(--primary-blue) !important;
}

.gmedex-privacy-main-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--primary-blue) !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
}

.gmedex-privacy-updated {
    font-size: 13px !important;
    color: var(--medium-text) !important;
    font-style: italic !important;
    margin: 0 !important;
}

.gmedex-privacy-intro-card {
    background: var(--white) !important;
    border-radius: var(--radius-md) !important;
    padding: 30px !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid var(--border-color) !important;
    margin-bottom: 40px !important;
    text-align: center !important;
}

.gmedex-intro-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--medium-text) !important;
    margin: 0 !important;
}

.gmedex-privacy-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    margin-bottom: 40px !important;
}

.gmedex-privacy-card {
    background: var(--white) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid var(--border-color) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.gmedex-privacy-card:hover {
    box-shadow: var(--shadow-md) !important;
}

.gmedex-privacy-card-header {
    background: var(--gradient-light) !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    border-bottom: 2px solid var(--border-color) !important;
}

.gmedex-privacy-number {
    width: 42px !important;
    height: 42px !important;
    background: var(--gradient-primary) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--white) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(47, 104, 134, 0.2) !important;
}

.gmedex-privacy-card-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--dark-text) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.gmedex-privacy-card-body {
    padding: 20px !important;
}

.gmedex-privacy-card-body p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--medium-text) !important;
    margin: 0 0 15px 0 !important;
}

.gmedex-privacy-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gmedex-privacy-list li {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: var(--medium-text) !important;
    margin-bottom: 10px !important;
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
}

.gmedex-privacy-list li i {
    color: var(--primary-blue) !important;
    font-size: 14px !important;
    margin-top: 3px !important;
    flex-shrink: 0 !important;
}

.gmedex-privacy-list li strong {
    color: var(--dark-text) !important;
    font-weight: 600 !important;
}

.gmedex-privacy-contact-section {
    margin-top: 50px !important;
}

.gmedex-privacy-contact-card {
    background: var(--gradient-light) !important;
    border-radius: var(--radius-md) !important;
    padding: 35px !important;
    text-align: center !important;
    border: 2px solid var(--border-color) !important;
}

.gmedex-contact-icon {
    width: 70px !important;
    height: 70px !important;
    background: var(--gradient-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
    box-shadow: 0 14px 35px rgba(47, 104, 134, 0.25) !important;
}

.gmedex-contact-icon i {
    font-size: 28px !important;
    color: var(--white) !important;
}

.gmedex-contact-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--dark-text) !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.3 !important;
}

.gmedex-contact-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--medium-text) !important;
    margin: 0 0 25px 0 !important;
}

.gmedex-contact-details {
    background: var(--white) !important;
    border-radius: var(--radius-md) !important;
    padding: 25px !important;
    box-shadow: var(--shadow-sm) !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

.gmedex-contact-details p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--medium-text) !important;
    margin: 8px 0 !important;
}

.gmedex-contact-details strong {
    color: var(--dark-text) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.gmedex-contact-details a {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.gmedex-contact-details a:hover {
    color: var(--primary-red) !important;
    text-decoration: underline !important;
}

/* Responsive Privacy Policy */
@media (max-width: 992px) {
    .gmedex-privacy-main-title {
        font-size: 28px !important;
    }

    .gmedex-privacy-card-title {
        font-size: 16px !important;
    }

    .gmedex-contact-title {
        font-size: 20px !important;
    }
}

@media (max-width: 768px) {
    .gmedex-privacy-header {
        margin-bottom: 30px !important;
        padding-bottom: 20px !important;
    }

    .gmedex-privacy-main-title {
        font-size: 24px !important;
    }

    .gmedex-privacy-intro-card {
        padding: 25px !important;
    }

    .gmedex-privacy-card-header {
        padding: 15px !important;
    }

    .gmedex-privacy-number {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }

    .gmedex-privacy-card-title {
        font-size: 15px !important;
    }

    .gmedex-privacy-card-body {
        padding: 15px !important;
    }

    .gmedex-privacy-contact-card {
        padding: 25px !important;
    }

    .gmedex-contact-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .gmedex-contact-icon i {
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    .gmedex-privacy-main-title {
        font-size: 22px !important;
    }

    .gmedex-privacy-intro-card {
        padding: 20px !important;
    }

    .gmedex-intro-text {
        font-size: 13px !important;
    }

    .gmedex-privacy-card-header {
        padding: 12px !important;
        gap: 12px !important;
    }

    .gmedex-privacy-number {
        width: 35px !important;
        height: 35px !important;
        font-size: 13px !important;
    }

    .gmedex-privacy-card-title {
        font-size: 14px !important;
    }

    .gmedex-privacy-card-body {
        padding: 12px !important;
    }

    .gmedex-contact-details {
        padding: 20px !important;
    }
}
.gmedex-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.gmedex-compact-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.gmedex-compact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gmedex-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.gmedex-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 35px rgba(47, 104, 134, 0.25);
}

.gmedex-icon-box i {
    font-size: 28px;
    color: var(--white);
}

.gmedex-compact-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--dark-text) !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.gmedex-compact-text {
    font-size: 14px !important;
    color: var(--medium-text) !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

@media (max-width: 1200px) {
    .gmedex-compact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .gmedex-compact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
        margin: 30px auto;
    }
    
    .gmedex-compact-card {
        padding: 30px 25px;
    }
    
    .gmedex-icon-box {
        width: 65px;
        height: 65px;
    }
    
    .gmedex-icon-box i {
        font-size: 26px;
    }
    
    .gmedex-compact-title {
        font-size: 17px !important;
    }
    
    .gmedex-compact-text {
        font-size: 13.5px !important;
    }
}

@media (max-width: 480px) {
    .gmedex-compact-card {
        padding: 25px 20px;
    }
    
    .gmedex-icon-box {
        width: 60px;
        height: 60px;
    }
    
    .gmedex-icon-box i {
        font-size: 24px;
    }
    
    .gmedex-compact-title {
        font-size: 16px !important;
    }
    
    .gmedex-compact-text {
        font-size: 13px !important;
    }
}