/* 
 * DumaPay Main Style File
 * Contains styles shared across all pages
 */

/* ===== Global Styles ===== */
:root {
    --primary-color: #2260FF;
    --secondary-color: #0066CC;
    --dark-blue: #062B87;
    --black: #111828;
    --white: #FFFFFF;
    --light-bg: #DFE8FF;
    --gray: #666666;
    --light-gray: #F4F5F7;
    --text-dark: #333333;
}

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

body {
    font-family: 'Poppins', 'PingFang SC', 'SF Pro', sans-serif;
    color: var(--black);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

/* ===== Header Styles ===== */
.header {
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo span {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
}

.nav ul {
    display: flex;
    gap: 20px;
}

.nav li {
    position: relative;
    padding: 10px 20px;
}

.nav a {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
}

.nav a.active,
.nav li.active a {
    color: var(--primary-color);
}

.nav li.active::after,
.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 2px;
    background-color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 20px;
}

.btn-signup,
.btn.btn-outline {
    width: 90px;
    height: 35px;
    border: 1px solid var(--black);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--black);
}

.btn-app,
.btn.btn-primary.btn-dark-bg {
    width: 108px;
    height: 35px;
    border-radius: 27px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-app span,
.btn.btn-primary span {
    font-size: 14px;
    font-weight: 500;
}

/* ===== Home Page Styles ===== */
/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    color: #333333;
    margin-bottom: 40px;
    line-height: 1.5;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
    width: 538px;
    height: 506px;
}

.circle-outer,
.circle-middle,
.circle-inner {
    position: absolute;
    border-radius: 50%;
    border: 1px solid #DCDCDC;
}

.circle-outer {
    width: 506px;
    height: 506px;
    left: 29px;
    top: 0;
    opacity: 0.5;
}

.circle-middle {
    width: 410px;
    height: 410px;
    left: 77px;
    top: 48px;
}

.circle-inner {
    width: 322px;
    height: 322px;
    left: 121px;
    top: 92px;
}

.phone {
    position: absolute;
}

.phone-left {
    left: 100px;
    top: 119px;
    transform: rotate(-8deg);
}

.phone-right {
    left: 252px;
    top: 55px;
    transform: rotate(9deg);
}

.phone-screen,
.phone-frame {
    position: absolute;
}

.decoration-left {
    position: absolute;
    left: 0;
    top: 197px;
}

.decoration-right {
    position: absolute;
    right: 0;
    top: 208px;
}

