* {
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    color: #2c3e50;
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 0;
}

/* Updated Header Styles */
header {
    background-color: #1E88E5;
    background-image: url(https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80);
    background-size: 100% 100%;
    color: white;
    font-size: 90%;
    margin-top: 0;
    min-height: 200px;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-section {
    flex: 1;
}

.logo-section h1 {
    color: white;
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
}

.tagline {
    color: #edf5f5;
    font-size: 1rem;
    margin: 0.25rem 0 0 0;
    font-style: italic;
}

/* Simple Horizontal Navigation */
nav {
    margin-top: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

nav li {
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: block;
    transition: color 0.3s;
    border-radius: 3px;
}

nav a:hover {
    color: #edf5f5;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Remove old .home styles */
.home {
    display: none;
}

header a:link {
    color: #fff;
}

header a:visited {
    color: #fff;
}

header a:hover {
    color: #edf5f5;
}

footer {
    font-size: .60em;
    font-style: italic;
    text-align: center;
    background-color: #1E88E5;
    color: white;
    padding: 1em;
    margin-top: 2em;
}

#wrapper {
    padding: 2em;
    background-color: #FFFFFF;
}

main {
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-bottom: 2em;
}

h1, h2, h3 {
    color: #1E88E5;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #43A047;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.2rem;
}

.page-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 1rem auto;
    display: block;
    border-radius: 5px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #43A047;
}

.service-card h3 {
    color: #1E88E5;
}

.service-icon {
    font-size: 2rem;
    color: #1E88E5;
    margin-bottom: 1rem;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th, td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #1E88E5;
    color: white;
}

tr:nth-child(even) {
    background-color: #f0f8ff;
}

/* List Styles */
.styled-list {
    background-color: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #43A047;
}

.styled-list ul {
    margin-left: 1.5rem;
}

.styled-list li {
    margin-bottom: 0.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.social-links a {
    color: white;
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #43A047;
}

/* Form Styles */
form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

textarea {
    min-height: 150px;
}

.btn {
    background-color: #1E88E5;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #43A047;
}

.form-error {
    color: #D32F2F;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: none;
}

/* Mobile Styles */
#mobile {
    display: inline;
}

#desktop {
    display: none;
}

/* Tablet Media Query (600px and above) */
@media (min-width: 600px) {
    body {
        padding-top: 0;
    }

    main {
        padding-left: 2em;
        padding-right: 2em;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    #mobile {
        display: none;
    }

    #desktop {
        display: inline;
    }
}

/* Desktop Media Query (1024px and above) */
@media (min-width: 1024px) {
    body {
        padding-top: 0;
    }
    
    header {
        font-size: 120%;
    }
    
    #wrapper {
        margin: auto;
        width: 80%;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Media Query (up to 599px) */
@media (max-width: 599px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        margin-top: 1rem;
        width: 100%;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    nav a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Back to Top Button Styles */
.back-to-top-container {
    position: relative;
    margin-bottom: 1rem;
}

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1E88E5;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: #43A047;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top-btn:active {
    transform: translateY(-1px);
}

/* Responsive adjustments for back to top button */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Booking System Styles */
.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 2px solid #1E88E5;
    padding-bottom: 1rem;
}

