/* General Styles */
:root {
    --primary-color: #facc15; /* Yellow for buttons */
    --primary-hover: #eab308;
    --secondary-color: #b91c1c; /* Deep Red/Burgundy for headers/theme */
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --highlight-red: #dc2626;
    --highlight-yellow: #facc15;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: linear-gradient(to right, #b91c1c, #991b1b); /* IAM Red Gradient */
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 8px;
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: #fff;
    transition: color 0.3s;
    opacity: 0.9;
}

.nav-links a:hover {
    opacity: 1;
    color: #fff;
    text-decoration: underline;
}

.btn-nav {
    background-color: #fff;
    color: var(--secondary-color) !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: pulse-btn 2s infinite;
}

.btn-nav:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: url('../img/pattern-bg.png'), linear-gradient(135deg, #b91c1c 0%, #991b1b 100%); /* IAM Red Gradient */
    padding: 60px 0;
    position: relative;
    color: #fff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text .badge {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #fff;
}

.hero-text h1 .highlight {
    color: var(--primary-color);
}

.hero-text h1 .highlight.big-red {
    color: #facc15; /* Brighter Yellow/Gold */
    font-size: 3.2rem;
    font-weight: 900;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
    display: inline-block;
    margin-top: 5px;
    animation: pop-in 2s infinite;
}

@keyframes pop-in {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); text-shadow: 0 0 10px rgba(250, 204, 21, 0.5); }
    100% { transform: scale(1); }
}

.hero-desc {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.btn-primary {
    background: linear-gradient(45deg, #facc15, #eab308); /* Yellow Gradient */
    color: #b91c1c;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse-btn 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
    background: linear-gradient(45deg, #eab308, #ca8a04);
}

@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(250, 204, 21, 0); }
    100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.btn-primary.pulse {
    animation: pulse-btn 2s infinite;
}

.btn-ghost {
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 12px 24px;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
}

.btn-ghost:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Top Form in Hero */
.hero-form-container {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 400px;
    margin-top: 20px;
    border-top: 5px solid var(--secondary-color);
}

.hero-form-container h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 800;
}

.hero-form-container p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    background: #f9f9f9;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: #fff;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
}

.full-width {
    width: 100%;
}

/* Router Card in Hero */
.router-card {
    background: #ffffff; 
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
    max-width: 380px;
    margin: 0 auto;
    border: none;
}

.discount-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--highlight-yellow);
    color: #b91c1c;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.router-img-placeholder {
    background-color: transparent;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 0;
}

.router-img-placeholder img {
    max-height: 180px;
}

.price-box {
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1.2rem;
    margin-left: 10px;
    display: inline-block;
}

.new-price {
    color: #059669; /* Green price like image */
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.features-list {
    text-align: center;
    font-size: 0.95rem;
    color: #4b5563;
    margin-top: 15px;
}

.features-list li {
    margin-bottom: 8px;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-bar .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    animation: fadeUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

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

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #777;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.section-header p {
    color: #666;
}

/* Offers Section */
.offers-section {
    padding: 60px 0;
    background-color: #fff;
}

.pricing-card {
    background: #fff0f0; /* Light pinkish bg like image */
    border: 1px solid #fecaca;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    max-width: 600px;
    margin: 0 auto 40px;
    box-shadow: var(--shadow);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-header {
    text-align: center;
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #1e3a8a; /* Dark Blue title */
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #dc2626; /* Red Price */
}

.price .currency {
    color: #555;
    font-size: 1.2rem;
    font-weight: bold;
}

.pricing-body ul {
    text-align: center;
}

.pricing-body li {
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 1.1rem;
}

/* Special Offer Box */
.special-offer-box {
    background: #b91c1c; /* Deep Red */
    color: #fff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(185, 28, 28, 0.3);
    border: none;
}

.special-header h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 2rem;
    font-weight: 800;
}

.special-header p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 500;
}

.offer-tag-yellow {
    background-color: #facc15;
    color: #b91c1c;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.cat-badge {
    background: transparent;
    color: #fff;
    padding: 0;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: none;
    width: 100px;
}

.cat-badge::before {
    content: ''; /* Placeholder icon */
    font-size: 1.5rem;
    background: #fbbf24; /* Yellow Icon Background */
    color: #b91c1c;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 5px;
}

/* Specific icons for categories */
.cat-badge:nth-child(1)::before { content: '👩‍🏫'; }
.cat-badge:nth-child(2)::before { content: '⚔️'; }
.cat-badge:nth-child(3)::before { content: '👮'; }
.cat-badge:nth-child(4)::before { content: '🛡️'; }
.cat-badge:nth-child(5)::before { content: '🚓'; }
.cat-badge:nth-child(6)::before { content: '⚖️'; }


.special-price {
    margin-bottom: 15px;
}

.special-price .was {
    text-decoration: line-through;
    color: #fca5a5;
    font-size: 1.2rem;
    margin-left: 10px;
}

.special-price .now {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
}

.special-note {
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
    line-height: 1.8;
}

/* Features Section */
.features-section {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-top: 3px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
}

.review-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.reviewer strong {
    display: block;
    color: var(--secondary-color);
}

.reviewer span {
    font-size: 0.85rem;
    color: #888;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.faq-grid details {
    background: var(--white);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.faq-grid summary {
    font-weight: bold;
    list-style: none;
    position: relative;
    color: var(--secondary-color);
}

.faq-grid summary::after {
    content: '+';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--primary-color);
}

.faq-grid details[open] summary::after {
    content: '-';
}

.faq-grid p {
    margin-top: 10px;
    color: #666;
}

/* Order Section */
.order-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #b91c1c, #991b1b); /* Red gradient */
    color: #fff;
}

.order-box {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.form-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
    text-align: right;
}

/* Footer */
footer {
    background-color: #7f1d1d; /* Darker Red */
    color: rgba(255,255,255,0.8);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 15px;
    color: #fff;
}

/* Floating Buttons */
.float-btn {
    position: fixed;
    bottom: 20px;
    z-index: 999;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.whatsapp {
    right: 20px;
    background-color: #25D366;
    width: 65px;
    height: 65px;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.whatsapp svg {
    width: 40px;
    height: 40px;
}

.cta-float {
    left: 20px;
    background: linear-gradient(45deg, #facc15, #eab308); /* Yellow */
    color: #b91c1c;
    padding: 12px 24px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid #fff;
    animation: pulse-btn 2s infinite;
    transition: all 0.3s ease;
}

.cta-float.hidden {
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

/* Sticky Header Styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled .logo img {
    height: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .stats-bar .container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        width: 45%;
    }

    .navbar .nav-links {
        display: none; /* Simple hide for mobile for now */
    }
    
    .footer .container {
        flex-direction: column;
        gap: 15px;
    }
}
