/* =========================================================
   SHREE GANPATI INFOTECH
   OUR STORY PAGE
   BOOTSTRAP FREE
========================================================= */

:root {
    --story-blue: #2D4354;
    --story-sage: #73766A;
    --story-peach: #FED7A5;
    --story-terra: #9E6752;
    --story-brown: #534145;
    --story-black: #20212B;
    --story-white: #ffffff;
    --story-soft: #f7f6f2;
    --story-line: rgba(45, 67, 84, .13);

    --story-shadow:
        0 25px 70px rgba(32, 33, 43, .11);

    --story-transition:
        .4s cubic-bezier(.2, .8, .2, 1);
}


/* =========================================================
   BASE
========================================================= */

.story-page {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(254, 215, 165, .25),
            transparent 25%
        ),
        var(--story-soft);

    color: var(--story-black);
}


.story-container {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.story-hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f8f4ed 55%,
            #edf2f4
        );
}


.story-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -250px;
    bottom: -300px;

    border-radius: 50%;

    border: 1px solid rgba(45, 67, 84, .1);
}


.story-orb {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.story-orb-one {
    width: 380px;
    height: 380px;

    top: -190px;
    left: -130px;

    background: rgba(115, 118, 106, .12);

    animation: storyFloat 8s ease-in-out infinite;
}


.story-orb-two {
    width: 240px;
    height: 240px;

    right: 10%;
    top: 8%;

    background: rgba(254, 215, 165, .35);

    animation: storyFloat 6s ease-in-out infinite reverse;
}


.story-hero .story-container {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 80px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.story-hero-content {
    max-width: 680px;
}


.story-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 15px;

    border: 1px solid var(--story-line);
    border-radius: 50px;

    background: rgba(255,255,255,.85);

    color: var(--story-blue);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .14em;
    text-transform: uppercase;

    box-shadow: 0 10px 30px rgba(32,33,43,.06);
}


.story-eyebrow i {
    color: var(--story-terra);
}


.story-hero h1 {
    margin: 25px 0 22px;

    font-size: clamp(52px, 6vw, 88px);
    line-height: .92;

    letter-spacing: -.06em;
    font-weight: 900;
}


.story-hero h1 span {
    display: block;
    color: var(--story-terra);
}


.story-hero p {
    max-width: 570px;

    margin: 0;

    color: #666871;

    font-size: 17px;
    line-height: 1.8;
}


.story-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-top: 35px;

    padding: 15px 22px;

    border-radius: 50px;

    background: var(--story-blue);
    color: var(--story-white);

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;

    box-shadow:
        0 15px 35px rgba(45,67,84,.2);

    transition: var(--story-transition);
}


.story-hero-btn:hover {
    background: var(--story-terra);
    color: white;

    transform: translateY(-4px);
}


.story-hero-btn i {
    transition: .3s ease;
}


.story-hero-btn:hover i {
    transform: translateY(4px);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.story-hero-visual {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.story-visual-ring {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(45,67,84,.13);
}


.ring-one {
    width: 420px;
    height: 420px;

    animation:
        storyRotate 18s linear infinite;
}


.ring-two {
    width: 330px;
    height: 330px;

    border-style: dashed;

    animation:
        storyRotate 14s linear infinite reverse;
}


.story-main-card {
    position: relative;
    z-index: 3;

    width: 285px;
    height: 340px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 38px;

    background:
        linear-gradient(
            145deg,
            var(--story-blue),
            var(--story-brown)
        );

    color: white;

    box-shadow:
        0 40px 90px rgba(32,33,43,.2);

    transform: rotate(-4deg);

    animation:
        storyCardFloat 5s ease-in-out infinite;
}


.story-main-card::before {
    content: "";

    position: absolute;

    inset: 12px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 30px;
}


.story-card-icon {
    position: relative;

    width: 75px;
    height: 75px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 24px;

    background: rgba(255,255,255,.1);

    color: var(--story-peach);

    font-size: 29px;
}


.story-main-card span {
    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .22em;

    opacity: .6;
}


.story-main-card strong {
    margin-top: 5px;

    font-size: 31px;

    letter-spacing: -.04em;
}


.story-card-line {
    width: 55px;
    height: 3px;

    margin: 20px 0 15px;

    border-radius: 10px;

    background: var(--story-peach);
}


.story-main-card small {
    font-size: 10px;

    letter-spacing: .08em;

    opacity: .6;
}


/* =========================================================
   MINI CARDS
========================================================= */

.story-mini-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 13px 16px;

    background: rgba(255,255,255,.92);

    border: 1px solid rgba(255,255,255,.9);

    border-radius: 17px;

    box-shadow: var(--story-shadow);

    backdrop-filter: blur(15px);

    color: var(--story-blue);

    animation: storyMiniFloat 4s ease-in-out infinite;
}


.story-mini-card i {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--story-peach);

    color: var(--story-terra);
}


