
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}




.sidebar {
    flex: 0 0 260px;          /* slightly wider */

    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(224,0,36,.10);

    /* Sticky */
    position: sticky;
    top: 90px;                /* Adjust if your navbar height changes */
    align-self: flex-start;

    /* Prevents the sidebar from becoming taller than the screen */
    max-height: calc(100vh - 110px);
    overflow-y: auto;

    transition:
        box-shadow .25s ease,
        transform .25s ease;
}

.sidebar:hover{
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

/* Scrollbar */
.sidebar::-webkit-scrollbar{
    width:8px;
}

.sidebar::-webkit-scrollbar-thumb{
    background:#d2d2d2;
    border-radius:10px;
}

.sidebar::-webkit-scrollbar-thumb:hover{
    background:#E00024;
}



/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #E00024	;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* ==========================
   MOBILE PRODUCT PAGE
========================== */

@media (max-width: 430px){

    /* Stack filter above products */
    .products-container{
        display:flex;
        flex-direction:column;
        gap:20px;
    }

    /* Full-width filter */
    .filter-sidebar{
        width:100%;
        max-width:100%;
        position:static;
        margin:0;
        order:1;
    }

    /* Products below filter */
    .product-grid{
        order:2;
        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:12px;
    }

    /* Smaller cards */
    .product-card{
        min-height:auto;
        padding:10px;
    }

    .product-card img{
        max-height:110px;
    }

    .product-name{
        font-size:13px;
        line-height:1.3;
    }

    /* Remove inner scrolling from filter */
    .filter-sidebar{
        max-height:none;
        overflow:visible;
    }

}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/* Mobile Navbar */
@media (max-width: 991.98px){

    .navbar-collapse{
        width:100%;
        overflow:hidden;
    }

    .navbar-nav{
        display:grid !important;
        grid-template-columns:repeat(3,minmax(0,1fr));
        width:100%;
        margin-top:15px;
        padding-top:15px;
        border-top:1px solid #eee;
        gap:10px 8px;
    }

    .navbar .navbar-nav .nav-link{
        display:block;
        margin:0 !important;
        padding:8px 2px;
        text-align:center;
        font-size:13px;
        white-space:nowrap;
    }

    html,
    body{
        overflow-x:hidden;
    }
}

/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}





@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }

    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 6rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 4.5rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url("../img/solandaoutside for about.jpg") center center no-repeat;
    background-size: cover;
}
.headerlogo{
    width: 180px;
    height: auto;
    display: block;
}

@media (max-width: 991px){

    .headerlogo{
        width:140px;
    }

    .navbar-nav{
        text-align:center;
        padding-top:15px;
    }

    .navbar-nav .nav-link{
        padding:12px 0;
    }

}

/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

@media (max-width: 768px) {
    .about-img {
        padding-left: 0;
        text-align: center;
    }

    .about-img img {
        display: block;
        margin: 0 auto;
    }
}


@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}





/* PRODUCT GRID */
.product-grid {
  display: grid;
  margin-top: 20px;
  padding-top: 40px;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  flex: 1;
}


/* =========================
   PRODUCT GRID
========================= */
.product-grid {
  display: grid;
  margin-top: 0px;
  padding-top: 0px;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
	flex: 1;
}

/* =========================
   PRODUCT CARD
========================= */
.product-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* =========================
   SOLAHART SPECS (COLLAPSED)
========================= */
.product-card[data-brand="Solahart"] .solahart-specs {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* =========================
   SOLAHART EXPANDED
   (FULL ROW – PUSHES DOWN)
========================= */
.product-card[data-brand="Solahart"].expanded {
  grid-column: 1 / -1;
}

.product-card[data-brand="Solahart"].expanded .solahart-specs {
  max-height: 2000px;
  opacity: 1;
  margin-top: 15px;
}

/* =========================
   DEFAULT SOLAHART GRID
   (L-SERIES → 4 COLUMNS)
========================= */
.product-card[data-brand="Solahart"] .specs-grid {
  display: grid;
  grid-template-columns: 30% 23.33% 23.33% 23.33%;
  width: 100%;
  gap: 6px;
  font-size: 13px;
}

/* =========================
   J-SERIES GRID
   (5 COLUMNS × 4 ROWS)
========================= */
.product-card[data-brand="Solahart"] .specs-grid.grid-5 {
  display: grid;
  grid-template-columns: 26% 18.5% 18.5% 18.5% 18.5%;
  width: 100%;
  gap: 6px;
  font-size: 13px;
}

/* =========================
   2-COLUMN TABLES
   (DJV + SUNHEAT)
========================= */
.product-card[data-brand="Solahart"] .specs-grid.grid-2 {
  display: grid;
  grid-template-columns: 45% 55%;
  width: 100%;
  gap: 6px;
  font-size: 13px;
}

/* =========================
   HEADERS
========================= */
.product-card[data-brand="Solahart"] .spec-header {
  text-align: center;
  font-weight: 700;
  background: #e6f0ff;
  padding: 6px;
}

/* =========================
   LABEL COLUMN
========================= */
.product-card[data-brand="Solahart"] .spec-label {
  text-align: left;
  font-weight: 600;
  background: #f1f1f1;
  padding: 6px;
}

/* =========================
   VALUE CELLS
========================= */
.product-card[data-brand="Solahart"]
.specs-grid
> div:not(.spec-header):not(.spec-label) {
  text-align: center;
  padding: 6px;
}

.filter-btn{
    display:none;
}

/* =========================
   MOBILE FILTER
========================= */
@media (max-width:768px){

    /* Floating Filter Button */
    .filter-btn{
        display:flex;
        align-items:center;
        justify-content:center;
        position:fixed;
        bottom:20px;
        left:20px;
        z-index:9999;

        background:#E00024;
        color:#fff;
        border:none;
        border-radius:30px;
        padding:12px 18px;
        font-size:15px;
        font-weight:600;
        box-shadow:0 4px 12px rgba(0,0,0,.25);
        cursor:pointer;
    }

    /* Dark Overlay */
    .filter-overlay{
        position:fixed;
        inset:0;
        background:rgba(0,0,0,.45);
        backdrop-filter:blur(2px);

        opacity:0;
        visibility:hidden;

        transition:
            opacity .25s ease,
            visibility .25s ease;

        z-index:9997;
    }

    .filter-overlay.show{
        opacity:1;
        visibility:visible;
    }

    /* Filter Popup */
    .sidebar{
        display:block !important;

        position:fixed !important;
        top:50% !important;
        left:50% !important;

        width:85vw !important;
        max-width:360px !important;

        height:auto;
        max-height:75vh;

        background:#fff;
        padding:22px;
        border-radius:14px;
        box-shadow:0 20px 50px rgba(0,0,0,.30);

        overflow-y:auto;
        z-index:9998;

        opacity:0;
        visibility:hidden;

        transform:translate(-100vw, -50%);

        transition:
            transform .35s cubic-bezier(.22,.61,.36,1),
            opacity .25s ease,
            visibility .25s ease;
    }

    .sidebar.mobile-show{
        opacity:1;
        visibility:visible;
        transform:translate(-50%, -50%);
    }

    /* Products */
    .product-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

}
/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url("../img/Drone 50 employees1.png") left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}



