* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.inner-section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.custom-container {
    max-width: 1460px;
}

.custom-button {
    border-radius: 50px;
    background: linear-gradient(90deg, #71d7ff 0%, #d5f57e 100%);
    box-shadow: -2px 2px 0px 0px var(--Color-5, #003c84);
    color: #003c84;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid #000;
}

.box {
    padding: 90px 0 0;
}

/* Header Styles */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    height: 90px;
    padding: 0 34px 0 26px;
    max-width: 1600px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 54px;
    width: auto;
}

.nav-main {
    display: flex;
    gap: 14px;
}

.nav-link {
    text-decoration: none;
    color: #2d5c90;
    font-weight: 500;
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #357ABD;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 6px;
    border: 0;
    border-radius: 20px;
    font-size: 14px;
    color: #2d5c90;
    background: transparent;
}

.flag-icon {
    width: 26px;
}

.register-btn {
    background: #d5f57e;
    color: #003c84;
    border: 0;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: -3px 3px 0 0 #003c84;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: -3px 3px 0 0 #003c84;
}


/* Hero Section */
#first-section.hero,
.hero {
    background: url('image/background-hero.webp') no-repeat center;
    background-size: 100% 100%;
    color: white;
    padding: 34px 0 26px;
    position: relative;
    overflow: hidden;
    min-height: 640px;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

.hero-left {
    flex: 0 0 46%;
    max-width: 640px;
    z-index: 2;
    padding-top: 52px;
}

.hero-title {
    margin-bottom: 22px;
    line-height: 0.98;
    font-size: 3.22rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #ffffff;
    text-shadow: 0 2px 3px rgba(0,0,0,0.16);
}

#first-section .hero-title .highlight {
    color: #ffffff;
    font-weight: 900;
    font-size: 3.92rem;
    white-space: nowrap;
    text-shadow: 0 3px 4px rgba(0,0,0,0.14);
}

#first-section .hero-title .highlight-secondary {
    color: #b7ec43;
}

.hero-description {
    font-size: 1.04rem;
    line-height: 1.82;
    margin-bottom: 20px;
    max-width: 565px;
    color: #003c84;
    font-weight: 500;
}

.hero-btn {
    padding: 13px 30px;
    min-width: 324px;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.hero-right {
    flex: 0 0 54%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 560px;
}

.phone-mockup {
    position: relative;
    width: 100%;
    z-index: 1;
}

.phone-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 14px 22px rgba(0,0,0,0.22));
}

.cta-phone {
    position: relative;
    z-index: 2;
    margin-right: -33%;
}

.cta-phone-img {
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    transform: translateX(33%);
}

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

/* Features Section */
#second-section.features,
.features {
    padding: 56px 0 8px;
    background-color: #fff;
}

.feature-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 58px;
    gap: 18px;
    margin-bottom: 58px;
}

.section-cta-reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 0 0 48%;
    max-width: 610px;
}

.feature-title {
    font-size: 1.92rem;
    color: #264f87;
    margin-bottom: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.feature-description {
    font-size: 0.97rem;
    color: #345882;
    line-height: 1.82;
    margin-bottom: 24px;
    max-width: 525px;
}

.feature-btn {
    padding: 13px 26px;
    min-width: 208px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-image {
    flex: 0 0 42%;
    display: flex;
    justify-content: center;
}

.feature-img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    max-width: 382px;
}

/* Testimonials Section */
.testimonials {
    padding: 44px 0 60px;
    background: #2da9e7 url('image/live.png') center/cover no-repeat;
    color: white;
    text-align: center;
    position: relative;
}

.testimonials-container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 74px;
}

.testimonials-title {
    font-size: 4rem;
    margin-bottom: 88px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    text-shadow: none;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: #d8ec49;
}

.testimonials-swiper {
    margin-bottom: 34px;
    overflow: visible;
    position: relative;
}

.testimonial {
    background: rgba(255,255,255,0.95);
    padding: 0 28px 26px;
    border-radius: 12px;
    width: 420px;
    min-height: 286px;
    text-align: center;
    box-shadow: none;
    color: #333;
    transition: transform 0.3s ease;
    position: relative;
    margin-top: 98px;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    margin-bottom: 10px;
    transform: translateY(-104px);
}

.avatar-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.testimonial-name {
    font-size: 32px;
    color: #1e4f8f;
    margin: -82px 0 12px;
    font-weight: 800;
    line-height: 1.08;
}

.testimonial-text {
    font-size: 28px;
    color: #4e6e98;
    line-height: 1.2;
    font-style: normal;
    max-width: 290px;
    margin: 0 auto;
}

.testimonials-btn {
    padding: 15px 38px;
    min-width: 260px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    box-shadow: -2px 2px 0 0 #003c84;
}

