/* ===== AWS HERO SECTION ===== */
.aws-hero {
    padding: 80px 0 0px;
    padding-left: 80px;
    background-color: #ffffff;
}

.aws-hero__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.aws-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 10px 32px;
    border-radius: 100px;
    margin-bottom: 40px;
    width: fit-content;
}

/* .aws-intro__title {
    font-family: 'Inter', sans-serif;
    font-size: 3.2rem;
    font-weight: 500;
    color: #111111;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.03em;
    margin-left: 10px;
} */

.aws-intro__title{color: #101010;
  font-size: 39px;
  font-weight: 400;
  line-height: 1.1;}

/* 
.aws-intro__title .italic {
    font-family: serif;
    font-style: italic;
    font-weight: 400;
} */

.aws-intro__desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #444444;
    line-height: 1.65;
    margin: 0;
}

.aws-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(4rem, 8.5vw, 7.5rem);
    line-height: 0.95;
    font-weight: 500;
    color: #111111;
    margin: 0;
    letter-spacing: -0.03em;
}

.aws-hero__title span.italic {
    font-family: serif;
    font-style: italic;
    font-weight: 400;
}

/* ===== AWS INTRO SECTION ===== */
.aws-intro {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.aws-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ===== AWS HERO IMAGE & SCROLL ===== */
.aws-hero__image-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 30px;
}

.aws-hero__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 100px;
    width: fit-content;
    align-self: flex-start;
    margin-top: 60px;
    margin-left: 40px;
}

.aws-hero__scroll .text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #111;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.aws-hero__scroll .arrow {
    font-size: 20px;
    color: #111;
}

.aws-hero__image-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
}

.aws-hero__desc-wrap {
    display: flex;
    justify-content: flex-end;
}

.aws-hero__desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    color: #666666;
    line-height: 1.5;
    max-width: 600px;
    margin: 0;
}

.aws-hero__image-wrap {
    width: 100%;
    max-width: 850px;
    height: 400px;
    border-radius: 500px;
    overflow: hidden;
    margin-left: auto;
}

.aws-hero__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== ABOUT US REASONS SECTION (REUSED) ===== */
.about-reasons {
    background-color: #111111;
    color: #ffffff;
    padding: 100px 0;
}

.about-reasons__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 80px;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.about-reasons__title .italic {
    font-family: serif;
    font-style: italic;
    font-weight: 400;
}

