/* Global Styles */
body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    background-color: #f2f2f7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

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

/* Selection color for orange text */
::selection {
    background-color: rgba(255, 102, 0, 0.2);
    color: #ff6600;
}

::-moz-selection {
    background-color: rgba(255, 102, 0, 0.2);
    color: #ff6600;
}

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

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

/* Modern Header Styles */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
}

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

.logo-container {
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.modern-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #ff6600;
}

.close-menu {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.close-menu:hover {
    color: #ff6600;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:not(.contact-link)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ff6600;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:not(.contact-link):hover {
    color: #ff6600;
}

.nav-link:not(.contact-link):hover::after {
    width: 100%;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background-color: rgba(255, 102, 0, 0.9);
    color: white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background-color: rgba(230, 92, 0, 0.9);
    color: white;
    transform: translateY(-2px);
}

.contact-link svg {
    transition: transform 0.3s ease;
}

.contact-link:hover svg {
    transform: translate(2px, -2px);
}

/* Main Content Styles */
main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    width: 100%;
    overflow-x: hidden;
}

/* Hero Section with Card Design */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
}

.hero-content {
    max-width: 500px;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #333;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgba(255, 102, 0, 0.9);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn:hover {
    background-color: rgba(230, 92, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

/* Payment Card Design */
.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(100% - 40px);
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

/* UPI Apps Image Styles */
.hero-image .upi-apps-image {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.hero-image .upi-apps-image:hover {
    transform: scale(1.02);
}

/* QR Code Styles */
#qrcode-container {
    position: relative;
    padding: 20px;
    border: 3px solid rgba(255, 102, 0, 0.9);
    border-radius: 16px;
    display: inline-block;
    margin: 20px auto;
    background-color: #fff;
    box-sizing: border-box;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.2);
}

#qrcode-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(255, 102, 0, 0.25);
}

#qrcode {
    display: block;
    width: 100%;
}

#qrcode canvas {
    width: 100% !important;
    height: auto !important;
}

/* Payment Info Styles */
.payment-info {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 102, 0, 0.03);
    border-radius: 24px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.08);
    border: 1px solid rgba(255, 102, 0, 0.08);
}

.paying-to {
    font-size: clamp(13px, 3vw, 15px);
    color: #666;
    margin: 5px 0 2px;
    width: 100%;
    text-align: center;
}

.merchant-name {
    font-size: clamp(16px, 4vw, 18px);
    color: #333;
    margin: 0 0 5px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.amount-text {
    font-size: 20px;
    margin: 0;
    font-weight: bold;
    color: black;
}

.amount-text .currency,
.amount-text .number {
    color: rgba(255, 102, 0, 0.9);
}

/* WhatsApp Section */
.whatsapp-section {
    text-align: center;
    margin: 30px 0;
    width: 100%;
    padding: 0 20px;
}

.whatsapp-btn {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    gap: 8px;
}

.whatsapp-btn:hover {
    background-color: #1ebe5b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

/* Bank Details Link */
h4 {
    text-align: center;
    font-size: clamp(14px, 3vw, 16px);
    margin: 20px 0 2px 0;
    padding: 0 20px;
}

/* Footer Styles */
.footer-content {
    text-align: center;
    padding: 20px;
    margin-top: auto;
    width: 100%;
}

.footer-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    padding: 0 20px;
}

hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100vw;
    }

    .menu-toggle {
        display: block;
    }

    .close-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
        padding: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .contact-link {
        margin-top: 1rem;
    }

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

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

    main {
        margin-top: 85px;
        width: 100vw;
    }

    .hero {
        width: 100%;
        padding: 30px 20px;
    }

    .hero-image {
        width: calc(100% - 40px);
        margin: 0 20px;
    }

    .whatsapp-btn {
        display: inline-flex;
    }
}

@media (min-width: 769px) {
    .header-container {
        padding: 0.75rem 2rem;
    }

    .hero {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 60px 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero-content {
        flex: 1;
        text-align: left;
        margin-right: 40px;
        margin-bottom: 0;
        padding: 0 40px 0 60px;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        min-height: 400px;
    }

    .hero-image {
        flex: 0 0 auto;
        margin-left: 20px;
        padding: 30px;
        margin-right: 60px;
    }

    .whatsapp-section {
        margin: 0;
    }
}
