/* Modern segmented control style */
.segmented-control {
    position: relative;
    display: flex;
    background: white;
    border: 2px solid #6F52FB;
    border-radius: 50px;
    padding: 4px;
    width: 100%;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(112, 82, 251, 0.1);
    min-width: 720px;
}

.segment-btn {
    position: relative;
    flex: 1;
    padding: 6px 24px;
    border: none;
    background: transparent;
    color: #6F52FB;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 2;
}

.segment-btn.active {
    color: white;
    background: #6F52FB;
    box-shadow: 0 2px 8px rgba(112, 82, 251, 0.3);
}

.segment-btn:hover:not(.active) {
    color: #5a3fd8;
    background: rgba(112, 82, 251, 0.05);
}

.segment-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #6F52FB;
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Slider animation */
.segmented-control[data-active="add"] .segment-slider {
    transform: translateX(100%);
}

/* Main container */
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 10px;
    margin-top: 20px;
    border-radius: 20px;
    background-color: #f8f9fa;
    border: 1px solid #b9b9b9;
}

/* Responsive */
@media (max-width: 768px) {
    .segment-btn {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .segment-btn {
        font-size: 12px;
    }

    .segmented-control{
        min-width: 100% !important;
    }
}

/* Additional animations */
.segmented-control {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Press effect on click */
.segment-btn:active {
    transform: scale(0.98);
}

/* Alternative version with smoother transition */
.segmented-control.smooth {
    overflow: hidden;
}

.segmented-control.smooth .segment-slider {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ripple effect on click */
.segment-btn {
    position: relative;
    overflow: hidden;
}

.segment-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.segment-btn:active::after {
    width: 200px;
    height: 200px;
}

.hero-container-2-item{
    width: 120px;
}

.hero-container-2{
    display: flex;
    gap: 20px;
}

.heroSection{
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    margin-top: 0 !important;
    padding-top: 150px !important;
}

.new_header-scrolled{
    background-color: transparent;
    border-bottom: none;
}

.hero-all-container{
    display: flex;
    width: 100%;
    justify-content: center;
}

@media (min-width: 768px) and (max-width: 880px) {
    .hero-all-container{
        padding: 0 20px;
    }
}

/*--------------------- Fancy Hero One HOME V2 --------------------*/
.fancy-hero-one {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 10px 0 10px;
}
.fancy-hero-one h2 {
    /*font-size: 80px; */
    line-height: 1.1em;
}
.fancy-hero-one p {
    font-size: 24px;
    line-height: 1.75em;
    padding: 20px 25px 0;
    color: #232830;
}
.fancy-hero-one .page-title {
    font-size: 18px;
    text-transform: uppercase;
    color: rgba(42, 42, 42, 0.3);
    letter-spacing: 1.4px;
}
.fancy-hero-one .search-form {
    max-width: 720px;
    height: 70px;
    margin: 55px auto 0;
    position: relative;
}
.fancy-hero-one .search-form input {
    width: 100%;
    height: 100%;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 0 95px 0 38px;
}
.fancy-hero-one .search-form button {
    width: 80px;
    background: var(--blue-dark);
    position: absolute;
    top: 7px;
    right: 7px;
    bottom: 7px;
    z-index: 5;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}
.fancy-hero-one .search-form button img {
    margin: 0 auto;
}
.fancy-hero-one .search-form button:hover {
    background: var(--yellow-deep);
}
.fancy-hero-one [class*="bubble"] {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
}
.fancy-hero-one [class*="bubble"]:before {
    content: "";
    border-radius: 50%;
    position: absolute;
}
.fancy-hero-one .bubble-one {
    width: 120px;
    height: 120px;
    left: 4%;
    top: 15%;
    animation: rotated 12s infinite linear;
}
.fancy-hero-one .bubble-one:before {
    width: 6px;
    height: 6px;
    background: #fac3ff;
    top: 0;
    left: 50%;
}
.fancy-hero-one .bubble-two {
    width: 160px;
    height: 160px;
    top: 30%;
    left: 15%;
    animation: rotated 17s infinite linear;
}
.fancy-hero-one .bubble-two:before {
    width: 10px;
    height: 10px;
    background: #8fe9e0;
    top: 50%;
    right: 100%;
}
.fancy-hero-one .bubble-three {
    width: 120px;
    height: 120px;
    bottom: 33%;
    left: 4%;
    animation: rotatedTwo 12s infinite linear;
}
.fancy-hero-one .bubble-three:before {
    width: 6px;
    height: 6px;
    background: #ffd5ad;
    bottom: 0;
    left: 50%;
}

.fancy-hero-one .bubble-four {
    width: 120px;
    height: 120px;
    right: 5%;
    top: 13%;
    animation: rotated 12s infinite linear;
}
.fancy-hero-one .bubble-four:before {
    width: 6px;
    height: 6px;
    background: #8fe9e1;
    top: 0;
    left: 50%;
}
.fancy-hero-one .bubble-five {
    width: 160px;
    height: 160px;
    top: 30%;
    right: 7%;
    animation: rotated 17s infinite linear;
}
.fancy-hero-one .bubble-five:before {
    width: 10px;
    height: 10px;
    background: #ffd5ad;
    top: 50%;
    right: 100%;
}
.fancy-hero-one .bubble-six {
    width: 120px;
    height: 120px;
    bottom: 33%;
    right: 4%;
    animation: rotatedTwo 12s infinite linear;
}
.fancy-hero-one .bubble-six:before {
    width: 6px;
    height: 6px;
    background: #fac3ff;
    bottom: 0;
    left: 50%;
}

@-webkit-keyframes rotated {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes rotated {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotatedTwo {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}
@keyframes rotatedTwo {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@-webkit-keyframes rotatedHalf {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    50% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    100% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
}
@keyframes rotatedHalf {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    50% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    100% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
}

@-webkit-keyframes rotatedHalfTwo {
    0% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
    100% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}
@keyframes rotatedHalfTwo {
    0% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
    100% {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

/*end fancy hero one home v2*/

/* Fondo animado de burbujas difusas para el hero */
.hero-bg-bubbles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-bg-bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(16px);
    animation: float-bubble 18s infinite alternate ease-in-out;
}
/* Animaciones personalizadas para cada burbuja de fondo */
.hero-bg-bubble.b1 {
    width: 180px; height: 180px;
    left: 10%; top: 20%;
    background: #6F52FB;
    animation: float-bubble-1 18s infinite alternate ease-in-out;
}
.hero-bg-bubble.b2 {
    width: 120px; height: 120px;
    left: 70%; top: 10%;
    background: #2ac4b5;
    animation: float-bubble-2 22s infinite alternate-reverse ease-in-out;
}
.hero-bg-bubble.b3 {
    width: 140px; height: 140px;
    left: 50%; top: 60%;
    background: #6F52FB;
    animation: float-bubble-3 26s infinite alternate ease-in-out;
}
.hero-bg-bubble.b4 {
    width: 100px; height: 100px;
    left: 80%; top: 70%;
    background: #2ac4b5;
    animation: float-bubble-4 20s infinite alternate-reverse ease-in-out;
}

@keyframes float-bubble-1 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.7; }
    20%  { transform: translate(-30px, -40px) scale(1.08) rotate(8deg); opacity: 0.8; }
    40%  { transform: translate(-60px, -80px) scale(1.12) rotate(-6deg); opacity: 0.6; }
    60%  { transform: translate(-40px, -120px) scale(1.15) rotate(12deg); opacity: 0.7; }
    80%  { transform: translate(-10px, -80px) scale(1.1) rotate(-8deg); opacity: 0.8; }
    100% { transform: translate(-40px, -120px) scale(1.18) rotate(0deg); opacity: 0.7; }
}
@keyframes float-bubble-2 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.7; }
    25%  { transform: translate(40px, -30px) scale(1.05) rotate(-10deg); opacity: 0.8; }
    50%  { transform: translate(60px, -80px) scale(1.1) rotate(10deg); opacity: 0.6; }
    75%  { transform: translate(30px, -40px) scale(1.08) rotate(-8deg); opacity: 0.8; }
    100% { transform: translate(60px, -80px) scale(1.13) rotate(0deg); opacity: 0.7; }
}
@keyframes float-bubble-3 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.7; }
    20%  { transform: translate(-40px, 30px) scale(1.1) rotate(6deg); opacity: 0.8; }
    40%  { transform: translate(-80px, 60px) scale(1.2) rotate(-8deg); opacity: 0.6; }
    60%  { transform: translate(-40px, 100px) scale(1.15) rotate(10deg); opacity: 0.7; }
    80%  { transform: translate(-10px, 60px) scale(1.1) rotate(-6deg); opacity: 0.8; }
    100% { transform: translate(-80px, 60px) scale(1.22) rotate(0deg); opacity: 0.7; }
}
@keyframes float-bubble-4 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.7; }
    30%  { transform: translate(20px, 40px) scale(1.03) rotate(8deg); opacity: 0.8; }
    60%  { transform: translate(40px, 100px) scale(1.05) rotate(-6deg); opacity: 0.6; }
    80%  { transform: translate(10px, 60px) scale(1.02) rotate(10deg); opacity: 0.8; }
    100% { transform: translate(40px, 100px) scale(1.08) rotate(0deg); opacity: 0.7; }
}

