/* Custom CSS for logo and navigation */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Main Header Styles */
header {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px;
}

.contact-infoo {
    position: absolute; /* Positioning the element absolutely */
    top: 1px; /* 1px from the top */
    left: 300px; /* 300px from the left */
    padding: 10px; /* Space inside the container */
}

/* Responsive Styles */
@media (max-width: 768px) { /* For screens smaller than or equal to 768px */
    .contact-infoo {
        left: 110px; /* Adjusted left position */
        top: 5px; /* Adjusted top position */
        width: calc(100% - 220px); /* Full width with some padding */
    }
}


.contact-items {
    display: flex; /* Align items in a row */
    align-items: center; /* Center vertically */
    margin-bottom: 10px; /* Space between items */
}

.contact-items i {
    font-size: 20px; /* Size of the icon */
    color: #333; /* Icon color */
    margin-right: 10px; /* Space between icon and text */
}

.contact-items span {
    font-size: 16px; /* Font size for text */
    color: #555; /* Text color */
}



/* Nav container with Flexbox for alignment */
header nav {
    display: flex;
    justify-content: space-between; /* Space between logo/contact info and nav links */
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

/* Nav links styling */
header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: black;
    text-decoration: none;
    padding: 5px 10px;
    display: inline-block;
}

header nav ul li a:hover {
    background: linear-gradient(135deg, #ff6b6b, #f66d9b, #ff9f68);
    border-radius: 5px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        display: none; /* Hide the menu by default */
    }

    header nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-opened nav ul {
        display: flex;
    }
}

.navbar-brand img {
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Make sure it doesn't exceed the container width */
    margin-right: 20px; /* Adjust right margin as needed */
}



/* For larger screens */
@media (min-width: 768px) {
    .navbar-brand img {
        height: 60px; /* Specific height for larger screens */
        margin-right: 500px; /* Adjust right margin for larger screens */
    }
}

/* For mobile screens */
@media (max-width: 480px) {
    .navbar-brand img {
        height: 40px; /* Adjust height for mobile devices */
        margin-right: 10px; /* Adjust right margin for mobile */
    }
}


/* Add this CSS for the toggle button */
.navbar-toggler {
    display: none; /* By default, hide the button */
    background: none;
    border: none;
    color: black; /* Change this as needed */
    font-size: 24px; /* Adjust size as needed */
    cursor: pointer;
    position: relative;
    left: 130px;
}



/* Show the toggle button on mobile screens */
@media (max-width: 768px) {
    .navbar-collapse {
         display: none;
        flex-direction: column;
        width: 90%;
        position: absolute;
        top: 80px;
        left: 20px;
        padding: 10px 0;
        background: #f2e6e8;
        z-index: 1000;
        text-align: center;
        height: 700px;
        font-size: 20px;
        border-radius: 8px;
    }

    .navbar-collapse.active {
        display: flex; /* Show when active */
        
    }

    .navbar-toggler {
        display: block; /* Show the button on mobile */
    }
}

/* Add any other existing CSS styles you have */


.container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to next line */
    justify-content: space-between;
    padding: 20px;
    margin-top: 80px; /* Adjust for fixed header */
}

.login-form {
    width: 100%;
    max-width: 370px; /* Optional: Set maximum width for the form */
    margin: auto; /* Center align the form */
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 10px;
    box-sizing: border-box;
}

button {
    width: 100%; /* Button takes up 75% of the parent width */
    padding: 10px 20px;
    background: #f4f4f4; /* Fallback color */     
    background: linear-gradient(135deg, #ff6b6b, #f66d9b, #ff9f68);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.d-flex {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Ensures flex items take full width */
}

.text-left {
    text-align: left;
    flex: 1; /* Allows the item to expand to the available space */
}

.text-right {
        text-align: right;
        flex: 1;
        position: relative;
    }

    .move-left {
        position: absolute;
        right: 20px; /* Aligns it to the right edge of the container */
        left: 20px; /* Moves it to the left by 20px (adjust as needed) */
    }

.small {
    font-size: 0.875rem; /* Adjust as needed */
}

.font-weight-600 {
    font-weight: 600;
}

.text-decoration-none {
    text-decoration: none;
    color: #007bff; /* Link color */
}

.text-decoration-none:hover {
    text-decoration: underline;
}

.apple-play-store {
    background: #f4f4f4; /* Fallback color */    
    background: linear-gradient(135deg, #ff6b6b, #f66d9b, #ff9f68);
    border: #f4f4f4;
   width: 240px;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 700px; /* Adjusted max width */
    margin: 20px auto;
    overflow: hidden;
    display: flex;
    height: 50vh; /* Adjusted height */
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; /* Ensure slides take full width */
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures the image covers the slide area */
}

.dots-container {
    position: absolute;
    bottom: 10px; /* Adjust as needed */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
    text-align: center;
    width: 100%; /* Ensure dots container spans full width */
}

.dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 5px; /* Adjust spacing */
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

/* Grid-based Services Section */
.services {
    padding: 40px 20px;
    background: #f4f4f4;
    text-align: center;
}

.services h2 {
    margin-bottom: 20px;
}

/* Grid container for service items */
.service-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    gap: 20px; /* Space between grid items */
}

/* Individual service item */
.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 50%;
}






