/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3436;
    background-color: #f8f9fa;
}

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

/* Header */
header {
    background-color: #2d3436;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.9) 0%, rgba(162, 155, 254, 0.9) 100%), 
                url('/images/hero-bg.jpg') center/cover;
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 400;
}

.cta-button {
    background-color: #00b894;
    color: #ffffff;
    border: none;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

/* Why Choose Us Section */
.why-choose {
    background-color: #ffffff;
    padding: 80px 20px;
}

.why-choose h2 {
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: #2d3436;
}

.section-intro {
    text-align: center;
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #636e72;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    padding: 15px 0;
}

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

.feature-card img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.feature-card h3 {
    font-size: 28px;
    font-weight: 900;
    color: #6c5ce7;
    padding: 25px 25px 15px;
}

.feature-card p {
    font-size: 16px;
    padding: 0 25px 25px;
    color: #636e72;
}

/* What Makes Payday Loans Different - Carousel */
.what-makes {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

.what-makes h2 {
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: #2d3436;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 40px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: none;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-slide.active {
    display: flex;
}

.slide-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.slide-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}


.slide-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content h3 {
    font-size: 36px;
    font-weight: 900;
    color: #2d3436;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 18px;
    color: #636e72;
    line-height: 1.7;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 10;
    color: #2d3436;
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

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

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

.carousel-dot.active {
    background-color: #6c5ce7;
    width: 30px;
    border-radius: 6px;
}

/* Join Section */
.join-section {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.join-section h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 25px;
}

.join-section p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 35px;
}

/* FAQ Section - Accordion */
.faq {
    background-color: #ffffff;
    padding: 80px 20px;
}

.faq h2 {
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: #2d3436;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: #ffffff;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.accordion-header {
    width: 100%;
    background-color: #ffffff;
    border: none;
    padding: 25px 30px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 900;
    color: #2d3436;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #f8f9fa;
}

.accordion-item.active .accordion-header {
    background-color: #6c5ce7;
    color: #ffffff;
}

.accordion-icon {
    transition: transform 0.3s;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header .accordion-icon path {
    stroke: #ffffff;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 30px 25px;
}

.accordion-content p {
    font-size: 16px;
    color: #636e72;
    line-height: 1.7;
}

/* Final CTA */
.final-cta {
    background-color: #2d3436;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.final-cta h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 25px;
}

.final-cta p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.final-cta h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 35px;
    color: #00b894;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
    padding: 80px 20px;
}

.contact h2 {
    font-size: 42px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
    color: #2d3436;
}

.contact-subtitle {
    text-align: center;
    font-size: 20px;
    color: #636e72;
    margin-bottom: 60px;
}

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

.contact-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 900;
    color: #2d3436;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 15px;
    color: #636e72;
    line-height: 1.7;
}

.contact-card a {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #2d3436;
    color: #ffffff;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.disclaimer {
    background-color: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.disclaimer p {
    font-size: 14px;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.copyright p {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

    .carousel-slide.active {
        flex-direction: column;
    }

    .slide-content {
        padding: 30px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

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