.floating-brace {
    position: absolute;
    font-size: 120px;
    font-weight: bold;
    color: #6F52FB;
    opacity: 0.13;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    filter: blur(0.5px);
    animation: float-brace 18s infinite alternate ease-in-out;
}
.floating-brace.brace-left {
    left: 8%;
    top: 35%;
    animation: float-brace-left 18s infinite alternate-reverse ease-in-out;
}
.floating-brace.brace-right {
    right: 5%;
    top: 45%;
    color: #2ac4b5;
    animation: float-brace-right 22s infinite alternate ease-in-out;
}
@keyframes float-brace-left {
    0%   { transform: translateY(0) rotate(-10deg);}
    50%  { transform: translateY(-40px) rotate(10deg);}
    100% { transform: translateY(0) rotate(-10deg);}
}
@keyframes float-brace-right {
    0%   { transform: translateY(0) rotate(10deg);}
    50%  { transform: translateY(40px) rotate(-10deg);}
    100% { transform: translateY(0) rotate(10deg);}
}

.hero-bg-icon.icon1 {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    width: 140px;
    height: 140px;
    left: 5%;
    top: 20%;
    animation: float-icon-1 18s infinite alternate ease-in-out;
}
@keyframes float-icon-1 {
    0%   { transform: translate(0, 0) scale(1) rotate(-8deg);}
    20%  { transform: translate(-20px, -20px) scale(1.08) rotate(8deg);}
    40%  { transform: translate(-30px, -40px) scale(1.12) rotate(-6deg);}
    60%  { transform: translate(-20px, -60px) scale(1.15) rotate(12deg);}
    80%  { transform: translate(-10px, -40px) scale(1.1) rotate(-8deg);}
    100% { transform: translate(-20px, -60px) scale(1.18) rotate(0deg);}
}

