/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*=============== CSS VARIABLES ===============*/
:root {
    /* Colors */
    --header-height: 3.5rem;
    --primary-color: #4a69bd;
    --primary-color-alt: #3c569a;
    --text-color: #333;
    --text-color-light: #777;
    --body-color: #f0f2f5;
    --container-color: #fff;
    --border-color: #ddd;

    /* Font & Typography */
    --body-font: 'Poppins', sans-serif;
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .813rem;
    
    /* Z-index */
    --z-fixed: 100;
}

/*=============== BASE STYLES ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}
 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

        .recharge-card {
            font-family: 'Poppins', sans-serif;
            background: #ffffff;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin: 40px auto;
            max-width: 700px;
            overflow: hidden;
            border: 1px solid #e0e0e0;
            height: min-content;
        }

        .card-header {
            background: linear-gradient(135deg, #1e3c72, #2a5298);
            color: #ffffff;
            padding: 30px 20px;
            text-align: center;
            height: min-content;
        }

        .card-header h2 {
            margin: 0;
            font-size: 2.2rem;
            font-weight: 700;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
        }

        .card-header p {
            margin: 10px 0 0;
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .card-body {
            padding: 30px;
        }

        .section-title {
            text-align: center;
            font-size: 1.6rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 25px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            width: 60px;
            height: 3px;
            background: #2a5298;
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .features-list {
            list-style: none;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .features-list li {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            border-left: 4px solid #1e3c72;
        }
        
        .features-list li:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .features-list li::before {
            content: '✅';
            margin-right: 15px;
            font-size: 1.2rem;
        }

        .card-cta {
            text-align: center;
            padding: 30px;
            background-color: #f1f3f5;
        }
        
        .card-cta h3 {
            margin-top: 0;
            font-size: 1.5rem;
            color: #333;
        }

        .cta-button {
            display: inline-block;
            background: #28a745;
            color: #ffffff;
            padding: 15px 35px;
            font-size: 1.2rem;
            font-weight: 600;
            border-radius: 50px;
            text-decoration: none;
            transition: background-color 0.3s ease, transform 0.3s ease;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
            border: none;
        }

        .cta-button:hover {
            background: #218838;
            transform: scale(1.05);
        }
        
        @media (max-width: 600px) {
            .features-list {
                grid-template-columns: 1fr;
            }
            .card-header h2 {
                font-size: 1.8rem;
            }
        }
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1120px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

/* Dummy content for scrolling */
.main-content {
    height: 200vh;
    padding: calc(var(--header-height) + 2rem) 1.5rem;
    text-align: center;
}

/*=============== HEADER & NAV ===============*/
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: background-color .4s, box-shadow .4s;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav__toggle, .nav__close {
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* Hidden on desktop */
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__action-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: .25rem;
    transition: background-color .3s;
}

.nav__action-button:hover {
    background-color: var(--primary-color-alt);
}

/* Active header state on scroll */
.header--scroll {
    background-color: var(--container-color);
    box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.1);
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%; /* Initially hidden */
        width: 80%;
        height: 100%;
        background-color: var(--container-color);
        box-shadow: -4px 0 8px hsla(0, 0%, 0%, .1);
        padding: 4rem 2rem 0;
        transition: right .4s ease-in-out;
    }

    .nav__toggle {
        display: block; /* Show on mobile */
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
    }
    
    .nav__list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Show mobile menu */
    .show-menu {
        right: 0;
    }
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav__link {
    font-weight: 500;
    position: relative;
    transition: color .3s;
}

.nav__link:hover {
    color: var(--primary-color);
}

/* Underline effect */
.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width .3s;
}

.nav__link:hover::after {
    width: 100%;
}

/*=============== DROPDOWN MENU ===============*/
.dropdown {
    position: relative;
}

.dropdown__menu {
    position: absolute;
    top: 150%;
    left: -1rem;
    background-color: var(--container-color);
    border-radius: .5rem;
    padding: .75rem;
    box-shadow: 0 4px 12px hsla(0, 0%, 0%, .15);
    opacity: 0;
    z-index: 1000;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
    width: 200px; /* Set a width for the dropdown */
}

.dropdown__item {
    margin-bottom: .5rem;
}

.dropdown__item:last-child {
    margin-bottom: 0;
}

.dropdown__link {
    display: block;
    padding: .5rem;
    border-radius: .25rem;
    transition: background-color .3s;
}

.dropdown__link:hover {
    background-color: var(--body-color);
    color: var(--primary-color);
}

.dropdown__icon {
    font-size: .75rem;
    margin-left: .25rem;
    transition: transform .3s;
}

/* Show dropdown menu on hover */
.dropdown:hover .dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .dropdown__icon {
    transform: rotate(180deg);
}

/*=============== FOOTER ===============*/
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding-top: 4rem;
    height: max-content;
    padding: 20px;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: .5rem;
}

/* Title underline */
.footer__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer__description, .footer__link {
    color: #bdc3c7;
    transition: color .3s;
}

.footer__link:hover {
    color: var(--primary-color);
}

.footer__links li {
    margin-bottom: .5rem;
}

.footer__contact p {
    margin-bottom: .5rem;
}

.footer__contact i {
    margin-right: .5rem;
    color: var(--primary-color);
}

.footer__form {
    display: flex;
    margin-top: 1rem;
}

.footer__input {
    width: 100%;
    padding: .75rem;
    border: none;
    outline: none;
    border-radius: .25rem 0 0 .25rem;
    background-color: #34495e;
    color: #fff;
}

.footer__button {
    padding: .75rem 1rem;
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    cursor: pointer;
    border-radius: 0 .25rem .25rem 0;
    transition: background-color .3s;
}

.footer__button:hover {
    background-color: var(--primary-color-alt);
}

#form-message {
    font-size: var(--small-font-size);
    margin-top: .5rem;
}

.success { color: #2ecc71; }
.error { color: #e74c3c; }

.footer__bottom {
    border-top: 1px solid #34495e;
    padding: 1.5rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer__socials {
    display: flex;
    gap: 1.5rem;
}

.footer__social-link {
    font-size: 1.25rem;
    color: #bdc3c7;
    transition: color .3s, transform .3s;
}

.footer__social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

@media screen and (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}