:root {
    --primary-color: #2c8a8a;
    --secondary-color: #f8b400;
    --light-color: #f5f7fa;
    --dark-color: #2d3436;
    --success-color: #4caf50;
    --error-color: #f44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

body {
    width: 100% !important;
    font-family: 'Rubik', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

/* Video Container */
.video-container {
    position: relative;
    width: 80%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar-brand {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    padding-right: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================== */
/* NEW HERO SECTION STYLES */
/* ==================== */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-image {
    flex: 1;
    text-align: center;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-10deg);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2d3748;
    text-align: right;
}

.title-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.inline-logo {
    height: 1em; /* This will make the logo height match the text height */
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle;
}

.highlight {
    color: var(--primary-color);
}

.hero-tagline {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
    max-width: 500px;
    text-align: right;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.feature-badge {
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    box-shadow: var(--box-shadow);
    border: 1px solid #e2e8f0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ==================== */
/* END OF NEW HERO STYLES */
/* ==================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #237373;
    transform: translateY(-2px);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 2rem 0 0 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: right;
    display: flex;
    flex-direction: column;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}


.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--dark-color);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 3rem 0;
}

.divider:before, .divider:after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider-text {
    padding: 0 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    right: auto;
    left: 12px;
    color: var(--primary-color);
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    text-align: right;
    direction: rtl;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 138, 138, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 0.5rem;
    text-align: right;
}

.btn .material-symbols-outlined {
    margin-left: 0.5rem;
    margin-right: 0;
}

.success-message {
    color: var(--success-color);
    font-size: 16px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f0fdf4;
    border-radius: 6px;
    text-align: center;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-icon {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: right;
}

.footer-links {
    list-style: none;
    padding-right: 0;
    text-align: right;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-image img {
        max-width: 300px;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline,
    .hero-features {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
        right: auto;
    }

    .nav-link {
        padding: 0.5rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .video-container {
        width: 80%;
    }

    .input-icon {
        right: 12px;
        left: auto;
    }

    .form-control {
        padding: 12px 40px 12px 16px;
        text-align: right;
    }

    .form-control::placeholder {
        direction: rtl;
        text-align: right;
    }

    .honeypot {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

.modal-content .btn .material-symbols-outlined {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* SVG Icons */
.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* Honeypot field */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
