/* =============================================================== */
/* MAZAYAC ERP LANDING PAGE - RTL STYLESHEET */
/* Enhanced with animations and improved content styling */
/* =============================================================== */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

/* --- CSS Custom Properties (Variables) --- */
:root {
    --primary-color: #5ddcf2;           /* Main brand color - light blue */
    --secondary-color: #4AB8D1;         /* Secondary brand color - darker blue */
    --dark-color: #2c3e50;              /* Dark text color */
    --light-color: #f4f7f9;             /* Light background color */
    --white-color: #ffffff;             /* Pure white */
    --font-family: 'Cairo', sans-serif; /* Main font family */
    --success-color: #27ae60;           /* Success/check color */
    --warning-color: #f39c12;           /* Warning color */
    --danger-color: #e74c3c;            /* Error color */
    --gray-color: #666;                 /* Medium gray for subtitles */
    --light-gray: #eee;                 /* Light gray for borders */
}

/* --- Global Reset and Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    background-color: var(--white-color);
    color: var(--dark-color);
    overflow-x: hidden;
}

/* --- Container and Layout --- */
.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0rem 2rem;
}

/* --- Typography Styles --- */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { 
    font-size: 2.8rem; 
}

h2 { 
    font-size: 2.2rem; 
    text-align: center; 
    margin-bottom: 4rem; 
    position: relative; 
}

h3 { 
    font-size: 1.5rem; 
}

/* Decorative underline for h2 elements */
h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* --- Link Styles --- */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* --- List Styles --- */
ul {
    list-style: none;
}

/* --- Section Styles --- */
section {
    padding: 6rem 0;
}

.section-bg {
    background-color: var(--light-color);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -3rem auto 3rem;
    font-size: 1.1rem;
    color: var(--gray-color);
    line-height: 1.6;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

/* =============================================================== */
/* BUTTON STYLES */
/* =============================================================== */

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 220, 242, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* =============================================================== */
/* HEADER AND NAVIGATION */
/* =============================================================== */

#main-header {
    background: var(--white-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo styling */
#navbar .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    z-index: 1001; 
    transition: color 0.3s ease;
}

#navbar .logo:hover {
    color: var(--primary-color);
}

/* Navigation menu */
#navbar ul {
    display: flex;
    align-items: center;
}

#navbar ul li a {
    padding: 0.75rem;
    margin: 0 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

#navbar ul li a:hover, 
#navbar ul li a.active {
    color: var(--primary-color);
}

#navbar ul li:last-child a:hover {
    color: white !important;
}

/* Mobile menu toggle button */
.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 1.8rem; 
    color: var(--dark-color); 
    cursor: pointer; 
}

.close-btn { 
    display: none; 
}

/* =============================================================== */
/* HERO SECTION */
/* =============================================================== */

#hero {
    background: linear-gradient(135deg, rgba(93, 220, 242, 0.1), rgba(93, 220, 242, 0.05)), 
                url('https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-outline.png');
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero .hero-content { 
    max-width: 800px; 
    margin: auto;
    position: relative;
    z-index: 2;
}

#hero .hero-content h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#hero .hero-content p { 
    font-size: 1.2rem; 
    margin-bottom: 2rem; 
    color: #555; 
    line-height: 1.8;
}

#hero .cta-buttons { 
    margin-bottom: 2rem;
}

#hero .cta-buttons .btn { 
    margin: 0 0.5rem; 
    font-weight: 900; 
}

/* Trust indicators styling */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-color);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* =============================================================== */
/* FEATURES SECTION */
/* =============================================================== */
#features{
    padding: 6rem 0;
}

#features .features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
    text-align: center; 
}

#features .feature-card { 
    background: #fdfdfd; 
    padding: 2.5rem 1.5rem; 
    border-radius: 10px; 
    border-bottom: 5px solid var(--primary-color); 
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#features .feature-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
    border-bottom-color: var(--secondary-color);
}

#features .feature-card i { 
    font-size: 3rem; 
    color: var(--primary-color); 
    margin-bottom: 1.5rem; 
    transition: transform 0.3s ease;
}

#features .feature-card:hover i {
    transform: scale(1.1);
}

#features .feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

