/* =========================================================
   KARTHIKEYAN GROUP OF INSTITUTIONS
   SEO Information Landing Page
========================================================= */

:root {

    --primary: #174a8b;
    --primary-dark: #10396d;
    --secondary: #08a6a6;

    --dark: #132238;
    --text: #5d6b7d;
    --muted: #8793a2;

    --light: #f4f8fc;
    --white: #ffffff;

    --border: #e3eaf2;

    --shadow:
        0 20px 60px rgba(19, 34, 56, 0.10);

    --container: 1180px;

    --radius: 20px;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.7;
}

a {
    text-decoration: none;

    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(92%, var(--container));

    margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    padding: 22px 0;
}

.nav-wrapper {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {
    display: flex;

    align-items: center;

    gap: 12px;
}

.logo-icon {
    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    border-radius: 13px;

    font-size: 21px;

    box-shadow:
        0 10px 25px rgba(23, 74, 139, 0.20);
}

.logo-text strong {
    display: block;

    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 21px;

    line-height: 1;
}

.logo-text span {
    display: block;

    color: var(--muted);

    font-size: 9px;

    margin-top: 4px;
}

.navigation {
    display: flex;

    align-items: center;

    gap: 32px;
}

.navigation a {
    color: var(--dark);

    font-size: 14px;

    font-weight: 600;

    transition: .3s;
}

.navigation a:hover {
    color: var(--primary);
}

.website-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 18px;

    color: var(--white);

    background: var(--dark);

    border-radius: 50px;

    font-size: 12px;

    font-weight: 700;

    transition: .3s;
}

.website-btn:hover {
    background: var(--primary);

    transform: translateY(-2px);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 750px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    padding: 130px 0 90px;

    background:
        linear-gradient(
            135deg,
            #edf5ff 0%,
            #ffffff 50%,
            #edfbfb 100%
        );
}

.hero-pattern {
    position: absolute;

    width: 550px;
    height: 550px;

    right: -220px;
    top: -220px;

    border-radius: 50%;

    border: 80px solid rgba(23, 74, 139, .04);
}

.hero-pattern::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    top: 60px;
    left: 60px;

    border-radius: 50%;

    border: 1px solid rgba(23, 74, 139, .10);
}

.hero-grid {
    display: grid;

    grid-template-columns:
        1.05fr
        .95fr;

    align-items: center;

    gap: 80px;

    position: relative;

    z-index: 2;
}

.badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    color: var(--primary);

    background: rgba(23, 74, 139, .08);

    border-radius: 50px;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 20px;
}

.badge i {
    color: #16a66d;
}

.hero-content h1 {
    font-family: "Manrope", sans-serif;

    color: var(--dark);

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1.06;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.hero-content h1 span {
    display: block;

    color: var(--primary);
}

.hero-description {
    max-width: 650px;

    font-size: 16px;

    color: var(--text);

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 14px 23px;

    border-radius: 50px;

    font-size: 13px;

    font-weight: 700;

    transition: .3s;
}

.primary-btn {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #2366b3
        );

    box-shadow:
        0 12px 25px rgba(23, 74, 139, .20);
}

.primary-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 30px rgba(23, 74, 139, .28);
}

.secondary-btn {
    color: var(--primary);

    border: 1px solid var(--primary);
}

.secondary-btn:hover {
    color: var(--white);

    background: var(--primary);
}


/* =========================
   HERO STATS
========================= */

.hero-stats {
    display: flex;

    gap: 35px;

    margin-top: 50px;
}

.hero-stats div {
    position: relative;
}

.hero-stats div:not(:last-child)::after {
    content: "";

    position: absolute;

    width: 1px;
    height: 30px;

    right: -18px;

    top: 4px;

    background: var(--border);
}

.hero-stats strong {
    display: block;

    color: var(--primary);

    font-family: "Manrope", sans-serif;

    font-size: 20px;
}

.hero-stats span {
    display: block;

    color: var(--muted);

    font-size: 10px;
}


/* =========================
   HERO CARD
========================= */

.hero-card-wrapper {
    position: relative;

    min-height: 440px;

    display: grid;

    place-items: center;
}

.hero-card {
    width: 350px;

    min-height: 390px;

    padding: 40px;

    position: relative;

    overflow: hidden;

    color: var(--white);

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            var(--primary),
            #0c9b9e
        );

    box-shadow:
        0 35px 80px rgba(23, 74, 139, .25);

    transform: rotate(2deg);
}

