/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px; /* Explicitly set base font size */
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Improved contrast for better readability */
p, li, td, th, label, input, textarea, select {
    color: #222; /* Darker text for better contrast */
    line-height: 1.7; /* Slightly increased line height */
}

a {
    text-decoration: underline; /* Make links more obvious */
}

/* Improved form elements for better readability */
input, select, textarea, button {
    font-size: 16px; /* Minimum 16px to prevent zoom on mobile */
    padding: 12px 15px; /* Larger touch targets */
}

button, .btn, .header-cta, .return-home-container .btn {
    font-weight: 600;
    padding: 12px 20px;
    font-size: 16px;
    letter-spacing: 0.3px; /* Slightly improved letter spacing */
}

/* Improved focus states for accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Improved contrast for links */
a:not(.btn):not(.header-cta):not(.nav-link):hover {
    color: #0d3d50;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header styles - redesigned for better conversions */
header {
    text-align: center;
    margin-bottom: 0;
    padding: 50px 30px 90px;
    border-radius: 0 0 0 0;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.85) 0%, rgba(52, 152, 219, 0.85) 100%), url('../images/telehealth-nurse.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-accent {
    position: absolute;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}

.accent-1 {
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
}

.accent-2 {
    bottom: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
}

.accent-3 {
    top: 40%;
    right: 25%;
    width: 100px;
    height: 100px;
    opacity: 0.6;
}

.logo-container {
    position: relative;
    z-index: 5;
    margin-bottom: 0;
}

.logo {
    max-width: 120px;
    height: auto;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-3px);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: white;
    margin-top: 0;
}

.subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

.header-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.header-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-feature i {
    margin-right: 8px;
    color: #2ecc71;
}