#features .feature-card p { 
    font-size: 0.95rem; 
    color: var(--gray-color); 
    font-weight: 400;
    line-height: 1.6;
}

/* =============================================================== */
/* TABS FUNCTIONALITY */
/* =============================================================== */

.tabs-nav { 
    display: flex; 
    justify-content: center; 
    gap: 1rem; 
    margin-bottom: 3rem; 
    border-bottom: 1px solid #e0e0e0; 
    flex-wrap: wrap; 
}

.tab-link { 
    padding: 0.8rem 1.5rem; 
    cursor: pointer; 
    background: none; 
    border: none; 
    font-size: 1.1rem; 
    font-weight: 600; 
    font-family: var(--font-family); 
    color: #777; 
    transition: all 0.3s ease; 
    border-bottom: 3px solid transparent; 
    position: relative; 
    top: 1px; 
}

.tab-link:hover { 
    color: var(--dark-color); 
    background: rgba(93, 220, 242, 0.05);
}

.tab-link.active { 
    color: var(--primary-color); 
    border-bottom-color: var(--primary-color); 
    background: rgba(93, 220, 242, 0.1);
}

.tab-pane { 
    display: none; 
    animation: fadeIn 0.5s ease-in-out; 
}

.tab-pane.active { 
    display: block; 
}

@keyframes fadeIn { 
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    } 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

/* =============================================================== */
/* WHY CHOOSE US SECTION */
/* =============================================================== */
#why-us .why-us-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
}

#why-us .why-us-image img { 
    width: 100%; 
    border-radius: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    transition: transform 0.3s ease;
}

#why-us .why-us-image img:hover {
    transform: scale(1.02);
}

#why-us .why-us-list .item { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 2rem; 
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

#why-us .why-us-list .item:hover {
    background: rgba(93, 220, 242, 0.05);
}

#why-us .why-us-list .item-icon { 
    font-size: 2rem; 
    color: var(--primary-color); 
    margin-left: 1.5rem; 
    margin-top: 0.2rem;
    min-width: 2rem;
}

#why-us .why-us-list h3 { 
    margin-bottom: 0.5rem; 
    font-size: 1.2rem; 
    color: var(--dark-color);
}

#why-us .why-us-list p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* =============================================================== */
/* INTEGRATIONS SECTION */
/* =============================================================== */

.integrations-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
    text-align: center; 
}

.integration-card { 
    background: var(--white-color); 
    padding: 2rem; 
    border-radius: 10px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.integration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.integration-card img { 
    height: 40px; 
    margin-bottom: 1rem; 
}

.integration-card i { 
    font-size: 2.5rem; 
    color: var(--primary-color); 
    margin-bottom: 1rem; 
}

.integration-card h3 { 
    font-size: 1.2rem; 
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.integration-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* =============================================================== */
/* SECURITY SECTION */
/* =============================================================== */

#security { 
    background: #ecfcff; 
    color: var(--white-color); 
}

#security h2 { 
    color: #000; 
}

#security h2::after { 
    background: var(--primary-color); 
}

#security .section-subtitle {
    color: #6a6a6a;
}

.security-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 3rem; 
    text-align: center; 
}

.security-item {
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.security-item:hover {
    background: rgba(93, 220, 242, 0.1);
    transform: translateY(-5px);
}

.security-item i { 
    font-size: 3rem; 
    color: var(--primary-color); 
    margin-bottom: 1.5rem; 
}

.security-item h3 {
    margin-bottom: 1rem;
    color: #000;
}

.security-item p { 
    color: #6a6a6a; 
    line-height: 1.6;
}

/* =============================================================== */
/* STATISTICS SECTION */
/* =============================================================== */

#statistics {
    background: #fff;
    color: var(--white-color);
}

#statistics h2 {
    color: #000;
}

#statistics h2::after {
    background: var(--white-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
    background: #f4f4f4;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6a6a6a;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #6a6a6a;
    font-weight: 600;
}

/* =============================================================== */
/* TESTIMONIALS SECTION */
/* =============================================================== */

