/* Blog Specific Styles - blog-styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --unittas-blue: #0B4C8C;
    --unittas-light-blue: #3498db;
    --unittas-green: #27ae60;
    --unittas-orange: #FF6B35;
    --unittas-dark: #2c3e50;
    --apollo-gold: #FFD700;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--unittas-blue), var(--unittas-light-blue));
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.breadcrumb {
    font-size: 13px;
    color: #666;
}

.breadcrumb a {
    color: var(--unittas-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--unittas-light-blue);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    font-weight: bold;
    color: var(--unittas-blue);
    font-size: 16px;
}

.header-btn {
    background: linear-gradient(135deg, var(--unittas-blue), var(--unittas-light-blue));
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.header-btn:hover {
    transform: translateY(-2px);
}

/* Article Banner */
.article-banner {
    background: linear-gradient(135deg, var(--unittas-blue), var(--unittas-light-blue));
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.banner-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-banner h1 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
}

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

.author {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 30px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid white;
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
}

.author-title {
    font-size: 13px;
    opacity: 0.9;
}

.meta-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

/* Article Content */
.article-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.article-content h2 {
    color: var(--unittas-blue);
    font-size: 32px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.article-content h3 {
    color: var(--unittas-dark);
    font-size: 24px;
    margin: 30px 0 15px;
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.article-content a {
    color: var(--unittas-blue);
    text-decoration: none;
    border-bottom: 1px dotted var(--unittas-blue);
}

.article-content a:hover {
    color: var(--unittas-light-blue);
}

/* Table of Contents */
.toc-card {
    background: #f8f9fa;
    border-left: 4px solid var(--unittas-blue);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.toc-card h3 {
    color: var(--unittas-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

.toc-card ul {
    list-style: none;
}

.toc-card li {
    padding: 8px 0;
}

.toc-card a {
    color: #666;
    text-decoration: none;
    border: none;
    transition: all 0.3s;
}

.toc-card a:hover {
    color: var(--unittas-blue);
    padding-left: 10px;
}

/* Intro Section */
.intro-section {
    margin-bottom: 40px;
}

.lead {
    font-size: 19px;
    color: #555;
    line-height: 1.7;
    margin: 20px 0;
}

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

.highlight {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 2px solid var(--unittas-blue);
}

.highlight .number {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--unittas-blue);
    margin-bottom: 5px;
}

.highlight .text {
    font-size: 14px;
    color: #666;
}

/* Benefits List */
.benefits-list {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.benefits-list li {
    margin: 15px 0;
    padding-left: 30px;
    position: relative;
    list-style: none;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--unittas-green);
    font-weight: bold;
    font-size: 20px;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #fff9e6, #ffe4b5);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid var(--apollo-gold);
}

.info-box h4 {
    color: var(--unittas-blue);
    margin-bottom: 10px;
}

/* Protocol Cards */
.protocol-cards {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.protocol-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
}

.protocol-card:hover {
    border-color: var(--unittas-blue);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.protocol-card h3 {
    color: var(--unittas-blue);
    font-size: 20px;
    margin-bottom: 15px;
}

.protocol-card ul {
    list-style: none;
}

.protocol-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

/* Cost Table */
.cost-table {
    overflow-x: auto;
    margin: 30px 0;
}

.cost-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cost-table th {
    background: var(--unittas-blue);
    color: white;
    padding: 15px;
    text-align: left;
}

.cost-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.cost-table tr:hover {
    background: #f8f9fa;
}

/* Fix for CTA Box Text Colors */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.cta-box h3 {
    color: white !important;
    margin-bottom: 1rem;
}

.cta-box p {
    color: white !important;
    margin-bottom: 1rem;
}

.cta-box strong {
    color: white !important;
}

/* Ensure CTA button inside box has proper styling */
.cta-box .cta-button {
    display: inline-block;
    background: white;
    color: #764ba2 !important;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: transform 0.3s;
}

.cta-box .cta-button:hover {
    transform: translateY(-2px);
    background: #f0f0f0;
}

/* FAQ Section */
.faq-section {
    margin: 50px 0;
}

.faq-item {
    background: #f8f9fa;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 18px;
    color: var(--unittas-blue);
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    color: var(--unittas-blue);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Related Articles */
.related-articles {
    margin: 50px 0;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

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

.related-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h4 {
    padding: 15px 15px 5px;
    font-size: 16px;
}

.related-card h4 a {
    color: var(--unittas-blue);
    text-decoration: none;
    border: none;
}

.related-card p {
    padding: 0 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.read-time {
    display: block;
    padding: 10px 15px;
    font-size: 12px;
    color: #999;
}

/* Floating Call Button Mobile */
        .floating-call-btn {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 65px;
            height: 65px;
            background: linear-gradient(135deg, #25D366, #128C7E);
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 30px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 9999;
            text-decoration: none;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }
        
 .fixed-call-btn {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #007bff, #0056b3);
            color: white;
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 18px;
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
            z-index: 9998;
            transition: all 0.3s;
            display: none;
            align-items: center;
            gap: 10px;
        }
        
        .fixed-call-btn:hover {
            transform: translateX(-50%) translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        }
        



/* Conclusion CTA */
.conclusion-cta {
    background: linear-gradient(135deg, #f8f9fa, white);
    border: 2px solid var(--unittas-blue);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin: 50px 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 25px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--unittas-blue), var(--unittas-light-blue));
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--unittas-blue);
    border: 2px solid var(--unittas-blue);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Sidebar */
.sidebar {
    position: relative;
}

/* Appointment Form */
.appointment-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
    margin-bottom: 30px;
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h3 {
    color: var(--unittas-blue);
    font-size: 24px;
    margin-bottom: 5px;
}

.form-header p {
    color: #666;
    font-size: 14px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--unittas-blue);
    box-shadow: 0 0 0 3px rgba(11, 76, 140, 0.1);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--unittas-blue), var(--unittas-light-blue));
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(11, 76, 140, 0.3);
}

.form-footer {
    margin-top: 20px;
    text-align: center;
}

.form-footer p {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
}

.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.related-articles h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.related-articles a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.related-articles a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Author Bio */
.author-bio {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--unittas-blue);
}

.author-bio h4 {
    color: var(--unittas-blue);
    margin-bottom: 10px;
}

.author-bio p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.author-stats .stat {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.author-stats .number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--unittas-blue);
}

.author-stats .label {
    font-size: 12px;
    color: #666;
}

.author-cta {
    display: inline-block;
    background: var(--unittas-blue);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.author-cta:hover {
    background: var(--unittas-light-blue);
    transform: translateY(-2px);
}

/* Fixed Call Buttons */
.fixed-call-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    z-index: 998;
    transition: all 0.3s;
    display: none;
}

.floating-call-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .appointment-form {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 40px auto;
    }
       .floating-call-btn {
                display: flex;
            }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    
    .header-phone {
        display: none;
    }
    
    .floating-call-btn {
        display: flex;
    }
    
    .article-banner h1 {
        font-size: 28px;
    }
    
    .article-meta {
        flex-direction: column;
    }
    
    .meta-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .key-highlights {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .fixed-call-btn {
        display: block;
    }
}