.hero-card::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    border: 50px solid rgba(255,255,255,.06);
}

.hero-card-icon {
    width: 62px;
    height: 62px;

    display: grid;

    place-items: center;

    background: rgba(255,255,255,.12);

    border-radius: 18px;

    font-size: 26px;

    margin-bottom: 30px;
}

.hero-card > span {
    color: rgba(255,255,255,.65);

    font-size: 12px;
}

.hero-card h2 {
    font-family: "Manrope", sans-serif;

    font-size: 38px;

    line-height: 1.1;

    margin: 12px 0 18px;
}

.hero-card p {
    color: rgba(255,255,255,.78);

    font-size: 13px;

    line-height: 1.7;
}

.hero-card-footer {
    position: absolute;

    left: 40px;
    bottom: 35px;
}

.hero-card-footer span {
    display: flex;

    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,.8);

    font-size: 11px;
}


/* =========================
   FLOATING ICONS
========================= */

.floating-icon {
    width: 60px;
    height: 60px;

    display: grid;

    place-items: center;

    position: absolute;

    color: var(--primary);

    background: var(--white);

    border-radius: 18px;

    font-size: 22px;

    box-shadow:
        0 15px 35px rgba(19, 34, 56, .12);

    animation: float 4s ease-in-out infinite;
}

.icon-one {
    top: 45px;

    left: 25px;
}

.icon-two {
    right: 10px;

    top: 130px;

    color: #0a9c8d;

    animation-delay: .8s;
}

.icon-three {
    bottom: 40px;

    left: 55px;

    color: #d58a18;

    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 105px 0;
}

.section-heading {
    max-width: 800px;

    margin-bottom: 55px;
}

.section-heading.center {
    text-align: center;

    margin-left: auto;

    margin-right: auto;
}

.section-label {
    display: inline-block;

    color: var(--secondary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 13px;
}

.section-heading h2 {
    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    margin-bottom: 18px;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading p {
    font-size: 15px;
}


/* =========================
   FEATURES
========================= */

.about {
    background: var(--white);
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.feature-card {
    padding: 30px 25px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: .35s;
}

.feature-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);

    border-color: transparent;
}

.feature-icon {
    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    color: var(--primary);

    background: #edf5ff;

    border-radius: 16px;

    font-size: 23px;

    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 18px;

    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
}


/* =========================
   COURSES
========================= */

.courses {
    background: var(--light);
}

.course-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    max-width: 900px;

    margin: auto;
}

.course-card {
    position: relative;

    overflow: hidden;

    padding: 38px;

    border-radius: 25px;

    background: var(--white);

    border: 1px solid var(--border);

    box-shadow: 0 10px 30px rgba(19,34,56,.05);
}

.course-number {
    position: absolute;

    right: 20px;
    top: 5px;

    color: rgba(23,74,139,.06);

    font-size: 70px;

    font-weight: 800;
}

.course-icon {
    width: 62px;
    height: 62px;

    display: grid;

    place-items: center;

    color: var(--white);

    background: var(--primary);

    border-radius: 17px;

    font-size: 25px;

    margin-bottom: 22px;
}

.physical .course-icon {
    background: var(--secondary);
}

.course-card h3 {
    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 23px;

    margin-bottom: 10px;
}

.course-card p {
    font-size: 13px;

    margin-bottom: 20px;
}

.course-card ul {
    list-style: none;
}

.course-card li {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--dark);

    font-size: 12px;

    margin: 8px 0;
}

.course-card li i {
    color: #17a673;
}


/* =========================
   SEO SECTION
========================= */

.seo-section {
    background: var(--white);
}

.seo-content {
    max-width: 1000px;

    margin: auto;
}

.seo-item {
    display: grid;

    grid-template-columns: 65px 1fr;

    gap: 20px;

    padding: 28px;

    margin-bottom: 18px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: #fbfdff;
}

.seo-icon {
    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    color: var(--primary);

    background: #edf5ff;

    border-radius: 14px;

    font-size: 19px;
}

.seo-label {
    display: block;

    color: var(--secondary);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    margin-bottom: 6px;
}

.seo-item h3 {
    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 17px;

    line-height: 1.5;
}