#testimonials .testimonials-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.testimonial-card { 
    background-color: var(--white-color); 
    padding: 2rem; 
    border-radius: 10px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    border-top: 5px solid var(--primary-color); 
    position: relative; 
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-card i.fa-quote-right { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    font-size: 3rem; 
    color: var(--light-color); 
    z-index: 1; 
}

.testimonial-card blockquote { 
    margin-bottom: 1.5rem; 
    font-style: italic; 
    color: #555; 
    position: relative; 
    z-index: 2; 
    line-height: 1.6;
}

.testimonial-card cite { 
    font-weight: 700; 
    color: var(--dark-color); 
    font-style: normal; 
    font-size: 0.9rem;
}

/* =============================================================== */
/* FAQ SECTION */
/* =============================================================== */

.faq-container { 
    max-width: 800px; 
    margin: auto; 
}

.faq-item { 
    border-bottom: 1px solid #e0e0e0; 
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    padding: 1.5rem; 
    background: #fafafa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(93, 220, 242, 0.05);
}

.faq-question h3 { 
    margin-bottom: 0; 
    font-size: 1.2rem; 
    color: var(--dark-color);
}

.faq-question i { 
    transition: transform 0.3s ease; 
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-in-out; 
    background: var(--white-color);
}

.faq-answer p { 
    padding: 1.5rem; 
    color: var(--gray-color); 
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-question i { 
    transform: rotate(180deg); 
}

.faq-item.active .faq-answer { 
    max-height: 300px; 
}

/* =============================================================== */
/* PRICING SECTION */
/* =============================================================== */

#pricing .pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
    align-items: stretch; 
}

#pricing .pricing-card { 
    background: var(--white-color); 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.07); 
    text-align: center; 
    padding: 2.5rem 2rem; 
    transition: all 0.3s ease; 
    position: relative;
    border: 2px solid transparent;
}

#pricing .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

#pricing .pricing-card.popular { 
    border-color: var(--primary-color);
    transform: scale(1.02);
}

#pricing .pricing-card.popular:hover {
    transform: scale(1.02) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card .plan-name { 
    font-size: 1.3rem; 
    font-weight: 600; 
    color: var(--secondary-color); 
    margin-bottom: 1rem;
}

/* Price container styling */
.price-container {
    margin: 1rem 0;
    color: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: baseline;
    min-height: 52px;
}

.price-container .price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 5px;
}

.price-container .price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-container .price-period {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
    margin-right: 5px;
}

.price-container .price-custom {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.pricing-card p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.pricing-card ul { 
    margin: 2rem 0; 
    text-align: right;
}

.pricing-card ul li { 
    padding: 0.7rem 0; 
    border-bottom: 1px solid var(--light-gray); 
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.pricing-card ul li:last-child { 
    border-bottom: none; 
}

.pricing-card ul li i {
    color: var(--success-color);
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* Pricing toggle */
.pricing-toggle {
    display: flex;
    justify-content: center;
    margin: -2rem auto 3rem;
    background-color: #eaf0f2;
    border-radius: 50px;
    padding: 5px;
    width: fit-content;
    border: 1px solid #d8e0e3;
}

.pricing-toggle .toggle-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--dark-color);
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-toggle .toggle-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 3px 10px rgba(93, 220, 242, 0.4);
}

.pricing-toggle .discount-badge {
    position: absolute;
    top: -10px;
    right: -15px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 5px;
    font-weight: bold;
}

/* Pricing features */
.pricing-features {
    margin-top: 4rem;
    text-align: center;
}

.pricing-features h3 {
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(93, 220, 242, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.feature-item i {
    color: var(--primary-color);
}

/* =============================================================== */
/* FOOTER SECTION */
/* =============================================================== */

#main-footer { 
    background: var(--dark-color); 
    color: var(--white-color); 
    text-align: center; 
    padding: 4rem 0 2rem; 
}

#main-footer h2 { 
    color: var(--white-color); 
    margin-bottom: 2rem; 
}

#main-footer h2::after {
    background: var(--primary-color);
}

#main-footer p { 
    margin-bottom: 2rem; 
    font-size: 1.1rem; 
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-cta {
    margin-bottom: 3rem;
}

.footer-cta .btn {
    margin: 0 0.5rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
}

.contact-item i {
    color: var(--primary-color);
}