.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    background: transparent;
    color: #2742d7;
}

.testimonials-swiper .swiper-button-next {
    right: -64px;
}

.testimonials-swiper .swiper-button-prev {
    left: -64px;
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.testimonials-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Gallery Section */
.gallery {
    padding: 0;
    background-color: #fff;
}

.gallery-container {
    max-width: 100%;
    margin: 0 auto;
}

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

.gallery-mobile {
    display: none;
}

.gallery-desktop {
    display: block;
}

/* CTA Section */
.cta {
    background: url(image/background-hero.webp) no-repeat center;
    background-size: 100% 100%;
    position: relative;
    overflow: visible;
}

.cta-content {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 52px;
    gap: 0;
}

.cta-left {
    flex: 0 0 50%;
    max-width: 620px;
    z-index: 2;
    padding-top: 4px;
    text-align: left;
}

.cta-title {
    font-size: 2.88rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 3px rgba(0,0,0,0.12);
    color: #fff;
}

.highlight-yellow {
    color: #b7ec43;
    text-shadow: 0 2px 3px rgba(0,0,0,0.12);
}

.cta-btn {
    padding: 13px 24px;
    min-width: 152px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta-right {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cta-phone {
    position: relative;
    max-width: 520px;
    width: 100%;
    z-index: 1;
    margin-top: -44px;
    margin-right: -26px;
}

.cta-phone-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.3));
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
}

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

.footer-top-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-top-right {
    display: flex;
    align-items: center;
}

