/* ============================================
   MEDICAL/HEALTHCARE + SaaS THEME
   Modern, Professional, Clean Design
   ============================================ */

:root {
    /* Medical/Healthcare Color Palette */
    --primary-blue: #0d6efd;
    --secondary-teal: #20c997;
    --accent-sky: #00b4d8;
    --medical-green: #28a745;
    --dark-navy: #012a4a;
    --light-blue: #e7f3ff;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --text-dark: #212529;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #00b4d8 100%);
    --gradient-medical: linear-gradient(135deg, #20c997 0%, #0d6efd 100%);
    --gradient-hero: linear-gradient(135deg, #012a4a 0%, #0d6efd 50%, #20c997 100%);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

/* Font Awesome Icons Display Fix */
.fa, .fas, .far, .fal, .fab {
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

/* Ensure icons are visible */
i.fa, i.fas, i.far, i.fal, i.fab {
    opacity: 1 !important;
    visibility: visible !important;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-navy);
}

/* Primary Color */
.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary-custom {
    background: var(--gradient-primary) !important;
}

.text-teal {
    color: var(--secondary-teal) !important;
}

/* ============================================
   BUSINESS PROFESSIONAL FORM PAGE STYLING
   ============================================ */

.business-form-hero {
    position: relative;
    padding: 40px 0;
}

.ptb-60 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.business-form-wrapper {
    background: transparent;
    border-radius: 12px;
    box-shadow: none;
    overflow: visible;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.business-form-wrapper .row {
    margin-left: -10px;
    margin-right: -10px;
}

.business-form-wrapper .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.business-info-panel {
    background: linear-gradient(135deg, #012a4a 0%, #0d6efd 100%);
    padding: 2.5rem 2rem;
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(1, 42, 74, 0.28);
}

.business-info-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.business-logo-section {
    text-align: left;
    width: 100%;
}

.business-logo {
    max-width: 180px;
    filter: brightness(0) invert(1);
    display: block;
}

.business-benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item-green .benefit-icon {
    background: rgba(32, 201, 151, 0.2);
}

.benefit-item-green .benefit-icon i {
    color: #20c997;
}

.benefit-item-blue .benefit-icon {
    background: rgba(100, 200, 255, 0.2);
}

.benefit-item-blue .benefit-icon i {
    color: #64c8ff;
}

.benefit-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.3rem;
    color: #20c997;
    display: block;
    line-height: 1;
}

.benefit-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.business-trust-section {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    width: 100%;
}

.trust-stats {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.business-form-panel {
    background: white;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: flex-start;
    min-height: auto;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(13, 110, 253, 0.16);
    border: 1px solid #e8eef7;
}

.business-form-card {
    max-width: 100%;
    width: 100%;
}

.form-header-section {
    text-align: left;
    margin-bottom: 1.5rem;
    width: 100%;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1.2rem;
}

.form-header-section h3 {
    font-family: 'Poppins', sans-serif;
    color: #012a4a;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.form-header-section p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.form-group-business {
    margin-bottom: 1rem;
    width: 100%;
}

.form-group-business label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: left;
}

.form-control-business {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
    display: block;
    font-family: inherit;
}

.form-control-business:focus {
    outline: none;
    border-color: #0d6efd;
    background: white;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.form-control-business::placeholder {
    color: #999;
}

.form-control-business[type="text"],
.form-control-business[type="email"] {
    height: auto;
}

.form-control-business textarea {
    padding: 12px 14px;
    min-height: 90px;
    resize: vertical;
    font-family: inherit;
}

.btn-business-submit {
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-business-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    color: white;
    background: linear-gradient(135deg, #0056b3, #0d6efd);
}

.btn-business-submit:active {
    transform: translateY(0);
}

.form-security-note {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
}

.form-security-note small {
    color: #666;
    font-size: 0.85rem;
}

.form-security-note i {
    color: #28a745;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    width: 100%;
    text-align: left;
}

@media (max-width: 991px) {
    .business-info-panel {
        padding: 2.5rem 2rem;
        min-height: auto;
    }
    
    .business-form-panel {
        padding: 2.5rem 2rem;
    }
    
    .business-form-wrapper .row {
        flex-direction: column-reverse;
        margin-left: -6px;
        margin-right: -6px;
    }

    .business-form-wrapper .row > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

    .business-info-panel {
        margin-top: 12px;
    }
    
    .trust-stats {
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .business-form-hero {
        padding: 50px 0;
    }
    
    .business-info-panel {
        padding: 2rem 1.5rem;
    }
    
    .business-form-panel {
        padding: 2rem 1.5rem;
    }
    
    .business-logo {
        max-width: 140px;
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ============================================
   OLD FORM PAGE STYLING (Kept for compatibility)
   ============================================ */

.form-page-hero {
    position: relative;
    padding: 60px 0;
}

.professional-form-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    overflow: hidden;
    margin-top: 1.5rem;
}

.professional-form-wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.professional-form-wrapper .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.form-info-panel {
    background: linear-gradient(135deg, #012a4a 0%, #0d6efd 100%);
    padding: 3rem 2.5rem;
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.form-info-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-logo {
    max-width: 160px;
    filter: brightness(0) invert(1);
}

.form-info-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-benefits-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.form-benefits-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.7;
}

.form-trust-badge {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Floating Contact Icons */
.floating-contact-icons {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.floating-icon:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.phone-icon {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.email-icon {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.form-panel {
    background: white;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
}

.form-card {
    max-width: 100%;
    width: 100%;
}

.form-card-header {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.form-card-header h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
    color: #012a4a;
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
}

.form-card-header p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

#Whatsappform {
    width: 100%;
}

#Whatsappform .form-row {
    margin-left: 0;
    margin-right: 0;
}

#Whatsappform .form-row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.form-group-modern {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group-modern label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: left;
}

.input-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 2;
    font-size: 1rem;
    pointer-events: none;
}

.textarea-icon {
    top: 18px !important;
    transform: none !important;
}


.form-control-modern {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
    display: block;
    font-family: inherit;
}

.form-control-modern:focus {
    outline: none;
    border-color: #0d6efd;
    background: white;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.form-control-modern::placeholder {
    color: #999;
}

.form-control-modern[type="text"],
.form-control-modern[type="email"] {
    height: auto;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
    width: 100%;
}

.btn-submit-form {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-submit-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    color: white;
    background: linear-gradient(135deg, #0056b3, #0d6efd);
}

.form-note {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
}

.form-note small {
    color: #666;
    font-size: 0.85rem;
}

.form-note i {
    color: #28a745;
}

.btn-submit-form {
    width: 100%;
    display: block;
    text-align: center;
}

@media (max-width: 991px) {
    .form-info-panel {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    
    .form-panel {
        padding: 2rem 1.5rem;
    }
    
    .professional-form-wrapper .row {
        flex-direction: column-reverse;
    }
    
    .floating-contact-icons {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .form-page-hero {
        padding: 40px 0;
    }
    
    .form-info-panel {
        padding: 2rem 1.5rem;
    }
    
    .form-panel {
        padding: 2rem 1.5rem;
    }
    
    .form-logo {
        max-width: 120px;
    }
}

/* ============================================
   POPUP MODAL STYLING
   ============================================ */

.demo-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.demo-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.demo-popup-container {
    position: relative;
    z-index: 10000;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.demo-popup-content {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Left Panel - Dark Blue */
.demo-popup-left {
    width: 40%;
    background: linear-gradient(135deg, #012a4a 0%, #0d6efd 100%);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.demo-logo-wrapper {
    margin-bottom: 1.5rem;
    text-align: center;
}

.demo-popup-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.demo-brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-align: center;
}

.demo-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.demo-icon-box {
    text-align: center;
    margin: 2rem 0;
}

.demo-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: auto;
}

.demo-stat-box {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1.2rem 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.demo-stat-box:last-child {
    grid-column: 1 / -1;
}

.demo-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.demo-stat-label {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Right Panel - White Form */
.demo-popup-right {
    width: 60%;
    padding: 2.5rem;
    position: relative;
    background: white;
}

.demo-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.demo-popup-close:hover {
    background: #f0f0f0;
    transform: rotate(90deg);
}

.demo-popup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #012a4a;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.demo-popup-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.demo-popup-form {
    margin-top: 1.5rem;
}

.demo-form-group {
    margin-bottom: 1.5rem;
}

.demo-form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.demo-input-wrapper {
    position: relative;
}

.demo-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
}

.demo-form-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.demo-form-input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.demo-mobile-wrapper {
    display: flex;
    gap: 10px;
}

.demo-country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.demo-mobile-input {
    padding-left: 15px !important;
    flex: 1;
}

.demo-error-msg {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.demo-recaptcha {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.demo-recaptcha input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.demo-recaptcha label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.demo-recaptcha-logo {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.demo-privacy-link {
    font-size: 0.8rem;
    color: #0d6efd;
    text-decoration: none;
}

.demo-privacy-link:hover {
    text-decoration: underline;
}

.demo-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #012a4a 0%, #0d6efd 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.demo-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.3);
}

.demo-trust-indicator {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

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

/* Responsive */
@media (max-width: 768px) {
    .demo-popup-content {
        flex-direction: column;
    }
    
    .demo-popup-left {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .demo-popup-right {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .demo-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-stat-box:last-child {
        grid-column: 1;
    }
    
    .demo-brand-name {
        font-size: 2rem;
    }
}

/* ============================================
   PROMOTIONAL BANNER
   ============================================ */

.promo-banner {
    position: relative;
    z-index: 1051;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promo-banner.hidden {
    display: none;
}


@media (max-width: 768px) {
    .promo-banner {
        padding: 6px 0 !important;
    }
    
    .promo-banner .d-flex {
        flex-direction: column;
        gap: 6px !important;
        text-align: center;
    }
    
    .promo-banner span[style*="|"] {
        display: none;
    }
    
}

/* ============================================
   SITE NAVIGATION (global — menubar.php)
   Pill links, navy top bar, soft glass row
   ============================================ */

.header-main {
    background: var(--white) !important;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: box-shadow 0.25s ease;
    width: 100%;
}

/* Navy gradient top strip — phone / email */
#header-top-bar.site-topbar {
    background: linear-gradient(90deg, #011a33 0%, #062a4a 42%, #063d66 50%, #062a4a 58%, #011a33 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.42rem 0 !important;
}

#header-top-bar.site-topbar .topbar-text a {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

#header-top-bar.site-topbar .topbar-text a:hover {
    color: #ffffff !important;
}

#header-top-bar.site-topbar .fa,
#header-top-bar.site-topbar .fas {
    opacity: 0.85;
}

/* Main nav row */
.site-main-nav-wrap {
    position: relative;
    z-index: 1050;
    padding: 0.55rem 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    border-bottom: 1px solid rgba(13, 110, 253, 0.09) !important;
    box-shadow: 0 8px 32px rgba(1, 42, 74, 0.06);
}

.site-main-nav-wrap.affix {
    box-shadow: 0 10px 40px rgba(1, 42, 74, 0.12);
    border-bottom-color: rgba(13, 110, 253, 0.12) !important;
}

.header-main .navbar-brand {
    padding: 0 !important;
    margin-right: clamp(1rem, 3vw, 1.75rem) !important;
    display: flex;
    align-items: center;
}

.header-main .navbar-brand img {
    transition: transform 0.3s ease;
    max-width: clamp(120px, 18vw, 148px);
    height: auto;
}

.header-main .navbar-brand:hover img {
    transform: scale(1.03);
}

.site-primary-navbar {
    position: relative !important;
    align-items: center !important;
    width: 100%;
    padding: 0 !important;
}

#logoAndNav {
    position: relative;
    z-index: 1050;
}

.navbar-nav.site-nav-list,
.navbar-nav.main-navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.12rem 0.08rem !important;
}

@media (max-width: 991px) {
    .navbar-nav.site-nav-list {
        flex-wrap: wrap;
        row-gap: 0.35rem !important;
    }
}

@media (min-width: 992px) and (max-width: 1440px) {
    .navbar-nav .nav-link.site-nav-link {
        font-size: 0.875rem !important;
        padding: 0.45rem 0.58rem !important;
    }

    .site-nav-cta.btn {
        padding: 0.55rem 1.15rem !important;
        font-size: 0.8125rem !important;
    }
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
    margin: 0 !important;
    position: relative;
}

.nav-item.dropdown-mega {
    position: static;
}

.navbar-nav {
    position: relative;
}

/* Pill-style nav links */
.navbar-nav .nav-link.site-nav-link {
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    letter-spacing: 0.02em;
    color: #334155 !important;
    padding: 0.52rem 0.88rem !important;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}

.navbar-nav .nav-link.site-nav-link:hover,
.navbar-nav .nav-item.show > .nav-link.site-nav-link,
.nav-item.dropdown:hover > .nav-link.site-nav-link {
    color: #0b5ed7 !important;
    background: rgba(13, 110, 253, 0.1);
    box-shadow: none;
}

/* Remove old underline pseudo-element (not mega caret) */
.navbar-nav .nav-link.site-nav-link:not(.site-nav-link--mega)::after,
.navbar-nav .nav-link.site-nav-link:not(.site-nav-link--mega):hover::after {
    display: none !important;
    content: none !important;
}

/* CTA */
.site-nav-cta-wrap {
    margin-left: 0.5rem !important;
    padding-left: 0.35rem !important;
}

.header-nav-last-item.site-nav-cta-wrap {
    margin-left: 0.75rem !important;
}

.site-nav-cta.btn {
    white-space: nowrap !important;
    padding: 0.62rem 1.4rem !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #0d6efd 0%, #0096c7 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 22px rgba(13, 110, 253, 0.38) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.site-nav-cta.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(13, 110, 253, 0.45) !important;
    color: #ffffff !important;
}

/* Hamburger */
.site-nav-toggler {
    padding: 0.5rem 0.65rem !important;
    border-radius: 12px !important;
    border: 1px solid rgba(13, 110, 253, 0.28) !important;
    background: rgba(13, 110, 253, 0.06) !important;
}

.site-nav-toggler:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2) !important;
}

.site-nav-toggler .fas {
    color: #012a4a;
    font-size: 1.15rem;
}

/* Downloads / small dropdowns (not mega) */
.dropdown-menu.site-nav-dropdown {
    margin-top: 0.45rem !important;
    padding: 0.35rem 0 !important;
    border: 1px solid rgba(13, 110, 253, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 44px rgba(1, 42, 74, 0.12) !important;
    min-width: 210px;
}

.dropdown-menu.site-nav-dropdown .dropdown-item.site-nav-dropdown-item {
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155 !important;
    padding: 0.55rem 1.1rem;
}

.dropdown-menu.site-nav-dropdown .dropdown-item.site-nav-dropdown-item:hover,
.dropdown-menu.site-nav-dropdown .dropdown-item.site-nav-dropdown-item:focus {
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd !important;
}

@media (max-width: 991px) {
    .dropdown-menu.site-nav-dropdown {
        position: static !important;
        transform: none !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0.35rem !important;
        margin-bottom: 0.35rem !important;
        box-shadow: none !important;
        border: 1px solid rgba(13, 110, 253, 0.1) !important;
    }

    .dropdown-menu.site-nav-dropdown .dropdown-item.site-nav-dropdown-item {
        border-radius: 8px;
        margin: 0 0.25rem;
    }
}

/* Mobile / collapsed menu */
@media (max-width: 991px) {
    .site-nav-collapse {
        margin-top: 1rem;
        padding: 1rem 1rem 1.15rem;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid rgba(13, 110, 253, 0.12);
        box-shadow: 0 16px 48px rgba(1, 42, 74, 0.1);
    }

    .navbar-nav.site-nav-list {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link.site-nav-link {
        justify-content: flex-start;
        width: 100%;
        border-radius: 12px !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.9375rem !important;
    }

    .site-nav-cta-wrap {
        width: 100%;
        margin-left: 0 !important;
        padding: 0.75rem 0 0 !important;
        border-top: 1px solid rgba(13, 110, 253, 0.1);
        margin-top: 0.35rem;
    }

    .site-nav-cta.btn {
        width: 100%;
        text-align: center;
        display: block;
    }
}

/* Mobile: page overflow, header row, top bar, space for fixed bottom CTAs (main.css) */
@media (max-width: 991px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .site-primary-navbar.navbar > .container {
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
    }

    .site-primary-navbar.navbar {
        flex-wrap: wrap !important;
    }

    .header-main .navbar-brand.site-navbar-brand {
        margin-right: 0.5rem !important;
        max-width: calc(100% - 3.5rem);
        min-width: 0;
        flex: 1 1 auto;
    }

    .header-main .navbar-brand.site-navbar-brand .site-navbar-logo,
    .header-main .navbar-brand.site-navbar-brand img {
        max-width: min(124px, 40vw) !important;
    }

    .site-nav-toggler {
        flex-shrink: 0;
    }

    #navBar.navbar-collapse.site-nav-collapse {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        order: 3;
        min-width: 0;
    }

    /* Bootstrap collapse: ensure open panel is visible (override any stray rules) */
    #navBar.navbar-collapse.collapse.show {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    #navBar.navbar-collapse.collapsing {
        display: block !important;
        overflow: visible !important;
    }

    .navbar-nav .nav-link.site-nav-link {
        white-space: normal !important;
        word-break: break-word;
    }

    .dropdown-menu.mega-menu > .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    .main {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    #header-top-bar.site-topbar .row {
        justify-content: center;
        text-align: center;
    }

    #header-top-bar.site-topbar .topbar-text.text-right {
        text-align: center !important;
    }

    #header-top-bar.site-topbar .topbar-text a {
        font-size: 0.72rem !important;
        word-break: break-all;
    }
}

/* Use case anchor offset (fixed header) */
.use-cases-section .use-case-card,
.use-cases-section#use-cases {
    scroll-margin-top: 100px;
}

/* ============================================
   MEGA MENU STYLING
   ============================================ */

.dropdown-menu.mega-menu {
    width: auto !important;
    max-width: min(720px, 94vw) !important;
    min-width: min(480px, 94vw) !important;
    padding: 0 !important;
    margin-top: 8px !important;
    border: 1px solid rgba(13, 110, 253, 0.12) !important;
    box-shadow: 0 20px 50px rgba(1, 42, 74, 0.12) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #f8fcff 0%, #ffffff 18%) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    z-index: 1051 !important;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}

.nav-item.dropdown.show > .dropdown-menu.mega-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-menu.mega-menu::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
}

/* Ensure mega menu doesn't overflow on smaller screens */
@media (max-width: 1200px) {
    .dropdown-menu.mega-menu {
        width: 96% !important;
        max-width: 96% !important;
        min-width: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 768px) {
    .dropdown-menu.mega-menu {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }
}

.mega-menu-content {
    padding: 1.35rem 1.35rem 1.5rem;
}

.mega-menu-content > .row > [class*="col-"]:last-child .mega-menu-title {
    color: #0a58ca;
}

.mega-menu-content > .row > [class*="col-"]:last-child {
    background: linear-gradient(180deg, rgba(32, 201, 151, 0.06) 0%, rgba(13, 110, 253, 0.04) 100%);
    border-radius: 12px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mega-menu-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark-navy);
    margin-bottom: 0.85rem;
    padding-bottom: 0.4rem;
    border-bottom: none;
    display: block;
    position: relative;
}

.mega-menu-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    margin-top: 0.45rem;
    background: var(--gradient-primary);
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 0.35rem;
}

.mega-menu-list li a {
    color: var(--dark-gray) !important;
    text-decoration: none !important;
    font-size: 0.875rem;
    line-height: 1.35;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: block;
    padding: 0.42rem 0.35rem 0.42rem 1.35rem;
    position: relative;
    border-radius: 8px;
}

.mega-menu-list li a::before {
    content: '\f105';
    font-family: FontAwesome !important;
    font-weight: normal !important;
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 0.75rem;
    transition: left 0.2s ease;
}

.mega-menu-list li a:hover {
    color: var(--primary-blue) !important;
    background: rgba(13, 110, 253, 0.06);
    padding-left: 1.45rem;
}

.mega-menu-list li a:hover::before {
    left: 6px;
}

/* Bootstrap caret only when not using pill mega trigger */
.navbar-nav .dropdown-toggle.site-nav-link--mega::after {
    margin-left: 0.35rem !important;
    vertical-align: 0.12em !important;
    border: none !important;
    border-style: solid !important;
    border-color: currentColor !important;
    border-width: 0 1.5px 1.5px 0 !important;
    padding: 2.5px !important;
    width: 0 !important;
    height: 0 !important;
    transform: rotate(45deg) !important;
    opacity: 0.55;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-item.dropdown.show .dropdown-toggle.site-nav-link--mega::after,
.nav-item.dropdown:hover .dropdown-toggle.site-nav-link--mega::after {
    transform: rotate(-135deg) !important;
    margin-top: 2px;
    opacity: 0.85;
}

.navbar-nav .dropdown-toggle:not(.site-nav-link--mega)::after {
    margin-left: 0.5rem;
    vertical-align: 0.2em;
    border-top: 0.4em solid;
    border-right: 0.4em solid transparent;
    border-bottom: 0;
    border-left: 0.4em solid transparent;
    transition: transform 0.3s ease;
}

.nav-item.dropdown.show .dropdown-toggle:not(.site-nav-link--mega)::after {
    transform: rotate(180deg);
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown.show .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: fadeInDown 0.3s ease;
    }
}

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

.dropdown-menu.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

/* Mobile Menu — legacy overrides (site-nav-collapse handles pill layout) */
@media (max-width: 991px) {
    .navbar-nav:not(.site-nav-list) {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px 0;
    }

    .navbar-nav .nav-link:not(.site-nav-link) {
        padding: 12px 15px !important;
        width: 100%;
        border-bottom: 1px solid var(--medium-gray);
    }

    .header-nav-last-item:not(.site-nav-cta-wrap) {
        margin-left: 0 !important;
        padding-left: 15px !important;
        margin-top: 10px;
        width: 100%;
    }

    .header-nav-last-item:not(.site-nav-cta-wrap) .btn {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-menu.mega-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-shadow: none !important;
        border: 1px solid rgba(13, 110, 253, 0.15) !important;
        margin-top: 0.35rem !important;
        margin-bottom: 0.25rem !important;
        left: auto !important;
        float: none !important;
        border-radius: 12px !important;
    }
    
    .mega-menu-content {
        padding: 1.5rem 1rem;
    }
    
    .mega-menu-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .mega-menu-list li a {
        font-size: 0.9rem;
    }

    .dropdown-menu.mega-menu::before {
        display: none;
    }
}

/* ============================================
   HERO SLIDER STYLING
   ============================================ */

.hero-content-slider {
    position: relative;
}

.hero-content-slider .owl-item {
    transition: all 0.8s ease-in-out;
}

.hero-content-slider .owl-item.active .row {
    animation: slideInRight 0.8s ease-out;
}

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

.hero-content-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-content-slider .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.hero-content-slider .owl-dots .owl-dot.active {
    background: var(--secondary-teal);
    border-color: var(--secondary-teal);
    transform: scale(1.2);
}

.hero-content-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.hero-content-slider .owl-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content-slider .owl-nav button:hover {
    background: rgba(255,255,255,0.3);
    border-color: white;
    transform: scale(1.1);
}

.hero-content-slider .owl-nav button.owl-prev,
.hero-content-slider .owl-nav button.owl-next {
    position: relative;
}

/* ============================================
   MODERN HERO SECTION
   ============================================ */

.hero-modern {
    background-image: linear-gradient(110deg, rgba(9, 30, 66, 0.72), rgba(38, 84, 124, 0.56)), url('../image/home/lab-slider-bg.png'), url('../image/home/Laboratory-Management.png') !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding: 60px 0 40px;
    overflow: hidden;
    min-height: auto;
}

.hero-slider-section {
    background-image: linear-gradient(110deg, rgba(9, 30, 66, 0.72), rgba(38, 84, 124, 0.56)), url('../image/home/lab-slider-bg.png'), url('../image/home/Laboratory-Management.png') !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Alternative attractive gradient options */
/* Option 1: Purple to Blue */
/* background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%); */

/* Option 2: Blue to Teal (Light Medical) */
/* background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #43e97b 100%); */

/* Option 3: Pink to Orange */
/* background: linear-gradient(135deg, #fa709a 0%, #fee140 50%, #feca57 100%); */

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(110deg, rgba(9, 30, 66, 0.35), rgba(38, 84, 124, 0.22));
    opacity: 1;
}

.hero-modern .container {
    position: relative;
    z-index: 2;
}

.hero-modern h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-modern .lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 1.5rem;
}

.hero-feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.hero-feature-list li {
    color: rgba(255,255,255,0.95);
    padding: 0.5rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.hero-feature-list li i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    color: var(--secondary-teal);
}

/* ============================================
   MODERN BUTTONS
   ============================================ */

.btn-modern-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white) !important;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white) !important;
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white) !important;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-modern-outline:hover {
    background: var(--white);
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

.primary-solid-btn {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: var(--white) !important;
    padding: 14px 32px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow-md) !important;
}

.primary-solid-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
    color: var(--white) !important;
}

.outline-white-btn {
    background: transparent !important;
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

.outline-white-btn:hover {
    background: var(--white) !important;
    color: var(--primary-blue) !important;
    transform: translateY(-2px) !important;
}

/* ============================================
   MODERN CARDS
   ============================================ */

.card-modern {
    background: var(--white);
    border: none;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-modern:hover::before {
    transform: scaleX(1);
}

.card-modern .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: var(--gradient-medical);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.card-modern .icon-box i {
    font-size: 2rem;
    color: var(--white);
}

.single-promo-2 {
    border-radius: 15px !important;
    transition: all 0.3s ease !important;
    border: 2px solid var(--medium-gray) !important;
}

.single-promo-2:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary-blue) !important;
}

/* ============================================
   SECTION STYLING
   ============================================ */

.section-modern {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    color: var(--dark-navy) !important;
    font-weight: 700 !important;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

/* Features Page Modern Cards */
.feature-card-modern {
    transition: all 0.3s ease;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

.feature-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

/* Sample Report Preview Hover Effect */
.sample-report-preview {
    transition: all 0.3s ease;
}

.sample-report-preview:hover {
    transform: translateY(-5px);
}

.sample-report-preview img {
    transition: all 0.3s ease;
}

.sample-report-preview:hover img {
    transform: scale(1.02);
}

/* Interactive Report Annotations Styles */
.annotation-label {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.annotation-line {
    animation: fadeIn 1s ease-in;
}

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

/* Responsive Styles for Interactive Report Section */
@media (max-width: 991px) {
    .test-type-item {
        font-size: 0.9rem !important;
        padding: 0.75rem 0.9rem !important;
    }
    
    .annotation-label {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }
}

@media (max-width: 768px) {
    .annotation-label {
        font-size: 0.7rem !important;
        padding: 5px 10px !important;
    }
    
    .annotation-line {
        display: none;
    }
    
    .test-type-item {
        font-size: 0.85rem !important;
    }
}

/* Sample Report Popup Specific Styles */
#sampleReportPopupModal .demo-popup-container {
    max-width: 600px;
}

#sampleReportPopupModal .demo-popup-content {
    flex-direction: column;
}

#sampleReportPopupModal .demo-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

#sampleReportPopupModal .demo-form-input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    background: white;
}

.feature-card-modern {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid var(--medium-gray);
    height: 100%;
    position: relative;
}

.feature-card-modern:hover {
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card-modern .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-medical);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.feature-card-modern .feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

/* ============================================
   PRICING TABLES
   ============================================ */

.pricing-card-modern {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.pricing-card-modern.featured {
    border-color: var(--primary-blue);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card-modern .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 1.5rem 0;
}

/* ============================================
   STATISTICS/NUMBERS
   ============================================ */

.stat-box-modern {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-primary);
    border-radius: 15px;
    color: var(--white);
    margin-bottom: 2rem;
}

.stat-box-modern .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-box-modern .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================
   FORMS
   ============================================ */

.form-control-modern,
.form-control,
.input-form {
    border: 2px solid var(--medium-gray) !important;
    border-radius: 10px !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.form-control-modern:focus,
.form-control:focus,
.input-form:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15) !important;
    outline: none !important;
}

.contact-us-form {
    background: var(--gradient-medical) !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
}

/* ============================================
   FOOTER (site-footer — footer.php)
   ============================================ */

.site-footer {
    margin-top: 0;
}

.site-footer__upper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #010f1d 0%, #052038 38%, #063654 100%);
    color: rgba(255, 255, 255, 0.92);
}

.site-footer__upper::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: min(65vw, 520px);
    height: min(90vw, 520px);
    background: radial-gradient(circle at center, rgba(13, 110, 253, 0.14) 0%, transparent 62%);
    pointer-events: none;
}

.site-footer__upper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.12) 25%,
        rgba(32, 201, 151, 0.35) 50%,
        rgba(255, 255, 255, 0.12) 75%,
        transparent
    );
    pointer-events: none;
}