.copyright { 
    margin-top: 3rem; 
    padding-top: 2rem; 
    border-top: 1px solid #444; 
    font-size: 0.9rem; 
    color: #aaa; 
}

/* =============================================================== */
/* ANIMATION KEYFRAMES */
/* =============================================================== */

/* Floating animation for hero background elements */
@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Pulse animation for call-to-action buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(93, 220, 242, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(93, 220, 242, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(93, 220, 242, 0);
    }
}

/* Slide in from right animation */
@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide in from left animation */
@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =============================================================== */
/* RESPONSIVE DESIGN - TABLET */
/* =============================================================== */

@media(max-width: 992px) {
    /* Why Us section adjustments */
    #why-us .why-us-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem;
    }
    
    #why-us .why-us-image { 
        display: block; 
        max-width: 500px; 
        margin: 0 auto; 
        order: -1;
    }

    /* Pricing grid adjustments */
    #pricing .pricing-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }

    /* Statistics grid adjustments */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Features list adjustments */
    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================================== */
/* RESPONSIVE DESIGN - MOBILE */
/* =============================================================== */

@media(max-width: 768px) {
    /* Typography adjustments */
    h1 { 
        font-size: 2.2rem; 
    }
    
    h2 { 
        font-size: 1.8rem; 
    }
    
    /* Section padding adjustments */
    section { 
        padding: 4rem 0; 
    }
    
    .container { 
        padding: 0 1.5rem; 
    }

    /* Mobile navigation */
    .menu-toggle { 
        display: block; 
    }
    
    #navbar .logo {
        margin-right: 20px;
    }
    #navbar ul { 
        position: fixed; 
        top: 0; 
        right: -280px; 
        width: 280px; 
        height: 100vh; 
        background-color: var(--dark-color); 
        flex-direction: column; 
        align-items: flex-start; 
        padding-top: 5rem; 
        box-shadow: -5px 0 15px rgba(0,0,0,0.2); 
        transition: right 0.4s ease-in-out; 
        z-index: 1000; 
        overflow-y: auto; 
        max-height: 100vh; 
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: thin; 
        scrollbar-color: var(--primary-color) #1f2d3d;
    }
    
    #navbar ul.open { 
        right: 0; 
    }
    
    #navbar ul::-webkit-scrollbar { 
        width: 8px; 
    }
    
    #navbar ul::-webkit-scrollbar-track { 
        background: #1f2d3d; 
    }
    
    #navbar ul::-webkit-scrollbar-thumb { 
        background-color: var(--primary-color); 
        border-radius: 10px; 
        border: 2px solid transparent; 
        background-clip: content-box; 
    }
    
    #navbar ul li { 
        width: 100%; 
    }
    
    #navbar ul li a { 
        display: block; 
        padding: 1rem 2rem; 
        color: var(--white-color); 
        margin: 0; 
        width: 100%; 
        border-bottom: 1px solid #444; 
    }
    
    #navbar ul li a:hover { 
        background-color: var(--secondary-color); 
    }
    
    #navbar ul li a.btn { 
        margin: 1.5rem auto; 
        text-align: center; 
        width: 80%; 
        border: 2px solid var(--primary-color); 
        background: transparent; 
    }
    
    #navbar ul li a.btn:hover { 
        background-color: var(--primary-color); 
    }
    
    .close-btn { 
        display: block; 
        position: absolute; 
        top: 1rem; 
        left: 1.5rem; 
        font-size: 2.2rem; 
        color: var(--white-color); 
        background: none; 
        border: none; 
        cursor: pointer; 
    }
    
    /* Hero section mobile adjustments */
    #hero { 
        min-height: auto; 
        padding: 6rem 0; 
    }
    
    #hero .cta-buttons { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    
    #hero .cta-buttons .btn { 
        margin: 0.6rem 0; 
        width: 90%;
    }

    /* Trust indicators mobile layout */
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
   
    /* Pricing mobile adjustments */
    #pricing .pricing-grid { 
        grid-template-columns: 1fr; 
    }
    
    #pricing .pricing-card { 
        margin-bottom: 2rem; 
    }
    
    #pricing .pricing-card.popular { 
        transform: scale(1); 
    }
    
    /* Tab navigation mobile adjustments */
    .tab-link { 
        padding: 0.8rem 0.8rem; 
        font-size: 0.9rem; 
    }

    /* Statistics mobile layout */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Features list mobile layout */
    .features-list {
        grid-template-columns: 1fr;
    }

    /* Contact info mobile layout */
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    /* FAQ mobile adjustments */
    .faq-question {
        padding: 1rem;
    }

    .faq-answer p {
        padding: 1rem;
    }
}

