/* Shared Page Container Styles */
.page-content {
    padding: 1rem 1rem 4rem;
}

.content-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.content-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

/* Shared Typography */
.content-section h2 {
    color: var(--dark-bg);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-section h3 {
    font-size: 1.25rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1.25rem;
    line-height: 1.6;
    color: #444;
}

.content-section strong {
    color: var(--dark-bg);
}

/* Links */
.content-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.content-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Call Button */
.phone-link {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    margin: 1rem 0;
    transition: var(--transition);
}

.phone-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Boxed Content */
.info-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

/* List Styles */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.custom-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Images */
.side-image {
    float: right;
    margin: 0 0 1rem 2rem;
    max-width: 300px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox label {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-section {
        padding: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .side-image {
        float: none;
        display: block;
        margin: 1rem auto 2rem;
        max-width: 100%;
        height: auto;
    }
}

/* Previous shared styles remain the same... */

/* Update the mobile styles */
@media (max-width: 768px) {
    .page-content {
        padding: 1rem 0.5rem 3rem; /* Reduced side padding */
    }
    
    .content-section {
        padding: 1.25rem 1rem; /* Reduced padding inside white sections */
        margin-bottom: 1rem; /* Slightly reduce spacing between sections */
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .side-image {
        float: none;
        display: block;
        margin: 1rem auto 2rem;
        max-width: 100%;
        height: auto;
    }
    
    .info-box {
        padding: 1.25rem 1rem; /* Reduced padding in info boxes */
        margin: 1rem 0;
    }
    
    .phone-link {
        padding: 0.875rem 1.5rem; /* Slightly smaller padding for phone button */
        width: 100%; /* Make phone button full width on mobile */
        text-align: center;
    }

    .desktop-buttons {
        display: none;
    }
}

/* Add extra small screen optimization */
@media (max-width: 480px) {
    .page-content {
        padding: 1rem 0.25rem 3rem; /* Even less padding for very small screens */
    }
    
    .content-section {
        padding: 1rem 0.875rem;
        border-radius: var(--border-radius);
    }
}