/* Contact Info Section Styles */
.contact-info {
    background: #f1f1f1;
    padding: 20px 0;
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: space-between; /* Adjust space between items */
    flex-wrap: wrap;
}

.contact-details {
    flex: 1;
    margin-left: 35px;
}

.contact-details h2 {
    margin-bottom: 20px;
    white-space: nowrap; /* Prevents text from breaking into multiple lines */
}


.contact-item img {
    height: 50px;
    margin-top: 10px;
}

/* App Play Styles */
.app-play {
    flex: 1;
    margin-left: 25px;
}

.app-play .col-12 {
    text-align: center;
}

/* Footer Styles */
footer {
    background: #fff;
    color: black;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    clear: both;
    margin-top: auto;
}

.footer-links {
    flex: 1;
    display: flex;
    flex-direction: column; /* Display items vertically */
    align-items: flex-end; /* Align items to the right */
    margin-left: auto; /* Automatically adjust left margin for right alignment */
    margin-right: 70px; /* Add right margin for spacing */
}

.footer-links h2 {
    margin-bottom: 20px;
}

.footer-list {
    list-style-type: none;
    padding: 0;
    text-align: center; /* Align list items to the center */
    margin-right: 5px;
}

.footer-list li {
    margin: 10px 0;
}

.footer-list li a {
    color: black;
    text-decoration: none;
}

.footer-list li a:hover {
    text-decoration: underline;
}


.contact-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    margin-left: 100px; /* Shift form 70px to the right */
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-btn {
    background: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background: #0056b3;
}

/* social-media-icons */

.social-media-icons {
    display: flex;
    justify-content: center; /* Center align icons */
    margin-top: 10px; /* Top margin for spacing */
}

.social-icon {
    font-size: 24px; /* Icon size */
    margin: 0 10px; /* Space between icons */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition for color change */
}

/* Brand colors for each social media */
.social-icon.facebook {
    color: #3b5998; /* Facebook color */
}

.social-icon.instagram {
    color: #e1306c; /* Instagram color */
}

.social-icon.whatsapp {
    color: #25D366; /* WhatsApp color */
}

.social-icon.youtube {
    color: #FF0000; /* YouTube color */
}

h5 {
    color: initial; /* Reset color to default */
    font-family: initial; /* Reset font family */
    font-size: initial; /* Reset font size */
    font-weight: initial; /* Reset font weight */
    line-height: initial; /* Reset line height */
    margin: initial; /* Reset margin */
    padding: 20px; /* Reset padding */
}


/* Hover effect */
.social-icon:hover {
    opacity: 0.7; /* Slightly reduce opacity on hover */
}

/* About Us */
.how-it-work {
    padding: 50px 0;
}

.how-it-work .row {
    display: flex;
    align-items: center;
}

.how-it-work .img-wrap {
    flex: 1;
    text-align: right;
}

.how-it-work .img-wrap img {
    max-width: 650px;
    height: auto;
    border-radius: 8px;
}

.how-it-work .content-info-wrap {
    flex: 1;
    padding-left: 30px;
}

.how-it-work h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.how-it-work p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Responsive styling */
@media (max-width: 767px) {
    .how-it-work .row {
        flex-direction: column;
        text-align: center;
    }

    .how-it-work .content-info-wrap {
        padding-left: 0;
        padding-top: 20px;
    }

    .how-it-work h2 {
        font-size: 24px;
    }

    .how-it-work p {
        font-size: 15px;
    }
}
 
/*  End About Us */



/* Responsive adjustments */


@media (max-width: 768px) {
    .footer-links {
        margin-right: 20px; /* Adjust margin for smaller screens */
        align-items: center; /* Center items on smaller screens */
    }
}

@media (max-width: 576px) {
    .footer-links {
        margin-right: 10px; /* Further adjust margin for very small screens */
    }
}
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center items */
    }

    .contact-details {
        margin-right: 0; /* Remove right margin on small screens */
        margin-bottom: 20px; /* Add bottom margin */
    }

    .footer-links {
        align-items: center; /* Center footer links on small screens */
        margin-left: 0; /* Remove left margin on small screens */
    }
}

@media (max-width: 576px) {
    .service-items {
     grid-template-columns: 1fr; /* 1 item per row on small screens */
    }
} 

@media (max-width: 768px) {
    .contact-form {
        margin-left: 20px; /* Reduce margin on smaller screens for better fit */
    }
}


@media (max-width: 768px) {
    .slider-container {
        max-width: 600px; /* Smaller max width for tablets */
        height: 40vh; /* Adjusted height for smaller screens */
    }
}

@media (max-width: 480px) {
    .slider-container {
        max-width: 100%; /* Full width for mobile screens */
        height: 30vh; /* Adjusted height for mobile */
    }
}
    .form-group input,
    .form-group textarea {
        padding: 8px;
    }

    .submit-btn {
        padding: 8px 12px;
    }
