/* Mobile-only background image - Add to your custom.css file */

/* Only target mobile devices */
@media (max-width: 767px) {
  /* Change background image for banner section on mobile */
  .banner-sec.banner-image {
    background-image: url('../images/mobile-banner.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
  
  /* Ensure text is readable on the mobile background */
  .banner-area h2.banner-heading,
  .banner-area h4.banner-des {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
}

/* Fix for mobile text positioning - Add to your custom.css file */

@media (max-width: 767px) {
  /* Adjust the banner container on mobile */
  .banner-sec.banner-image {
    background-image: url('../images/mobile-banner.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    padding-top: 60px !important; /* Space for navigation */
    padding-bottom: 60px !important;
  }
  
  /* Adjust the text container */
  .banner-area {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }
  
  /* Make text fully visible */
  .banner-area h2.banner-heading {
    margin-bottom: 20px !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
  }
  
  .banner-area h4.banner-des {
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
  }
  
  /* Fix for the "Learn More" button */
  .banner-area .btn {
    margin-top: 25px !important;
  }
}

/* Center the "What to Expect" heading on all devices */

/* Target the specific heading */
h1.portfolio-heading, 
.section-heading h1.portfolio-heading,
#about h1.portfolio-heading,
.about-sec h1.portfolio-heading {
  text-align: center !important;
  width: 100% !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Target the section heading container */
.section-heading {
  text-align: center !important;
  width: 100% !important;
}

/* Additional specificity for the about section */
#about .section-heading {
  text-align: center !important;
}

/* Ensuring proper centering on all devices */
@media (min-width: 768px) {
  h1.portfolio-heading,
  .section-heading h1.portfolio-heading {
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  h1.portfolio-heading,
  .section-heading h1.portfolio-heading {
    text-align: center !important;
    margin-bottom: 20px !important;
  }
}

@media (min-width: 1024px) { /* Adjust for your breakpoints */
  .about-image {
    background-image: url('about-centered.png') !important;
    background-position: center;
  }
}

@media (max-width: 767px) { /* Adjust for mobile screens */
    .about-image img {
        padding-top: 45px; /* Adjust this value as needed */
    }
}


/* Mobile Background Image */
@media (max-width: 767px) { 
    .feature-sec.feature-image {
        background-image: url('../images/feature-image-mobile.png') !important;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 100vh; /* Ensure it fills the screen */
        width: 100%;
        display: flex;
        align-items: center; /* Centers text vertically */
        justify-content: center; /* Centers text horizontally if needed */
    }
}




/* Add the overlay to banner */
.banner-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust transparency (0.5 = 50% black overlay) */
}

/* Ensure content is above the overlay */
.banner-area {
    position: relative;
    z-index: 1;
    padding-top: 5px;
}

/* Text color stays readable */
.banner-heading,
.banner-des {
    color: #ffffff;
}

.banner-heading2 {
    font-family: 'Oswald Regular', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
}

.banner-image {
    background-image: url("../images/yellow_rose.png");
    background-position: top center;
    background-size: cover;
	background-repeat: repeat;
    min-height: 110vh; /* Increase height to prevent cutoff */
    height: auto; /* Allow height to adjust dynamically */
    display: flex;
    align-items: center; /* Keeps text centered vertically */
}

.about-sec .testimonial-carousel .testimonial-box .icon-holder i{
    color: #000000;
    font-size: 28px;
    display: inline-block;
    font-style: italic;
}
.about-sec  .testimonial-carousel .testimonial-box .user-name{
    color: #000000;
    font-size: 24px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

/* Change testimonial text color to black */
.about-sec .testimonial-box .testimonial-text {
    color: #000000 !important; /* Ensures text is black */
}

/* Change user name to black */
.about-sec .testimonial-box .user-name {
    color: #000000 !important; /* Ensures user name is black */
}

/* Optional: Make the quote icon black */
.about-sec .testimonial-box .icon-holder i {
    color: #000000 !important; /* Ensures the quote icon is black */
}

.about-sec .testimonial-details .text{
    margin-top: 40px;
}
.about-sec .testimonial-carousel{
    width: 58%;
    margin: 0 auto;
}

/* Center the testimonial carousel */
.testimonial-carousel {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically if needed */
    text-align: center;
    width: 100%;
}

/* Ensure the testimonials are properly positioned */
.testimonial-box.owl-carousel {
    margin: 0 auto; /* Centers the carousel */
    max-width: 80%; /* Adjust width as needed */
}

