/*==================================================
ABOUT PAGE CSS - PART 1
Global Styles
Header
Buttons
Hero Section
Story Section
Counter Section
===================================================*/
:root {
    --primary: #2d5bff;
    --secondary: #0b1220;
    --white: #ffffff;
    --light: #f7f8fc;
    --text: #6f7482;
    --heading: #121826;
    --border: #e6e8ef;
    --radius: 22px;
    --shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--heading);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    padding: 40px 0;
}

/*TYPOGRAPHY*/
h1 {
    font-size: 54px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
}

h2 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

p {
    color: var(--text);
    margin-top: 20px;
    font-size: 17px;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-tag::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--primary);
}

/*BUTTONS*/
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 100px;
    font-weight: 700;
    transition: .35s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(45, 91, 255, .35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 32px;
    border-radius: 100px;
    border: 1px solid;
    border-color: #0b1220;
    font-weight: 700;
    transition: .35s;
}

.btn-outline:hover {
    background: var(--secondary);
    color: #fff;
}

/*ABOUT HERO*/
.about-hero {
    padding-top: 100px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: center;
}

.hero-left h1 {
    margin: 20px 0;
}

.hero-left h1 span {
    color: var(--primary);
}

.hero-left p {
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 40px;
}

.hero-right {
    position: relative;
}

.hero-right img {
    border-radius: 30px;
    box-shadow: var(--shadow);
}

/*Floating Decorative Card*/
.hero-right::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(45, 91, 255, .08);
    top: -30px;
    right: -30px;
    z-index: -1;
}

.hero-right::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: #2d5bff;
    opacity: .08;
    border-radius: 30px;
    left: -30px;
    bottom: -30px;
    transform: rotate(25deg);
}

/*OUR STORY*/
.story {
    background: #fff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story img {
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.story h2 {
    margin: 18px 0 25px;
}

.story p {
    margin-bottom: 15px;
}

/*COUNTER*/
.statistics {
    background: blue;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.stat-card:last-child {
    border-right: 0
}

.stat-card h2 {
    font-size: clamp(45px, 5vw, 70px);
    line-height: 1;
    letter-spacing: -.06em;
    color: #fff;
}

.stat-card p {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    margin-top: 12px;
}

/*SMALL TABLETS*/
@media(max-width:992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }

    .counter-box {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 38px;
    }
}

/*MOBILE*/
@media(max-width:768px) {
    section {
        padding: 60px 0;
    }

    .header .container {
        height: 70px;
    }

    nav {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .counter-box {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }
}

/*MISSION & VISION*/
.mission {
    background: #f8f9fd;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
    transition: .35s;
    border: 1px solid #edf1f6;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, .08);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

/*VALUES*/
.values {
    background: #fff;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 35px;
    transition: .35s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(45, 91, 255, .12);
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--heading);
}

.value-card p {
    margin-top: 0;
}

/*WHY CHOOSE US*/
.why {
    background: #0b1220;
    color: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.why img {
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.why h2 {
    margin: 20px 0 30px;
    color: #fff;
}

.why p {
    color: #b7bfd2;
}

.why ul {
    margin-top: 35px;
}

.why li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 18px;
    color: #fff;
}

.why li::before {
    content: "✓";
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

/*PROCESS*/
.process {
    background: #fff;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
    margin-top: 60px;
}

.timeline div {
    position: relative;
    background: #f8f9fd;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 15px;
    text-align: center;
    font-weight: 700;
    transition: .35s;
}

.timeline div:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-8px);
}

.timeline div:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 22px;
    font-weight: bold;
}

/*RESPONSIVE*/
@media(max-width:992px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        grid-template-columns: repeat(4, 1fr);
    }

    .timeline div::after {
        display: none;
    }
}

@media(max-width:768px) {
    .card {
        padding: 30px;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .why {
        text-align: center;
    }

    .why ul {
        text-align: left;
        margin-top: 30px;
    }
}

/*CTA SECTION*/
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #2d5bff, #0b1220);
    color: #fff;
    text-align: center;
}

.cta h2 {
    color: #fff;
    font-size: 48px;
    margin-bottom: 25px;
}

.cta p {
    color: rgba(255, 255, 255, .8);
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 18px;
}

.cta .btn-primary {
    background: #fff;
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-4px);
}

/*HOVER EFFECTS*/
img {
    transition: .4s;
}

img:hover {
    transform: scale(1.02);
}

.value-card,
.card,
.counter-box div {
    transition: all .35s ease;
}



/*TEXT SELECTION*/
::selection {
    background: #2d5bff;
    color: #fff;
}

/*FOCUS*/
a:focus,
button:focus {
    outline: none;
}

/*RESPONSIVE*/
@media(max-width:1200px) {
    .container {
        width: 92%;
    }
}

@media(max-width:992px) {
    .cta {
        padding: 90px 0;
    }

    .cta h2 {
        font-size: 38px;
    }
}

