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

/* Body and Global Styles */
body {
    font-family: 'poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* max-width: 2000px;
    margin: auto; */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Layout Containers */
header,
section,
footer {
    padding: 2rem 10%;
}

header {
    background-color: #fff;
    /* border-bottom: 1px solid #ddd; */
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

header nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

header nav .nav-links {
    display: flex;
    gap: 2rem;
}

/* Desktop Styles */
@media (min-width: 769px) {
    header .nav-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Menu toggle (hidden on desktop) */
header nav .menu-toggle {
    display: none;
}

/* Close menu button - only in mobile layout */
header nav .close-menu {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    header nav .menu-toggle {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* Mobile nav hidden by default */
    header nav .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 60%;
        flex-direction: column;
        background-color: #fff;
        padding-top: 5rem;
        gap: 1.5rem;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
    }

    header nav .nav-links li {
        padding: 0 5%;
    }

    /* Slide in menu when active */
    header nav .nav-links.active {
        right: 0;
    }

    header nav .close-menu {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
    }

    footer {
        padding: 0 5%;
    }

    /* Stack social media vertically */
    footer .social-media nav {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    footer .social-media nav .nav-links {
        justify-content: center;
    }

    /* Stack company menu vertically */
    footer .company-menu {
        text-align: center;
    }

    footer .company-menu nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    footer .company-menu nav .nav-links {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    /* Adjust button width */
    .btn-primary {
        width: 100%;
        padding: 12px;
    }

    .hero-section {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .product-corner-wrapper {
        font-size: 16px;
        padding: 0px 20px;
        border-width: 3px;
        margin-top: 10px;
    }

    .product-corner-circle {
        width: 14px;
        height: 14px;
        border-width: 3px;
    }

    .hero-description {
        font-size: 16px !important;
        width: 100% !important;
        margin: 20px 0 !important;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-watch-intro {
        width: 100% !important;
        padding: 12px !important;
        font-size: 14px !important;
    }

    .btn-watch-intro {
        text-align: left;
    }
    
    .btn-watch-intro-content {
        justify-content: center;
    }
    
    .btn-watch-intro-text {
        align-content: center;
        margin-left: 10px;
        font-size: 14px;
    }

    .hero-image img {
        width: 100%;
        max-width: 350px;
    }
}

footer {
    background-color: #2E3E5C;
    color: #eee;
    padding: 0 10%;
}

footer nav {
    display: flex;
    justify-content: space-between;
}

footer nav .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

footer nav .nav-links a {
    color: #eee;
    font-size: 0.9rem;
}

footer .social-media,
footer .company-menu,
footer .copyright {
    padding: 48px 0;
}

footer .social-media nav .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #706FE5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

footer .company-menu nav .nav-links {
    gap: 6.5rem;
}

footer .copyright {
    text-align: center;
}

.btn {
    padding: 10px 40px;
    border-radius: 12px;
}

.btn-primary {
    background-color: #706FE5;
    color: #fff;
    transition-duration: .6s;
}

.btn-primary:hover {
    background-color: #615fd9;
    color: #fff;
}

.btn-light {
    background-color: #fff;
    color: #2E3E5C;
}

.product-corner-wrapper {
    position: relative;
    display: inline-block;
    padding: 0px 30px;
    font-size: 24px;
    font-weight: bold;
    background-color: #fff;
    border: 4px solid #706fe5; /* border thickened */
    border-radius: 8px;
}

.product-corner-text {
    position: relative;
    z-index: 1;
}

/* Lingkaran di sudut */
.product-corner-circle {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 4px solid #706fe5; /* thicker circle border */
    border-radius: 50%;
    background-color: #fff; /* center is white */
}

.corner-top-left {
    top: -10px;
    left: -10px;
}

.corner-top-right {
    top: -10px;
    right: -10px;
}

.corner-bottom-left {
    bottom: -10px;
    left: -10px;
}

.corner-bottom-right {
    bottom: -10px;
    right: -10px;
}

.hero-section {
    display: flex;
    justify-content: space-between;
}

.hero-content {
    align-content: center;
}

.hero-text {
    display: flex;
}

.hero-text h1,
.product-corner-text {
    color: #1E1F4B;
    font-size: 58px;
}

.product-corner-text {
    color: #706fe5;
}

.hero-description {
    font-size: 20px;
    width: 85%;
    font-weight: 300;
    color: #2E3E5C;
    margin: 40px 0;
}

.btn-watch-intro {
    display: inline-block;
    width: 320px;
    transition-duration: 0.6s;
}

.btn-watch-intro-content {
    display: flex;
}

.btn-watch-intro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ebeafa;
    width: 65px;
    height: 50px;
    border-radius: 50%;
}

.btn-watch-intro-text {
    margin-left: 13px;
}

.btn-watch-intro:hover {
    text-decoration: underline;
    transform: scale(1.01);
}

header nav .nav-links li a:hover {
    transition-duration: .6s;
}


header nav .nav-links li a:hover {
    border-bottom: 1px solid #615fd9;
    padding-bottom: 10px;
    color: #615fd9;
}

/* Partner Section */
.partner-section,
.overview-section,
.testimonial-section,
.services-section {
    padding: 100px 10%;
}

.partner-content {
    text-align: center;
}

.partner-text h3 {
    font-size: 24px;
    color: #1E1F4B;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Logo List */
.partner-image {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    gap: 2rem;
}

.partner-image img {
    width: 120px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.partner-image img:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .partner-image {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .partner-section {
        padding: 40px 5%;
    }

    .partner-text h3 {
        font-size: 20px;
    }

    .partner-image {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .partner-image img {
        width: 90px;
    }
}

@media (max-width: 400px) {
    .partner-image {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Desktop Layout */
.container-all-overview-box {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-top: 40px;
}

.overview-box-primary {
    flex: 1.2;
}

.container-overview-box-others {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.overview-image img {
    width: 100%;
    border-radius: 30px;
}

.overview-text-box p {
    margin: 10px 0;
}

@media (max-width: 768px) {

    .overview-section {
        padding: 40px 5%;
    }

    .overview-text h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .overview-text p {
        font-size: 15px;
        margin-top: 10px;
        width: 100%;
    }

    .container-all-overview-box {
        flex-direction: column;
        gap: 2rem;
    }

    .overview-box-primary {
        width: 100%;
    }

    .container-overview-box-others {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .overview-text-box h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    .overview-text-box p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .overview-text h1 {
        font-size: 22px;
    }

    .overview-text p {
        font-size: 14px;
    }

    .overview-image img {
        border-radius: 20px;
    }
}

.testimonial-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.testimonial-title {
    font-size: 32px;
    font-weight: 700;
    color: #0C0C2B;
    margin-bottom: 30px;
    line-height: 1.3;
}

.testimonial-title span {
    color: #0C0C2B;
}

.testimonial-quote-wrapper {
    max-width: 750px;
    margin: 0 auto 40px;
    position: relative;
}

.quote-icon {
    font-size: 38px;
    font-weight: 700;
    color: #706FE5;
    position: absolute;
}

.quote-icon.left {
    left: -40px;
    top: -10px;
}

.quote-icon.right {
    right: -40px;
    bottom: -10px;
}

.testimonial-text {
    color: #5f6072;
    line-height: 1.7;
    font-size: 16px;
    padding: 0 20px;
}

.testimonial-avatars {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0 20px;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    border: 3px solid transparent;
}

.avatar.active {
    opacity: 1;
    border: 3px solid #706FE5;
    box-shadow: 0 0 10px rgba(112, 111, 229, 0.3);
    transform: scale(1.2);
}

.testimonial-person {
    margin-top: 10px;
}

.person-name {
    font-size: 22px;
    font-weight: 700;
    color: #0C0C2B;
}

.person-role {
    color: #6b6c80;
    margin-top: 5px;
    font-size: 15px;
}

@media (max-width: 600px) {
    .testimonial-avatars {
        gap: 12px;
    }

    .avatar {
        width: 55px;
        height: 55px;
    }

    .quote-icon.left {
        left: 0;
    }
    .quote-icon.right {
        right: 0;
    }
}

.container-all-services-box {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 40px;
}

.services-box-primary {
    flex: 1.2;
}

.services-text {
    margin-bottom: 40px;
}

.services-text h1 {
    font-size: 36px;
    color: #1E1F4B;
    margin-bottom: 15px;
}

.services-text p {
    font-size: 16px;
    color: #2E3E5C;
    width: 90%;
    line-height: 1.6;
}

.subscribe-wrapper {
    display: flex;
    align-items: center;
    background: #ebeafa;
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 20px;
    width: 420px;
    box-shadow: 0 8px 25px rgba(112, 110, 229, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.subscribe-input-area {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
}

.mail-icon {
    width: 22px;
    opacity: 0.6;
}

.subscribe-input-area input {
    border: none;
    width: 100%;
    background: transparent;
    font-size: 15px;
    color: #2E3E5C;
    outline: none;
}

.subscribe-input-area input::placeholder {
    color: #7a7b8a;
}

.subscribe-btn {
    background: linear-gradient(135deg, #706FE5, #8E88F5);
    padding: 10px 22px;
    border-radius: 12px;
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
    font-size: 18px;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #5d5cdc, #7a72ed);
}

@media (max-width: 480px) {
    .subscribe-wrapper {
        width: 100%;
        padding: 12px;
        flex-direction: column;
        gap: 12px;
    }

    .subscribe-btn {
        width: 100%;
        text-align: center;
    }
}


.container-services-box-others {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.services-image img {
    width: 50px;
}

.services-text-box h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #1E1F4B;
}

.services-text-box p {
    font-size: 14px;
    color: #2E3E5C;
    line-height: 1.5;
}

@media (max-width: 768px) {

    .services-section {
        padding: 40px 5%;
    }

    .container-all-services-box {
        flex-direction: column;
        gap: 2rem;
    }

    .services-text h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .services-text p {
        font-size: 15px;
        width: 100%;
    }

    .container-services-box-others {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .services-text-box h3 {
        font-size: 18px;
    }

    .services-box-other {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }
}
