:root {
    --bs-primary: yellow;
    --secondary: #F2B705;
    --light: #F9FAF5;
    --dark: #1C1C1C;
}

/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 15px 10px;
    color: orange;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    background-color: lightgreen !important;
    color: black;
    text-decoration: underline !important;
}

.navbar-nav {
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 15px;
    color: #000 !important;
}

.navbar-brand h1 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
        color: green;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

/*** Header ***/
.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07) !important;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.top-bar a {
    color: white !important;
}

html, body {
    overflow-x: hidden;
    padding-top: 0px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 36px;
    height: 36px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

#cart-icon {
    font-size: 1rem;
}

.navbar-collapse {
    justify-content: normal;
}

.navbar-toggler {
    border: none;
}

/*** Carousel ***/
.carousel-caption {
    position: absolute;
    margin-top: -100px;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
    padding: 1rem;
    color: #fff;
}

.carousel-caption h5 {
    font-size: 2.5rem;
}

.carousel-caption p {
    font-size: 1.2rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: transparent;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: red;
    border: 5px solid var(--light);
    border-radius: 50%;
}

#header-carousel,
#header-carousel .carousel-inner,
#header-carousel .carousel-item {
    height: 100vh;
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: none !important;
}

.carousel-caption h1 {
    margin-top: 200px;
  font-size: 2rem;
  line-height: 1.4;
  font-weight: bold;
  word-break: normal; /* fix: don't force break mid-word */
  overflow-wrap: break-word;
  white-space: normal; /* fix: allow horizontal flow */
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.3rem;

  }
}

@media (max-width: 480px) {
  .carousel-caption h1 {
    margin-top: 102px;
    font-size: 1rem;
  }
}






    


    

    

    .carousel-caption p {
        font-size: 0.8rem;
    }

    #header-carousel,
    #header-carousel .carousel-inner,
    #header-carousel .carousel-item {
        height: 600px; /* Increased height */
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.5rem;
        height: 2.5rem;
        border: 4px solid var(--light);
    }

    .image-text-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .Image {
        width: 100%;
    }

   .text-paragraph {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0; /* Remove all padding */
    margin: 0 auto; /* Center horizontally */
    line-height: 1.5;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    text-align: center; /* Optional, helps with multi-line centering */
    max-width: 100%; /* Prevent overflow on small screens */
    overflow: visible;
    flex-wrap: wrap; /* For better wrapping on small screens */
}

@media (max-width: 768px) {
    .text-paragraph {
        padding: 0 1rem; /* Small horizontal padding for better readability */
        font-size: 16px; /* Optional font adjustment */
    }
}




/*** Page Header ***/
.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}

/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}

/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}

/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item img {
    transition: .5s;
    max-width: 100%;
    height: auto;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    color: yellow !important;
}

.testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    left: -25px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
}

.testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    right: -25px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-size: 18px;
    transition: 0.5s;
}








.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background-color: var(--primary);
    color: #fff;
}

/*** Footer ***/
.footer {
    background: #f1c40f;
    color: #333;
    font-size: 15px;
}

.footer h4,
.footer h1,
.footer a {
    color: #1a3c34;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .btn-outline-light {
    border-color: #1a3c34;
    color: #1a3c34;
    background-color: white;
    transition: all 0.3s ease;
}

.footer .btn-outline-light:hover {
    background-color: #1a3c34;
    color: white;
}

.copyright {
    background-color: #a9dbc5;
    padding: 15px 0;
    font-size: 14px;
}

/*** Vision Class ***/
.vision {
    text-align: center;
    padding-left: 50px;
    justify-content: center;
    display: flex; /* Ensure content is centered properly */
    align-items: center; /* Vertically align the content */
    flex-direction: column; /* Align the items vertically if required */
}
.input-with-btn {
  padding-right: 9rem; /* Adjust based on your button's width */
}
@media (min-width: 768px) {
  .input-with-btn {
    padding-right: 9rem; /* Adjust based on button width */
  }
}