.story-mini-card div {
    display: flex;
    flex-direction: column;
}


.story-mini-card strong {
    font-size: 12px;
}


.story-mini-card span {
    color: var(--story-sage);

    font-size: 10px;
}


.mini-one {
    top: 70px;
    right: 5px;
}


.mini-two {
    bottom: 70px;
    left: 0;

    animation-delay: 1s;
}


/* =========================================================
   STORY SECTION
========================================================= */

.story-section {
    padding: 10px 0;
}


.story-intro-grid {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 100px;
}


.section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--story-terra);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .18em;
    text-transform: uppercase;
}


.story-heading h2 {
    margin: 0;

    font-size: clamp(38px, 4.5vw, 63px);

    line-height: 1;

    letter-spacing: -.055em;
}


.story-heading h2 span {
    color: var(--story-terra);
}


.heading-line {
    width: 65px;
    height: 4px;

    margin-top: 28px;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            var(--story-terra),
            var(--story-peach)
        );
}


.story-text {
    max-width: 720px;
}


.story-text p {
    margin: 0 0 20px;

    color: #707179;

    font-size: 15px;

    line-height: 1.9;
}


.story-text .story-lead {
    margin-bottom: 28px;

    color: var(--story-blue);

    font-size: 22px;

    line-height: 1.55;

    font-weight: 600;
}


/* =========================================================
   STORY VISUAL
========================================================= */

.story-visual-section {
    display: grid;

    grid-template-columns:
        1.6fr .4fr;

    min-height: 430px;

    margin-top: 90px;

    border-radius: 35px;

    overflow: hidden;

    box-shadow: var(--story-shadow);
}


.story-visual-image {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: flex-end;

    padding: 55px;

    background:
        linear-gradient(
            125deg,
            var(--story-blue),
            var(--story-brown)
        );
}


.story-visual-image::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -150px;
    top: -220px;

    border-radius: 50%;

    border: 70px solid rgba(254,215,165,.1);
}


.story-visual-image::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    left: 12%;
    top: 12%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(254,215,165,.18),
            transparent 65%
        );
}


.visual-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(32,33,43,.3),
            transparent
        );
}


.visual-content {
    position: relative;
    z-index: 2;

    max-width: 620px;

    color: white;
}


.visual-content > span {
    color: var(--story-peach);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .2em;
}


.visual-content h3 {
    margin: 12px 0;

    font-size: clamp(34px, 5vw, 60px);

    line-height: 1;

    letter-spacing: -.05em;
}


.visual-content h3 strong {
    color: var(--story-peach);
}


.visual-content p {
    margin: 0;

    color: rgba(255,255,255,.7);

    font-size: 13px;
}


.story-side-card {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px;

    background: var(--story-peach);

    color: var(--story-brown);
}


.side-card-number {
    margin-bottom: 45px;

    color: rgba(83,65,69,.4);

    font-size: 13px;
    font-weight: 900;
}


.story-side-card > i {
    margin-bottom: 18px;

    font-size: 30px;

    color: var(--story-terra);
}


.story-side-card h3 {
    margin: 0 0 12px;

    font-size: 25px;

    letter-spacing: -.04em;
}


.story-side-card p {
    margin: 0;

    font-size: 12px;
    line-height: 1.8;

    opacity: .75;
}


/* =========================================================
   STATS
========================================================= */

.story-stats {
    padding: 70px 0;

    background: var(--story-blue);

    color: white;
}


