/* Premium UI Upgrades */
:root {
    --bs-primary: #1e40af;
    /* deeper blue */
    --bs-secondary: #64748b;
    --soft-bg: #f3f4f6;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--soft-bg);
    overflow-x: hidden;
    width: 100%;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

/* Navbar Overrides */
.navbar-brand img {
    height: 45px;
    /* Adjust as needed */
    width: auto;
}

/* Navbar Premium */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bs-primary) !important;
    transform: translateY(-1px);
}

/* Hero Premium */
.hero {
    min-height: 100vh;
    /* Using 100vh again to fill screen */
    padding-top: 100px;
    background: radial-gradient(circle at top right, #e0e7ff, #f3f4f6 60%);
    position: relative;
    overflow: hidden;
}

/* Decorative background blobs */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Glassmorphism Card */
.payment-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-strong);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

/* Form Controls Premium */
.form-control,
.input-group-text {
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.input-group-text {
    background: #f8fafc;
    color: #64748b;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: #fff;
}

/* Button Premium */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    padding: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Feature Icons */
.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bs-primary);
    transition: all 0.3s;
}

.feature-item:hover .feature-icon-wrapper {
    background: var(--bs-primary);
    color: #fff;
    transform: rotateY(180deg);
}

/* Footer Premium */
footer {
    background: #0f172a;
    border-top: 1px solid #1e293b;
}

/* Mobile Responsiveness */
/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
        text-align: center !important;
    }

    .hero .col-lg-6 {
        margin-bottom: 2rem;
    }

    /* Center align flex containers in hero on mobile */
    .hero .d-flex.justify-content-lg-start {
        justify-content: center !important;
    }

    .hero .text-lg-start {
        text-align: center !important;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        border-radius: 1rem;
        margin-top: 1rem;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

@media (max-width: 575.98px) {
    .display-4 {
        font-size: 2.2rem;
    }

    .hero::before {
        display: none;
        /* Hide large blob on mobile to prevent overflow/scrolling */
    }

    .payment-card {
        margin-top: 0.5rem;
        width: 100%;
    }

    .card-body {
        padding: 1.5rem !important;
    }

    /* Adjust contact section for mobile */
    .col-lg-5.bg-primary {
        padding: 2rem !important;
    }

    .col-lg-7.p-5 {
        padding: 1.5rem !important;
    }

    /* Reduce vertical gap in features */
    .feature-item .p-4 {
        padding: 1.5rem !important;
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .feature-icon-wrapper i {
        font-size: 1.5rem;
        /* fa-2x is 2em */
    }
}