/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: red;
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url("../img/carousel-2 contactvana.jpg") left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}

/*** Contact Hero Mobile ***/
@media (max-width: 430px) {

    /* Bring the hero upward */
    .page-header {
        padding-top: 20px !important;
        margin-bottom: 30px !important;
    }

    .page-header .container {
        padding-top: 20px !important;
    }

    /* Smaller white card */
    .page-header .bg-white {
        padding: 2rem 1.5rem !important;
    }

    /* Title */
    .page-header h1 {
        font-size: 2rem;
        margin-bottom: 12px !important;
    }

    /* Subtitle */
    .page-header p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

}



/*** Latest Events Mobile - Clean Reset ***/
@media (max-width: 430px) {

    #latestEventsCarouselMobile .d-flex {
        display: grid !important;
        grid-template-columns: 35px 1fr 35px;
        align-items: center !important;
        column-gap: 6px;
    }

    #latestEventsCarouselMobile .carousel-inner {
        width: 100%;
        overflow: hidden;
    }

    #latestEventsCarouselMobile .carousel-item {
        padding: 0 !important;
    }

    #latestEventsCarouselMobile .blog_home_1i {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 270px !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 18px !important;
    }

    #latestEventsCarouselMobile .blog_home_1i > a:first-child {
        display: block !important;
        width: 100% !important;
        order: 0 !important;
        text-align: center !important;
    }

    #latestEventsCarouselMobile .blog_home_1i img {
        display: block !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        max-width: 200px !important;
        height: 140px !important;
        object-fit: contain !important;
        margin: 0 auto 14px !important;
        transform: none !important;
    }

    #latestEventsCarouselMobile .blog_home_1i h5,
    #latestEventsCarouselMobile .blog_home_1i h3 {
        width: 100% !important;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #latestEventsCarouselMobile .blog_home_1i h5 {
        font-size: 14px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }

    #latestEventsCarouselMobile .blog_home_1i h3 {
        font-size: 19px !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
    }

    #latestEventsCarouselMobile .blog_home_1i .btn {
        margin-top: 0 !important;
        font-size: 13px !important;
        padding: 8px 18px !important;
    }

    #latestEventsCarouselMobile .btn-link {
        padding: 0 !important;
        margin: 0 !important;
        z-index: 5;
    }

    #latestEventsCarouselMobile .btn-link i {
        font-size: 1.8rem !important;
    }
}

/*** Mobile Footer ***/
@media (max-width: 430px) {

    .footer {
        padding: 18px 0 !important;
    }

    .footer .row {
        display: grid;
        grid-template-columns: (1fr 1fr);
        gap: 12px 16px;
    }

    .footer .col-lg-3,
    .footer .col-md-6 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0 !important;
    }

    .footer h5 {
        font-size: 14px;
        margin-bottom: 8px !important;
    }

    .footer p,
    .footer a,
    .footer .btn-link {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 4px !important;
    }

    .footer .btn-square {
        width: 30px;
        height: 30px;
        margin-right: 4px !important;
    }

    .footer img {
        max-width: 95px !important;
    }

    .footer .border {
        padding: 6px !important;
    }
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

/* Override all Bootstrap border color utilities globally */
.border,
.border-0,
.border-1,
.border-2,
.border-3,
.border-4,
.border-5,
.border-top,
.border-end,
.border-bottom,
.border-start,
.border-primary,
.border-secondary,
.border-success,
.border-danger,
.border-warning,
.border-info,
.border-light,
.border-dark,
.border-white {
    border-color: #E00024 !important; /* replace with your desired color */
}