.header-cta-container {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.header-cta {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.header-cta-price {
    display: block;
    margin-top: 12px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Main content */
.intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    top: -30px;
    border-radius: 0 0 16px 16px; /* Rounded only at bottom to connect with header */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.intro-content {
    background-color: white;
    padding: 40px 50px;
}

.intro p {
    margin-bottom: 20px;
    color: #444;
    font-size: 1.15rem;
}

.intro strong {
    color: #1a5f7a;
    font-weight: 600;
}

.live-count-container {
    background: #f8fbfd;
    padding: 16px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.live-count-text {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 14px 20px;
    border-radius: 8px;
    position: relative;
    font-size: 1.05rem;
    color: #2c3e50;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.08);
    font-weight: 500;
}

.live-count-text:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: #27ae60;
    border-radius: 50%;
    margin-right: 12px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 rgba(39, 174, 96, 0.4);
    position: static;
    transform: none;
}

.live-count-text span {
    font-weight: 700;
    color: #27ae60;
    margin: 0 6px;
    font-size: 1.15rem;
}

/* Trust badges - redesigned */
.trust-badges-container {
    background: linear-gradient(135deg, #1a5f7a 0%, #3498db 100%);
    padding: 40px 30px;
    color: white;
}

.trust-badges-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 500;
    text-align: center;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed to 2 columns for consistent layout */
    gap: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px 20px;
}

.badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

/* Badge styling */
.badge-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.badge i {
    font-size: 1.8rem;
    color: white;
}

.badge-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

.badge-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Form container */
.form-container {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12); /* Slightly stronger shadow */
    margin-bottom: 60px;
    border-top: 5px solid #3498db;
    position: relative; /* Added for optional ribbon */
}

.form-container h2 {
    color: #1a5f7a;
    margin-bottom: 30px;
}

/* Optional ribbon for form */
.form-ribbon {
    position: absolute;
    top: -10px;
    right: 30px;
    background: #27ae60;
    color: white;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(39,174,96,0.3);
    z-index: 1;
}

/* Benefits section */
.benefits {
    margin-bottom: 60px;
}

h2 {
    font-size: 1.8rem;
    color: #1a5f7a;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3498db;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    list-style: none;
}

.benefits-list li {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.benefits-list li i {
    color: #27ae60;
    margin-right: 15px;
    font-size: 1.2rem;
    padding-top: 3px;
}

/* Guarantee section */
.guarantee {
    background-color: #e8f4fc;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 5px solid #2980b9;
}

.guarantee:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 8rem;
    color: rgba(41, 128, 185, 0.1);
    z-index: 0;
}

.guarantee h2 {
    color: #2980b9;
    margin-bottom: 20px;
}

.guarantee h2:after {
    background-color: #2980b9;
}

.guarantee p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* FAQ Section */
.faq {
    margin-bottom: 60px;
}

.faq h2 {
    margin-bottom: 30px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    background-color: #f9f9f9;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    color: #1a5f7a;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f7fb;
}

.faq-question i {
    margin-right: 10px;
    color: #3498db;
    transition: all 0.3s ease;
}

.faq-question i.fa-minus-circle {
    color: #27ae60;
}

.faq-answer {
    padding: 20px;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.faq-answer p {
    margin: 0;
    color: #555;
}

@media (max-width: 768px) {
    .faq-container {
        padding: 0 15px;
    }
}

/* Form placeholder - this is where you'll embed your Jotform */
.form-placeholder {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-top: 20px;
    border: 2px dashed #ccc;
    flex-direction: column;
}

.form-placeholder i {
    font-size: 3rem;
    color: #aaa;
    margin-bottom: 15px;
}

/* Footer styles - refined and polished */
footer {
    margin-top: 60px;
    color: #555;
    font-size: 0.95rem;
    background-color: #f9f9f9;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-top {
    background: linear-gradient(135deg, #1a5f7a 0%, #3498db 100%);
    padding: 50px 0 30px;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.08);
}

.footer-accent {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 0;
}

.footer-accent-1 {
    bottom: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
}

.footer-accent-2 {
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
}

.footer-logo {
    display: block;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: translateY(-5px);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-column {
    flex: 1;
    min-width: 240px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.footer-column h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(255,255,255,0.4);
}

.footer-column p {
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(3px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.15);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons a:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: white;
    padding: 25px 0;
    text-align: center;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.verification-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-legitscript {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.footer-legitscript img {
    max-width: 120px;
    margin-right: 20px;
}

.footer-legitscript .badge-content {
    text-align: left;
}

.footer-legitscript .badge-title {
    color: #1a5f7a;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.footer-legitscript .badge-description {
    color: #555;
    font-size: 0.9rem;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.07);
    padding-top: 20px;
}

.copyright a {
    color: #1a5f7a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #3498db;
}

/* Enhanced responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-column {
        min-width: 100%;
        margin-bottom: 25px;
    }
    
    .footer-column h3 {
        text-align: center;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul {
        text-align: center;
    }
    
    .footer-column p {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Make mobile sticky CTA visible on mobile */
    .mobile-sticky-cta {
        display: block !important; /* Use !important to ensure it's displayed */
    }
    
    /* Medium screens form adjustments */
    .form-container {
        padding: 30px 25px;
    }
    
    /* Add additional space at the bottom to account for sticky CTA */
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 576px) {
    .footer-legitscript {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .footer-legitscript img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-legitscript .badge-content {
        text-align: center;
    }
    
    /* Make form container wider on mobile */
    .form-container {
        padding: 20px 10px; /* Reduced horizontal padding */
        border-radius: 8px;
        margin-left: -10px; /* Negative margin to expand the container */
        margin-right: -10px;
        width: calc(100% + 20px); /* Compensate for the negative margins */
    }
    
    /* Ensure form elements expand properly */
    .form-container iframe {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important; /* Remove any margins on the iframe */
    }
    
    /* Reduce size of other elements to give more space to the form */
    .urgency-banner, .pricing-info, .live-count-indicator, .form-progress {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    /* Adjust form title and progress spacing */
    .form-container h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    /* Ensure the Jotform container has proper width */
    .jotform-container {
        width: 100% !important;
        padding: 0 !important;
        overflow: visible !important;
    }
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
    display: none; /* Hidden by default, shown on mobile via media query */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 15px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.close-sticky-cta {
    position: absolute;
    top: 50%;
    left: 10px; /* Position on the left side */
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(0,0,0,0.1);
    color: #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s ease;
    /* Ensure the close button is clickable */
    pointer-events: auto;
}

.close-sticky-cta:hover {
    background-color: rgba(0,0,0,0.2);
    color: #333;
    transform: translateY(-50%) scale(1.1);
}

.mobile-sticky-cta button {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 50px;
    width: 90%;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    transition: all 0.3s ease;
}

.mobile-sticky-cta button:hover {
    background-color: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(39, 174, 96, 0.4);
}

.mobile-sticky-cta p {
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: #555;
}

/* Recent Purchase Notification */
.recent-purchase {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    max-width: 320px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease;
}

.recent-purchase.show {
    transform: translateY(0);
    opacity: 1;
}

.recent-purchase .avatar {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #555;
    font-weight: bold;
}

.recent-purchase .content {
    flex: 1;
}

.recent-purchase .name {
    font-weight: bold;
    margin-bottom: 3px;
}

.recent-purchase .time {
    font-size: 0.8rem;
    color: #777;
}

.recent-purchase .close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.8rem;
    color: #777;
    cursor: pointer;
}

/* Standardized live count styling */
.live-count-indicator {
    display: flex;
    align-items: center;
    background-color: rgba(0,0,0,0.05);
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #27ae60;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    animation: pulse 2s infinite;
}

.count-text {
    font-size: 1.05rem;
}

.count-number {
    font-weight: bold;
    color: #1a5f7a;
}

/* Enhanced responsive adjustments */
@media (max-width: 992px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        border-radius: 8px;
    }
    
    .main-nav {
        border-radius: 8px 8px 0 0;
    }
    
    header {
        padding: 40px 20px 70px;
        background-position: center top;
        border-radius: 0;
    }
    
    .logo-container {
        margin-bottom: 25px;
        max-width: 150px;
    }
    
    h1 {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .header-features {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .header-feature {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .header-cta {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
    
    .footer-column {
        min-width: 100%;
        margin-bottom: 25px;
    }
    
    .footer-column h3 {
        text-align: center;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul {
        text-align: center;
    }
    
    .footer-column p {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Make mobile sticky CTA visible on mobile */
    .mobile-sticky-cta {
        display: block !important; /* Use !important to ensure it's displayed */
    }
    
    /* Medium screens form adjustments */
    .form-container {
        padding: 30px 25px;
    }
    
    /* Add additional space at the bottom to account for sticky CTA */
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 10px;
        border-radius: 6px;
    }
    
    .main-nav {
        border-radius: 6px 6px 0 0;
    }
    
    header {
        padding: 20px 15px 60px;
    }
    
    .logo-container {
        margin-bottom: 20px;
        max-width: 120px;
    }
    
    h1 {
        font-size: 1.9rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .header-features {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .header-feature {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .trust-badges {
        grid-template-columns: 1fr; /* 1 column on small screens */
        gap: 20px;
    }
    
    .footer-legitscript {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .footer-legitscript img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-legitscript .badge-content {
        text-align: center;
    }
    
    .live-count-text {
        font-size: 0.95rem;
        padding: 12px 16px;
        text-align: center;
    }
    
    .live-count-text:before {
        width: 7px;
        height: 7px;
        margin-right: 10px;
    }
    
    .live-count-text span {
        margin: 0 4px;
        font-size: 1.05rem;
    }
    
    .live-count-container {
        padding: 12px;
        margin: 15px 0;
    }
}

/* Add specific styles for the Jotform container across all devices */
.jotform-container {
    width: 100% !important;
    overflow: hidden;
}

/* Animation for the pulse dot */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Testimonials section */
.testimonials {
    margin-bottom: 60px;
}

.testimonial-card {
    position: relative;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card .quote-mark {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: #3498db;
    opacity: 0.2;
}

.testimonial-card p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background-color: #3498db;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: bold;
    margin: 0;
    color: #333;
}

.testimonial-location {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

/* Thank You Page Specific Styles */
/* Container variations */
.container-no-bottom {
    padding-bottom: 0;
}

.container-footer {
    max-width: 1000px;
    padding-top: 0;
    padding-bottom: 40px;
    margin-top: -60px;
}

/* Header container - no longer needed with new nav */
.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 0;
    display: none; /* Hide this as we're using the new navigation */
}

/* Thank you content */
.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: -70px auto 30px; /* Increased negative margin to account for taller header */
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.thank-you-content h1 {
    color: #1a5f7a;
    margin-bottom: 15px;
    font-size: 28px;
}

.thank-you-content h2 {
    color: #3498db;
    margin-bottom: 20px;
    font-size: 20px;
}

.thank-you-content p {
    margin-bottom: 20px; /* Increased spacing between paragraphs */
    color: #555;
    line-height: 1.6;
}

.thank-you-content .contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.thank-you-content .contact-info p {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .thank-you-content {
        margin-top: -60px;
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .thank-you-content {
        margin-top: -50px;
        padding: 20px 15px;
    }
    
    .thank-you-content h1 {
        font-size: 24px;
    }
    
    .thank-you-content h2 {
        font-size: 18px;
    }
}

.success-icon {
    font-size: 5rem;
    color: #27ae60;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.next-steps {
    margin-top: 30px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 15px;
}

.step-card {
    background: white;
    border-radius: 10px;
    padding: 25px; /* Increased padding for step cards */
    width: 100%;
    max-width: none;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: rgba(52, 152, 219, 0.2);
}

.step-card i {
    font-size: 1.8rem;
    color: #3498db;
    margin-bottom: 12px;
    background: rgba(52, 152, 219, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.step-card:hover i {
    background: rgba(52, 152, 219, 0.2);
    transform: scale(1.05);
}

.step-card h3 {
    margin-bottom: 15px; /* More space after headings */
    color: #1a5f7a;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-card p {
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.step-card a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.step-card a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.bottom-section {
    background: linear-gradient(135deg, #f5f9fc 0%, #e8f4fc 100%);
    padding: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.return-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    margin-top: 10px;
}

.return-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
    background-color: #2980b9;
}

.return-home i {
    margin-right: 8px;
}

/* Thank you page trust badges */
.thank-you-trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.thank-you-badge {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.thank-you-badge i {
    font-size: 1.2rem;
    margin-right: 8px;
    color: #27ae60;
}

/* Footer specific styles */
.footer-icon {
    font-size: 0.8rem;
    margin-right: 8px;
}

.footer-contact-icon {
    margin-right: 10px;
    color: rgba(255,255,255,0.7);
}

.footer-address {
    margin-top: 15px;
}

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

/* Update copyright to take appropriate space */
.copyright {
    flex: 1;
    min-width: 250px;
}

/* Footer bottom logo styles */
.footer-bottom .footer-logo {
    margin: 0;
    text-align: left;
    min-width: 120px;
    margin-bottom: 0;
}

.footer-bottom .footer-logo img {
    max-width: 120px;
    height: auto;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.footer-bottom .copyright {
    padding-top: 0;
    border-top: none;
    margin: 0;
    flex: 1;
    text-align: left;
}

.footer-bottom .copyright p:last-child {
    margin-top: 10px;
}

/* Footer verification styles */
.footer-verification {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-verification img {
    transition: transform 0.3s ease;
}

.footer-verification img:hover {
    transform: scale(1.05);
}

/* Responsive styles for thank you page */
@media (max-width: 768px) {
    .next-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .step-card {
        padding: 15px 10px;
    }
    
    .step-card i {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .step-card h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .step-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .thank-you-trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom .footer-logo {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-bottom .copyright {
        text-align: center;
    }
}

/* Add responsive styles for the live count text */
@media (max-width: 576px) {
    .live-count-text {
        font-size: 0.95rem;
        padding: 12px 16px;
        text-align: center;
    }
    
    .live-count-text:before {
        width: 7px;
        height: 7px;
        margin-right: 10px;
    }
    
    .live-count-text span {
        margin: 0 4px;
        font-size: 1.05rem;
    }
    
    .live-count-container {
        padding: 12px;
        margin: 15px 0;
    }
}

/* New Navigation Bar */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
    padding: 5px 0 !important; /* Further reduced padding */
}

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

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: #1a5f7a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link:hover:after {
    width: 100%;
}

@media (max-width: 768px) {
    .main-nav {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    header {
        padding: 40px 20px 70px;
        background-position: center top;
        border-radius: 0;
    }
    
    .logo-container {
        margin-bottom: 25px;
        max-width: 150px;
    }
    
    h1 {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .header-features {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .header-feature {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .header-cta {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
    
    .footer-column {
        min-width: 100%;
        margin-bottom: 25px;
    }
    
    .footer-column h3 {
        text-align: center;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul {
        text-align: center;
    }
    
    .footer-column p {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Make mobile sticky CTA visible on mobile */
    .mobile-sticky-cta {
        display: block !important; /* Use !important to ensure it's displayed */
    }
    
    /* Medium screens form adjustments */
    .form-container {
        padding: 30px 25px;
    }
    
    /* Add additional space at the bottom to account for sticky CTA */
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 576px) {
    .main-nav {
        padding: 10px 0;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    header {
        padding: 30px 15px 60px;
    }
    
    .logo-container {
        margin-bottom: 20px;
        max-width: 120px;
    }
    
    h1 {
        font-size: 1.9rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .header-features {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .header-feature {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .trust-badges {
        grid-template-columns: 1fr; /* 1 column on small screens */
        gap: 20px;
    }
    
    .footer-legitscript {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .footer-legitscript img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-legitscript .badge-content {
        text-align: center;
    }
    
    .live-count-text {
        font-size: 0.95rem;
        padding: 12px 16px;
        text-align: center;
    }
    
    .live-count-text:before {
        width: 7px;
        height: 7px;
        margin-right: 10px;
    }
    
    .live-count-text span {
        margin: 0 4px;
        font-size: 1.05rem;
    }
    
    .live-count-container {
        padding: 12px;
        margin: 15px 0;
    }
}

/* Main header with background image */
.main-header {
    text-align: center;
    margin-bottom: 0;
    padding: 90px 30px 130px !important; /* Further increased padding */
    border-radius: 0 0 0 0; /* Keep square corners for header */
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.85) 0%, rgba(52, 152, 219, 0.85) 100%), url('../images/telehealth-nurse.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .main-header {
        padding: 80px 20px 110px !important; /* Further increased padding */
        background-position: center top;
    }
}

@media (max-width: 576px) {
    .main-header {
        padding: 70px 15px 100px !important; /* Further increased padding */
    }
}

.return-home-container {
    margin-top: 30px;
}

.return-home-container .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #1a5f7a;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.return-home-container .btn:hover {
    background-color: #134a60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.return-home-container .btn i {
    font-size: 14px;
}

.main-nav .logo-container {
    margin: 0;
}

.main-nav .logo {
    max-width: 100px; /* Smaller logo for the navigation */
    height: auto;
}

.main-header h2 {
    color: white;
    font-size: 1.3rem;
    margin-top: 10px;
    font-weight: 400;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
}

@media (max-width: 768px) {
    .main-header h2 {
        font-size: 1.1rem;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .main-header h2 {
        font-size: 1rem;
        padding: 5px 10px;
    }
}

/* High contrast styles removed */

/* Fix for Perth, Australia text color */
.footer-column ul li {
    color: rgba(255,255,255,0.85);
}

/* Floating Medical Certificate CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #1a5f7a, #27ae60);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #14495e, #219653);
    color: white;
    text-decoration: none;
}

.floating-cta i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 5px 30px rgba(39, 174, 96, 0.4);
    }
    100% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }
}

/* Hide on mobile when the sticky mobile CTA is visible */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 80px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* About Us Page Styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    margin-bottom: 60px;
}

.about-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-hero-content {
    flex: 1;
    min-width: 300px;
}

.about-hero-content h2 {
    color: #1a5f7a;
    margin-bottom: 20px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.about-hero-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #1a5f7a;
}

.about-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #444;
}

.about-hero-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-hero-image:hover {
    transform: scale(1.02);
}

.about-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

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

.about-section h2 {
    color: #1a5f7a;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.about-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #1a5f7a;
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid #1a5f7a;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.value-card i {
    font-size: 2.5rem;
    color: #1a5f7a;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.value-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
}

.cta-container {
    text-align: center;
    margin: 40px 0;
}

.cta-button {
    display: inline-block;
    background-color: #1a5f7a;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #14495e;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
    color: white;
    text-decoration: none;
}

/* About Us Styled Sections */
.about-commitment {
    background-color: #e8f4fc;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-left: 5px solid #2980b9;
    margin-bottom: 40px;
}

.about-commitment:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 8rem;
    color: rgba(41, 128, 185, 0.1);
    z-index: 0;
}

.about-commitment h2 {
    color: #2980b9;
    margin-bottom: 20px;
}

.about-commitment h2:after {
    background-color: #2980b9;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
}

.about-commitment p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* Authority Logos Section */
.authority-logos {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.authority-logos h3 {
    color: #1a5f7a;
    margin-bottom: 30px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.authority-logos h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #1a5f7a;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.authority-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 180px;
}

.authority-logo img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.authority-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.authority-logo span {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    text-align: center;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #1a5f7a;
}

.stat-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a5f7a, #27ae60);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1a5f7a;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.note-box {
    margin-top: 20px;
    font-size: 0.95rem;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #3498db;
    margin-bottom: 20px;
}

.highlight-box {
    background: linear-gradient(135deg, #1a5f7a, #27ae60);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-box h2 {
    color: white;
    margin-bottom: 20px;
}

.highlight-box h2:after {
    background-color: rgba(255, 255, 255, 0.5);
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin: 30px 0;
}

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

@media (min-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    background: linear-gradient(135deg, #1a5f7a, #27ae60);
    color: white;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 3rem;
}

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    color: #1a5f7a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-content p {
    color: #555;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* About Us Media Queries */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 20px;
    }
    
    .about-hero, .about-section {
        padding: 20px;
    }
    
    .about-hero {
        flex-direction: column-reverse;
    }
    
    .about-hero-content h2, .about-section h2 {
        font-size: 1.6rem;
    }
    
    .about-commitment, .highlight-box, .authority-logos {
        padding: 30px;
    }
    
    .stat-item {
        min-width: 150px;
    }
    
    .logo-grid {
        gap: 20px;
    }
    
    .authority-logo {
        width: 140px;
    }
    
    .authority-logo img {
        height: 50px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Telehealth Page Styles */
.telehealth-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    margin-bottom: 60px;
}

.telehealth-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.telehealth-hero-content {
    flex: 1;
    min-width: 300px;
}

.telehealth-hero-content h2 {
    color: #1a5f7a;
    margin-bottom: 20px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.telehealth-hero-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #1a5f7a;
}

.telehealth-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #444;
}

.telehealth-hero-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.telehealth-hero-image:hover {
    transform: scale(1.02);
}

.telehealth-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.telehealth-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

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

.telehealth-section h2 {
    color: #1a5f7a;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.telehealth-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #1a5f7a;
}

.telehealth-section p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.telehealth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    flex: 1;
    min-width: 200px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefit-item i {
    font-size: 2rem;
    color: #1a5f7a;
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.benefit-item p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.conditions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.condition-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #1a5f7a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.condition-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.emergency-notice {
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    font-weight: bold;
    text-align: center;
    border-left: 5px solid #721c24;
}

.cta-button {
    display: inline-block;
    background-color: #1a5f7a;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: #14495e;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
    color: white;
    text-decoration: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #1a5f7a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #1a5f7a;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.submit-btn:hover {
    background-color: #14495e;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .telehealth-content {
        padding: 20px;
    }
    
    .telehealth-hero, .telehealth-section {
        padding: 20px;
    }
    
    .telehealth-hero {
        flex-direction: column-reverse;
    }
    
    .telehealth-hero-content h2, .telehealth-section h2 {
        font-size: 1.6rem;
    }
    
    .telehealth-benefits {
        flex-direction: column;
    }
    
    .benefit-item {
        min-width: 100%;
    }
}

/* Contact Page Styles */
.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
}

.contact-info h2, .contact-form h2 {
    color: #1a5f7a;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    color: #1a5f7a;
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-info-item .content {
    flex: 1;
}

.contact-info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-info-item p {
    color: #666;
    line-height: 1.5;
}

.contact-info-item a {
    color: #1a5f7a;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 40px;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .contact-content {
        padding: 20px;
    }
    
    .contact-info, .contact-form {
        padding: 20px;
    }
}

/* Update footer styling for consistency across all pages */
.copyright {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
}

.copyright p {
    margin: 5px 0;
}

/* Ensure proper flex layout in footer */
.footer-bottom-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.footer-logo {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.footer-verification {
    margin-top: 0;
    flex: 0 0 auto;
}

/* Blog Styles */
.blog-content {
    padding: 40px 0;
}

.blog-intro {
    margin-bottom: 40px;
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-date {
    font-size: 0.85em;
    color: #666;
    padding: 15px 20px 0;
    margin-bottom: -5px;
}

.blog-title {
    padding: 0 20px;
    font-size: 1.4em;
    line-height: 1.35;
    margin: 10px 0;
    transition: color 0.3s;
    font-weight: 600;
}

.blog-card:hover .blog-title {
    color: #3498db;
}

.blog-excerpt {
    padding: 0 20px;
    flex-grow: 1;
}

.blog-excerpt p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.blog-read-more {
    padding: 15px 20px;
    text-align: right;
    color: #1a5f7a;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.blog-read-more i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.blog-read-more:hover {
    color: #3498db;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.pagination-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
}

.pagination-link.active,
.pagination-link:hover {
    background-color: #1a5f7a;
    color: white;
}

.pagination-link.next {
    background-color: #f5f5f5;
}

.pagination-link.next:hover {
    background-color: #1a5f7a;
}

/* Blog Post Page Styles */
.blog-post-header {
    text-align: center;
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
}

.blog-breadcrumb {
    font-size: 0.9em;
    margin-bottom: 20px;
    color: #666;
}

.blog-breadcrumb a {
    color: #1a5f7a;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb i {
    font-size: 0.75em;
    margin: 0 8px;
}

.blog-post-header h1 {
    font-size: 2.4em;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #1a5f7a;
}

.blog-post-meta {
    margin-bottom: 30px;
    font-size: 1em;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.blog-post-date:before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    margin-right: 8px;
    color: #1a5f7a;
}

.blog-post-author:before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    margin-right: 8px;
    color: #1a5f7a;
}

.blog-post-featured-image {
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
    color: #333;
}

.blog-post-content h2 {
    color: #1a5f7a;
    margin: 35px 0 15px;
    font-size: 1.8em;
}

.blog-post-content h3 {
    color: #1a5f7a;
    margin: 25px 0 15px;
    font-size: 1.4em;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background-color: #f5f9fc;
    border-left: 4px solid #3498db;
    font-style: italic;
    color: #444;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.blog-post-content a {
    color: #3498db;
    text-decoration: underline;
    transition: color 0.3s;
}

.blog-post-content a:hover {
    color: #1a5f7a;
}

.blog-post-content code {
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.blog-post-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
}

.blog-post-content pre code {
    padding: 0;
    background-color: transparent;
}

.blog-post-footer {
    max-width: 800px;
    margin: 60px auto;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.blog-post-share {
    margin-bottom: 40px;
    text-align: center;
}

.blog-post-share h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #333;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: transform 0.3s, background-color 0.3s;
}

.share-button:hover {
    transform: translateY(-3px);
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.email {
    background-color: #D44638;
}

.related-posts {
    margin-bottom: 40px;
}

.related-posts h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
}

.return-to-blog {
    text-align: center;
    margin-top: 50px;
}

.return-btn {
    display: inline-flex;
    align-items: center;
    background-color: #f5f5f5;
    color: #333;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.return-btn i {
    margin-right: 8px;
}

.return-btn:hover {
    background-color: #1a5f7a;
    color: white;
}

/* Responsive Blog Styles */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-content {
        padding: 30px 20px;
    }
    
    .blog-post-header h1 {
        font-size: 2em;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-post-content {
        padding: 0 20px;
    }
    
    .blog-post-footer {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-header h1 {
        font-size: 1.8em;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}

/* LegitScript logo fix */
.footer-verification img,
img.legitscript-logo {
    max-width: 70px;
    height: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
} 