html {
    font-size: 16px;
}

@media (max-width: 991.98px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }
}


.about-section {
    max-width: 1200px;
    margin: 13rem auto auto auto;
    position: relative;
}


.hero-background {
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.hero-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-sphere-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 157, 251, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    left: -100px;
    animation: float 10s ease-in-out infinite;
}

.hero-sphere-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(9, 105, 194, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: 100px;
    right: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 40px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.about-title h1 {
    margin-top: -40px;
    line-height: 130px;
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-title {
    text-align: center;
    margin-bottom: 40px;
    color: #2e3a59;
    font-weight: 700;
}

.intro-text {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text p {
    font-size: 1.2rem;
    color: #5a6c7d;
    line-height: 1.6;
}


.story-section {
    padding: 0 0 0 5remq;
    max-width: 1200px;
    margin: 0 auto;
}

.story-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.story-text p {
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-image {
    width: 100%;
    height: min(400px, 80vh);
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.history-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.history-timeline {
    max-width: 1000px;
    margin: 4rem auto 0;
    position: relative;
    padding: 2rem 0;
}


.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(58, 157, 251, 0) 0%,
            rgba(58, 157, 251, 0.3) 15%,
            rgba(58, 157, 251, 0.3) 85%,
            rgba(58, 157, 251, 0) 100%);
    transform: translateX(-50%);
}

.history-item {
    position: relative;
    margin-bottom: 6rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #3a9dfb;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(58, 157, 251, 0.1);
    transition: all 0.3s ease;
}

.history-item:hover .history-dot {
    background: #3a9dfb;
    box-shadow: 0 0 0 10px rgba(58, 157, 251, 0.15);
}

.history-content {
    width: 45%;
    position: relative;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.history-item:nth-child(odd) .history-content {
    margin-right: auto;
    text-align: right;
}

.history-item:nth-child(even) .history-content {
    margin-left: auto;
    text-align: left;
}

.history-item:hover .history-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.history-year {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, rgba(58, 157, 251, 0.1), rgba(9, 105, 194, 0.1));
    color: #0969c2;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.history-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.history-text {
    color: #5a6c7d;
    line-height: 1.6;
}


.values-section {
    background: linear-gradient(135deg, rgba(58, 157, 251, 0.05), rgba(9, 105, 194, 0.05));
    padding: 5rem 0;
    margin: 0;
}

.values-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    background: linear-gradient(135deg, rgba(58, 157, 251, 1), rgba(9, 105, 194, 1));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(58, 157, 251, 0.3);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(58, 157, 251, 0.4);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.value-text {
    color: #5a6c7d;
    line-height: 1.6;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4.5rem;
}

.team-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3a9dfb, #0969c2);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-image-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease;
}

.team-card:hover .team-image-wrapper {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(58, 157, 251, 0.2);
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-image-wrapper i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #3a9dfb, #0969c2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #3a9dfb;

}

.team-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.team-role {
    color: #3a9dfb;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #3a9dfb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social-link:hover {
    background: linear-gradient(135deg, #3a9dfb, #0969c2);
    color: white;
    transform: translateY(-3px);
}


.heading-gradient {
    background: linear-gradient(135deg, rgba(58, 157, 251, 1), rgba(9, 105, 194, 1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #3a9dfb;
}


@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

.scroll-down-animated {
    animation: bounceDown 1.2s infinite;
}

.scroll-down-wrapper {
    margin-top: 10px;
}


@media (max-width: 991.98px) {
    .story-content {
        flex-direction: column;
    }

    .story-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .history-timeline::before {
        left: 30px;
    }

    .history-dot {
        left: 30px;
    }

    .history-item {
        justify-content: flex-start;
        padding-left: 60px;
    }

    .history-content {
        width: 100%;
        text-align: left !important;
    }

    .history-item:nth-child(odd) .history-content {
        margin-right: 0;
    }

    .history-item:nth-child(even) .history-content {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .about-title h1 {
        font-size: clamp(3.3rem, 6.5vw, 2rem);
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.03);
    }

    .team-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #3a9dfb, #0969c2);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.4s ease;
    }

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .team-card:hover::before {
        transform: scaleX(1);
    }

    .team-image-wrapper {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        margin: 0 auto 1.5rem;
        overflow: hidden;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
        transition: transform 0.4s ease;
    }

    .team-card:hover .team-image-wrapper {
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(58, 157, 251, 0.2);
    }

    .team-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .team-image-wrapper i {
        font-size: 3.5rem;
        background: linear-gradient(135deg, #3a9dfb, #0969c2);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: #3a9dfb;

    }

    .team-name {
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
        color: #2c3e50;
    }

    .team-role {
        color: #3a9dfb;
        font-weight: 600;
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .team-bio {
        color: #5a6c7d;
        line-height: 1.7;
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .team-social {
        display: flex;
        justify-content: center;
        gap: 1rem;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .team-card:hover .team-social {
        opacity: 1;
        transform: translateY(0);
    }

    .team-social-link {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #f8f9fa;
        color: #3a9dfb;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .team-social-link:hover {
        background: linear-gradient(135deg, #3a9dfb, #0969c2);
        color: white;
        transform: translateY(-3px);
    }


    .heading-gradient {
        background: linear-gradient(135deg, rgba(58, 157, 251, 1), rgba(9, 105, 194, 1));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: #3a9dfb;
    }


    @keyframes bounceDown {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(15px);
        }
    }

    .scroll-down-animated {
        animation: bounceDown 1.2s infinite;
    }

    .scroll-down-wrapper {
        margin-top: 10px;
    }


    @media (max-width: 991.98px) {
        .story-content {
            flex-direction: column;
        }

        .story-image {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .history-timeline::before {
            left: 30px;
        }

        .history-dot {
            left: 30px;
        }

        .history-item {
            justify-content: flex-start;
            padding-left: 60px;
        }

        .history-content {
            width: 100%;
            text-align: left !important;
        }

        .history-item:nth-child(odd) .history-content {
            margin-right: 0;
        }

        .history-item:nth-child(even) .history-content {
            margin-left: 0;
        }
    }

    @media (max-width: 575.98px) {
        .about-title h1 {
            font-size: clamp(3.3rem, 6.5vw, 2rem);
            margin-top: 0;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.15;
            white-space: normal;
            word-break: break-word;
            max-width: 100%;
            padding: 0 1rem;
            box-sizing: border-box;
        }
    }


    .navbar-custom {
        background-color: #ffffff !important;
    }

    .navbar-custom .navbar-toggler {
        color: #000000 !important;
    }

    .navbar-custom .navbar-toggler-awesome {
        color: #000000 !important;
    }


    #navbarsExampleDefault.collapsing,
    .navbar-collapse.collapsing {
        transition: none !important;
    }
}