/* Vertical carousel (match Home behavior: upward on next) */
.carousel-vertical .carousel-item {
    height: 100%;
    transition: transform 1s ease-in-out !important;
}

.carousel-vertical .carousel-inner {
    height: 100%;
}

/* Forward (next): exiting slide goes up */
.carousel-vertical .carousel-item.active.carousel-item-start {
    transform: translateY(-100%) !important;
}

/* Entering slide starts below carousel */
.carousel-vertical .carousel-item.carousel-item-next {
    transform: translateY(100%) !important;
}

/* Entering slide goes up to flush with carousel */
.carousel-vertical .carousel-item.carousel-item-next.carousel-item-start {
    transform: translateY(0%) !important;
}

/* Backward (prev): exiting slide goes down */
.carousel-vertical .carousel-item.active.carousel-item-end {
    transform: translateY(100%) !important;
}

/* Entering slide starts above carousel */
.carousel-vertical .carousel-item.carousel-item-prev {
    transform: translateY(-100%) !important;
}

.page-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    background-color: var(--color-background);
}

.container {
    padding-left: 120px;
    padding-right: 120px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1200px) {
    .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding-top: 12px;
    padding-bottom: 12px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo-wrapper {
    display: flex;
    align-items: center;
    gap: 11px;
}

.header__logo-wrapper img:first-child {
    width: 27.82px;
    height: 36px;
}

.header__logo-wrapper img:last-child {
    width: 61.08px;
    height: 20.8px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__nav-menu-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* CSS for section section:hero-about */
.hero-about {
    padding-top: 100px;
    /* Approximate space for header */
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 710px;
    overflow: hidden;
    z-index: 0;
    /* create stacking context for background */
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    /* center the carousel as a stripe */
    justify-content: center;
    align-items: stretch;
    z-index: 0;
    /* behind content but within hero */
}

.hero__background img.hero__bg-img {
    width: clamp(160px, 26vw, 320px);
    /* keep the vertical stripe width */
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* decorative */
    margin: 0 auto;
}

/* Constrain carousel width/height to keep the stripe centered */
.hero-about-carousel {
    width: 474px;
    height: 100%;
    margin: 0 auto;
}

.hero-about-carousel .carousel-inner,
.hero-about-carousel .carousel-item {
    height: 100%;
}

.hero-about-carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
}

.hero__container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* center title horizontally */
    gap: 24px;
    z-index: 1;
    /* ensure above background stripe */
    width: 100%;
    text-align: center;
}

.hero__title {
    font-family: var("Neue Haas Grotesk Display Pro");
    font-weight: 700;
    font-size: 72px;
    line-height: 84px;
    color: var(--color-text-dark);
    max-width: 1034px;
    position: relative;
    z-index: 1;
    /* above the background stripe */
    text-align: center;
}

.hero__title--highlight {
    font-style: italic;
    color: #ee7611;
}

.hero__decorator {
    position: absolute;
    bottom: -283px;
    /* Position based on Figma */
    left: 50%;
    transform: translateX(-50%);
    width: 1140px;
    z-index: 0;
    /* behind title */
    pointer-events: none;
}

.about {
    position: relative;
    background: linear-gradient(135deg, #f4992c 0%, #494bdf 38.57%, #1b1d6b 141.42%);
    padding-top: 68px;
    padding-bottom: 68px;
    overflow: hidden;
}

.about__bg-vector {
    position: absolute;
    left: -29px;
    top: -114px;
    /* Adjusted from figma y=6360 vs section y=6474 */
    width: 427px;
    height: 682px;
    z-index: 0;
}

.about__container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.about__image-container {
    position: relative;
    width: 386px;
    height: 410px;
    flex-shrink: 0;
}

.about__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-overlay {
    position: absolute;
    top: -19px;
    left: 23px;
    width: 340px;
    height: 448px;
}

.about__text-content {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0.48px;
    max-width: 590px;
}

@media (max-width: 1024px) {
    .hero__title {
        font-size: 48px;
        line-height: 56px;
    }

    .about__container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero__title {
        font-size: 36px;
        line-height: 44px;
    }

    .about__image-container {
        width: 100%;
        height: auto;
    }

    .about__image-overlay {
        display: none;
    }

    .about__text-content {
        font-size: 18px;
        line-height: 28px;
    }
}

/* CSS for section section:vision-mission */
.vision-mission {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.vision-mission__main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.vision-mission__intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.section-heading__subtitle {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-text-subtle);
}

.section-heading__decorator {
    width: 100px;
    height: 5px;
    background-color: #fad28e;
}

.vision-mission__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
    color: var(--color-text-dark);
}