.hero-bg-icon.icon2 {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    width: 100px;
    height: 100px;
    left: 80%;
    top: 20%;
    animation: float-icon-2 22s infinite alternate-reverse ease-in-out;
}
.hero-bg-icon.icon3 {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    width: 150px;
    height: 150px;
    left: 75%;
    top: 60%;
    animation: float-icon-3 26s infinite alternate ease-in-out;
}
.hero-bg-icon.icon4 {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    width: 80px;
    height: 80px;
    left: 80%;
    top: 35%;
    animation: float-icon-4 20s infinite alternate-reverse ease-in-out;
}

.hero-bg-icon.icon5 {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    width: 100px;
    height: 100px;
    left: 5%;
    top: 55%;
    animation: float-icon-4 20s infinite alternate-reverse ease-in-out;
}


@keyframes float-icon-2 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg);  }
    25%  { transform: translate(20px, -30px) scale(1.05) rotate(-10deg);  }
    50%  { transform: translate(40px, -40px) scale(1.1) rotate(10deg);  }
    75%  { transform: translate(30px, -20px) scale(1.08) rotate(-8deg);  }
    100% { transform: translate(40px, -40px) scale(1.13) rotate(0deg);  }
}
@keyframes float-icon-3 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg);  }
    20%  { transform: translate(-40px, 30px) scale(1.1) rotate(6deg);  }
    40%  { transform: translate(-80px, 60px) scale(1.2) rotate(-8deg);  }
    60%  { transform: translate(-40px, 100px) scale(1.15) rotate(10deg);  }
    80%  { transform: translate(-10px, 60px) scale(1.1) rotate(-6deg);  }
    100% { transform: translate(-80px, 60px) scale(1.22) rotate(0deg);  }
}
@keyframes float-icon-4 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg);  }
    30%  { transform: translate(20px, 40px) scale(1.03) rotate(8deg);  }
    60%  { transform: translate(20px, 40px) scale(1.05) rotate(-6deg);  }
    80%  { transform: translate(10px, 30px) scale(1.02) rotate(10deg);  }
    100% { transform: translate(20px, 40px) scale(1.08) rotate(0deg);  }
}

@keyframes float-icon-5 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg);  }
    30%  { transform: translate(20px, 40px) scale(1.03) rotate(8deg);  }
    60%  { transform: translate(40px, 100px) scale(1.05) rotate(-6deg);  }
    80%  { transform: translate(10px, 60px) scale(1.02) rotate(10deg);  }
    100% { transform: translate(40px, 100px) scale(1.08) rotate(0deg);  }
}

@media (max-width: 800px) {
    .hero-bg-icon.icon1 {
        left: 10%;
        width: 80px;
        height: 80px;
        top: 15%;
    }
    .hero-bg-icon.icon2 {
        left: 60%;
        width: 80px;
        height: 80px;
        top: 15%;
    }
    .hero-bg-icon.icon3 {
        top: 76%;
        left: 70%;
        width: 100px;
        height: 100px;
    }
    .hero-bg-icon.icon4 {
        left: 5%;
        top: 80%;
        width: 60px;
        height: 60px;
    }
    .hero-bg-icon.icon5 {
        left: 5%;
    }

    .segmented-control{
        min-width: 640px;
    }
}

@media (max-width: 721px) {
    .segmented-control{
        min-width: 430px;
    }
}

/*---------------------  END Fancy Hero One HOME V2 --------------------*/


#find-apis-container{
    display: flex;
    width: 100% !important;
    flex-direction: column;
}

.apple-logo-v2{
    width: 60px !important;
}

.reviewsContainer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.reviewsContainer h3{
    height: 42px;
}

@media (max-width: 768px) {
    .company-logos-container img{
        width: 50px;
    }

    .hero-left h2{
        font-size: 16px !important;
    }

    .apple-logo-v2{
        width: 30px !important;
        margin-bottom: 12px !important;
    }

    .aa-DetachedSearchButtonPlaceholder{
        font-size:14px !important;
    }

    .reviewsContainer h3{
        font-size: 18px !important;
        height: 26px;
    }

    .reviewsContainer img{
        width: 120px !important;
    }
}