:root {
    --primary-color: #81C05C;
    --secondary-color: #0c6a37;
    --accent-color: #FF5722;
    --background-color: #f9f9f9;
    --text-color: #555555;
}

:root {
    --title_fontsize: 20px;
}

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.image_overlay_all{
    background-image: url(deltaoil_background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    overflow-x: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: -1;
    opacity: 0.1;
}
/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    direction: rtl;
    z-index: 99999;
}

/* Centered container for header content */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%; /* Center-align content with margins on each side */
    margin: 0 auto;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 100%;
    height: 50px;
    margin-right: 10px;
    object-fit: contain;
}

.logo-text {
    color: #0f4d23;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.2;
}

/* Arabic text styling */
.logo-text-ar {
    font-size: 0.8em;
    color: #0f4d23;
}

/* Menu styling */
.menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.menu-item {
    color: #6c757d;
    font-size: 1em;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.menu-item:hover,
.menu-item.go-green {
    color: #0f4d23;
    font-weight: 600;
}




/* Social icons */
.social-icons {
    display: flex;
    gap: 10px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }
}

/* Header End*/



/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Tajawal';
}

/* Body Styling */

.main_container {
    width: 100%;
    display: block;
    position: relative;
    top: 100px;
}
body {
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Tajawal', sans-serif;
}

/* Shared Container Styling */
.container, .box-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    margin: auto;
}
.box-container {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Heading Styling */
h1, h2 {
    color: #81C05C;
    margin-bottom: 10px;
}

h3 {
    color: #81C05C;
    margin-top: 20px;
    margin-bottom: 5px;
}

/* Paragraph Styling */
p {
    color: #666;
    margin-bottom: 20px;
}
.main-title {
    font-size: 36px; /* Large size for emphasis */
    font-weight: bold; /* Bold to stand out */
    text-align: center; /* Center the text */
    margin: 30px 0; /* Add space above and below */
    display: block;
    color: #4B7A3A; /* Choose a color that matches the green tones in your image */
    font-family: 'Tajawal', sans-serif; /* Use the Tajawal font */
}


/* Input Styling */
input[type="text"], input{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
}

/* Button Styling */
button , .button {
    background-color: #81C05C;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

button:hover, .button:hover {
    background-color: #1b5e20;
}

/* Rewards Section Styling (For Page 1) */
.rewards-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.reward-item {
    text-align: center;
    margin: 10px;
    width: 150px;
}

.reward-item img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

/* Testimonials Section Styling (For Page 1) */
.testimonials {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.testimonial {
    margin-bottom: 15px;
    background: #fafafa;
    border-radius: 10px;
    padding: 10px;
}

.testimonial p {
    font-style: italic;
}

.testimonial span {
    display: block;
    margin-top: 5px;
    color: #81C05C;
    font-weight: bold;
}

/* Note Styling (For Page 2) */
.note {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Options Section (For Page 2) */
.package-slider {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}

.slider {
    position: relative;
    display: flex;
    transition: transform 1s ease-in-out; /* Smooth transition */
    border-radius: 10px;
}

.slide {
    min-width: 100%;
    transition: opacity 1s ease-in-out; /* Smooth fade transition */
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}




.options {
    margin-bottom: 20px;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    flex: 1 1 50%;
    justify-content: flex-start;
    column-gap: 20px;
    column-count: 2;
}

.option-item {
    display: flex;!;!i;!;
    flex-wrap: wrap;
    align-items: center;
    /* border: 1px solid #ddd; */
    border-radius: 10px;
    padding: 15px;
    background-color: #F1F8ED;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
    direction: rtl; /* Ensures RTL support */
    flex: 1 1 29%;
    justify-content: space-between;
    flex-direction: row;
    row-gap: 20px;
}

.option-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.item-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-left: 15px; /* Adjust margin to the left for RTL */
    flex: 1 1 44%;
}

.item-content {
    flex: 1 2 50%;
    display: flex;
    flex-direction: column;
}

.item-title {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 500;
    color: #373636;
    text-align: right; /* Right-align for RTL */
}

.item-description {
    margin: 0 0 10px;
    color: #666;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
    text-align: right; /* Right-align for RTL */
}

.item-counter {
    display: flex;
    align-items: center;
    margin-top: 10px;
    justify-content: flex-start; /* Align buttons to the right */
    flex-direction: row;
}

.counter-btn {
    background-color: white;
    color: #fff;
    border: 1px solid #0c6a37;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    color: #0c6a37;
    transition: background-color 0.2s ease;
    width: 35px;
    height: 35px;
    font-size: 20px;
    vertical-align: middle;
    line-height: 10px;
}

.counter-btn:hover {
    background-color: #237b23;
}

.counter-input {
    width: 35px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0 5px;
    height: 35px;
    text-align: center;
    font-size: 15px;
    padding: 0px;
    line-height: 10px;
}

.package-value {
    margin-top: 10px;
    font-weight: 500;
    text-align: right; /* Right-align for RTL */
}

@media (max-width: 768px) {
    input, textarea, select {
        font-size: 16px;
      }
      html, body {
        overscroll-behavior: none; /* Prevent browser's default scroll bounce */
        scroll-behavior: smooth;  /* Optional: Smooth scrolling for better UX */
      }
      
    .option-item {
        display: flex;
        align-items: flex-start;
        flex: 1 1 50%;
        flex-direction: row;
    }

    .item-image {
        max-width: 100%;
        margin-left: 0; /* Reset margin for smaller screens */
        margin-bottom: 15px;
        flex: 1 1 100%;
    }

    .item-content {
        flex: 1 1 100%;
    }
}




.package-value {
    margin-top: 5px;
    font-weight: 500;
    color: black;
}



/* Basic styling for modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    text-align: center;
}
.modal-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
/* Close button styling */
.close-button {
    position: relative;
    right: 10px;
    background: none;
    border: none;
    font-size: 15px;
    color: #999;
    cursor: pointer;
    width: 35px;
    height: 35px;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
    margin-bottom: 10px;
}
.close-button:hover {
    color: white;
    background-color: #1b5e20;
}

input#quantity {
    padding: 15px 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}



.package_homepage_container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.package_homepage_body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 5px;
    text-align: center;
}

.package_homepage_item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 10px;
    padding: 15px;
    background-color: #F1F8ED;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
    direction: rtl;
    gap: 10px;
    flex: 1 1 30%;
}


