:root {
    --primary-color: #004A99;
    --secondary-color: #E60026;
    --accent-color: #CCCCCC;
    --light-bg: #F8F8F8;
    --dark-text: #333333;
    --light-text: #ffffff;
    --primary-darker: #003770;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 900;
}

h1 {
    font-size: 3.5em;
    text-align: center;
}

h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 60px;
}

h3 {
    font-size: 2.2em;
}

p {
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: -35px auto 60px auto;
    font-size: 1.2em;
    color: #555;
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
}

    a:hover {
        color: var(--secondary-color);
    }

.text-center {
    text-align: center;
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transform: translateY(50px);
}

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

header {
    background-color: transparent;
    color: var(--light-text);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

    header.scrolled {
        background-color: var(--primary-color);
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        color: var(--light-text);
    }

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

.logo-content {
    display: flex;
    align-items: center;
    margin-right: 0;
}

.header-logo-img {
    height: 50px;
    width: auto;
    display: block;
    margin-left: 5px;
}

.logo-content span {
    font-size: 1.5em;
    font-weight: 900;
    color: var(--light-text);
    white-space: nowrap;
    transition: color 0.4s ease;
}

.main-nav-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

    nav ul li a {
        color: var(--light-text);
        padding: 12px 10px;
        font-weight: 600;
        font-size: 0.95em;
        border-radius: 6px;
        white-space: nowrap;
        transition: all 0.4s ease;
    }

        nav ul li a:hover, nav ul li.active a {
            background-color: var(--secondary-color);
            color: var(--light-text);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }

.contact-header .phone-number {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    white-space: nowrap;
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

    .contact-header .phone-number:hover {
        background-color: #CC0000;
        color: var(--light-text);
    }

    .contact-header .phone-number i {
        display: none;
    }

main {
    padding-top: 0;
}

.page-section {
    padding: 100px 0;
}

.light-bg {
    background-color: var(--light-bg);
}

.blue-bg {
    background-color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.primary-btn {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

    .primary-btn:hover {
        background-color: #CC0000;
        color: var(--light-text);
        transform: translateY(-2px);
        text-decoration: none;
    }

.secondary-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
    margin-right: 15px;
}

    .secondary-btn:hover {
        background-color: var(--primary-darker);
        transform: translateY(-2px);
        text-decoration: none;
    }

.large-btn {
    padding: 18px 40px;
    font-size: 1.3em;
}

#hero {
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

    #hero h1 {
        color: var(--light-text);
        font-size: 4.5em;
        line-height: 1.1;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

    #hero p {
        color: var(--light-text);
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

.hero-actions {
    margin-top: 40px;
}

.hero-sub-page {
    min-height: 40vh !important;
    padding: 100px 0 !important;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    direction: rtl;
}

    .about-content > div {
        flex: 1;
    }

.about-image {
    max-width: 45%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content ul {
    list-style: none;
    padding: 0;
}

    .about-content ul li {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

        .about-content ul li i {
            color: var(--secondary-color);
            margin-left: 10px;
        }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

#features .feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    #features .feature-item:hover {
        border-color: var(--secondary-color);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    #features .feature-item .icon {
        font-size: 3em;
        color: var(--secondary-color);
        margin-bottom: 15px;
        display: block;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.service-item {
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--accent-color);
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-color: var(--secondary-color);
    }

    .service-item .icon {
        font-size: 3.5em;
        color: var(--secondary-color);
        margin-bottom: 15px;
        display: block;
    }

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-detail-card {
    padding: 30px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-detail-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .service-detail-card h3 {
        color: var(--primary-color);
        margin-bottom: 20px;
        font-size: 1.8em;
    }

    .service-detail-card .icon {
        font-size: 2.5em;
        color: var(--primary-color);
        margin-bottom: 15px;
        float: left;
        margin-left: 15px;
    }

    .service-detail-card ul {
        list-style: none;
        padding: 0;
        margin-top: 15px;
    }

        .service-detail-card ul li {
            font-size: 1.05em;
            margin-bottom: 8px;
            padding-right: 20px;
            position: relative;
            text-align: right;
        }

            .service-detail-card ul li::before {
                content: "\2022";
                color: var(--secondary-color);
                position: absolute;
                right: 0;
                font-size: 1.2em;
                line-height: 1;
                font-weight: 900;
            }

            .service-detail-card ul li i {
                display: none;
            }

.product-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.category-card {
    padding: 25px;
    background-color: var(--light-bg);
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

    .category-card:hover {
        border-color: var(--secondary-color);
        transform: scale(1.03);
    }

.all-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-group-card {
    padding: 25px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}

    .product-group-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        border-top-color: var(--secondary-color);
    }

    .product-group-card h3 {
        color: var(--primary-color);
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .product-group-card .icon {
        font-size: 2em;
        color: var(--secondary-color);
        margin-left: 10px;
    }

    .product-group-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .product-group-card ul li {
            font-size: 1em;
            margin-bottom: 8px;
            color: var(--dark-text);
        }

            .product-group-card ul li i {
                color: var(--secondary-color);
                margin-left: 8px;
            }

.components-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.component-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
}

    .component-item .icon {
        font-size: 1.5em;
        color: var(--primary-color);
        margin-left: 15px;
    }

    .component-item p {
        margin: 0;
        font-weight: 600;
    }

.coverage-details {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

    .coverage-details h3 {
        color: var(--secondary-color);
        border-bottom: 2px dashed var(--accent-color);
        padding-bottom: 10px;
    }

    .coverage-details ul {
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

        .coverage-details ul li {
            font-size: 1.2em;
            font-weight: 700;
            color: var(--primary-color);
        }

            .coverage-details ul li i {
                color: var(--secondary-color);
                margin-left: 8px;
            }

    .coverage-details .note {
        margin-top: 30px;
        font-style: italic;
        color: #888;
    }

.map-container {
    margin-top: 50px;
}

    .map-container h3 {
        color: var(--primary-color);
        margin-bottom: 25px;
    }

    .map-container iframe {
        max-width: 100%;
    }

#automation h2, #automation p {
    text-align: center;
}

.automation-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

    .feature-card h3 {
        color: var(--primary-color);
    }

    .feature-card .icon {
        font-size: 3em;
        color: var(--secondary-color);
        margin-bottom: 15px;
    }

.workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.workflow-step {
    padding: 20px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color);
}

    .workflow-step .step-number {
        display: block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        background-color: var(--secondary-color);
        color: var(--light-text);
        font-size: 1.2em;
        font-weight: 700;
        border-radius: 50%;
        margin: 0 auto 15px auto;
    }

    .workflow-step h3 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    .workflow-step p {
        font-size: 0.95em;
        line-height: 1.5;
    }

.app-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.app-card {
    padding: 35px;
    border-radius: 12px;
    background-color: var(--light-bg);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .app-card .btn {
        margin-top: 20px;
    }

.contact-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    background-color: var(--light-bg);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form {
    flex: 1.5;
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .contact-info h3, .contact-form h3 {
        color: var(--primary-color);
        border-bottom: 3px solid var(--secondary-color);
        padding-bottom: 10px;
        margin-bottom: 25px;
        font-size: 1.8em;
    }

.contact-info p i {
    color: var(--secondary-color);
    margin-left: 10px;
}

.social-links-contact a {
    font-size: 1.8em;
    margin-left: 15px;
    color: var(--primary-color);
}

    .social-links-contact a:hover {
        color: var(--secondary-color);
    }

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease;
    margin-bottom: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    padding-right: 14px;
}

    .contact-form input:focus,
    .contact-form textarea:focus,
    .contact-form select:focus {
        border-color: var(--secondary-color);
        outline: none;
    }

.form-group.select-wrapper {
    position: relative;
}

    .form-group.select-wrapper::after {
        content: "\f0d7";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        transform: translateY(calc(-50% + 5px));
        left: 20px;
        color: var(--primary-color);
        pointer-events: none;
        font-size: 1.2em;
    }

.btn-submit {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .btn-submit:hover {
        background-color: #CC0000;
        transform: translateY(-2px);
    }

footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 25px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

footer h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 0;
}

    footer h3::after {
        content: none;
    }

footer p {
    color: var(--light-text);
    font-size: 1em;
    margin-bottom: 10px;
}

footer a {
    color: var(--light-text);
}

    footer a:hover {
        color: var(--secondary-color);
    }

.footer-col ul {
    list-style: none;
    padding: 0;
}

    .footer-col ul li {
        margin-bottom: 10px;
        font-size: 1.05em;
        padding-right: 15px;
        position: relative;
    }

        .footer-col ul li::before {
            content: "\2022";
            font-family: Arial, sans-serif;
            font-weight: normal;
            color: var(--secondary-color);
            position: absolute;
            right: 0;
            font-size: 1.5em;
            line-height: 1;
        }

.social-links {
    margin-top: 15px;
}

    .social-links a {
        font-size: 1.8em;
        margin-left: 15px;
        color: var(--light-text);
    }

        .social-links a:hover {
            color: var(--secondary-color);
        }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    margin-top: 25px;
}

    .copyright p, .footer-note {
        color: var(--light-text);
    }

.footer-note {
    color: var(--secondary-color);
}

.fixed-contact-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: auto;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    font-size: 1.6em;
    color: var(--light-text);
    transition: all 0.3s ease-in-out;
}

.whatsapp-btn {
    background-color: #25d366;
}

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

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

.phone-btn:hover {
    background-color: #A00010;
    transform: scale(1.1);
}

@media (max-width: 992px) {
    header {
        background-color: var(--primary-color) !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }

    nav {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .main-nav-wrapper {
        right: -100%;
    }

    .hamburger-menu {
        display: block;
    }

    .logo-content span {
        color: var(--light-text);
        font-size: 1.2em;
        margin-right: 0;
    }

    nav ul li a {
        color: var(--light-text);
    }

        nav ul li a:hover, nav ul li.active a {
            background-color: var(--secondary-color);
            color: var(--light-text);
        }

    .features-grid, .services-grid, .product-categories-grid, .automation-features-grid, .services-list-grid, .app-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-actions {
        text-align: center;
    }

    .secondary-btn {
        margin-right: 0;
        margin-top: 15px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        max-width: 80%;
        margin: 20px auto;
        order: -1;
    }

    .contact-grid {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        width: 90%;
        max-width: 500px;
        margin: 20px auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h3 {
        text-align: center;
    }

    .footer-col ul {
        width: auto;
        margin: 0;
    }

        .footer-col ul li {
            text-align: center;
            padding-right: 0;
        }

            .footer-col ul li::before {
                position: static;
                margin-left: 5px;
                display: inline-block;
            }

    .services-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    header {
        background-color: var(--primary-color);
    }

    #hero {
        min-height: 85vh !important;
        padding: 120px 0 120px 0;
    }

    h1 {
        font-size: 2em !important;
        line-height: 1.2;
    }

    #hero h1 {
        font-size: 2em !important;
    }

    h2 {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .features-grid,
    .services-grid,
    .product-categories-grid,
    .automation-features-grid,
    .services-list-grid,
    .app-showcase-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .large-btn {
        padding: 15px 30px;
        font-size: 1.2em;
    }

    .contact-header .phone-number {
        margin-right: 0;
    }

    .about-image {
        max-width: 100%;
    }

    #contact .container {
        padding: 0 20px;
    }

    .contact-grid {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form, .contact-info {
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .contact-info {
        text-align: center;
    }

        .contact-info h3 {
            text-align: center;
        }

    .social-links-contact {
        display: flex;
        justify-content: center;
        margin-top: 15px;
        padding-bottom: 5px;
    }

        .social-links-contact a {
            margin: 0 8px;
        }

    .contact-info p {
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    #contact {
        padding-bottom: 120px;
    }

    .workflow-step h3 {
        font-size: 1.2em;
        margin-bottom: 5px;
    }

    .workflow-step p {
        font-size: 0.85em;
    }

    .workflow-steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .workflow-step {
        text-align: center;
        padding: 15px;
    }

        .workflow-step .step-number {
            margin: 0 auto 10px auto;
        }

    .features-grid,
    .services-grid,
    .product-categories-grid,
    .automation-features-grid,
    .services-list-grid,
    .app-showcase-grid,
    .all-products-grid,
    .components-list-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

    .hamburger-menu .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background-color: var(--light-text);
        border-radius: 5px;
        transition: all 0.3s ease-in-out;
    }

@media (max-width: 992px) {
    .hamburger-menu.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(-45deg);
        background-color: var(--secondary-color);
    }

    .hamburger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(45deg);
        background-color: var(--secondary-color);
    }

    nav {
        width: 100%;
        padding: 0;
    }

        nav ul li {
            margin: 0;
            width: 100%;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

            nav ul li a {
                color: var(--light-text);
                padding: 18px 25px;
                display: block;
                transition: background-color 0.3s ease;
            }

                nav ul li a:hover, nav ul li.active a {
                    background-color: var(--primary-darker);
                    transform: none;
                }

            nav ul li.active a {
                background-color: var(--primary-darker);
            }

    .contact-header {
        margin-top: 50px;
        padding: 0 25px;
    }

    header .container {
        padding: 5px 25px;
        justify-content: space-between;
    }

    .logo-content span {
        font-size: 1.2em;
    }

    .hamburger-menu {
        margin-right: auto;
        display: block;
    }

    .main-nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--primary-color);
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.4);
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 80px;
    }

        .main-nav-wrapper.open {
            right: 0;
        }

    nav {
        width: 100%;
        padding: 0 20px;
    }

        nav ul {
            flex-direction: column;
            text-align: right;
            width: 100%;
        }

            nav ul li {
                width: 100%;
                margin: 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

                nav ul li a {
                    color: var(--light-text);
                    padding: 18px 5px;
                    display: block;
                    background: none;
                    width: 100%;
                    box-sizing: border-box;
                }

                    nav ul li a:hover, nav ul li.active a {
                        background-color: var(--primary-darker);
                        transform: none;
                    }

    .contact-header {
        margin-top: 50px;
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .contact-header .phone-number {
            width: 90%;
            max-width: 300px;
            text-align: center;
            padding: 15px 18px;
            margin: 0;
        }

    header .contact-header {
        display: none;
    }

    .main-nav-wrapper .contact-header {
        display: block;
    }

    h2 {
        font-size: 2em;
    }

    .workflow-step h3 {
        font-size: 1.2em;
        margin-bottom: 5px;
    }

    .workflow-step p {
        font-size: 0.85em;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8em !important;
        line-height: 1.2;
    }

    header .container {
        padding: 5px 25px;
        justify-content: space-between;
    }

    #hero h1 {
        font-size: 1.8em !important;
    }

    h2 {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .large-btn {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}

.contact-form.detailed-booking-form {
    max-width: 650px;
    margin: 0 auto;
    padding: 35px;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

    .contact-form.detailed-booking-form h3 {
        text-align: center;
        border-bottom: 3px solid var(--secondary-color);
        padding-bottom: 10px;
        margin-bottom: 30px;
    }

    .contact-form.detailed-booking-form textarea {
        resize: vertical;
    }

@media (max-width: 576px) {
    .contact-form.detailed-booking-form {
        padding: 25px 15px;
    }
}

.automation-note {
    text-align: center;
    font-size: 0.9em;
    font-weight: 500;
    color: #555;
    margin-top: 20px;
    padding: 10px;
    border: 1px dashed var(--accent-color);
    border-radius: 6px;
    background-color: var(--light-bg);
}

.about-vision-list {
    list-style: disc;
    padding: 0 25px;
    margin-bottom: 30px;
    margin-top: 10px;
    font-size: 1.05em;
}

    .about-vision-list li {
        margin-bottom: 8px;
        line-height: 1.4;
    }

@media (max-width: 576px) {
    .about-content h3 {
        font-size: 1.4em !important;
        text-align: right;
    }

    .about-vision-list {
        padding: 0 15px;
        margin-right: 0;
    }

    .about-content p {
        font-size: 0.95em;
        text-align: justify;
    }
}

.calendar-view .calendar-and-slots-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.calendar-box, .time-slots-box {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--light-bg);
}

    .calendar-box h4, .time-slots-box h4 {
        color: var(--primary-color);
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.4em;
    }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    text-align: center;
}

    .calendar-grid span {
        padding: 10px 5px;
        border-radius: 4px;
        font-weight: 700;
        cursor: pointer;
        background-color: #fff;
        border: 1px solid #ddd;
    }

        .calendar-grid span.available {
            background-color: #e6e6e6;
        }

.time-slot {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--primary-color);
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

    .time-slot.active-slot, .time-slot:hover {
        background-color: var(--secondary-color);
        color: var(--light-text);
        border-color: var(--secondary-color);
    }

.step-navigation-buttons {
    text-align: center;
    margin-top: 30px;
}

    .step-navigation-buttons .btn {
        margin: 0 5px;
    }

.calendar-grid span.selected-day, .calendar-grid span:hover {
    background-color: var(--primary-color) !important;
    color: var(--light-text);
}

.time-slot.selected-slot {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .calendar-view .calendar-and-slots-wrapper {
        flex-direction: column;
    }
}

.booking-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto 50px auto;
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
}

    .booking-progress-bar .step {
        width: 25%;
        text-align: center;
        position: relative;
        font-weight: 700;
        color: #888;
        font-size: 0.9em;
        padding-top: 25px;
        transition: color 0.4s ease;
    }

        .booking-progress-bar .step.active {
            color: var(--primary-color);
        }

        .booking-progress-bar .step::before {
            content: '';
            display: block;
            width: 20px;
            height: 20px;
            background: #fff;
            border: 4px solid #888;
            border-radius: 50%;
            position: absolute;
            top: -6px;
            right: 50%;
            transform: translateX(50%);
            z-index: 10;
            transition: all 0.4s ease;
        }

        .booking-progress-bar .step.active::before {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

.progress-line {
    height: 100%;
    background-color: var(--primary-color);
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 4px;
    transition: width 0.4s ease;
}

@media (max-width: 576px) {
    .booking-progress-bar {
        padding: 0 10px;
        margin-bottom: 30px;
    }

        .booking-progress-bar .step {
            font-size: 0.75em;
            padding-top: 20px;
        }

            .booking-progress-bar .step::before {
                width: 16px;
                height: 16px;
                border-width: 3px;
            }
}

.about-vision-list li {
    position: relative;
    padding-right: 15px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1.05em;
    display: flex;
    align-items: flex-start;
}

    .about-vision-list li i {
        color: var(--secondary-color);
        margin-left: 15px;
        margin-top: 3px;
        font-size: 1.1em;
        flex-shrink: 0;
    }

@media (max-width: 576px) {
    .about-vision-list li {
        font-size: 0.95em;
        line-height: 1.5;
        margin-bottom: 8px;
        padding-right: 10px;
    }

        .about-vision-list li i {
            margin-left: 10px;
        }
}

@media (max-width: 576px) {
    #app-promo .container {
        padding: 50px 20px;
    }

    #app-promo h2 {
        font-size: 1.8em;
        line-height: 1.3;
    }

    #app-promo .section-description {
        font-size: 1em !important;
        margin-bottom: 20px !important;
        line-height: 1.5;
    }

    .app-download-links {
        flex-direction: column;
        gap: 15px !important;
    }

        .app-download-links a {
            font-size: 1.1em;
            padding: 15px 25px;
            width: 100%;
            box-sizing: border-box;
        }
}
