 
      /* CSS Document */
:root {
    --primary: #1E3A8A; /* Deep blue */
    --primary-dark: #1E40AF;
    --secondary: #DC2626; /* Vibrant red */
    --accent: #EF4444;
    --success: #10B981;
    --warning: #F59E0B;
    --info: #3B82F6;
    --dark: #1F2937;
    --darker: #111827;
    --light: #F9FAFB;
    --gray: #6B7280;
    --light-gray: #E5E7EB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, transform 1s ease;
}

.splash-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    animation: logoPulse 2s infinite alternate;
}

.splash-logo-icon {
    width: 100%;
    height:  100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.splash-logo-text {
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
}

.splash-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-top: 10px;
    text-align: center;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-top: 20px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: white;
    border-radius: 4px;
    animation: loading 2.5s ease-in-out forwards;
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes loading {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.header-top {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top .contact-info2 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.header-top .social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
}

.header-main {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 20px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-tagline {
    font-size: 12px;
    color: var(--gray);
    font-weight: normal;
}

/* FIXED NAVIGATION MENU - Horizontal on desktop */
.nav-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}


.nav-item {
    position: relative;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item:hover {
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary);
}

.nav-item.active {
    color: var(--primary);
    background-color: rgba(30, 58, 138, 0.1);
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.4);
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.hero-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--darker);
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services in a straight line */
.service-line {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    min-width: 100px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-icon.electricity {
    background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
}

.service-icon.airtime {
    background: linear-gradient(135deg, var(--secondary), var(--success));
}

.service-icon.cable {
    background: linear-gradient(135deg, #9C27B0, #DC2626);
}

.service-icon.internet {
    background: linear-gradient(135deg, var(--primary), var(--info));
}

.service-icon.education {
    background: linear-gradient(135deg, var(--success), #10B981);
}

.service-icon.betting {
    background: linear-gradient(135deg, var(--info), #DC2626);
}

.service-icon img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: contain;
}

.search-box {
    display: flex;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: white;
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.search-box button {
    background: var(--primary);
    color: white;
    padding: 15px 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: var(--primary-dark);
}

.promo-box {
    background: white;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

.promo-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.new-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.promo-title {
    color: var(--darker);
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.promo-content {
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.benefit-item {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: rgba(30, 58, 138, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: rgba(30, 58, 138, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 10px;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
}

.cta-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite, slideIn 1.5s ease-out;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(1deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.promo-text {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 24px;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    animation: textPulse 2s infinite alternate;
}

@keyframes textPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
}

.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--darker);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.app-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.app-button i {
    font-size: 24px;
}

/* Enhanced Electricity Providers Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(30, 58, 138, 0.2);
}

.card-header {
    padding: 25px 25px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(220, 38, 38, 0.03) 100%);
    border-bottom: 1px solid rgba(30, 58, 138, 0.05);
}

.service-icon {
    width: 100px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    padding: 10px;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--darker);
    margin-bottom: 5px;
    line-height: 1.2;
}

.service-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.4;
}

.card-body {
    padding: 20px 25px;
    flex: 1;
    display: flex;
    align-items: center;
}

.service-description {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.card-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-footer span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-footer span::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.action-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.35);
}

.action-btn i {
    font-size: 12px;
}

.electricity-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--darker);
    text-align: center;
}

.quick-services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.quick-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 150px;
}

.quick-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quick-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
}

.quick-service p {
    font-size: 14px;
    font-weight: 600;
    color: var(--darker);
    text-align: center;
}

/* Redesigned Footer */
.footer {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-link:hover {
    color: white;
}

.footer-contact-info2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Mobile Menu - Side Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* New layout for electricity providers */
.electricity-section {
    margin-bottom: 50px;
}

.electricity-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.electricity-main {
    flex: 60%;
}

.electricity-sidebar {
    flex: 40%;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.electricity-sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--darker);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.electricity-sidebar ul {
    list-style: none;
}

.electricity-sidebar li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.electricity-sidebar li:hover {
    background: rgba(30, 58, 138, 0.1);
    transform: translateX(5px);
}

.electricity-sidebar li i {
    color: var(--primary);
}

/* Meter Number Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    padding: 20px;
    overflow-y: auto;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.meter-popup {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.popup-overlay.active .meter-popup {
    transform: scale(1);
}

.popup-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 25px 30px;
    position: relative;
    flex-shrink: 0;
}

.popup-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.popup-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 140px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--darker);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-note i {
    color: var(--info);
}

.popup-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    flex-shrink: 0;
}

.popup-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.popup-btn-secondary {
    background: var(--light-gray);
    color: var(--dark);
}

.popup-btn-secondary:hover {
    background: #e2e8f0;
}

/* Provider Details Section */
.provider-details {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.provider-details h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.provider-details h4 i {
    color: var(--secondary);
}

.provider-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.provider-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.provider-info-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.provider-info-value {
    font-size: 0.95rem;
    color: var(--darker);
    font-weight: 600;
    word-break: break-word;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: none;
    max-width: 350px;
    border-left: 5px solid var(--info);
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    display: block;
    transform: translateX(0);
}

.notification.success {
    border-left-color: var(--success);
}

.notification.error {
    border-left-color: var(--secondary);
}

.notification.warning {
    border-left-color: var(--warning);
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.notification-icon {
    font-size: 20px;
    margin-right: 10px;
}

.notification.success .notification-icon {
    color: var(--success);
}

.notification.error .notification-icon {
    color: var(--secondary);
}

.notification.warning .notification-icon {
    color: var(--warning);
}

.notification.info .notification-icon {
    color: var(--info);
}

.notification-close {
    cursor: pointer;
    font-size: 18px;
    color: var(--gray);
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: var(--dark);
}

.notification-message {
    font-size: 14px;
    line-height: 1.5;
    color: var(--darker);
}

/* New styles for the validation success screen */
.validation-success {
    display: none;
    animation: fadeIn 0.5s ease;
}

.validation-success.active {
    display: block;
}

.customer-details {
    background: rgba(16, 185, 129, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--success);
}

.customer-details h4 {
    color: var(--success);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.customer-detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.customer-detail-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.customer-detail-value {
    font-size: 0.95rem;
    color: var(--darker);
    font-weight: 600;
    word-break: break-word;
}

.amount-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.amount-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amount-prefix {
    font-weight: bold;
    color: var(--primary);
    font-size: 18px;
}

.amount-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.amount-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.amount-breakdown {
    margin-top: 15px;
    padding: 15px;
    background: rgba(30, 58, 138, 0.03);
    border-radius: 10px;
}

.breakdown-item, .breakdown-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.breakdown-total {
    font-weight: bold;
    border-top: 1px solid var(--light-gray);
    padding-top: 10px;
    margin-top: 10px;
}

.minimum-amount {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.back-btn {
    background: var(--light-gray);
    color: var(--dark);
}

.back-btn:hover {
    background: #e2e8f0;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* New styles for payment processing and success table */
.payment-success-section {
    display: none;
    margin-top: 40px;
    animation: fadeIn 0.5s ease;
}

.payment-success-section.active {
    display: block;
}

.success-header {
    text-align: center;
    margin-bottom: 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success), #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.success-title {
    font-size: 28px;
    color: var(--success);
    margin-bottom: 10px;
}

.success-subtitle {
    color: var(--gray);
    font-size: 16px;
}

.payment-details-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.table-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
}

.table-body {
    padding: 0;
}

.table-row {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    flex: 1;
    padding: 18px 25px;
}

.table-cell:first-child {
    font-weight: 600;
    color: var(--darker);
    background: rgba(30, 58, 138, 0.03);
}

.table-cell:last-child {
    color: var(--dark);
}

.transaction-id {
    font-family: monospace;
    background: var(--light);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 14px;
}

.actions-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.action-button {
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.action-button.primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.action-button.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.action-button.primary:hover {
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.4);
}

/* Paystack payment modal styles */
.paystack-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.paystack-modal.active {
    opacity: 1;
    visibility: visible;
}

.paystack-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.paystack-logo {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.paystack-title {
    font-size: 22px;
    color: var(--darker);
    margin-bottom: 10px;
}

.paystack-description {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.payment-summary {
    background: rgba(30, 58, 138, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.summary-item, .summary-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total {
    font-weight: bold;
    border-top: 1px solid var(--light-gray);
    padding-top: 10px;
    margin-top: 10px;
}

.paystack-actions {
    display: flex;
    gap: 15px;
}

.paystack-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.paystack-btn.primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.paystack-btn.secondary {
    background: var(--light-gray);
    color: var(--dark);
}

.paystack-btn:hover {
    transform: translateY(-2px);
}

.paystack-btn.primary:hover {
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.4);
}

/* New styles for email collection */
.email-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.email-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.email-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-note i {
    color: var(--info);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .service-icon {
        width: 90px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .header-main {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    /* FIXED: Navigation menu is now horizontal on desktop, vertical on mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding: 80px 20px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 99;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 5px;
        justify-content: flex-start;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .hero-section {
        flex-direction: column;
    }
    
    .hero-image {
        height: 350px;
        width: 100%;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .service-line {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-item {
        min-width: 80px;
        margin: 10px 5px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-services {
        gap: 15px;
    }
    
    .quick-service {
        width: 130px;
        padding: 20px 15px;
    }
    
    .electricity-container {
        flex-direction: column;
    }
    
    .electricity-main, .electricity-sidebar {
        flex: 100%;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .service-item .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .card-header {
        padding: 20px;
    }
    
    .service-icon {
        width: 80px;
        height: 60px;
    }
    
    .provider-info-grid {
        grid-template-columns: 1fr;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .table-row {
        flex-direction: column;
    }
    
    .table-cell {
        padding: 12px 20px;
    }
    
    .table-cell:first-child {
        background: rgba(30, 58, 138, 0.05);
        border-bottom: 1px solid var(--light-gray);
    }
    
    .actions-section {
        flex-direction: column;
    }
    
    .paystack-actions {
        flex-direction: column;
    }
    
    .customer-details-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px;
    }
    
    .header-top .contact-info2 {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .service-line {
        padding: 15px 0;
    }
    
    .service-item {
        min-width: 70px;
        padding: 0 5px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .promo-box {
        padding: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box button {
        width: 100%;
    }
    
    .nav-menu {
        width: 280px;
        right: -280px;
    }
    
    .quick-service {
        width: 110px;
        padding: 15px 10px;
    }
    
    .quick-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .service-line {
        padding: 15px 0;
    }
    
    .service-item {
        min-width: 70px;
        padding: 0 5px;
    }
    
    .service-item .service-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .service-item p {
        font-size: 12px;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .service-icon {
        width: 100%;
        max-width: 120px;
        height: 80px;
    }
    
    .popup-body {
        padding: 15px;
    }
    
    .popup-header {
        padding: 15px 20px;
    }
    
    .popup-header h3 {
        font-size: 1.3rem;
    }
    
    .provider-details {
        padding: 15px;
    }
}


/* Logo image styling */
.logo-image {
    width: 275px;
    height: 130px;
    object-fit: contain;
}

/* Splash screen logo specific styling */
.splash-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Header logo specific styling */
.logo-icon img {
    width: 50px; /* Adjust as needed for header */
    height: auto;
    object-fit: contain;
}
  