@import url('https://fonts.googleapis.com/css2?family=Cairo+Play:wght@200..1000&family=El+Messiri:wght@400..700&display=swap');

body {
    font-family: "El Messiri", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    
    direction: rtl; /* Set the text direction to RTL for Arabic */
}


.even_sections{
    background-color: rgb(255, 238, 218); /* section  background */
    color: #004d40; /* Dark green text */
    
    position:relative;
    z-index:100;
    
}
.odd_sections{
    background-color: #fefefe; 
    color: #004d40; 
}


/*---------------- Fixed images styling*/
.fixed-image {
    position: fixed;
    transform: translateY(-50%);
    width: 150px; /* Adjust the width as needed */
    height: auto;
    z-index: 1;
}

.fixed-image.top {
    top:30%;
}

.fixed-image.mid {
    top:50%;
}

.fixed-image.bot {
    top:70%;
}

.fixed-image.left {
    left: 0;
}

.fixed-image.right {
    right: 0;
}




/*---------------header - titles section*/

.btn-primary {
    background-color: #ff7043; /* Vibrant orange */
    border-color: #ff7043;
}
.btn-secondary {
    background-color: #66bb6a; /* Vibrant green */
    border-color: #66bb6a;
}
.navbar-light .navbar-nav .nav-link {
    color: #004d40; /* Dark green for nav links */
}
.navbar-light .navbar-brand {
    color: #004d40; /* Dark green for nav brand */
}

/*----------------register section*/
.reg-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin:200px;
}

.subscribe-container {
    position: relative;
    display: inline-block;
}
.subscribe-button {
    /*background: linear-gradient(45deg, #C6DF5F, #f06c00);*/
    background:#C6DF5F;
    color: #fff;
    border: none;
    padding: 25px 40px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    z-index: 2;
}
.subscribe-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}
.details {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #f06c00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translate(-50%, 20px);
    white-space: nowrap;
    z-index: 1;
}
.subscribe-container:hover .details {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.person {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: auto;
    transition: bottom 0.5s, opacity 0.5s;
    opacity: 0;
    z-index: 1;
}
.subscribe-container:hover .person {
    bottom: 60px;
    opacity: 1;
}




/*---------------------features*/
.feature-box {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
    text-align:right;
}
.feature-icon {
    width:100px;
    margin: 0 auto 20px auto;

}


/*----------------testimonial*/
.testimonial {
    padding: 20px;
    background-color: #fff;
    border: 2px solid #C6DF5F;
    margin: 20px 0;
}

.img-fluid {
    margin-bottom: 20px;
}


/*----------------gallery*/
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container img {
    max-width: 80%;
    height: auto;
    border: 2px solid #C6DF5F;
    border-radius: 8px;
}

.carousel-container button {
    background-color: #f06c00;
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
}

.carousel-container button:hover {
    background-color: #C6DF5F;
}

/*-------------Estimator*/

      .container-custom {
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .estimate {
            margin: 20px 0;
        }

        #monthly-estimate,
        #yearly-estimate {
            color: #C6DF5F;
            font-size:3.2rem;
            font-weight: bold;
        }

        #image-container img {
            max-width: 100%;
        }

        .estimator {
            background-color: #0e270b;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            color: white;
           text-align:right;
           direction:rtl;
           margin-top:20px;
           margin-bottom:20px;
        }

        .orange_col{
            color:rgb(236, 127, 77);
            font-weight:bolder;
        }
        
/*contactr us section*/
        .contact-form {
            background: rgba(255, 255, 255, 0.9); /* Slight transparency to show the background */
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
        }
        .form-label {
            color: #28a745; /* Green color to match a healthy diet theme */
        }
        .btn-primary {
            background-color: #28a745; /* Green button to match the theme */
            border: none;
        }
        .btn-primary:hover {
            background-color: #218838; /* Darker green on hover */
        }
        .social-icons a {
            margin: 0 15px;
            color: #28a745; /* Green color for social media icons */
            font-size: 24px;
        }
        .social-icons a:hover {
            color: #218838; /* Darker green on hover */
        }

@media screen and (max-width: 900px) {
    .fixed-image {
        display: none;
    }
}
        