/* 
    Easy Mudra - Premium Fintech Styling
    Color Palette:
    Primary Teal: #49A09D
    Secondary Navy: #0D2C44
    Accent Green: #2ECC71
    Gradient: linear-gradient(135deg, #0D2C44 0%, #49A09D 100%)
*/

:root {
    --primary: #49A09D;
    --primary-dark: #3b7e7e;
    --secondary: #0D2C44;
    --accent: #2ECC71;
    --light-teal: #e6f2f2;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #f8fafc;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-bold: 0 15px 40px rgba(73, 160, 157, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Typgraphy --- */
h1,
h2,
h3,
h4 {
    color: var(--secondary);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

.sub-heading {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(73, 160, 157, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(73, 160, 157, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-accent:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.btn.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn.large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn.full {
    width: 100%;
    justify-content: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.navbar.sticky {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

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

.logo img {
    height: 60px;
    width: auto;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--secondary);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    padding: 12rem 0 8rem;
    position: relative;
    background: radial-gradient(circle at top right, var(--light-teal), #ffffff);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.indicator i {
    color: var(--primary);
}

.hero-image {
    position: relative;
}

.illustration-wrapper {
    position: relative;
    z-index: 1;
}

.floating-img {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

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

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

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    animation: floating 4s ease-in-out infinite;
}

.glass-card i {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0.5s;
}

.card-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 1.2s;
}

.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-separator .shape-fill {
    fill: #ffffff;
}

/* --- About Section --- */
.about {
    padding: 8rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.check-list {
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- Services Section --- */
.services {
    padding: 8rem 0;
    background: #fdfdfd;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--light-teal);
    box-shadow: var(--shadow-bold);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-teal);
    color: var(--primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 1.5rem;
}

/* --- How It Works --- */
.how-it-works {
    padding: 8rem 0;
    background: var(--secondary);
    color: white;
}

.how-it-works .section-header h2,
.how-it-works .section-header p {
    color: white;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.step-line {
    position: absolute;
    top: 30px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--secondary);
}

.step h3 {
    color: white;
    margin-bottom: 1rem;
}

.step p {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Why Choose Us --- */
.why-choose {
    padding: 8rem 0;
}

.why-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    align-items: center;
}

.features-list {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--light-teal);
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Testimonials --- */
.testimonials {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #fdfdfd, #f4f8f8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.quote {
    font-size: 2.5rem;
    color: var(--light-teal);
    position: absolute;
    top: 20px;
    left: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

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

.user-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.user-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* --- Contact Section --- */
.contact {
    padding: 8rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

.info-items {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--light-teal);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(73, 160, 157, 0.1);
}

/* --- Footer --- */
footer {
    background: #091a29;
    color: white;
    padding: 6rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 1rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.reveal.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-container,
    .about-container,
    .why-container,
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .check-list {
        display: inline-block;
        text-align: left;
    }

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

    .why-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-card {
        flex: 1;
        min-width: 150px;
    }

    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }

    .step-line {
        display: none;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu logic in JS */
    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
        /* Hide top CTA on mobile to avoid clutter */
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-brand p {
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-logo {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 3000; /* Higher than mobile overlay */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-float i {
    font-size: 1.8rem;
}

.whatsapp-float span {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
    overflow: hidden;
}

.whatsapp-float:hover {
    padding-right: 30px;
    background: #128c7e;
    transform: translateY(-5px);
    color: white;
}

.whatsapp-float:hover span {
    max-width: 150px;
    opacity: 1;
}

/* Pulsing effect */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50px;
    z-index: -1;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 600px) {
    .whatsapp-float span { display: none; }
    .whatsapp-float { 
        padding: 15px; 
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float:hover { padding: 15px; }
}

/* --- Mobile Navigation Side Modal --- */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 44, 68, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2400;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: white;
    z-index: 2500;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(73, 160, 157, 0.1);
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f4f4;
}

.mobile-logo {
    height: 40px;
}

.close-menu {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--secondary);
    background: #f8fafc;
    border-radius: 50%;
    transition: var(--transition);
}

.close-menu:hover {
    background: var(--light-teal);
    color: var(--primary);
    transform: rotate(90deg);
}

.mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.mobile-links li {
    width: 100%;
}

.mobile-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary);
    border-bottom: 1px solid #f8fafc;
    transition: var(--transition);
}

.mobile-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-links a.btn {
    margin-top: 2rem;
    text-align: center;
    border-bottom: none;
}