/* ══════════════════════════════════════════
       ON-PAGE SEO HERO SECTION
   ══════════════════════════════════════════ */
.onpagehero-section {
    background: #F5F4F0;
    padding: 100px 40px;
}

.onpagehero-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.onpagehero-h1 {
    font-family: "f4", serif;
    font-size: clamp(40px, 5.5vw, 72px);
    color: #111111;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.onpagehero-italic {
    font-family: "f4", serif;
    font-style: italic;
    color: #2C4A6E;
    font-weight: 400;
}

.onpagehero-subtitle {
    font-family: "f3", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
}

.onpagehero-desc {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #555555;
    line-height: 1.75;
    margin-bottom: 36px;
}

.onpagehero-btns {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.onpagehero-btn-primary {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #ffffff;
    background: #111111;
    border: 2px solid #111111;
    border-radius: 8px;
    padding: 13px 26px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.onpagehero-btn-primary:hover {
    background: transparent;
    color: #111111;
}

.onpagehero-btn-ghost {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #2C4A6E;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.onpagehero-btn-ghost:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .onpagehero-section {
        padding: 72px 24px;
    }
}

@media (max-width: 480px) {
    .onpagehero-section {
        padding: 56px 16px;
    }

    .onpagehero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

/* ══════════════════════════════════════════
       ABOUT ON-PAGE SEO SECTION
   ══════════════════════════════════════════ */
.aboutonpage-section {
    background: #F5F4F0;
    padding: 40px 40px;
}

.aboutonpage-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.aboutonpage-tag {
    font-family: "f2", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #4A6741;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.aboutonpage-dash {
    color: #4e6640;
}

.aboutonpage-h2 {
    font-family: "f4", serif;
    font-size: 42px;
    color: #111111;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.3px;
    margin-bottom: 28px;
}

.aboutonpage-italic {
    font-family: "f4", serif;
    font-style: italic;
    color: #2C4A6E;
    font-weight: 400;
}

.aboutonpage-body {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #333333;
    line-height: 1.85;
    margin-bottom: 36px;
}

.aboutonpage-btns {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.aboutonpage-btn-primary {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #ffffff;
    background: #111111;
    border: 2px solid #111111;
    border-radius: 8px;
    padding: 13px 26px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.aboutonpage-btn-primary:hover {
    background: transparent;
    color: #111111;
}

.aboutonpage-btn-ghost {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #2C4A6E;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.aboutonpage-btn-ghost:hover {
    opacity: 0.7;
}

.aboutonpage-right {
    border-radius: 12px;
    overflow: hidden;
}

.aboutonpage-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .aboutonpage-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .aboutonpage-img {
        height: 340px;
    }
}

@media (max-width: 480px) {
    .aboutonpage-section {
        padding: 12px 16px 56px;
    }

    .aboutonpage-img {
        height: 240px;
    }

    .aboutonpage-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}



/* ══════════════════════════════════════════
       SEO SERVICE CHENNAI SECTION
   ══════════════════════════════════════════ */
.seosvc-section {
    background: #F5F4F0;
    padding: 80px 40px 100px;
}

.seosvc-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.seosvc-h2 {
    font-family: "f4", serif;
    font-size: clamp(22px, 2.8vw, 36px);
    color: #111111;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 48px;
}

.seosvc-italic {
    font-family: "f4", serif;
    font-style: italic;
    color: #2C4A6E;
    font-weight: 400;
}

/* Alternating rows */
.seosvc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.seosvc-row:last-child {
    margin-bottom: 0;
}

/* Cards */
.seosvc-card {
    border-radius: 16px;
    padding: 36px 32px;
}

.seosvc-card--blue {
    background: #ddeaf5;
}

.seosvc-card--green {
    background: #ddeedd;
}

.seosvc-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #555555;
    margin-bottom: 24px;
}

.seosvc-card-title {
    font-family: "f3", sans-serif;
    font-size: 26px;
    color: #111111;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.2;
}

.seosvc-card-body {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #444444;
    line-height: 1.8;
    margin-bottom: 14px;
}

.seosvc-card-body:last-child {
    margin-bottom: 0;
}

/* Images */
.seosvc-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seosvc-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .seosvc-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* On mobile, always show card before image */
    .seosvc-row:nth-child(3) .seosvc-img-wrap {
        order: 2;
    }

    .seosvc-row:nth-child(3) .seosvc-card {
        order: 1;
    }

    .seosvc-img {
        height: 260px;
    }

    .seosvc-section {
        padding: 56px 24px 72px;
    }
}

@media (max-width: 480px) {
    .seosvc-section {
        padding: 40px 16px 56px;
    }

    .seosvc-card {
        padding: 28px 24px;
    }

    .seosvc-img {
        height: 200px;
    }
}



/* ══════════════════════════════════════════
       SEO FREELANCER CHENNAI SECTION
   ══════════════════════════════════════════ */
.seofreelancer-section {
    background: #F5F4F0;
    padding: 40px 40px;
}

.seofreelancer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.seofreelancer-h2 {
    font-family: "f4", serif;
    font-size: 52px;
    color: #111111;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin-bottom: 28px;
}

.seofreelancer-italic {
    font-family: "f4", serif;
    font-style: italic;
    color: #2C4A6E;
    font-weight: 400;
}

.seofreelancer-body {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #444444;
    line-height: 1.85;
    margin-bottom: 20px;
}

.seofreelancer-body:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .seofreelancer-section {
        padding: 64px 24px 72px;
    }
}

