:root {
    --vodafone-red: #E60000;
    --vodafone-dark-red: #CC0000;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
}

* {
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Pattern Animation */
@keyframes float {

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

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

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 70px 70px, 30px 30px;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--vodafone-red) 0%, var(--vodafone-dark-red) 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(230, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
    overflow: hidden;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin: 0 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-btn:hover {
    background: var(--white);
    color: var(--vodafone-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Custom Navbar Toggler */
.custom-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    outline: none;
}

.custom-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.custom-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    outline: none;
}

.custom-toggler.collapsed {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
    transition: transform 0.3s ease;
}

.custom-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

/* Navigation Links */
.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.8rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 0.2rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: var(--white) !important;
}

.section {
    display: none;
}

.section.active {
    display: block;
}


/* Mobile Menu Styling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(230, 0, 0, 0.1);
        position: relative;
        z-index: 1000;
        animation: slideDown 0.3s ease-out;
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin: 0.3rem 0;
    }

    .nav-link {
        color: var(--vodafone-red) !important;
        font-weight: 600;
        padding: 0.8rem 1rem !important;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(230, 0, 0, 0.1);
        color: var(--vodafone-dark-red) !important;
        transform: translateX(5px);
    }

    .nav-btn {
        background: var(--vodafone-red);
        color: var(--white);
        border: 2px solid var(--vodafone-red);
        padding: 0.6rem 1.5rem;
        border-radius: 25px;
        font-weight: 600;
        width: 100%;
        margin: 0.3rem 0;
    }

    .nav-btn:hover {
        background: var(--vodafone-dark-red);
        border-color: var(--vodafone-dark-red);
        color: var(--white);
        transform: translateY(-2px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix for navbar collapse transition */
.navbar-collapse.collapsing {
    transition: none;
}

.navbar-collapse.show {
    animation: slideDown 0.3s ease-out;
}

/* Header */
.hero-section {
    background: linear-gradient(135deg, var(--vodafone-red) 0%, var(--vodafone-dark-red) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-btn {
    background: var(--white);
    color: var(--vodafone-red);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: var(--light-gray);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--vodafone-red);
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--vodafone-red);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Cards */
.recharge-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(230, 0, 0, 0.1);
    border: 1px solid rgba(230, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recharge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--vodafone-red), var(--vodafone-dark-red));
}

.recharge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(230, 0, 0, 0.2);
}

.form-control {
    border: 2px solid rgba(230, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--vodafone-red);
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.2);
    outline: none;
}

.btn-recharge {
    background: linear-gradient(135deg, var(--vodafone-red), var(--vodafone-dark-red));
    border: none;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-recharge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-recharge:hover::before {
    left: 100%;
}

.btn-recharge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 0, 0, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.social-links {
    margin: 2rem 0;
}

.social-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
    background: var(--vodafone-red);
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-animate {
    animation: fadeInUp 0.8s ease-out;
}

.card-animate:nth-child(2) {
    animation-delay: 0.2s;
}

.card-animate:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .recharge-card {
        padding: 2rem;
    }
}

  #whatsapp-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        background-color: #25D366;
        border-radius: 50%;
        padding: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }

    #whatsapp-button:hover {
        transform: scale(1.1);
    }

    #whatsapp-button img {
        width: 48px;
        height: 48px;
    }