/* Modern Responsive CSS for Better Mobile Experience */

/* General Mobile Styles */
@media (max-width: 767px) {

  /* Header Section */
.header_section {
     background-color: #25302f;
     padding: 10px 0;
      width: 100%;
      padding-bottom: 40px;
    
}

.header_bg {
    background: #000;
}

.homepage .header_section {
    background-image: url(../images/banner-bg.png);
    width: 100%;
    float: left;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px 0;
}
/* Logo */
.logo {
    width: 60%;
    margin: 0;
}

/* Navbar */
.navbar {
    position: fixed;  /* Keeps the navbar at the top */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #25302f; /* Ensures visibility */
    z-index: 9999;  /* Ensures it's above other content */
    padding: 10px 0;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.bg-light {
    background-color: #25302f;
}

/* Logo Size */
.navbar-brand {
    max-width: 80px; /* Reduce logo size on smaller screens */
}

/* Navbar Toggler (Hamburger Button) */
.navbar-toggler {
    font-size: 18px;
    border: none;
    outline: none;
    margin-left: auto;
}

/* Navbar Menu */
.navbar-collapse {
    position: absolute;
    top: 50px; /* Adjust according to navbar height */
    right: 0;
    width: 200px;
    background: #25302f;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px;
}

/* Navbar Items */
.navbar-nav .nav-item {
    width: 100%;
    text-align: center;
}

/* Navbar Links */
.navbar-light .navbar-nav .nav-link {
    text-align: center;
    padding: 8px;
    font-size: 14px;
    display: block;
    
}
    
    
    

     .banner_section {
        padding: 0;
        padding-top: 80px;
        text-align: center;
    }

    .banner_taital_main {
        text-align: left;
        padding: 0;
        width: 100%;
        margin: 0;
        margin-top: 150px;
        
    }

    .banner_text {
        font-size: 20px;
        color: white;
        margin: 0;
        margin-bottom: 0;
        padding: 0;
    }

    .banner_taital {
        font-size: 25px;
        font-weight: bold;
        color: white;
        margin: 0;
        margin-top: 0;
        padding: 0;
        
        line-height: 40px;
    }

    .social_icon ul {
        display: flex;
        justify-content: center;
        padding: 0;
        list-style: none;
        padding-top: 100px;
    }

    .social_icon ul li {
        margin: 0 10px;
    }

    .social_icon ul li a {
        font-size: 19px;
        color: #fff;
    }

    .box_main {
        width: 90%;
        padding: 40px 20px;
        margin: 20px auto;
        text-align: center;
    }

    .blog_section {
        height: 380px;
    }
    .readmore_bt_1 a {
        color: #252525;
        background-color: #fefefe;
    }
    .blog_section_2 {
        padding-top: 30PX;
    }
    .blog_box {
        margin-top: 30px;
    }
    .prep_text {
        font-size: 20px;
        padding: 90px 20px 20px 20px;
    }
    .mail_section_1 {
        width: 100%;
    }
    
    
    
    
    .play_icon img {
    width: 80px;
    margin-right: 220px;
    
    
    }
    
    
    
    
  

    .hire_text {
        font-size: 20px;
        margin-bottom: 15px;
    }

    
    
    
    .services_section_2 .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 10px;
    }

    .services_section_2 .col-lg-3 {
        flex: 0 0 80%; /* Adjusts width of each item */
        scroll-snap-align: center;
    }

    .box_main {
        text-align: center;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .services_text {
        font-size: 16px;
        margin-top: 10px;
    }

    .readmore_bt {
        text-align: center;
        margin-top: 15px;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
/* Popup Background */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    display: none;  /* Hide initially */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}


/* Popup Content */
.popup-content {
    background: white;
    width: 90%; /* Adjust width for mobile */
    max-width: 350px; /* Restrict max width */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Headings */
.popup-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Paragraph */
.popup-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Buttons */
.call-now-btn,
.request-callback-btn {
    display: block;
    text-decoration: none;
    width: 100%;
    margin-bottom: 10px;
}

.call-now-btn button,
.request-callback-btn button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

    
    
    
}
    



/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-expand-lg {
        padding: 15px 0;
    }

    .banner_taital {
        font-size: 40px;
    }

    .box_main {
        width: 75%;
    }
}

/* Small Desktop Styles */
@media (min-width: 992px) and (max-width: 1199px) {
    .banner_taital {
        font-size: 50px;
    }
}