.seo-item p {
    font-size: 13px;

    line-height: 1.8;
}

.keyword-list {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}

.keyword-list span {
    display: inline-block;

    padding: 8px 12px;

    color: var(--primary);

    background: #edf5ff;

    border-radius: 50px;

    font-size: 11px;

    font-weight: 600;
}


/* =========================
   BUSINESS
========================= */

.business-section {
    padding: 90px 0;

    background: var(--light);
}

.business-card {
    padding: 55px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f2f9ff
        );

    border: 1px solid var(--border);
}

.business-heading {
    text-align: center;

    margin-bottom: 45px;
}

.business-heading h2 {
    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 36px;
}

.business-heading h2 span {
    color: var(--primary);
}

.business-details {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.detail {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 20px;

    background: var(--white);

    border-radius: 15px;

    border: 1px solid var(--border);
}

.detail-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 auto;

    display: grid;

    place-items: center;

    color: var(--primary);

    background: #edf5ff;

    border-radius: 12px;
}

.detail small {
    display: block;

    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    font-weight: 700;

    margin-bottom: 3px;
}

.detail a {
    color: var(--primary);

    font-size: 13px;

    font-weight: 600;
}

.detail p {
    font-size: 12px;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #087d88
        );

    text-align: center;
}

.cta-content {
    max-width: 750px;

    margin: auto;
}

.cta-content > span {
    color: #9de8e2;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.cta h2 {
    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.15;

    margin: 15px 0;
}

.cta h2 strong {
    color: #9de8e2;
}

.cta p {
    color: rgba(255,255,255,.75);

    font-size: 14px;

    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}

.white-btn {
    color: var(--primary);

    background: var(--white);
}

.white-btn:hover {
    transform: translateY(-3px);
}

.transparent-btn {
    color: var(--white);

    border: 1px solid rgba(255,255,255,.4);
}

.transparent-btn:hover {
    background: rgba(255,255,255,.1);
}


/* =========================
   FOOTER
========================= */

.footer {
    color: rgba(255,255,255,.6);

    background: #0d1d30;

    padding-top: 65px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        .7fr
        .9fr;

    gap: 60px;

    padding-bottom: 55px;
}

.footer-logo {
    display: flex;

    align-items: center;

    gap: 12px;
}

.footer-logo strong {
    display: block;

    color: var(--white);

    font-family: "Manrope", sans-serif;

    font-size: 20px;
}

.footer-logo span {
    display: block;

    font-size: 9px;

    color: rgba(255,255,255,.4);
}

.footer-brand p {
    max-width: 400px;

    font-size: 12px;

    line-height: 1.8;

    margin-top: 20px;
}

.footer-column h3 {
    color: var(--white);

    font-size: 15px;

    margin-bottom: 18px;
}

.footer-column a {
    display: block;

    font-size: 12px;

    margin: 9px 0;

    transition: .3s;
}

.footer-column a:hover {
    color: #6ee1d6;
}

.footer-column i {
    margin-right: 7px;

    color: #6ee1d6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);

    padding: 18px 0;
}

.footer-bottom .container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 10px;
}

.footer-bottom a {
    color: #6ee1d6;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .navigation {
        gap: 18px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-grid {
        gap: 40px;
    }

    .hero-card {
        width: 310px;
    }

}


@media (max-width: 800px) {

    .header {
        position: relative;

        background: var(--white);
    }

    .navigation,
    .website-btn {
        display: none;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-card-wrapper {
        margin-top: 30px;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .business-details {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}


@media (max-width: 550px) {

    .section {
        padding: 75px 0;
    }

    .hero-content h1 {
        font-size: 40px;

        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-stats {
        gap: 18px;
    }

    .hero-stats div:not(:last-child)::after {
        right: -10px;
    }

    .hero-card {
        width: 285px;

        min-height: 350px;

        padding: 30px;
    }

    .hero-card h2 {
        font-size: 32px;
    }

    .floating-icon {
        width: 48px;
        height: 48px;

        font-size: 17px;
    }

    .icon-one {
        left: 0;
    }

    .icon-two {
        right: 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .seo-item {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 22px;
    }

    .business-card {
        padding: 30px 20px;
    }

    .business-heading h2 {
        font-size: 29px;
    }

    .footer-bottom .container {
        flex-direction: column;

        text-align: center;
    }

}