/* ==========================================
   1. STRUCTURE & WRAPPER
   ========================================== */
.seo-layout-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    box-sizing: border-box;
}
@media screen and (max-width: 768px) {
    .seo-layout-container {
        padding: 40px 0;
    }
}

/* ==========================================
   2. HERO SECTION (With Optional Dark Overlay)
   ========================================== */
.seo-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/seo-hero-bg.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
}
.seo-hero-section h1 {
    font-size: 3rem;
    color: #ffffff; 
    margin-bottom: 20px;
    margin-top: 0;
}
.seo-hero-subtitle {
    font-size: 1.3rem;
    color: #f1f1f1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
@media screen and (max-width: 768px) {
    .seo-hero-section h1 {
        font-size: 2rem;
    }
    .seo-hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ==========================================
   3. SERVICES GRID & DYNAMIC HOVER CARDS
   ========================================== */
.seo-grid-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}
.seo-cards-holder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.seo-single-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.seo-single-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #0056b3;
}
.seo-single-card h3 {
    font-size: 1.4rem;
    color: #0056b3;
    margin-bottom: 15px;
    margin-top: 0;
}
.seo-single-card p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Icon Formatting and Animated Hover Transitions --- */
.seo-card-icon-box {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.seo-single-card i {
    font-size: 2.2rem;       
    color: #0056b3;          
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
}
.seo-single-card:hover i {
    color: #003d80; 
    transform: scale(1.1); 
}
@media screen and (max-width: 768px) {
    .seo-cards-holder {
        gap: 20px;
    }
    .seo-single-card {
        padding: 20px;
    }
    .seo-card-icon-box {
        margin-bottom: 15px;
    }
    .seo-card-icon-box i {
        font-size: 1.8rem;   
    }
}

/* ==========================================
   4. CALL TO ACTION (CTA)
   ========================================== */
.seo-cta-section {
    background: linear-gradient(135deg, #0056b3, #003d80);
    color: #ffffff;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1140px;
}
.seo-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ffffff;
}
.seo-cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.seo-cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #0056b3;
    padding: 15px 35px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.seo-cta-btn:hover {
    background-color: #f1f1f1;
    transform: scale(1.05);
}
@media screen and (max-width: 768px) {
    .seo-cta-section {
        margin: 20px auto;
        padding: 0 15px;
    }
    .seo-cta-section h2 {
        font-size: 1.6rem;
    }
    .seo-cta-section p {
        font-size: 1rem;
    }
    .seo-cta-btn {
        padding: 12px 25px;
        width: 100%;
        box-sizing: border-box;
    }
}