.vision-mission__vision-card {
    position: relative;
    flex: 1.2;
    max-width: 692px;
}

.vision-mission__vision-overlay {
    position: absolute;
    bottom: -24px;
    left: 20px;
    right: 20px;
    background-color: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(1px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vision-mission__vision-overlay h4 {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
}

.vision-mission__vision-overlay p {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
}

.vision-mission__mission {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.vision-mission__mission-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
}

.vision-mission__mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mission-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mission-item__icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(90deg, #27278b 0%, #6873e9 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-item__text h4 {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.24px;
    color: #111111;
    margin-bottom: 8px;
}

.mission-item__text p {
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-text-gray);
}

@media (max-width: 1024px) {
    .vision-mission__main {
        flex-direction: column;
    }

    .vision-mission__mission-grid {
        grid-template-columns: 1fr;
    }

    .vision-mission__title {
        font-size: 36px;
    }
}

/* CSS for section section:core-values */
.core-values {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.core-values__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.core-values__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
    max-width: 795px;
}

.core-values__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.smart-card {
    width: 220px;
    height: 377px;
    perspective: 1000px;
    background-color: transparent;
}

.smart-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.smart-card:hover .smart-card__inner {
    transform: rotateY(180deg);
}

.smart-card:hover .smart-card__front {
    opacity: 0;
}

.smart-card__front,
.smart-card__back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.smart-card__front {
    transition: opacity 0.5s ease-out;
    opacity: 1;
    background-color: white;
}

.smart-card__back {
    background-color: #ebeffc;
    transform: rotateY(180deg);
}

.smart-card__bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 649px;
    height: 472px;
    max-width: none;
}

.smart-card__letter {
    font-weight: 1000;
    font-size: 120px;
    line-height: 1.2;
    letter-spacing: 1.2px;
    background: linear-gradient(135deg, #f4992c 0%, #494bdf 38.57%, #1b1d6b 141.42%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* standard fallback */
    position: relative;
    z-index: 1;
}

.smart-card__back-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    text-align: center;
}

.smart-card__icon-wrapper {
    width: 76px;
    height: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.smart-card__back-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    background: linear-gradient(90deg, #27278b 0%, #6873e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* standard fallback */
}

.smart-card__back-desc {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.3;
    color: var(--color-text-gray);
}

@media (max-width: 1200px) {
    .smart-card__inner {
        transform: rotateY(180deg);
    }

    .smart-card__front {
        opacity: 0;
    }

    .core-values__grid {
        gap: 10px;
    }

    .smart-card {
        width: 100%;
        height: 298px;
    }

    .smart-card__letter {
        font-size: 90px;
        display: none;
    }
}

@media (max-width: 992px) {
    .core-values__title {
        font-size: 36px;
    }

    .core-values__grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        width: 100%;
    }
}

/* CSS for section section:solutions */
.solutions {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.solutions__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 88px;
}

.solutions__header-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.solutions__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
}

.solutions__description {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-text-gray);
    max-width: 518px;
}

