@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');

body {
    font-family: 'Tajawal', sans-serif;
}

.hero-gradient {
    background: linear-gradient(135deg, #041d46 0%, #1d294d 100%);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.testimonial-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-link:hover {
    color: #f6803b;
}

.mobile-menu {
    transition: all 0.3s ease;
}

/* Modal Styles */
.modal {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal.active .modal-content {
    transform: translateY(0);
}

/* Custom styles for modem cards */
.modem-card {
    transition: all 0.3s ease;
    border: 1px solid #313131;
}

.modem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Hero form positioning */
@media (min-width: 1024px) {
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-form {
        order: 1;
        align-self: center;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    font-size: 28px;
}

/* WhatsApp Modal */
.whatsapp-modal {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 101;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-modal.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.whatsapp-option:hover {
    background: #f5f5f5;
}

.whatsapp-option i {
    margin-left: 10px;
    font-size: 20px;
    color: #25D366;
}

/* Live Chat Button */
.live-chat-button {
    position: fixed;
    bottom: 90px;
    left: 20px;
    background-color: #3b82f6;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
}

.live-chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Quick Order Badge */
.quick-order-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fab-main:hover {
    transform: scale(1.1);
}

.fab-menu {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    transform: scale(0);
    transform-origin: bottom left;
    opacity: 0;
    transition: all 0.3s ease;
}

.fab-menu.active {
    transform: scale(1);
    opacity: 1;
}

.fab-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fab-item:hover {
    background: #f5f5f5;
}

.fab-item i {
    margin-left: 10px;
    width: 24px;
    text-align: center;
}

/* WhatsApp Order Badges */
.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Network Providers Section */
.provider-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.provider-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: white;
}

.provider-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* SEO Ticker Effect */
.ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 12px;
    margin-top: 15px;
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

.ticker-wrapper:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 8px;
    background: #2d3748;
    color: #cbd5e0;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.ticker-item:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 197, 1, 0.3);
    border-color: var(--primary-yellow);
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Gradient mask for smooth fade-in/out */
.ticker-container::before,
.ticker-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.ticker-container::before {
    left: 0;
    background: linear-gradient(to right, #1f2937, transparent);
}

.ticker-container::after {
    right: 0;
    background: linear-gradient(to left, #1f2937, transparent);
}

/* Modem Details Section */
.modem-details-section {
    background: linear-gradient(rgba(10, 36, 73, 0.9), rgba(10, 36, 73, 0.9)),
        url('../images/modem-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin: 60px 0;
    border-radius: 15px;
}

.modem-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.modem-details-content {
    flex: 1;
    min-width: 300px;
}

.modem-details-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.modem-details-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.modem-details-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-yellow);
}

.modem-details-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.modem-details-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.modem-details-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.modem-details-list i {
    color: var(--primary-yellow);
    margin-left: 15px;
    font-size: 1.3rem;
}

.modem-details-btn {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-decoration: none;
}

.modem-details-btn:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modem-details-container {
        flex-direction: column;
    }

    .modem-details-title {
        font-size: 2rem;
    }

    .modem-details-subtitle {
        font-size: 1.3rem;
    }

    .modem-details-list li {
        font-size: 1rem;
    }
}