.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 1px;

    background: rgba(255,255,255,.12);
}


.stat-item {
    min-height: 190px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    text-align: center;

    background: var(--story-blue);
}


.stat-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 17px;

    border-radius: 15px;

    background: rgba(254,215,165,.1);

    color: var(--story-peach);
}


.stat-item strong {
    font-size: 34px;

    line-height: 1;

    letter-spacing: -.05em;
}


.stat-item span {
    margin-top: 8px;

    color: rgba(255,255,255,.6);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section {
    padding: 10px 0;
}


.why-heading {
    max-width: 720px;

    margin-bottom: 60px;
}


.why-heading h2 {
    margin: 0;

    font-size: clamp(38px, 5vw, 65px);

    line-height: 1;

    letter-spacing: -.055em;
}


.why-heading h2 span {
    color: var(--story-terra);
}


.why-heading p {
    max-width: 580px;

    margin: 20px 0 0;

    color: #74757c;

    font-size: 14px;
    line-height: 1.8;
}


.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}


.why-card {
    position: relative;

    min-height: 350px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border: 1px solid var(--story-line);

    border-radius: 25px;

    background: white;

    overflow: hidden;

    transition: var(--story-transition);
}


.why-card::before {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    right: -80px;
    bottom: -80px;

    border-radius: 50%;

    background: var(--story-peach);

    opacity: .35;

    transition: var(--story-transition);
}


.why-card:hover {
    transform: translateY(-10px);

    border-color: transparent;

    box-shadow: var(--story-shadow);
}


.why-card:hover::before {
    transform: scale(1.5);
}


.why-number {
    color: #aaa;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .15em;
}


.why-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin: 40px 0 25px;

    border-radius: 18px;

    background: var(--story-soft);

    color: var(--story-terra);

    font-size: 23px;

    transition: var(--story-transition);
}


.why-card:hover .why-icon {
    background: var(--story-blue);
    color: var(--story-peach);

    transform: rotate(-6deg) scale(1.05);
}


.why-card-content {
    position: relative;
    z-index: 2;
}


.why-card h3 {
    margin: 0 0 12px;

    color: var(--story-blue);

    font-size: 22px;

    letter-spacing: -.04em;
}


.why-card p {
    margin: 0;

    color: #74757c;

    font-size: 12px;

    line-height: 1.8;
}


.why-arrow {
    position: absolute;

    right: 25px;
    bottom: 25px;

    color: var(--story-sage);

    font-size: 12px;

    transition: var(--story-transition);
}


.why-card:hover .why-arrow {
    color: var(--story-terra);

    transform: translate(4px, -4px);
}


/* =========================================================
   VALUES
========================================================= */

.values-section {
    padding: 0 0 10px;
}


.values-box {
    display: grid;

    grid-template-columns:
        1.15fr .85fr;

    gap: 70px;

    padding: 70px;

    border-radius: 35px;

    background:
        linear-gradient(
            130deg,
            var(--story-brown),
            var(--story-blue)
        );

    color: white;

    box-shadow: var(--story-shadow);
}


.section-label.light {
    color: var(--story-peach);
}


.values-content h2 {
    max-width: 700px;

    margin: 0;

    font-size: clamp(35px, 4.5vw, 58px);

    line-height: 1;

    letter-spacing: -.055em;
}


.values-content h2 span {
    color: var(--story-peach);
}


.values-content p {
    max-width: 590px;

    margin: 25px 0 0;

    color: rgba(255,255,255,.65);

    font-size: 13px;
    line-height: 1.8;
}


.values-list {
    display: grid;

    gap: 12px;

    align-content: center;
}


.value-item {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 17px;

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 17px;

    background: rgba(255,255,255,.05);
}


.value-item > span {
    color: rgba(255,255,255,.3);

    font-size: 10px;
    font-weight: 900;
}


.value-item > div {
    display: grid;

    grid-template-columns: auto 1fr;

    column-gap: 12px;

    align-items: center;
}


.value-item i {
    grid-row: span 2;

    color: var(--story-peach);

    font-size: 20px;
}


.value-item strong {
    font-size: 13px;
}


