:root {
    --primary: #ffcc00;
    --secondary: #e6b800;
    --dark: #2a2a2a;
    --light: #f8f9fa;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
}

/* Base styles from main CSS */
body {
    background-color: #f5f5f5;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    position: relative;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    color: var(--primary);
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary);
    color: white;
}

.network-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bg-pattern.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.network-hero-content img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.network-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.network-hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.data-packages {
    padding: 80px 0;
}

.package-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.package-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark);
}

.package-info p {
    color: #666;
    margin-bottom: 30px;
}

.package-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.package-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #eee;
}

.package-card:hover, .package-card.active {
    border-color: var(--primary);
    background-color: rgba(255, 204, 0, 0.1);
}

.package-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark);
}

.package-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

.order-form h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

#checkoutBtn {
    width: 100%;
    margin-top: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalopen 0.4s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--dark);
}

.success-icon, .error-icon {
    text-align: center;
    margin-bottom: 20px;
}

.success-icon i {
    color: var(--success);
    font-size: 60px;
}

.error-icon i {
    color: var(--danger);
    font-size: 60px;
}

.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.footer-links h3, .footer-contact h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        padding: 10px 20px;
    }

    .hamburger {
        display: block;
    }

    .package-container {
        grid-template-columns: 1fr;
    }

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

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

/* Add to mtn.css */
.manual-payment-details {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #eee;
}

.manual-payment-details h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.payment-instruction {
    margin-bottom: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    border-left: 3px solid var(--primary);
}

.payment-instruction p {
    margin-bottom: 5px;
    font-size: 14px;
}

.payment-instruction strong {
    color: var(--dark);
}

.note {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 15px;
}