/* =============================================================== */
/* EXTRA SMALL DEVICES */
/* =============================================================== */

@media(max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Hero adjustments for very small screens */
    #hero .hero-content p {
        font-size: 1rem;
    }

    /* Statistics single column on very small screens */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing toggle adjustments */
    .pricing-toggle .toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* =============================================================== */
/* RIYAL FONT INTEGRATION */
/* =============================================================== */

@font-face {
    font-family: 'saudi_riyal';
    src: url('../fonts/saudi_riyal.woff2') format('woff2'),
         url('../fonts/saudi_riyal.woff') format('woff'),
         url('../fonts/saudi_riyal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.icon-saudi_riyal::before {
    content: "\e900";
    font-family: 'saudi_riyal' !important;
    font-size: 20px;
    color: inherit;
}

/* ===============================================================

/* =============================================================== */
/* CARD */
/* =============================================================== */
/* ===== GENERAL STYLES ===== */
.round-card {
    background-color: #f4f7f9;
}

.position-relative {
    position: relative !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

/* ===== CONTAINER STYLES ===== */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: 0.75rem;
    padding-right: var(--bs-gutter-x, 0.75rem);
    width: 100%;
}

/* ===== ROW AND GRID STYLES ===== */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--bs-gutter-x) / -2);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-top: calc(var(--bs-gutter-y) * -1);
}

.row > * {
    flex-shrink: 0;
    margin-top: var(--bs-gutter-y);
    max-width: 100%;
    padding-left: calc(var(--bs-gutter-x) / 2);
    padding-right: calc(var(--bs-gutter-x) / 2);
    width: 100%;
}

.g-4,
.gy-4 {
    --bs-gutter-y: 1.5rem;
}

/* ===== SPACING UTILITIES ===== */
.pb-120 {
    padding-bottom: 1rem;
}

.pt-120 {
    padding-top: 1rem;
}

/* ===== LIVE AUCTION SECTION ===== */
.live-auction {
    overflow: hidden;
    position: relative;
}

.live-auction .section-bg {
    left: 0;
    position: absolute;
    top: 7%;
}

.live-auction .section-bg2 {
    position: absolute;
    right: 0;
    top: 7%;
}

.live-auction .dotted1 {
    animation: move 2.6s linear infinite;
    position: absolute;
    right: -80px;
    top: 58px;
}

.live-auction .dotted2 {
    animation: move 2.6s linear infinite;
    bottom: 40px;
    left: -80px;
    position: absolute;
}

.live-auction .dotted3 {
    animation: move 2.6s linear infinite;
    bottom: -40px;
    left: -80px;
    position: absolute;
}

.live-auction-section {
    position: relative;
    z-index: 1;
}