.value-item small {
    color: rgba(255,255,255,.5);

    font-size: 10px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.story-final-cta {
    padding: 0 0 10px;

    text-align: center;
}


.final-cta-content {
    max-width: 850px;

    margin: 0 auto;
}


.final-cta-content > span {
    color: var(--story-terra);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .2em;

    text-transform: uppercase;
}


.final-cta-content h2 {
    margin: 18px 0;

    color: var(--story-blue);

    font-size: clamp(42px, 6vw, 75px);

    line-height: .95;

    letter-spacing: -.06em;
}


.final-cta-content h2 strong {
    display: block;

    color: var(--story-terra);
}


.final-cta-content p {
    max-width: 600px;

    margin: 0 auto 30px;

    color: #74757c;

    font-size: 14px;

    line-height: 1.8;
}


.story-final-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    padding: 15px 23px;

    border-radius: 50px;

    background: var(--story-blue);
    color: white;

    text-decoration: none;

    font-size: 12px;
    font-weight: 900;

    transition: var(--story-transition);
}


.story-final-btn:hover {
    background: var(--story-terra);
    color: white;

    transform: translateY(-4px);
}


/* =========================================================
   ANIMATIONS
========================================================= */

.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.8,.2,1);
}


.reveal-left {
    transform: translateX(-60px);
}


.reveal-right {
    transform: translateX(60px);
}


.reveal-up {
    transform: translateY(45px);
}


.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
    opacity: 1;

    transform: translate(0);
}


@keyframes storyFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(18px);
    }
}


@keyframes storyRotate {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes storyCardFloat {

    0%,
    100% {
        transform: rotate(-4deg) translateY(0);
    }

    50% {
        transform: rotate(-2deg) translateY(-12px);
    }
}


@keyframes storyMiniFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .story-container {
        width: calc(100% - 50px);
    }


    .story-hero .story-container {
        gap: 35px;
    }


    .story-intro-grid {
        gap: 55px;
    }


    .why-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 850px) {

    .story-hero {
        padding: 90px 0 60px;
    }


    .story-hero .story-container {
        grid-template-columns: 1fr;
    }


    .story-hero-content {
        max-width: 700px;
    }


    .story-hero-visual {
        min-height: 430px;
    }


    .story-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .story-visual-section {
        grid-template-columns: 1fr;
    }


    .story-side-card {
        min-height: 250px;
    }


    .values-box {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 50px;
    }

}


@media (max-width: 600px) {

    .story-container {
        width: calc(100% - 28px);
    }


    .story-hero {
        padding: 65px 0 35px;
    }


    .story-hero h1 {
        font-size: 49px;
    }


    .story-hero p {
        font-size: 14px;
    }


    .story-hero-visual {
        min-height: 350px;
    }


    .ring-one {
        width: 300px;
        height: 300px;
    }


    .ring-two {
        width: 240px;
        height: 240px;
    }


    .story-main-card {
        width: 220px;
        height: 275px;
    }


    .story-main-card strong {
        font-size: 25px;
    }


    .mini-one {
        right: 0;
        top: 15px;
    }


    .mini-two {
        left: 0;
        bottom: 20px;
    }


    .story-section {
        padding: 80px 0;
    }


    .story-heading h2,
    .why-heading h2 {
        font-size: 40px;
    }


    .story-text .story-lead {
        font-size: 18px;
    }


    .story-visual-section {
        margin-top: 60px;

        border-radius: 25px;
    }


    .story-visual-image {
        min-height: 350px;

        padding: 30px;
    }


    .visual-content h3 {
        font-size: 38px;
    }


    .story-side-card {
        padding: 30px;

        min-height: 230px;
    }


    .stats-grid {
        grid-template-columns: 1fr;
    }


    .why-section {
        padding: 80px 0;
    }


    .why-grid {
        grid-template-columns: 1fr;
    }


    .why-card {
        min-height: 310px;
    }


    .values-section {
        padding-bottom: 80px;
    }


    .values-box {
        padding: 35px 25px;

        border-radius: 25px;
    }


    .values-content h2 {
        font-size: 38px;
    }


    .story-final-cta {
        padding-bottom: 80px;
    }


    .final-cta-content h2 {
        font-size: 45px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

        scroll-behavior: auto !important;
    }

}