.decoration-bottom {
    position: absolute;
    left: 89px;
    bottom: -90px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-image: url('/assets/image/index-bg2.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.services h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    width: 619px;
    height: 333px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

.service-image {
    width: 285px;
    height: 281px;
    object-fit: contain;
    mix-blend-mode: darken;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 20px;
}

.testimonial-line {
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 40px;
}

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

.testimonial-card {
    background-color: var(--light-gray);
    border-radius: 24px;
    padding: 25px;
    height: 404px;
    display: flex;
    flex-direction: column;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.quote-icon {
    position: relative;
    width: 102px;
    height: 72px;
}

.quote-inner,
.quote-outer {
    position: absolute;
}

.quote-inner {
    left: 38px;
    top: 16px;
}

.quote-outer {
    left: 0;
    top: 0;
}

.user-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 20px;
    color: var(--gray);
    line-height: 1.5;
}

/* Download Section */
.download {
    padding: 80px 0;
    border-radius: 38px;
    position: relative;
    overflow: hidden;
    max-width: 1260px;
    margin: 0 auto 80px;
}

.download .container {
    display: flex;
    position: relative;
    z-index: 1;
}

.download-content {
    flex: 1;
    padding-top: 40px;
}

.download h2 {
    font-size: 80px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.btn-download {
    width: 199px;
    height: 60px;
    background-color: var(--white);
    border-radius: 51px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-text span:first-child {
    font-size: 12px;
    color: #666;
}

.download-text span:last-child {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
}

.download-image {
    position: relative;
    width: 749px;
    height: 514px;
}

.download-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 38px;
}

.download-screen {
    position: absolute;
    width: 548px;
    height: 274px;
    left: 114px;
    top: 43px;
}

.download-phone {
    position: absolute;
    width: 273px;
    height: 561px;
    left: 75px;
    top: 213px;
}

.download-app-screen {
    position: absolute;
    width: 258px;
    height: 439px;
    left: 8px;
    top: 36px;
    border-radius: 24px;
}

.download-phone-frame {
    position: absolute;
    width: 273px;
    height: 561px;
}

.download-phone-right {
    position: absolute;
    width: 311px;
    height: 635px;
    left: 307px;
    top: 97px;
}

.download-decoration-1 {
    position: absolute;
    width: 76px;
    height: 84px;
    right: 10px;
    top: 249px;
    transform: rotate(18deg);
}

.download-decoration-2 {
    position: absolute;
    width: 57px;
    height: 66px;
    left: 529px;
    top: 163px;
    transform: rotate(-13deg);
}

/* ===== About Us Page Styles ===== */
/* Hero Banner Styles */
.hero-banner {
    margin-top: 100px;
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.hero-banner .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-content {
    flex: 1;
    max-width: 622px;
}

.about-content h2 {
    font-size: 40px;
    color: #062B87;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 24px;
    color: var(--text-dark);
    font-family: 'SF Pro', sans-serif;
    line-height: 1.5;
}

.about-image {
    flex: 1;
    max-width: 515px;
    height: 460px;
    border-radius: 16px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission Section Styles */
.mission-section {
    position: relative;
    padding: 180px 0;
    background-color: #D1D1D1;
    color: white;
    text-align: center;
    height: 650px;
}

.mission-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/image/about-mission.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.mission-container {
    position: relative;
    z-index: 2;
    max-width: 664px;
}

.mission-section h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

.mission-section p {
    font-size: 24px;
    font-family: 'SF Pro', sans-serif;
}

/* Core Values Section Styles */
.values-section {
    padding: 80px 0;
}

.values-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.values-image {
    flex: 1;
    max-width: 540px;
    height: 460px;
    border-radius: 16px;
    overflow: hidden;
}

.values-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-content {
    flex: 1;
    max-width: 622px;
}

.values-content h2 {
    font-size: 40px;
    color: #062B87;
    margin-bottom: 20px;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    font-size: 24px;
    color: var(--text-dark);
    font-family: 'SF Pro', sans-serif;
    margin-bottom: 15px;
    line-height: 1.5;
}

.values-list strong {
    font-weight: 700;
}

/* Compliance Section Styles */
.compliance-section {
    padding: 80px 0;
}

.compliance-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.compliance-content {
    flex: 1;
    max-width: 622px;
}

.compliance-content h2 {
    font-size: 40px;
    color: #062B87;
    margin-bottom: 20px;
}

.compliance-content p {
    font-size: 24px;
    color: var(--text-dark);
    font-family: 'SF Pro', sans-serif;
    line-height: 1.5;
}

.compliance-image {
    flex: 1;
    max-width: 515px;
    height: 460px;
    border-radius: 16px;
    overflow: hidden;
}

.compliance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Our Services Section Styles */
.services-section {
    padding: 80px 0;
    background-image: url('/assets/image/about-bg2.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.services-section h2 {
    font-size: 40px;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.services-cards {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.services-section .service-card {
    flex: 1;
    max-width: 619px;
    background-color: white;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    overflow: hidden;
    height: auto;
}

.services-section .service-image {
    width: 100%;
    height: 301px;
    background-color: #DFE8FF;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.services-section .service-image img {
    width: 234px;
    height: 478px;
    margin-top: 36px;
}

.services-section .service-card h3 {
    font-size: 30px;
    color: var(--dark-blue);
    margin: 30px 0 15px;
}

.services-section .service-card p {
    font-size: 24px;
    color: var(--text-dark);
    font-family: 'SF Pro', sans-serif;
    margin-bottom: 30px;
    padding: 0 100px;
}

/* ===== Footer Styles ===== */
.footer {
    background-color: var(--black);
    padding: 80px 0;
    color: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-logo span {
    font-size: 36px;
    font-weight: 700;
}

.footer-content,
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column,
.footer-address,
.footer-links,
.footer-services,
.footer-contact {
    margin-bottom: 20px;
}

.footer h3,
.footer h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
}

.footer ul {
    opacity: 0.6;
    list-style: none;
    padding: 0;
}

.footer li {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer a {
    color: var(--white);
    text-decoration: none;
}

.footer-address,
.footer-address p {
    max-width: 311px;
    opacity: 0.6;
    font-size: 16px;
    line-height: 2;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2260FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top img {
    width: 24px;
    height: 24px;
}

/* ===== Animation Effects ===== */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.phone-left,
.phone-right,
.decoration-left,
.decoration-right {
    animation: float 6s ease-in-out infinite;
}

.phone-right {
    animation-delay: 1s;
}

.decoration-left {
    animation-delay: 2s;
}

.decoration-right {
    animation-delay: 3s;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero p {
        font-size: 18px;
    }

    .download .container {
        flex-direction: column;
    }

    .download-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .download-image {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .auth-buttons .btn-signup,
    .auth-buttons .btn.btn-outline {
        display: none;
    }

    .auth-buttons {
        gap: 10px;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .about-container,
    .values-container,
    .compliance-container {
        flex-direction: column;
    }

    .about-content,
    .values-content,
    .compliance-content {
        max-width: 100%;
    }

    .about-image,
    .values-image,
    .compliance-image {
        max-width: 100%;
        margin-top: 30px;
    }

    .services-cards {
        flex-direction: column;
        align-items: center;
    }

    .services-section .service-card {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 80px;
    }

    .logo span {
        font-size: 28px;
    }

    .auth-buttons .btn-app:nth-child(2),
    .auth-buttons .btn.btn-primary:nth-child(2) {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-image {
        width: 100%;
        height: 400px;
        transform: scale(0.8);
    }

    .service-card {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .service-image {
        width: 200px;
        height: 200px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        height: auto;
    }

    .download {
        margin: 0 20px 40px;
        border-radius: 20px;
    }

    .download h2 {
        font-size: 50px;
    }

    .download-image {
        height: 300px;
        overflow: hidden;
    }

    .footer-column,
    .footer-address,
    .footer-links,
    .footer-services,
    .footer-contact {
        width: 100%;
        margin-bottom: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .back-to-top img {
        width: 20px;
        height: 20px;
    }

    .hero-banner {
        height: 200px;
    }

    .about-content h2,
    .values-content h2,
    .compliance-content h2,
    .mission-section h2,
    .services-section h2 {
        font-size: 32px;
    }

    .about-content p,
    .values-list li,
    .compliance-content p,
    .mission-section p,
    .services-section .service-card p {
        font-size: 18px;
    }

    .services-section .service-card h3 {
        font-size: 24px;
    }

    .about-image,
    .values-image,
    .compliance-image {
        height: 300px;
    }

    .services-section .service-image {
        height: 250px;
    }

    .services-section .service-image img {
        width: 180px;
        height: auto;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-image {
        height: 300px;
    }

    .circle-outer,
    .circle-middle {
        display: none;
    }

    .download h2 {
        font-size: 40px;
    }
}

/* Responsive Download Buttons Styles */
@media (max-width: 992px) {
    .download-buttons {
        display: flex;
        gap: 20px;
        flex-direction: row;
        justify-content: center;
    }
}

/* SVGA Animation Styles */
.svga-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}



.support-mission-section {
    position: relative;
    padding: 80px 0;
    background-color: #D1D1D1;
    color: white;
    text-align: center;
    height: 650px;
}

.support-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/image/support-bg2.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.support-mission-section h2 {
    font-size: 2em;
    font-weight: bold;
    color: black;
}


.support-mission-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
}

.support-content {
    flex: 1;
    max-width: 622px;
}

.support-content h2 {
    font-size: 40px;
    color: #062B87;
    margin-bottom: 20px;
}

.support-content p {
    font-size: 24px;
    color: var(--text-dark);
    font-family: 'SF Pro', sans-serif;
    font-weight: 500;
    line-height: 1.5;
}

.support-content li {
    font-size: 20px;
    color: var(--text-dark);
    font-family: 'SF Pro', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    list-style-type: disc;
}

.support-content a {
    color: var(--primary-color);
}
