/* --- Global Reset & Typography Refinement --- */
.blog-content {
    font-family: 'Helvetica Neue', Arial, sans-serif; /* Modern, crisp font */
    line-height: 1.65; /* Improved readability */
    margin: 0;
    padding: 0;
    background-color: #f4f6f8; /* Very light, professional background */
    color: #333;
}

/* --- Main Layout: Article + Sidebar --- */
.main-content {
    display: flex;
    gap: 40px; /* Increased space for visual breathing room */
}

.article-section {
    flex: 3; 
    background-color: white;
    padding: 30px 40px; /* Increased padding */
    border-radius: 8px; /* Soft rounding */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Softer, deeper shadow */
}

.contact-sidebar {
    flex: 1; 
    min-width: 300px; /* Slight increase for better form layout */
    height: 100%;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    /* Adding a subtle border for definition */
    border-left: 1px solid #e0e0e0; 
}

/* --- Article Styling --- */
.article-section h1 {
    font-size: 2.2em; /* Larger, dominant title */
    color: #1c2a48; /* Dark, authoritative color */
    margin-bottom: 10px;
    line-height: 1.2;
}

.article-meta {
    font-size: 0.8em;
    color: #6a737d; /* Muted gray for metadata */
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.social-share i {
    font-size: 1.4em; /* Slightly larger icons */
    margin-right: 15px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease; /* Smooth hover effect */
}

.social-share i:hover {
    color: #007bff; /* Primary brand color on hover */
}

.case-study h2 {
    font-size: 1.6em;
    color: #1c2a48; 
    /*margin-top: 40px;*/
    border-bottom: 3px solid #007bff; /* Highlight with brand color */
    padding-bottom: 10px;
}

.case-study h3 {
    font-size: 1.2em;
    color: #007bff; /* Use primary color for card titles */
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.card {
    border: 1px solid #e0e0e0; /* Lighter border */
    padding: 25px;
    margin-top: 25px;
    background-color: #fcfcfc; /* Slightly off-white for depth */
    border-left: 5px solid #007bff; /* Left border accent */
    border-radius: 4px;
}

.card p {
    margin-bottom: 10px;
}

.card a {
    color: #007bff; /* Consistent blue link color */
    text-decoration: none;
    border-bottom: 1px dotted #007bff; /* Subtle visual cue */
    transition: color 0.3s ease;
}

.card a:hover {
    color: #0056b3;
}

/* --- Sidebar (Contact Form) Styling --- */
.contact-form h2 {
    font-size: 1.4em;
    color: #1c2a48;
    border-bottom: 2px solid #007bff; 
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px; /* Increased vertical spacing in form */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px; /* Taller input fields */
    border: 1px solid #ccc;
    box-sizing: border-box; 
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff; /* Highlight focus with brand color */
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.describe-yourself label {
    display: block; 
    font-size: 0.9em;
    margin-top: 8px;
    color: #555;
}

.describe-yourself label:first-child {
    font-weight: bold;
    display: block; /* Make "Describe yourself" title a block element */
    margin-bottom: 10px;
    color: #333;
}

.describe-yourself input[type="radio"] {
    margin-right: 8px;
}

.submit-button {
    background-color: #28a745; /* Clean green for Call-to-Action */
    color: white;
    padding: 12px 15px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    border-radius: 4px;
    width: 100%;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #1e7e34; /* Darker green on hover */
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}
.error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Optional: Media Query for smaller screens (unchanged) */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        gap: 20px;
    }

    .article-section, .contact-sidebar {
        flex: auto;
        padding: 20px;
    }
}