:root {
    --navy: #0B2447;
    --dark-navy: #06172F;
    --red: #D71920;
    --dark-red: #B51218;
    --black: #111111;
    --white: #FFFFFF;
    --light: #F5F7FA;
    --grey: #667085;
    --border: #E5E7EB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--black);
    background: var(--white);
}

button,
input,
select,
textarea {
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(92%, 1280px);
    margin-left: auto;
    margin-right: auto;
}


/* HEADER */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.04);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 250px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex: 1;
}

.main-nav a {
    position: relative;
    color: #111111;
    font-size: 14px;
    font-weight: 700;
    padding: 35px 0 32px;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: var(--red);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 25px;
    width: 0;
    height: 3px;
    background: var(--red);
    border-radius: 3px;
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.login-button {
    color: #111111;
    font-size: 14px;
    font-weight: 800;
}

.login-button:hover {
    color: var(--red);
}

.apply-button {
    min-width: 120px;
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: white;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 900;
    transition: 0.2s ease;
}

.apply-button:hover {
    background: var(--dark-red);
}


/* HERO */

.hero {
    min-height: 690px;
    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(38, 72, 116, 0.55),
            transparent 35%
        ),
        linear-gradient(
            115deg,
            #06172f 0%,
            #0b2447 55%,
            #102f57 100%
        );

    color: white;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    padding: 75px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    color: #ff4148;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.hero-badge::before {
    content: "";
    width: 35px;
    height: 3px;
    background: var(--red);
    margin-right: 14px;
}

.hero h1 {
    font-size: clamp(52px, 5.2vw, 76px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -2px;
    max-width: 760px;
    margin-bottom: 26px;
}

.hero h1 span {
    display: block;
    color: #ff3038;
}

.hero-text {
    max-width: 720px;
    color: #d8e0eb;
    font-size: 19px;
    line-height: 1.75;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 48px;
}

.primary-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: white;
    padding: 0 28px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 900;
    transition: 0.2s ease;
}

.primary-button:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.secondary-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.85);
    color: white;
    padding: 0 28px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 800;
    transition: 0.2s ease;
}

.secondary-button:hover {
    background: white;
    color: var(--navy);
}

.hero-points {
    display: flex;
    align-items: center;
}

.hero-points > div {
    padding-right: 28px;
    margin-right: 28px;
    border-right: 1px solid rgba(255,255,255,0.17);
}

.hero-points > div:last-child {
    border-right: 0;
}

.hero-points strong {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 3px;
}

.hero-points span {
    color: #9fb0c5;
    font-size: 13px;
}


/* TAX CASE */

.hero-right {
    position: relative;
}

.tax-window {
    position: relative;
    background: #ffffff;
    color: var(--black);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.32);
    border: 1px solid rgba(255,255,255,0.2);
}

.tax-window::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    background: rgba(215,25,32,0.14);
    border-radius: 50%;
    right: -80px;
    top: -70px;
}

.tax-window-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 22px;
    border-bottom: 1px solid #e8ecf1;
}

.window-label {
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.tax-window-top h3 {
    color: var(--navy);
    font-size: 23px;
    font-weight: 900;
    margin-top: 4px;
}

.case-status {
    background: #eaf6ef;
    color: #17783b;
    border-radius: 20px;
    padding: 7px 12px;
    font-size: 10px;
    font-weight: 900;
}

.taxpayer-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 22px 0;
    padding: 17px;
    background: #f7f9fc;
    border-radius: 8px;
    border: 1px solid #e9edf2;
}

.taxpayer-icon {
    width: 50px;
    height: 50px;
    border-radius: 7px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 900;
}