.footer-separator {
    height: 1px;
    background: #ddd;
    margin: 16px 0;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-copyright {
    font-size: 11px;
    color: #888;
    font-weight: 500;
    white-space: nowrap;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.footer-link:hover {
    color: #2742d7;
}

.footer-rta {
    display: flex;
    align-items: center;
}

.rta-logo {
    height: 28px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        gap: 28px;
        text-align: center;
        padding: 0 28px;
        min-height: auto;
    }

    .hero-left,
    .hero-right,
    .feature-text,
    .feature-image,
    .cta-left,
    .cta-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-left {
        padding-top: 76px;
    }

    .hero-right {
        min-height: auto;
    }

    .phone-mockup {
        max-width: 560px;
        margin: 0 auto;
    }
    
    .feature-content {
        flex-direction: column;
        gap: 28px;
        text-align: center;
        padding: 0 28px;
        margin-bottom: 52px;
    }
    
    .section-cta-reverse {
        flex-direction: column;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 20px 28px 20px !important;
        align-items: flex-start;
    }

    .cta-phone {
        margin: 0 auto;
        max-width: 420px;
    }
    
    .slider-desktop {
        gap: 10px;
    }

    .testimonials-container {
        padding: 0 46px;
    }

    .testimonials-title {
        font-size: 2.7rem;
        margin-bottom: 68px;
        max-width: 720px;
    }

    .testimonial {
        width: 320px;
        min-height: 232px;
        margin-top: 86px;
        padding: 0 20px 18px;
    }

    .testimonial-avatar {
        transform: translateY(-88px);
    }

    .avatar-img {
        width: 160px;
        height: 160px;
    }

    .testimonial-name {
        font-size: 24px;
        margin: -70px 0 10px;
    }

    .testimonial-text {
        font-size: 18px;
        max-width: 240px;
    }

    .testimonials-btn {
        min-width: 216px;
        font-size: 16px;
    }

    .tns-outer {
        padding: 0 56px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

    .inner-section {
        max-width: 100% !important;
    }

    .custom-container {
        max-width: 100% !important;
    }

    .testimonials {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .testimonials-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 18px !important;
    }

    .gallery {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .gallery-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .features {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .nav-container {
        justify-content: center;
        padding: 16px 20px;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(10px);
        width: 100% !important;
        max-width: 100% !important;
    }

    .logo {
        order: 1;
    }

    .header-right {
        display: none;
    }

    .nav-main {
        display: none;
    }

    .gallery-desktop {
        display: none;
    }

    .gallery-mobile {
        display: block;
    }
    
    .hero {
        padding: 120px 0 56px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 0 20px;
        gap: 22px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.26rem;
        line-height: 1;
    }

    #first-section .hero-title .highlight {
        font-size: 2.76rem;
    }
    
    .hero-description {
        font-size: 0.96rem;
        max-width: 100%;
        line-height: 1.72;
    }
    
    .hero-btn {
        padding: 13px 22px;
        font-size: 0.86rem;
        min-width: 0;
    }
    
    .feature-content {
        padding: 0 20px;
        gap: 24px;
        margin-bottom: 44px;
    }
    
    .feature-title {
        font-size: 1.68rem;
    }
    
    .feature-description {
        font-size: 0.94rem;
        line-height: 1.74;
    }

    .feature-btn {
        min-width: 0;
    }

    .feature-img {
        max-width: 320px;
    }
    
    .testimonials {
        padding: 30px 0 46px;
    }

    .testimonials-container {
        padding: 0 18px;
    }

    .testimonials-title {
        font-size: 42px;
        line-height: 1.16;
        max-width: 420px;
        margin-bottom: 64px;
    }

    .testimonials-swiper {
        margin-bottom: 16px;
        overflow: hidden;
    }

    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        display: none;
    }

    .testimonial {
        width: 280px;
        max-width: 280px;
        min-height: 278px;
        margin-top: 88px;
        padding: 0 20px 18px;
        margin: 88px auto 0;
    }

    .testimonial-avatar {
        transform: translateY(-80px);
    }

    .avatar-img {
        width: 160px;
        height: 160px;
        border-width: 5px;
    }

    .testimonial-name {
        font-size: 26px;
        margin: -80px 0 12px;
        line-height: 1.05;
    }

    .testimonial-text {
        font-size: 24px;
        line-height: 1.22;
        max-width: 240px;
    }

    .testimonials-btn {
        min-width: 172px;
        font-size: 14px;
        padding: 12px 24px;
        margin-top: 18px;
    }
    
    .cta-title {
        font-size: 2.26rem;
    }
    
    .cta-content {
        padding: 0 20px;
        gap: 20px;
    }
    
    .features {
        padding: 46px 0 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 36px 0 42px;
    }
    
    .hero-title {
        font-size: 1.82rem;
    }

    #first-section .hero-title .highlight {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.82rem;
    }
    
    .feature-content {
        padding: 0 15px;
        gap: 20px;
    }
    
    .feature-title {
        font-size: 1.42rem;
    }
    
    .feature-description {
        font-size: 0.88rem;
    }

    .testimonials {
        padding: 28px 0 42px;
    }

    .testimonials-container {
        padding: 0 14px;
    }

    .testimonials-title {
        font-size: 32px;
        line-height: 1.18;
        max-width: 320px;
        margin-bottom: 56px;
    }

    .testimonials-swiper {
        margin-bottom: 14px;
        overflow: hidden;
    }

    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        display: none;
    }

    .testimonial {
        width: 280px;
        max-width: 280px;
        min-height: 262px;
        margin-top: 84px;
        padding: 0 16px 18px;
        margin: 84px auto 0;
    }

    .testimonial-avatar {
        transform: translateY(-80px);
    }

    .avatar-img {
        width: 160px;
        height: 160px;
    }

    .testimonial-name {
        font-size: 26px;
        margin: -80px 0 12px;
        line-height: 1.05;
    }

    .testimonial-text {
        font-size: 20px;
        line-height: 1.22;
        max-width: 240px;
    }

    .testimonials-btn {
        min-width: 172px;
        font-size: 14px;
        padding: 12px 24px;
        margin-top: 18px;
    }
    
    .features {
        padding: 36px 0 0;
    }
    
    .cta {
        padding: 0;
        min-height: 0;
        margin-top: 120px;
        width: 100%;
        max-width: 100%;
    }

    .cta-content {
        flex-direction: column;
        padding: 0;
        gap: 0;
        width: 100%;
        max-width: 100%;
    }

    .cta-left {
        order: 2;
        padding: 0 0 20px;
        text-align: left;
        background: transparent;
    }

    .cta-right {
        order: 1;
        flex: none;
        padding: 0;
        background: transparent;
    }

    .cta-phone {
        margin: -60px 0 0 0;
        display: flex;
        justify-content: center;
        position: relative;
        z-index: 3;
        width: 100%;
        overflow: hidden;
    }

    .cta-phone-img {
        max-width: 320px;
        width: 100%;
        transform: none;
        filter: drop-shadow(0 15px 35px rgba(0,0,0,0.3));
    }

    .cta-title {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: left;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 16px;
        margin-left: 0;
    }
    
    .footer {
        padding: 50px 0;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-container {
        text-align: center;
        max-width: 100% !important;
        padding: 0 20px !important;
    }

    .footer-top {
        flex-direction: column;
        gap: 16px;
    }

    .footer-top-left {
        flex-direction: column;
        gap: 12px;
        order: 1;
    }

    .footer-top-right {
        order: 2;
        display: none;
    }

    .footer-separator {
        display: none;
    }

    .footer-bottom {
        padding-top: 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 5px;
        justify-content: center;
    }

    .rta-logo {
        height: 20px;
    }

    .footer-copyright {
        font-size: 12px;
        color: #999;
        white-space: normal;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        line-height: 1.4;
    }

    .footer-link {
        font-size: 12px;
        color: #888;
        white-space: normal;
        word-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        text-align: center;
    }
}