.step {
    padding: 0.8rem 1.5rem;
    background-color: #f0f0f0;
    border-radius: 25px;
    font-weight: bold;
    color: #666;
    text-align: center;
    flex: 1;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.step.active {
    background-color: #1E88E5;
    color: white;
}

.service-card.selectable {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.service-card.selectable:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.service-card.selectable.selected {
    border-color: #1E88E5;
    background-color: #f8f9fa;
}

.price {
    font-weight: bold;
    color: #1E88E5;
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem 0;
}

.service-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

.booking-interface {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .booking-interface {
        grid-template-columns: 1fr 1fr;
    }
}

.calendar-section, .timeslot-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.calendar-nav-btn {
    background: #f0f0f0;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calendar-nav-btn:hover {
    background: #e0e0e0;
}

#current-month {
    font-weight: bold;
    color: #1E88E5;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-header {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.calendar-day {
    text-align: center;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 3px;
}

.calendar-date {
    text-align: center;
    padding: 0.8rem 0.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.calendar-date:hover {
    background-color: #e9ecef;
}

.calendar-date.selected {
    background-color: #1E88E5;
    color: white;
    border-color: #1E88E5;
}

.calendar-date.unavailable {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-date.unavailable:hover {
    background-color: transparent;
}

.calendar-date.today {
    border: 2px solid #1E88E5;
}

.time-slots-container {
    max-height: 300px;
    overflow-y: auto;
}

.time-slot {
    padding: 1rem;
    margin: 0.5rem 0;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.time-slot:hover {
    background-color: #e9ecef;
    border-color: #1E88E5;
}

.time-slot.selected {
    background-color: #1E88E5;
    color: white;
    border-color: #1E88E5;
}

.time-slot.unavailable {
    background-color: #f8d7da;
    color: #721c24;
    cursor: not-allowed;
    text-decoration: line-through;
}

.no-date-message {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.appointment-summary {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.summary-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
}

.summary-label {
    font-weight: bold;
    color: #1E88E5;
    min-width: 150px;
}

.next-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Success Message Styles */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.confirmation-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: left;
}

.confirmation-details p {
    margin: 0.5rem 0;
}

.success-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-reminder {
    background: #e8f5e9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    border-left: 4px solid #43A047;
}

/* Form enhancements for booking */
.form-group label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: flex-start;
}

.form-group label a {
    margin-left: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .step-indicator {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step {
        margin: 0.25rem 0;
    }
    
    .button-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .button-group .btn {
        width: 100%;
    }
    
    .success-buttons {
        flex-direction: column;
    }
    
    .summary-item {
        flex-direction: column;
    }
    
    .summary-label {
        min-width: auto;
        margin-bottom: 0.25rem;
    }
}

/* ===== CONTACT PAGE STYLES ===== */

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info, .contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.info-icon {
    background: #1E88E5;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-content h3 {
    margin: 0 0 0.5rem 0;
    color: #1E88E5;
}

.info-content p {
    margin: 0;
    color: #666;
}

.hours-table {
    width: 100%;
    margin: 1rem 0;
}

.hours-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.hours-table td:first-child {
    font-weight: bold;
    color: #1E88E5;
}

.hours-table td:last-child {
    color: #666;
}

.telehealth-section {
    background: #e8f5e9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
}

.telehealth-section h3 {
    color: #1E88E5;
    margin-top: 0;
}

.telehealth-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.telehealth-feature {
    text-align: center;
    padding: 1rem;
}

.telehealth-feature i {
    font-size: 2rem;
    color: #1E88E5;
    margin-bottom: 0.5rem;
}

.emergency-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem 0;
}

.emergency-notice h3 {
    color: #856404;
    margin-top: 0;
}

.form-success {
    display: none;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    text-align: center;
}

/* Quick contact grid styles */
.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.quick-contact-item {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Contact form specific enhancements */
.contact-form .form-group:last-of-type {
    margin-bottom: 0;
}

/* Service availability notice */
.service-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 5px 5px 0;
}

/* Back to top button visibility */
.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

/* Virtual office styles */
.virtual-office {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.virtual-office-icon {
    font-size: 3rem;
    color: #1E88E5;
    margin-bottom: 1rem;
}
/* ===== BUTTON VARIATIONS ===== */
.btn-primary {
    background-color: #1E88E5;
    color: white;
    border: 2px solid #1E88E5;
}

.btn-primary:hover {
    background-color: #43A047;
    border-color: #43A047;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #1E88E5;
    border: 2px solid #1E88E5;
}

.btn-secondary:hover {
    background-color: #1E88E5;
    color: white;
}

/* Button with icons */
.btn i {
    margin-right: 0.5rem;
}

/* Ensure consistent button sizing */
.service-card .btn {
    margin-top: 1rem;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
}

/* Specific styling for service card buttons */
.service-card .btn-primary,
.service-card .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: auto;
    min-width: 160px;
}
/* Payment Integration Styles */
.price-list {
    margin: 1rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.price-item:last-child {
    border-bottom: none;
}

.payment-badge {
    background: #28a745;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    display: inline-block;
    margin: 0.5rem 0;
}

.secure-payment {
    color: #28a745;
    font-size: 0.9rem;
}
/* ===== BOOKING PAGE STYLES ===== */

.booking-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.booking-option {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.booking-option:hover {
    transform: translateY(-5px);
}

.service-type {
    font-size: 1.3rem;
    color: #1E88E5;
    margin-bottom: 1rem;
    font-weight: bold;
}

.service-duration {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service-price {
    font-size: 1.4rem;
    color: #1E88E5;
    font-weight: bold;
    margin: 1rem 0;
}

.calendly-badge {
    background: #1E88E5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.security-badges-container {
    text-align: center;
    margin: 1rem 0;
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    background: #e7f3ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0 0.5rem;
}

.security-badge i {
    color: #28a745;
    margin-right: 0.5rem;
}

.payment-info-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.secure-payment-note {
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.contact-info {
    margin: 1rem 0;
}

/* Responsive adjustments for booking page */
@media (max-width: 768px) {
    .payment-security {
        flex-direction: column;
        align-items: center;
    }
    
    .security-badge {
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .booking-option {
        padding: 1.5rem;
    }
}
/* ===== TEAM MEMBER STYLES ===== */

.team-member {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 2rem 0;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.team-img-container {
    flex: 0 0 300px;
    text-align: center;
}

.team-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.team-info {
    flex: 1;
}

.team-title {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #1E88E5;
    padding-bottom: 0.5rem;
}

.team-info h3 {
    color: #1E88E5;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.team-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Responsive adjustments for team member section */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .team-img-container {
        flex: 0 0 auto;
        margin: 0 auto;
    }
    
    .team-img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 1rem;
    }
    
    .team-img {
        max-width: 200px;
    }
    
    .team-info h3 {
        font-size: 1.5rem;
    }
}
/* Forms Page Styles */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.form-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.form-icon {
    font-size: 2.5rem;
    color: #1E88E5;
    margin-bottom: 1rem;
    text-align: center;
}

.form-card h3 {
    color: #1E88E5;
    margin-bottom: 0.5rem;
}

.form-card p {
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.form-details {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.form-type {
    background: #1E88E5;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.form-pages {
    color: #666;
    font-size: 0.9rem;
}

.security-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 5px 5px 0;
}

.security-notice i {
    color: #856404;
    margin-right: 0.5rem;
}

.form-instructions {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.step {
    text-align: center;
    padding: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #1E88E5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.security-section {
    background: #e7f3ff;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.security-feature {
    text-align: center;
    padding: 1rem;
}

.security-feature i {
    font-size: 2rem;
    color: #1E88E5;
    margin-bottom: 1rem;
}

.emergency-reminder {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.emergency-reminder h3 {
    color: #721c24;
    margin-top: 0;
}
/* Forms Page Specific Styles */
.forms-hero {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.forms-hero h2 {
    color: #1E88E5;
    margin-bottom: 1rem;
}

.emergency-notice {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem auto;
    max-width: 800px;
}

.emergency-notice h3 {
    color: #721c24;
    margin-top: 0;
}

.main-forms {
    margin: 3rem 0;
}

.subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.forms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 1024px) {
    .forms-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.form-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.form-card.primary {
    border-color: #1E88E5;
    background: #f8f9ff;
}

.form-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #1E88E5;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.form-badge.alternative {
    background: #6c757d;
}

.form-icon {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1E88E5;
}

.form-details {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.form-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-description {
    color: #666;
    margin: 1rem 0;
    line-height: 1.6;
}

.form-includes {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.form-includes li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-includes i {
    color: #28a745;
}

.btn-primary, .btn-secondary {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1E88E5;
    color: white;
    border: 2px solid #1E88E5;
}

.btn-primary:hover {
    background: #43A047;
    border-color: #43A047;
}

.btn-secondary {
    background: transparent;
    color: #1E88E5;
    border: 2px solid #1E88E5;
}

.btn-secondary:hover {
    background: #1E88E5;
    color: white;
}

/* Instructions */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.instruction-step {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #1E88E5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.deadline-notice {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 5px;
    padding: 1rem;
    margin: 2rem auto;
    text-align: center;
    max-width: 600px;
}

.deadline-notice i {
    color: #856404;
    margin-right: 0.5rem;
}

/* Submission Options */
.option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.option-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

.option-card.secure {
    border: 2px solid #28a745;
}

.option-icon {
    font-size: 2rem;
    color: #1E88E5;
    margin-bottom: 1rem;
}

.security-warning {
    background: #e7f3ff;
    border: 2px solid #b8daff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* FAQ Styles */
.form-faq {
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 1.2rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #1E88E5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #eee;
}

.faq-answer ul {
    margin: 1rem 0 1rem 1.5rem;
}

/* Next Steps */
.next-steps {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin: 3rem 0;
}

.steps-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.appointment-reminder {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.appointment-reminder ul {
    margin: 1rem 0 0 1.5rem;
}

/* Back to Top Button */
.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}
/* ===== FORMS PAGE STYLES ===== */

/* Hero Section */
.forms-hero {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.forms-hero h2 {
    color: #1E88E5;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.emergency-notice {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem auto;
    max-width: 800px;
}

.emergency-notice h3 {
    color: #721c24;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Requirements Section */
.requirements {
    margin: 3rem 0;
}

.styled-list {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #43A047;
}

.styled-list ul {
    margin-left: 1.5rem;
}

.styled-list li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* FAQ Section */
.form-faq {
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 1.2rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #1E88E5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #eee;
    line-height: 1.6;
}

.faq-answer ul {
    margin: 1rem 0 1rem 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Next Steps Section */
.next-steps {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin: 3rem 0;
}

.steps-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.appointment-reminder {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.appointment-reminder ul {
    margin: 1rem 0 0 1.5rem;
}

.appointment-reminder li {
    margin-bottom: 0.5rem;
}

/* Page Image Styling */
.page-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 1.5rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ===== MOBILE FIXES FOR RESOURCES AND SERVICES PAGES ===== */

/* Fix for tables on mobile */
@media (max-width: 768px) {
    /* Make all tables horizontally scrollable */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 1rem -1rem;
        padding: 0 1rem;
    }
    
    .table-container table {
        min-width: 800px; /* Ensure table has minimum width for readability */
    }
    
    /* Adjust grid layouts for mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Fix spacing on mobile */
    section {
        padding: 1rem 0;
    }
    
    /* Fix font sizes on mobile */
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Improve button sizes on mobile */
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        display: inline-block;
        margin: 0.5rem 0;
    }
    
    /* Fix team member layout on mobile */
    .team-member {
        flex-direction: column;
        padding: 1rem;
    }
    
    .team-img-container {
        flex: 0 0 auto;
        margin: 0 auto 1.5rem;
    }
    
    .team-img {
        max-width: 200px;
    }
    
    /* Fix contact container on mobile */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Fix telehealth features grid */
    .telehealth-features {
        grid-template-columns: 1fr;
    }
    
    /* Fix process timeline on forms page */
    .process-timeline {
        flex-direction: column;
    }
    
    .step {
        min-width: 100%;
    }
    
    /* Fix security features grid */
    .security-features {
        grid-template-columns: 1fr;
    }
    
    /* Fix payment options grid on booking page */
    .payment-options-grid {
        grid-template-columns: 1fr;
    }
    
    /* Fix service options grid on booking page */
    .service-options {
        grid-template-columns: 1fr;
    }
    
    /* Fix forms container on forms page */
    .forms-container {
        grid-template-columns: 1fr;
    }
}

/* Additional mobile fixes for very small screens */
@media (max-width: 480px) {
    /* Fix header navigation */
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    nav li {
        margin: 0.25rem;
    }
    
    nav a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Fix logo sizing */
    .logo-section h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    /* Fix padding in main wrapper */
    #wrapper {
        padding: 1em;
    }
    
    /* Fix image sizing */
    .page-image {
        width: 100%;
        height: auto;
        margin: 1rem 0;
    }
    
    /* Fix service card padding */
    .service-card {
        padding: 1rem;
    }
}

/* ===== CREDENTIALING TABLE STYLES ===== */
.credentialing-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid #1E88E5;
    border-bottom: 2px solid #1E88E5;
}

.credentialing-section h2 {
    color: #1E88E5;
    margin-bottom: 1.5rem;
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-in-process {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.credentialing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.credentialing-table th {
    background-color: #1E88E5;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.credentialing-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.credentialing-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.credentialing-table tr:hover {
    background-color: #e7f3ff;
}

/* Mobile-specific table fixes */
@media (max-width: 768px) {
    .credentialing-section .table-container {
        margin: 1rem -1rem;
        padding: 0 1rem;
    }
    
    .credentialing-table {
        min-width: 900px;
    }
    
    .credentialing-table th,
    .credentialing-table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .status-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}