.about-reasons__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.about-reasons__item {
    padding: 40px 40px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-reasons__item:nth-child(-n+2) {
    border-top: none;
}

.about-reasons__num {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.about-reasons__item-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.about-reasons__item-title .italic {
    font-family: serif;
    font-style: italic;
    font-weight: 400;
}

.about-reasons__item-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ===== AWS CTA SECTION ===== */
.aws-cta,
.cta__section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    background-image: url('../images/others/ftr-tp.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.cta__section .img-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta__section .img-reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aws-cta__wrapper {
    display: flex;
    justify-content: flex-end;
}

.aws-cta__content,
.cta_top {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    padding: 60px 100px;
    max-width: 800px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Ensure cta_top is on the right when used in a container */
.container>.cta_top {
    margin-left: auto;
}

.aws-cta__title,
.cta_top h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 600;
    color: #111111;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

/* Specific button style for CTA to match image - EXACT MATCH */
.cta_top .arova-btn-primary,
.aws-cta .aws-cta__btn {
    gap: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    background-color: transparent !important;
    text-decoration: none !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
}

/* Initial state for icons to support pop animation */
.cta_top .arova-btn-primary>.icon:first-child,
.aws-cta .aws-cta__btn> :first-child:not(.text) {
    display: flex !important;
    width: 0;
    min-width: 0;
    opacity: 0;
    margin: 0;
    overflow: hidden;
    transform: scale(0);
}

.cta_top .arova-btn-primary .icon:last-child,
.cta_top .arova-btn-primary .arrow,
.aws-cta .aws-cta__btn .arrow,
.aws-cta .aws-cta__btn .icon:last-child {
    transform: scale(1);
    width: 55px;
    opacity: 1;
}

.cta_top .arova-btn-primary .text,
.aws-cta .aws-cta__btn .text {
    background-color: #111111 !important;
    color: #ffffff !important;
    padding: 16px 40px !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    line-height: 1 !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
}

.cta_top .arova-btn-primary .icon:last-child,
.cta_top .arova-btn-primary .arrow,
.aws-cta .aws-cta__btn .arrow,
.aws-cta .aws-cta__btn .icon:last-child {
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    position: relative !important;
    transform-origin: center !important;
}

.cta_top .arova-btn-primary .icon i,
.cta_top .arova-btn-primary .arrow svg,
.aws-cta .aws-cta__btn .arrow svg,
.aws-cta .aws-cta__btn .icon i {
    font-size: 16px !important;
    color: #ffffff !important;
    font-weight: 300 !important;
}

/* Hover States */
.cta_top .arova-btn-primary:hover,
.aws-cta .aws-cta__btn:hover {
    transform: translateY(-3px) !important;
}

.cta_top .arova-btn-primary:hover .text,
.aws-cta .aws-cta__btn:hover .text {
    background-color: #000000 !important;
}

.cta_top .arova-btn-primary:hover .icon:last-child,
.aws-cta .aws-cta__btn:hover .icon:last-child {
    background-color: #000000 !important;
}

/* CSS Fallback Arrow if i is empty or FontAwesome fails */
.cta_top .arova-btn-primary .icon:last-child:empty::before,
.cta_top .arova-btn-primary .icon:last-child i:empty::before,
.aws-cta .aws-cta__btn .icon:last-child:empty::before,
.aws-cta .aws-cta__btn .icon:last-child i:empty::before {
    content: '→';
    font-size: 20px;
    color: #fff;
    font-weight: normal;
}

.aws-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.aws-cta__btn .text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #111111;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.aws-cta__btn .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: #111111;
    color: #ffffff;
    border-radius: 50%;
}

.aws-cta__btn:hover {
    transform: translateY(-2px);
}

.aws-cta__btn:hover .text,
.aws-cta__btn:hover .arrow {
    background-color: #000;
}

.aws-cta__btn:hover .arrow {
    /* GSAP Handles this */
}

@media (max-width: 1200px) {
    .aws-hero {
        padding: 100px 0 70px;
    }

    .aws-hero__title {
        font-size: 6.25rem;
    }

    .aws-hero__image-wrap {
        height: 350px;
    }

    .aws-cta__content {
        padding: 60px;
        max-width: 600px;
    }
}

@media (max-width: 992px) {
    .aws-hero__image-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .aws-hero__scroll {
        display: none;
    }

    .aws-hero__image-container {
        align-items: flex-start;
    }

    .aws-hero__desc-wrap {
        justify-content: flex-start;
    }

    .aws-hero__image-wrap {
        max-width: 100%;
        height: 400px;
        border-radius: 200px;
    }

    .about-reasons__grid {
        grid-template-columns: 1fr;
    }

    .about-reasons__item:nth-child(2) {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .aws-intro__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .aws-cta {
        padding: 80px 0;
    }

    .aws-cta__wrapper {
        justify-content: center;
    }

    .aws-cta__content,
    .cta_top {
        padding: 50px 40px;
        text-align: center;
        max-width: 100%;
        margin-left: 0;
    }

    .cta_top h2 {
        font-size: 2.5rem;
    }

    .aws-cta__btn,
    .cta_top .btn-wrap {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 768px) {
    .aws-hero {
        padding: 60px 0 50px 20px;
    }

    .aws-intro__title {
        font-size: 2.2rem;
    }

    .aws-intro__desc {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .aws-hero__badge {
        margin-bottom: 25px;
        font-size: 0.875rem;
        padding: 6px 20px;
    }

    .aws-hero__title {
        font-size: clamp(2.8rem, 12vw, 3.8rem);
        line-height: 1.05;
    }

    .aws-hero__image-wrap {
        height: 300px;
        border-radius: 100px;
    }

    .about-reasons__title {
        font-size: clamp(2.2rem, 8vw, 3rem);
        margin-bottom: 40px;
        letter-spacing: -0.02em;
    }
}

@media (max-width: 576px) {
    .aws-cta__btn {
        gap: 10px;
    }

    .aws-cta__btn .text {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .aws-cta__btn .arrow {
        width: 50px;
        height: 50px;
    }
}