@media (max-width: 480px) {
    .seofreelancer-section {
        padding: 48px 16px 56px;
    }
}



/* ══════════════════════════════════════════
       CORE SEO SERVICES SECTION
   ══════════════════════════════════════════ */
.coreseo-section {
    background: #F5F4F0;
    padding: 80px 40px 100px;
}

.coreseo-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.coreseo-h2 {
    font-family: "f4", serif;
    font-size: clamp(28px, 3.5vw, 48px);
    color: #111111;
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.5px;
    margin-bottom: 52px;
}

.coreseo-italic {
    font-family: "f4", serif;
    font-style: italic;
    color: #2C4A6E;
    font-weight: 400;
}

.coreseo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.coreseo-card {
    border-radius: 16px;
    padding: 36px 32px 40px;
}

.coreseo-card--blue {
    background: #ddeaf5;
}

.coreseo-card--green {
    background: #ddeedd;
}

.coreseo-card--yellow {
    background: #faf3dc;
}

.coreseo-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #666666;
    margin-bottom: 28px;
}

.coreseo-card-title {
    font-family: "f4", sans-serif;
    font-size: 26px;
    color: #111111;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.coreseo-card-italic {
    font-family: "f4", serif;
    font-style: italic;
    color: #2C4A6E;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.05em;
}

.coreseo-card-sub {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #4A6741;
    margin-bottom: 18px;
    line-height: 1.5;
}

.coreseo-card-body {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #444444;
    line-height: 1.85;
}

@media (max-width: 992px) {
    .coreseo-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .coreseo-section {
        padding: 64px 24px 72px;
    }
}

@media (max-width: 480px) {
    .coreseo-section {
        padding: 48px 16px 56px;
    }

    .coreseo-card {
        padding: 28px 24px 32px;
    }
}



/* ══════════════════════════════════════════
       WHY SEO EXPERT CHENNAI SECTION
   ══════════════════════════════════════════ */
.whyseo-section {
    background: #F5F4F0;
    padding: 40px 40px;
}

.whyseo-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.whyseo-h2 {
    font-family: "f4", serif;
    font-size: 54px;
    color: #111111;
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
}

.whyseo-italic {
    font-family: "f4", serif;
    font-style: italic;
    color: #2C4A6E;
    font-weight: 400;
}

.whyseo-body {
    font-family: "f1", sans-serif;
    font-size: 18px;
    color: #555555;
    line-height: 1.85;
    margin-bottom: 20px;
}

.whyseo-body:last-child {
    margin-bottom: 0;
}

/* YouTube embed — responsive 16:9 */
.whyseo-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    background: #111111;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.whyseo-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 14px;
    display: block;
}

@media (max-width: 992px) {
    .whyseo-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .whyseo-section {
        padding: 64px 24px 72px;
    }
}

@media (max-width: 480px) {
    .whyseo-section {
        padding: 48px 16px 56px;
    }
}