.solutions__content {
    background-color: #ebeffc;
    padding-top: 32px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.solution-item {
    display: flex;
    align-items: center;
}

.solution-item__image-wrapper {
    flex: 1;
    min-width: 0;
    /* Prevents flex item from overflowing */
}

.solution-item__image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.solution-item__text-wrapper {
    flex: 1;
    background: linear-gradient(135deg, #f4992c 0%, #494bdf 38.57%, #1b1d6b 141.42%);
    color: var(--color-text-light);
    padding: 32px;
    margin-left: -80px;
    z-index: 1;
    max-width: 810px;
}

.solution-item--reverse {
    flex-direction: row-reverse;
}

.solution-item--reverse .solution-item__text-wrapper {
    margin-left: 0;
    margin-right: -80px;
}

.solution-item__text-wrapper h4 {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.solution-item__text-wrapper p {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    color: #f0f0f0;
}

@media (max-width: 1024px) {
    .solutions__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .solution-item,
    .solution-item--reverse {
        flex-direction: column;
    }

    .solution-item__image-wrapper {
        width: 100%;
    }

    .solution-item__text-wrapper,
    .solution-item--reverse .solution-item__text-wrapper {
        margin: -40px 20px 0 20px;
    }
}

/* CSS for section section:contact */
.contact {
    position: relative;
    height: 560px;
    display: flex;
    align-items: center;
    padding-left: 208px;
}

.contact__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.contact__background img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.contact__background-overlay {
    position: absolute;
    right: -100px;
    bottom: -100px;
    opacity: 0.2;
    z-index: 2;
}

.contact__content-wrapper {
    background-color: rgba(250, 250, 250, 0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    padding: 24px;
    max-width: 489px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 3;
}

.contact__text-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact__text-content h2 {
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
    color: #111111;
}

.contact__text-content p {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-text-gray);
}

.contact__actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    flex: 1;
}

.btn--primary {
    background: linear-gradient(150deg, #f4992c 73.03%, #93a1f1 115.33%);
    color: var(--color-text-light);
}

.btn--secondary {
    background-color: var(--color-background);
    color: var(--color-primary-orange);
}

.btn-light {
    background: var(--color-background);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .contact {
        padding: 20px;
        align-items: center;
        justify-content: center;
        height: auto;
        min-height: 500px;
    }

    .contact__content-wrapper {
        width: 100%;
    }

    .contact__text-content h2 {
        font-size: 36px;
    }

    .contact__actions {
        flex-direction: column;
    }
}

/* CSS for section section:footer */
.footer {
    background: linear-gradient(180deg, #3636cb 0%, #13144d 100%);
    color: var(--color-text-light);
    padding-top: 72px;
    padding-bottom: 32px;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer__main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer__about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 186px;
}

.footer__logo-wrapper {
    display: flex;
    align-items: center;
    gap: 11px;
}

.footer__tagline {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.24px;
    color: #fafafa;
}

.footer__links {
    display: flex;
    gap: 72px;
}

.footer__links-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__links-column h4 {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.24px;
    color: #fafafa;
}

.footer__links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links-column li,
.footer__links-column a {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.24px;
    color: #f0f0f0;
}

.footer__contact-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.footer__contact-item img {
    margin-top: 4px;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.footer__divider {
    border: none;
    height: 1px;
    background-color: var(--color-primary-blue-light);
}

.footer__copyright {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.21px;
    color: #f0f0f0;
}

@media (max-width: 1024px) {
    .footer__main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__about {
        align-items: center;
    }

    .footer__links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer__links-column {
        align-items: center;
        width: 100%;
    }

    .footer__contact-item {
        text-align: left;
    }
}

/* Contact Section - Home Page Style */
.contact-section {
    height: 560px;
    background-image: url('../../assets/images/d171bc1943a204538639c2952e98b17d76603063.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.contact-content-box {
    max-width: 489px;
    background-color: rgba(250, 250, 250, 0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-left: 100px;
}

.contact-content-box .section-heading {
    color: #111111;
}

.contact-buttons {
    display: flex;
    gap: 16px;
}

.btn-light {
    background: var(--color-background);
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .contact-section {
        justify-content: center;
        text-align: center;
    }

    .contact-content-box {
        margin-left: 0;
        align-items: center;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .footer__links {
        gap: 40px;
    }
}