/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0066ff;
    --secondary-color: #00c2ff;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --light-bg: #f5f9ff;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    color: var(--text-color);
    line-height: 1.6;
}

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

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

section {
    padding: 80px 0;
}

.highlight {
    color: var(--primary-color);
}

/* Navigation Styles - Unified for all pages */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

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

.nav-menu {
    display: flex;
    gap: 80px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0066FF;
}

.nav-menu a.active {
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0066FF;
}

.signup-btn {
    background-color: #0066FF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.signup-btn:hover {
    background-color: #0052cc;
}

/* Homepage Styles */
.hero {
    background-image: url('assets/images/index-bg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    color: #0066FF;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #555;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.app-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.app-btn.google {
    background-color: #333;
}

/* Features Section Styles */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features h2 {
    color: #0066FF;
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
}

.feature-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    flex: 1;
    background-color: #F6F8FE;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    height: 100px;
    margin-bottom: 20px;
    position: relative;
    top: -30px;
}

.feature-card h3 {
    color: black;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

.why-choose-us {
    background-image: url('assets/images/index-who.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #fff;
}

.why-choose-us h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
}

.choose-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.choose-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.choose-card img {
    height: 60px;
    margin-bottom: 20px;
}

.choose-card h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.choose-card p {
    color: #666;
    font-size: 0.9rem;
}

/* How to Get Loans Styles */
.how-to-get {
    padding: 80px 0;
    background-color: #fff;
}

.how-to-get h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
}

.how-to-get .highlight {
    color: #0066FF;
}

.loan-process {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.phone-image {
    flex: 1;
    text-align: center;
}

.phone-image img {
    max-height: 500px;
}

.steps {
    flex: 1;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: #F6F8FE;
    padding: 20px;
    border-radius: 20px;
}

.step-number {
    background-color: #0066FF;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #0066FF;
    width: 30px;
    border-radius: 5px;
}

/* Customer Testimonials Styles */
.testimonials {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
    height: 400px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    max-width: 280px;
    transition: all 0.3s ease;
    transform-origin: bottom center;
}

.testimonial-card:nth-child(1) {
    transform: rotate(-15deg) translateY(20px);
}

.testimonial-card:nth-child(2) {
    transform: rotate(0deg) translateY(0px);
    z-index: 2;
}

.testimonial-card:nth-child(3) {
    transform: rotate(15deg) translateY(20px);
}

.testimonial-card:hover {
    transform: rotate(0deg) translateY(-10px) scale(1.05);
    z-index: 3;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #ffc107;
}

.rating span {
    color: #333;
    margin-left: 5px;
    font-weight: bold;
}

.testimonial-card p {
    color: #666;
    font-style: italic;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: #0066FF;
    width: 30px;
    border-radius: 5px;
}

.prev-btn,
.next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: #0066FF;
    color: #fff;
}

.download {
    background-image: url('assets/images/index-download-bg.png');
    color: #fff;
    padding: 0 !important;
    padding-top: 80px !important;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0 auto;
}

.download-image {
    flex: 1;
    text-align: center;
    height: 400px;
}

.download-image img {
    height: 400px;
}

.download-text {
    flex: 1;
}

.download-text h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: left;
}

/* About Us Page Styles */
.about-hero {
    background-color: var(--light-bg);
    height: 320px;
    text-align: center;
    background-image: url('assets/images/about-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}

.about-title {
    font-size: 40px;
    color: #1677FF;
    text-align: center;
    margin-top: 20px;
}

.about-section {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    background-color: #f6f8fe;
    border-radius: 20px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-text p {
    margin: 20px;
    line-height: 1.5;
}

.values-section {
    height: 595px;
    padding: 150px 0;
    background-image: url('assets/images/about-value-bg.png');
    background-size: cover;
    background-position: center;
}

.values-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.value-card {
    flex: 1;
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.value-card p {
    line-height: 1.6;
}

/* Contact Us Page Styles */
.contact-hero {
    background-color: #f5f5f5;
    position: relative;
    height: 320px;
    overflow: hidden;
    padding: 0;
}

.contact-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-title {
    text-align: center;
    padding: 50px 0 30px;
}

.contact-title h1 {
    color: #0066FF;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-section {
    padding: 0 0 80px;
    background-color: white;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    width: 45%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card-icon {
    margin-bottom: 20px;
}

.contact-card-icon img {
    width: 120px;
    height: auto;
}

.contact-card h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-phone {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    justify-content: center;
}

.contact-phone a {
    color: #0066FF;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-phone a:hover {
    color: #0052cc;
}

.contact-email {
    text-align: center;
}

.contact-email a {
    color: #0066FF;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-email a:hover {
    color: #0052cc;
}

/* FAQ Page Styles */
.faq-hero {
    height: 320px;
    text-align: center;
    color: var(--white);
    background-image: url('assets/images/faq-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.faq-title {
    font-size: 40px;
    color: #1677FF;
    text-align: center;
    margin-top: 20px;
}

.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.faq-question span {
    flex: 1;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1.2rem;
    transition: var(--transition);
    color: #0066ff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    line-height: 1.6;
}

.faq-answer p {
    color: #666;
    margin-bottom: 0;
}

.faq-item.active {
    border-left: 4px solid var(--primary-color);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 1000px;
    opacity: 1;
}

.contact-cta {
    text-align: center;
    margin-top: 50px;
}

.contact-cta p {
    margin-bottom: 20px;
}

/* User Cases Page Styles */
.user-cases-hero {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.user-cases-hero h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.user-cases-section {
    padding: 80px 0;
}

.user-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.user-case {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.user-image {
    margin-bottom: 20px;
}

.user-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.user-case h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.user-case .occupation {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 15px;
}

.user-case p {
    line-height: 1.6;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    min-height: 150px;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-column:first-child {
    flex: 1.5;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
    height: 30px;
    display: flex;
    align-items: center;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    justify-content: flex-start;
}

.footer-column li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-column li i {
    width: 16px;
    color: var(--primary-color);
}

.footer-column a {
    color: #aaa;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content,
    .loan-process,
    .download-content {
        flex-direction: column;
    }

    .hero-text,
    .steps,
    .download-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .choose-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-cards {
        flex-wrap: wrap;
    }

    .testimonial-card {
        flex: 0 0 100%;
        margin-bottom: 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

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

    .contact-card {
        width: 90%;
    }
}

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

    .feature-cards {
        flex-direction: column;
    }

    .choose-cards {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;

    }
}