.taxpayer-card span {
    display: block;
    color: var(--red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.taxpayer-card h4 {
    color: var(--navy);
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 2px;
}

.taxpayer-card p {
    color: var(--grey);
    font-size: 12px;
}

.tax-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.case-box {
    min-height: 112px;
    padding: 16px;
    border: 1px solid #e7eaf0;
    border-radius: 7px;
    background: white;
}

.case-box > span {
    display: inline-flex;
    background: #eef2f8;
    color: var(--navy);
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 10px;
}

.case-box strong {
    display: block;
    color: #1a2433;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

.case-box small {
    color: #7b8797;
    font-size: 11px;
}

.case-progress {
    margin-top: 23px;
}

.progress-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

.progress-bar {
    width: 100%;
    height: 7px;
    background: #edf0f4;
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    width: 68%;
    height: 100%;
    background: linear-gradient(90deg,var(--navy),var(--red));
    border-radius: 20px;
}

.case-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #6e7887;
    font-size: 11px;
}

.case-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}


/* COMMON SECTION */

.section-label {
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
}


/* WHY KENYATAX */

.why-section {
    background: #ffffff;
    padding: 100px 0 110px;
}

.section-heading {
    max-width: 850px;
    margin-bottom: 55px;
}

.section-heading h2 {
    color: var(--navy);
    font-size: clamp(38px,4vw,56px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-heading h2 span {
    color: var(--red);
}

.section-heading p {
    color: var(--grey);
    font-size: 18px;
    line-height: 1.8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px;
}

.why-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
    padding: 32px 28px 34px;
    min-height: 265px;
    transition: 0.25s ease;
    overflow: hidden;
}

.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--red);
    transition: 0.25s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(11,36,71,0.10);
}

.why-card:hover::before {
    width: 100%;
}

.why-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3f9;
    color: var(--navy);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 28px;
}

.why-card h3 {
    color: var(--navy);
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 14px;
}

.why-card p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.75;
}


/* HOW IT WORKS */

.how-section {
    background: #f4f7fb;
    padding: 105px 0;
}

.how-heading {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 65px;
}

.how-heading h2 {
    color: var(--navy);
    font-size: clamp(38px,4vw,56px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -1px;
}

.how-heading h2 span {
    color: var(--red);
}

.how-heading > p {
    color: var(--grey);
    font-size: 17px;
    line-height: 1.8;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.process-card {
    background: white;
    padding: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    min-height: 265px;
    transition: 0.25s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(11,36,71,0.10);
}

.process-top {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

.process-number {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

.process-line {
    height: 2px;
    flex: 1;
    background: #e3e8ef;
    margin-left: 18px;
}

.process-card h3 {
    color: var(--navy);
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 13px;
}

.process-card p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.75;
}

.process-summary {
    margin-top: 38px;
    background: var(--navy);
    border-radius: 10px;
    padding: 30px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.summary-left span {
    display: block;
    color: #ff444b;
    font-size: 11px;
    letter-spacing: 1.8px;
    font-weight: 900;
    margin-bottom: 7px;
}

.summary-left strong {
    color: white;
    font-size: 18px;
    font-weight: 800;
}

.process-button {
    flex-shrink: 0;
    background: var(--red);
    color: white;
    padding: 15px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 900;
}

.process-button:hover {
    background: var(--dark-red);
}


/* FOOTER */

.site-footer {
    background: var(--dark-navy);
    color: white;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.footer-content h4 {
    margin-bottom: 15px;
}

.footer-content p,
.footer-content a {
    color: #cbd5e1;
}

.footer-content a {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    padding: 20px;
    color: #94a3b8;
    font-size: 13px;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .main-nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-right {
        padding-bottom: 70px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .how-heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 700px) {

    .header-inner {
        min-height: 78px;
    }

    .logo img {
        width: 180px;
    }

    .login-button {
        display: none;
    }

    .apply-button {
        min-height: 43px;
        padding: 0 16px;
    }

    .hero-left {
        padding: 60px 0 35px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-points {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-points > div {
        border-right: 0;
        padding-right: 0;
        margin-right: 0;
    }

    .tax-case-grid,
    .why-grid,
    .process-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .why-section,
    .how-section {
        padding: 70px 0;
    }

    .process-summary {
        flex-direction: column;
        align-items: flex-start;
    }

}