/* Responsive Styling */
@media (max-width: 768px) {
    .container, .box-container {
        padding: 15px;
    }

    .rewards-section {
        flex-direction: column;
        align-items: center;
    }

    .reward-item {
        width: 100%;
    }

    button, .button {
        font-size: 14px;
        padding: 8px 16px;
    }
    .package_homepage_item {
        flex: 1 1 30%; /* 3 items per row on larger screens */
    }
    .testimonial {
        flex: 1 1 40%; /* 2 items per row on medium screens */

    }
}

@media (max-width: 480px) {
    .container, .box-container {
        padding: 10px;
    }
    .package_homepage_item {
        flex: 1 1 40%; /* 2 items per row on medium screens */
    }

    .testimonial {
        flex: 1 1 100%; /* 2 items per row on medium screens */

    }
}

.packagesContainer {
    padding: 5px;
}

div#packagesContainer {
    margin-top: 20px;
}

.section_title{
    line-height: 1;
    margin-bottom: 5px;
    margin-top: 20px;
    font-size: var(--title_fontsize);
    color: var(--primary-color);
    text-align: center;
    position: relative;
}
.section_underline::after{
    content: "";
    width: 120px;
    height: 2px;
    display: block;
    background: var(--primary-color);
    margin: 0px 10px;
    margin: 15px auto;
    margin-bottom: 5px;
    border-radius: 23px;
}

.highlight {
    border: 2px solid #4CAF50;
    transition: border 0.3s ease-in-out;
}

.box-container .image_container {
    height: 200px;
    width: 100%;
    max-width: 100%;
}

.box-container .image_container img {
    height: 100%;
}
.social-icons a {
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    background: rgb(237, 239, 241);
    color: #0e6b38;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}