.site-footer__brand img {
    filter: brightness(1.05);
}

.site-footer__lead {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0;
    max-width: 26rem;
}

.site-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__badge .fa {
    opacity: 0.85;
    font-size: 0.85rem;
}

.site-footer__title {
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.15rem;
    padding-bottom: 0.65rem;
    border-bottom: none;
    position: relative;
}

.site-footer__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.5rem;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #20c997, #0d6efd);
}

.site-footer__title--follow {
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
}

.site-footer__address {
    font-size: 0.9rem;
    line-height: 1.75;
    font-style: normal;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__list li + li {
    margin-top: 0.35rem;
}

.site-footer__list a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.site-footer__list a:hover {
    color: #7ee8d8 !important;
}

.site-footer__list--legal li + li {
    margin-top: 0.25rem;
}

.site-footer__list--legal a {
    font-size: 0.82rem;
    opacity: 0.9;
}

.site-footer__list--compact a {
    font-size: 0.84rem;
}

.site-footer__contact-link {
    display: flex !important;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem !important;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
}

.site-footer__contact-link > span:last-child {
    min-width: 0;
    flex: 1;
    word-break: break-word;
}

.site-footer__contact-link:hover {
    color: #ffffff !important;
}

.site-footer__icon-wrap {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #7ee8d8;
    font-size: 0.85rem;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.site-footer__social-btn {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}

.site-footer__social-btn:hover {
    background: rgba(13, 110, 253, 0.35);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Bottom bar */
.site-footer__bottom,
.footer-bottom.site-footer__bottom {
    background: #000c18 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.site-footer__copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__payments {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.site-footer__payments img {
    height: 26px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0.92;
    background: rgba(255, 255, 255, 0.96);
    padding: 3px 6px;
}

@media (max-width: 767px) {
    .site-footer__payments {
        justify-content: flex-start;
    }

    .site-footer__copyright {
        text-align: center;
    }

    .site-footer__bottom .text-md-right {
        text-align: center !important;
    }
}

/* Legacy: keep .footer-section compatible with old pages */
.footer-modern,
.footer-section {
    color: inherit;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   CTA SECTIONS
   ============================================ */

.call-to-action {
    background: var(--gradient-medical) !important;
    border-radius: 0 !important;
}

.call-to-action h2 {
    color: var(--white) !important;
}

.call-to-action .text-white {
    color: var(--white) !important;
}

.solid-white-btn {
    background: var(--white) !important;
    color: var(--primary-blue) !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.solid-white-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
    color: var(--primary-blue) !important;
}

/* ============================================
   BACKGROUND SECTIONS
   ============================================ */

.bg-light-custom {
    background: var(--light-gray) !important;
}

.bg-medical-gradient {
    background: var(--gradient-medical) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-modern h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card-modern.featured {
        transform: scale(1);
        margin-top: 2rem;
    }
    
    .hero-modern {
        padding: 40px 0 30px;
    }
    
    .hero-modern h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-modern .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-feature-list li {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.bg-gradient-medical {
    background: var(--gradient-medical) !important;
}

.shadow-modern {
    box-shadow: var(--shadow-md);
}

.rounded-modern {
    border-radius: 15px;
}

.badge-medical {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   PRICING PLAN MODERN CARDS
   ============================================ */

.price-plan-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.price-plan-modern-card {
    position: relative;
    background: linear-gradient(165deg, #1a2dab 0%, #1f38c9 100%);
    color: #fff;
    border-radius: 22px;
    padding: 70px 22px 20px;
    box-shadow: 0 14px 32px rgba(29, 58, 164, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-plan-modern-card-featured {
    transform: none;
    box-shadow: 0 24px 44px rgba(15, 95, 180, 0.36);
}

.price-plan-modern-badge {
    position: absolute;
    top: -18px;
    left: 18px;
    background: linear-gradient(180deg, #ff9f2f 0%, #f58207 100%);
    color: #1f2128;
    border-radius: 12px;
    padding: 10px 15px 8px;
    min-width: 170px;
}

.price-plan-modern-badge strong {
    display: block;
    font-size: 33px;
    line-height: 1;
    font-weight: 700;
    color: #111827;
}

.price-plan-modern-badge span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #fff7ed;
}

.price-plan-modern-card h3 {
    color: #fff;
    font-size: 33px;
    font-weight: 700;
    margin-bottom: 14px;
}

.price-plan-modern-features {
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 560px;
}

.price-plan-modern-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #f4f8ff;
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.45;
}

.price-plan-modern-features i {
    margin-top: 1px;
    font-size: 14px;
    flex: 0 0 16px;
    font-style: normal;
}

.price-plan-modern-features .fa-check-circle:before {
    font-family: inherit !important;
    content: "🧪";
}

.price-plan-modern-features li:nth-child(8n+1) .fa-check-circle:before { content: "🧪"; }
.price-plan-modern-features li:nth-child(8n+2) .fa-check-circle:before { content: "🧾"; }
.price-plan-modern-features li:nth-child(8n+3) .fa-check-circle:before { content: "⚒️"; }
.price-plan-modern-features li:nth-child(8n+4) .fa-check-circle:before { content: "📊"; }
.price-plan-modern-features li:nth-child(8n+5) .fa-check-circle:before { content: "👨‍⚕️"; }
.price-plan-modern-features li:nth-child(8n+6) .fa-check-circle:before { content: "👩‍💼"; }
.price-plan-modern-features li:nth-child(8n+7) .fa-check-circle:before { content: "💬"; }
.price-plan-modern-features li:nth-child(8n) .fa-check-circle:before { content: "🎁"; }

.price-plan-modern-features li:nth-child(1) .fa-check-circle:before { content: "🧪"; }
.price-plan-modern-features li:nth-child(2) .fa-check-circle:before { content: "🧾"; }
.price-plan-modern-features li:nth-child(9) .fa-check-circle:before { content: "🧑‍🔬"; }
.price-plan-modern-features li:nth-child(11) .fa-check-circle:before { content: "📄"; }
.price-plan-modern-features li:nth-child(12) .fa-check-circle:before { content: "📅"; }
.price-plan-modern-features li:nth-child(13) .fa-check-circle:before { content: "⏰"; }
.price-plan-modern-features li:nth-child(19) .fa-check-circle:before { content: "💻"; }

.price-plan-modern-card .price-plan-modern-btn,
.price-plan-modern-card .price-plan-modern-btn:link,
.price-plan-modern-card .price-plan-modern-btn:visited,
.price-plan-modern-card .price-plan-modern-btn:active {
    margin: 16px auto 0;
    border-radius: 999px;
    background: #ff8c00 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    padding: 12px 28px;
    border: 2px solid #ffd18a;
    box-shadow: 0 8px 18px rgba(3, 7, 18, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 180px;
    width: fit-content;
    margin-top: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    transform: none !important;
    text-decoration: none !important;
    -webkit-text-fill-color: #ffffff !important;
    position: relative;
    z-index: 2;
}

.price-plan-modern-card .price-plan-modern-btn::before {
    content: "🛒";
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
}

.price-plan-modern-card .price-plan-modern-btn:hover,
.price-plan-modern-card .price-plan-modern-btn:focus {
    color: #ffffff !important;
    background: #ff8c00 !important;
    box-shadow: 0 8px 18px rgba(3, 7, 18, 0.24);
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none !important;
}

@media (max-width: 1199px) {
    .price-plan-modern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .price-plan-modern-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .price-plan-modern-card {
        padding: 62px 18px 18px;
    }

    .price-plan-modern-card h3 {
        font-size: 27px;
    }

    .price-plan-modern-features li {
        font-size: 15px;
    }

    .price-plan-modern-card-featured {
        transform: none;
    }

    .price-plan-modern-features {
        min-height: 0;
    }
}

/* ============================================
   FONT AWESOME FALLBACK FIX
   ============================================ */

/* main.css points to local FA6 font files that are missing.
   Force web-loaded FontAwesome (v4.7 CDN) so icons render reliably. */
.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-light,
.fa-thin,
.fa-duotone,
.fa-brands {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal !important;
}

/* ============================================
   GOOGLE REVIEWS SHOWCASE (homepage)
   Distinct from stacked-competitor look: teal stat,
   left accent bar, rotated fan cards, soft gradient field.
   ============================================ */

.google-reviews-showcase {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f3fbff 0%, #ffffff 42%);
}

.google-reviews-showcase::before {
    content: "";
    position: absolute;
    top: -25%;
    right: -12%;
    width: min(52vw, 520px);
    height: min(75vw, 520px);
    background: radial-gradient(ellipse at center, rgba(32, 201, 151, 0.12) 0%, transparent 68%);
    pointer-events: none;
}

.gr-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0b5ed7;
    background: rgba(13, 110, 253, 0.1);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
}

.gr-gradient-text {
    background: linear-gradient(90deg, #20c997 0%, #0d6efd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gr-summary-panel {
    background: var(--white);
    border-radius: 22px;
    padding: 2rem 1.85rem 1.75rem 2rem;
    border: 1px solid #e2ecf7;
    box-shadow: 0 14px 44px rgba(1, 42, 74, 0.09);
    position: relative;
}

.gr-summary-panel::after {
    content: "";
    position: absolute;
    left: 0;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 5px;
    border-radius: 0 6px 6px 0;
    background: var(--gradient-medical);
}

.gr-stat-number {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1;
    color: #20c997;
    margin-bottom: 0.35rem;
}

.gr-stat-label {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 0;
}

.gr-rating-line {
    font-size: 0.98rem;
    color: var(--dark-gray);
}

.btn-google-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.35rem;
    border-radius: 14px;
    border: 2px solid #e3eaf3;
    background: #fff;
    color: var(--dark-navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-google-cta:hover,
.btn-google-cta:focus {
    border-color: rgba(13, 110, 253, 0.55);
    color: #0d6efd;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.15);
    text-decoration: none;
}

.gr-google-icon {
    flex-shrink: 0;
}

.gr-external-icon {
    font-size: 0.78rem;
    opacity: 0.65;
    margin-left: 0.15rem;
}

.gr-cards-stack {
    position: relative;
    min-height: 340px;
    padding: 0.5rem 0 2.5rem 1.75rem;
}

.gr-card {
    position: absolute;
    background: #fff;
    border-radius: 18px;
    padding: 1.4rem 1.45rem 1.35rem;
    box-shadow: 0 18px 50px rgba(1, 42, 74, 0.11);
    border: 1px solid rgba(226, 236, 247, 0.95);
    width: 90%;
    max-width: 440px;
    right: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gr-card:hover {
    box-shadow: 0 22px 56px rgba(1, 42, 74, 0.14);
}

.gr-card:nth-child(1) {
    z-index: 3;
    top: 0;
    transform: rotate(-2deg);
}

.gr-card:nth-child(2) {
    z-index: 2;
    top: 3rem;
    right: 1.75rem;
    transform: rotate(2.5deg) scale(0.97);
    opacity: 0.93;
}

.gr-card:nth-child(3) {
    z-index: 1;
    top: 6rem;
    right: 0.15rem;
    transform: rotate(-1.2deg) scale(0.93);
    opacity: 0.88;
}

.gr-quote-icon {
    color: #7eb8ff;
    font-size: 1.25rem;
    opacity: 0.95;
}

.gr-card-text {
    font-size: 0.98rem;
    color: #374151;
    line-height: 1.65;
    margin: 0;
}

.gr-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(145deg, #0d6efd, #6ea8fe);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.gr-avatar-alt {
    background: linear-gradient(145deg, #20c997, #4ddbcc);
}

.gr-avatar-alt2 {
    background: linear-gradient(145deg, #012a4a, #3d6ea8);
}

.gr-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-navy);
    margin: 0;
    line-height: 1.25;
}

@media (max-width: 991px) {
    .gr-cards-stack {
        min-height: 0;
        padding: 0;
    }

    .gr-card {
        position: relative;
        width: 100%;
        max-width: none;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        opacity: 1 !important;
        margin-bottom: 1rem;
    }

    .gr-card:last-child {
        margin-bottom: 0;
    }
}