.live-auction-section .section-bg-top {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

.live-auction-section .section-bg-bottom {
    bottom: 0;
    left: 0;
    position: absolute;
    z-index: -1;
}

/* ===== CARD STYLES ===== */
.eg-card {
    word-wrap: break-word;
    background-clip: initial;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
}

/* ===== AUCTION CARD 1 ===== */
.auction-card1 .auction-img {
    overflow: hidden;
    position: relative;
}

.auction-card1 .auction-img img {
    border-radius: 5px 5px 0 0;
    transition: all 0.65s ease;
    width: 100%;
}

.auction-card1:hover .auction-img img {
    transform: scale(1.2);
}

.auction-card1 .auction-img .auction-timer {
    background: #fff;
    border-radius: 30px;
    bottom: 20px;
    left: 50%;
    min-width: 230px;
    padding: 12px 20px;
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
}

.auction-card1 .auction-img .auction-timer .countdown h4 {
    color: #444;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
}

.auction-card1 .auction-content {
    padding: 30px 25px;
}

.auction-card1 .auction-content h4 {
    color: #1f2230;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: -5px;
}

.auction-content h4 a{
    color:#000;
}

.auction-card1 .auction-content p {
    color: dimgray;
    font-size: 16px;
    font-weight: 500;
}

.auction-card1 .auction-content p span {
    color: #1f2230;
    font-size: 20px;
    font-weight: 700;
}

.auction-card1 .auction-content .price {
    color: #291fbc;
    font-size: 16px;
    font-weight: 700;
}

/* ===== AUCTION CARD 2 ===== */
.auction-card2 .auction-img {
    overflow: hidden;
    position: relative;
}

.auction-card2 .auction-img img {
    border-radius: 10px;
    transition: all 0.65s ease;
    width: 100%;
}

.auction-card2:hover .auction-img img {
    border-radius: 10px;
    transform: scale(1.2);
}

.auction-card2:hover .auction-img .auction-timer .countdown h5 {
    color: #444;
}

.auction-card2 .auction-img .auction-timer {
    background: #fff;
    border-radius: 15px 15px 0 0;
    bottom: 0;
    left: 50%;
    min-width: 230px;
    padding: 12px 15px;
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
}

.auction-card2 .auction-img .auction-timer .countdown h5 {
    color: #444;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
    transition: all 0.42s ease;
    white-space: nowrap;
}

.auction-card2 .auction-content {
    padding: 30px 25px;
}

.auction-card2 .auction-content h4 {
    color: #1f2230;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: -7px;
}

.auction-card2 .auction-content p {
    color: dimgray;
    font-size: 16px;
    font-weight: 500;
}

.auction-card2 .auction-content p span {
    color: #1f2230;
    font-size: 20px;
    font-weight: 700;
}

.auction-card2 .auction-content .price {
    color: #291fbc;
    font-size: 16px;
    font-weight: 700;
}

/* ===== AUCTION CARD 3 ===== */
.auction-card3 {
    border: initial;
    border-radius: 0 30px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding: 20px 20px 25px;
    text-align: center;
    width: 100%;
}

.auction-card3:hover .auction-img img {
    transform: scale(1.2);
}

.auction-card3 .auction-timer {
    background: #fff;
    border-radius: 30px;
    padding-bottom: 20px;
    text-align: center;
}

.auction-card3 .auction-timer span.timer-title {
    color: dimgray;
    display: block;
    font-family: Cairo, sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
}

.auction-card3 .auction-timer .countdown h4 {
    color: #291fbc;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
}

.auction-card3 .auction-img {
    border-radius: 0 30px;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.auction-card3 .auction-img img {
    display: block;
    margin: auto;
    max-height: 200px;
    transition: all 0.65s ease;
}

.auction-card3 .auction-content h4 {
    color: #1f2230;
    font-size: 23px;
    font-weight: bolder;
    line-height: 1.5;
    margin-top: -7px;
}

.auction-card3 .auction-content p {
    color: dimgray;
    font-size: 16px;
    font-weight: 500;
}

.auction-card3 .auction-content p span {
    color: #1f2230;
    font-size: 20px;
    font-weight: 700;
}

.auction-card3 .auction-content .price {
    color: #291fbc;
    font-size: 16px;
    font-weight: 700;
}

.auction-card3 .auction-card-bttm {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.auction-card3 .author-area {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    position: absolute;
    right: 20px;
    top: 20px;
}

.auction-card3 .author-area .author-emo {
    align-items: center;
    background: #fff;
    border: 1px solid #0000;
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 7px;
    z-index: 1;
}

.auction-card3 .author-area .author-emo img {
    height: 22px;
    line-height: 22px;
    width: 22px;
}

.auction-card3 .author-area .author-name {
    background: #291fbc;
    border-radius: 33px;
    margin-right: -27px;
    padding: 6px 44px 6px 20px;
    transform: scaleX(0.1);
    transform-origin: right;
    transition: 0.6s ease;
}

.auction-card3 .author-area .author-name span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.auction-card3 .author-area:hover .author-emo {
    border: 1px solid #291fbc;
}

.auction-card3 .author-area:hover .author-name {
    transform: scaleX(1);
}

.auction-card3 .share-area {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.auction-card3 .share-area .share-btn i {
    background-color: #eee;
    border-radius: 50%;
    height: 34px;
    line-height: 34px;
    text-align: center;
    transition: 0.5s ease;
    width: 34px;
    z-index: 9;
}

.auction-card3 .share-area .share-btn i:hover {
    background: #1f2230;
    color: #fff;
}

.auction-card3 .share-area .social-icons {
    margin-bottom: 0;
    margin-left: 0;
    padding: 5px;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.5s ease;
    z-index: 1;
}

.auction-card3 .share-area:hover .social-icons {
    transform: scaleX(1);
}

.auction-card3 .share-area:hover .social-icons li {
    margin-right: 8px;
}

.auction-card3 .share-area:hover .social-icons li i {
    font-size: 1rem;
    transition: all 0.42s ease;
}

.auction-card3 .share-area:hover .social-icons li i:hover {
    color: #291fbc;
}

.auction-card3.style-2 {
    box-shadow: 0 0 10px #0000000f;
}

.auction-card3.style-2 .auction-timer .countdown h4 {
    color: #444;
}

/* ===== FEATURE CARDS ===== */
.c-feature-card1 .auction-img {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.c-feature-card1 .auction-img img {
    transition: all 0.55s ease-in-out;
    width: 100%;
}

.c-feature-card1:hover .auction-img > img {
    transform: scale(1.12);
}

.c-feature-card2 .auction-img {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.c-feature-card2 .auction-img img {
    transition: all 0.55s ease-in-out;
    width: 100%;
}

.c-feature-card2:hover .auction-img > img {
    transform: scale(1.12);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

@keyframes fadeInDownBig {
    0% {
        opacity: 0;
        transform: translateY(-2000px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE GRID CLASSES ===== */
/* Default mobile-first approach */
.col-sm-10 {
    flex: 0 0 auto;
    width: 83.3333333333%;
}

.col-sm-12 {
    flex: 0 0 auto;
    width: 100%;
}

.col-md-6 {
    flex: 0 0 auto;
    width: 50%;
}

.col-lg-4,
.col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
}

.col-xl-4 {
    flex: 0 0 auto;
    width: 33.3333333333%;
}

/* ===== MEDIA QUERIES ===== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container,
    .container-sm {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container,
    .container-md,
    .container-sm {
        max-width: 720px;
    }
    
    .col-md-6 {
        width: 50%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 960px;
    }
    
    .col-lg-4 {
        width: 33.3333333333%;
    }
    
    .col-lg-6 {
        width: 50%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
    
    .col-xl-4 {
        width: 33.3333333333%;
    }
    
    .auction-card1 .auction-img .auction-timer .countdown h4 {
        font-size: 22px;
    }
    
    .auction-card3 .auction-timer .countdown h4 {
        font-size: 22px;
    }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px;
    }
}

/* Large devices and below (max-width: 1199px) */
@media (max-width: 1199px) {
    .pb-120 {
        padding-bottom: 1rem;
    }
    
    .auction-card1 .auction-img .auction-timer .countdown h4 {
        font-size: 20px;
    }
    
    .auction-card3 .auction-timer .countdown h4 {
        font-size: 20px;
    }
}

/* Medium to large devices (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .pb-120 {
        padding-bottom: 1rem;
    }
    
    .pt-120 {
        padding-top: 1rem;
    }
}

/* Medium devices and below (max-width: 991px) */
@media (max-width: 991px) {
    .pb-120 {
        padding-bottom: 1rem;
    }
    
    .live-auction .dotted1,
    .live-auction .dotted2,
    .live-auction .dotted3 {
        display: none;
        visibility: hidden;
    }
}

/* Small devices and below (max-width: 767px) */
@media (max-width: 767px) {
    .pb-120 {
        padding-bottom: 1rem;
    }
    
    .live-auction .section-bg,
    .live-auction .section-bg2,
    .live-auction-section .section-bg-top,
    .live-auction-section .section-bg-bottom {
        display: none;
        visibility: hidden;
    }
    
    .col-sm-12 {
        width: 100%;
    }
}