@media(max-width:768px) {
    .cta {
        padding: 70px 20px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .cta p {
        font-size: 16px;
    }
}


/* =========================================================
   FINAL RESPONSIVE OVERRIDES
   These rules intentionally come last so they override the
   earlier responsive rules without changing the desktop design.
   ========================================================= */

html {
    overflow-x: hidden;
}

body {
    min-width: 0;
    overflow-x: hidden;
}

.container {
    width: var(--container);
    margin-inline: auto;
}



.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

/* Desktop sizing */
@media (min-width: 993px) {
    .main-nav {
        display: flex;
    }

    .about-hero {
        padding-top: 110px;
    }
}

/* Large tablets / small laptops */
@media (max-width: 1200px) {
    .container {
        width: min(1100px, calc(100% - 48px));
    }

    .hero-grid,
    .story-grid,
    .why-grid {
        gap: 48px;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.9fr;
    }

    .timeline {
        gap: 14px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    section {
        padding: 72px 0;
    }

    .container {
        width: min(760px, calc(100% - 40px));
    }

    .about-hero {
        padding-top: 80px;
    }

    .hero-grid,
    .story-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-left {
        text-align: center;
        max-width: 760px;
        margin-inline: auto;
    }

    .hero-left p {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-right {
        max-width: 720px;
        width: 100%;
        margin-inline: auto;
    }

    .story-grid>div:first-child,
    .why-grid>div:first-child {
        max-width: 720px;
        width: 100%;
        margin-inline: auto;
    }

    .story-grid>div:last-child {
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        text-align: center;
    }

    .stat-card:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, .12);
    }

    .stat-card:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why {
        text-align: center;
    }

    .why ul {
        max-width: 560px;
        margin-inline: auto;
        text-align: left;
    }

    .timeline {
        grid-template-columns: repeat(4, 1fr);
    }

    .timeline div::after {
        display: none;
    }

    .cta {
        padding: 90px 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        width: calc(100% - 32px);
    }

    section {
        padding: 56px 0;
    }

    .site-header .nav-wrap {
        min-height: 68px;
    }

    .brand-mark {
        max-width: 150px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 16px 18px;
        background: rgba(255, 255, 255, .98);
        border-top: 1px solid rgba(0, 0, 0, .06);
        box-shadow: 0 18px 35px rgba(0, 0, 0, .10);
        z-index: 100;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 8px;
    }

    .main-nav .nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .about-hero {
        padding-top: 68px;
    }

    h1,
    .hero-left h1 {
        font-size: clamp(34px, 9vw, 44px);
        line-height: 1.08;
        letter-spacing: -1.3px;
    }

    h2 {
        font-size: clamp(29px, 7.5vw, 36px);
        line-height: 1.15;
    }

    h3 {
        font-size: 21px;
    }

    p {
        font-size: 16px;
        line-height: 1.65;
    }

    .section-title {
        margin-bottom: 42px;
    }

    .section-tag {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-top: 50px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 30px;
    }

    .hero-buttons a,
    .cta .btn-primary {
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
    }

    .hero-right::before {
        width: 110px;
        height: 110px;
        top: -18px;
        right: -12px;
    }

    .hero-right::after {
        width: 80px;
        height: 80px;
        left: -12px;
        bottom: -18px;
    }

    .story-grid {
        gap: 32px;
    }

    .story h2 {
        margin-bottom: 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 24px 12px;
    }

    .stat-card:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, .12);
    }

    .stat-card h2 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .stat-card p {
        font-size: 12px;
    }

    .mission-grid,
    .value-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card,
    .value-card {
        padding: 25px 22px;
    }

    .why-grid {
        gap: 30px;
    }

    .why h2 {
        margin-bottom: 24px;
    }

    .why li {
        font-size: 16px;
        gap: 10px;
        margin-bottom: 14px;
    }

    .why li::before {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .timeline {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 35px;
    }

    .timeline div {
        padding: 22px 10px;
        font-size: 14px;
    }

    .cta {
        padding: 70px 0;
    }

    .cta h2 {
        font-size: clamp(29px, 7.5vw, 36px);
    }

    .cta p {
        font-size: 16px;
    }

    /* Prevent floating controls from covering content on phones */
    .floating-actions {
        right: 14px;
        bottom: 14px;
        gap: 8px;
    }

    .floating-fab {
        width: 48px;
        height: 48px;
    }


}

/* Small phones */
@media (max-width: 480px) {
    .container {
        width: calc(100% - 24px);
    }

    section {
        padding: 48px 0;
    }

    .about-hero {
        padding-top: 52px;
    }

    .brand-mark {
        max-width: 135px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    h1,
    .hero-left h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .hero-buttons a,
    .cta .btn-primary {
        max-width: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card,
    .stat-card:nth-child(odd) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .stat-card:last-child {
        border-bottom: 0;
    }

    .value-card,
    .card {
        border-radius: 18px;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .timeline div {
        padding: 18px;
    }



    .floating-actions {
        right: 10px;
        bottom: 10px;
    }

    .floating-fab {
        width: 44px;
        height: 44px;
    }
}

/* Landscape phones */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
    .about-hero {
        padding-top: 48px;
    }

    section {
        padding: 45px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .hero-left {
        text-align: left;
    }

    .hero-left p {
        margin-inline: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
        flex-direction: row;
    }

    .hero-right {
        max-width: none;
    }
}

/* Accessibility / motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
/* Remove unwanted space below header */
.site-header {
    margin-bottom: 0 !important;
}

.site-header + main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.site-header + section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}