/* Case Studies Page Specific Styles */

/* Footer social link hover effects */
footer a[href^="https://www.facebook.com"],
footer a[href^="https://www.instagram.com"],
footer a[href^="https://www.youtube.com"],
footer a[href^="https://maps.app.goo.gl"] {
    width: 40px;
    height: 40px;
    background: rgba(201, 150, 26, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a[href^="https://www.facebook.com"]:hover,
footer a[href^="https://www.instagram.com"]:hover,
footer a[href^="https://www.youtube.com"]:hover,
footer a[href^="https://maps.app.goo.gl"]:hover {
    background: #C9961A;
    transform: translateY(-3px);
}

footer a[href^="https://www.facebook.com"] i,
footer a[href^="https://www.instagram.com"] i,
footer a[href^="https://www.youtube.com"] i,
footer a[href^="https://maps.app.goo.gl"] i {
    color: #C9961A;
    font-size: 16px;
    transition: color 0.3s ease;
}

footer a[href^="https://www.facebook.com"]:hover i,
footer a[href^="https://www.instagram.com"]:hover i,
footer a[href^="https://www.youtube.com"]:hover i,
footer a[href^="https://maps.app.goo.gl"]:hover i {
    color: white;
}

/* Footer navigation link hover effects */
footer .quick-links a,
footer .services a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

footer .quick-links a:hover,
footer .services a:hover {
    color: #C9961A;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .case-studies-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Mobile font size adjustments */
    .section-header h1 {
        font-size: 1.8rem !important;
    }
    
    .section-header p {
        font-size: 1rem !important;
    }
    
    .case-study .section-header h2 {
        font-size: 1.6rem !important;
    }
    
    .case-study .section-header div {
        font-size: 1rem !important;
    }
    
    .case-study-content h3 {
        font-size: 1.1rem !important;
    }
    
    .case-study-content p,
    .case-study-content ul {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .section-header h1 {
        font-size: 1.6rem !important;
    }
    
    .section-header p {
        font-size: 0.9rem !important;
    }
    
    .case-study .section-header h2 {
        font-size: 1.4rem !important;
    }
    
    .case-study-content h3 {
        font-size: 1rem !important;
    }
    
    .case-study-content p,
    .case-study-content ul {
        font-size: 0.9rem !important;
    }
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon i {
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Case studies index — blog-style listing */
.cs-index-hero {
    background: linear-gradient(145deg, #1a365d 0%, #0f2744 45%, #1e3a5f 100%);
    color: #fff;
    padding: 72px 20px 64px;
    position: relative;
    overflow: hidden;
}

.cs-index-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 85% 20%, rgba(251, 191, 36, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.cs-index-hero-inner {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.cs-index-hero-inner .cs-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C9961A;
    margin-bottom: 14px;
}

.cs-index-hero-inner h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cs-index-hero-inner .cs-lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
}

.cs-index-list {
    background: #faf8f5;
    padding: 56px 0 40px;
}

.cs-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.cs-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(26, 54, 93, 0.08);
    border: 1px solid #d4a558;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.cs-card:hover {
    transform: translateY(-6px);
    border-color: #d4a558;
    box-shadow: 0 16px 40px rgba(212, 165, 88, 0.3);
}

.cs-card-image {
    height: 220px;
    overflow: hidden;
    background: #e8eef5;
}

.cs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cs-card:hover .cs-card-image img {
    transform: scale(1.04);
}

.cs-card-body {
    padding: 24px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cs-card-meta {
    font-size: 0.85rem;
    color: #005f8c;
    font-weight: 600;
    margin-bottom: 10px;
}

.cs-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a365d;
    line-height: 1.35;
    margin-bottom: 12px;
}

.cs-card-title--compact {
    font-size: 1.05rem;
    line-height: 1.3;
}

.cs-card-excerpt {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.cs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #005f8c;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.cs-card-link:hover {
    color: #1a365d;
    gap: 12px;
}
