


/* ****TopBar**** */
@media (max-width: 768px) {
  .topbar .col-4 {
    display: none; /* Hide the right-side content in mobile */
  }
  .main-top-heading{
 font-size: 12px !important;
}
}

@media (max-width: 768px) {
  .topbar .col-12 {
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
    text-align: center;
  }
}



.main-top-heading{
 font-size: 14px;
}
/* Make the topbar sticky only for mobile devices */
@media (max-width: 768px) {
  .top-for-sticky {
    
    position: sticky;
    top: 0;
    z-index: 1030; 
    background-color: #17203a;
    color: #fff;
  }
  .mobile-heading {
    font-size: 18px;
    font-weight: 600;
    text-align: left; /* Center horizontally */
    /*padding-left: 4px;*/
  }

  .mobile-price {
    background-color: #ffad57;
    color: #000;
    font-size: 25px !important;
    font-weight: 700;
    padding: 5px 5px;
    line-height: 0.9;
    transform: rotate(-3deg) !important;
    display: inline-block;
  }

  .top-bar-contact-btn {
    border-radius: 20px; /* Round button */
    font-size: 14px; /* Adjust font size */
    padding: 6px 12px; /* Adjust padding for better aesthetics */
  }
}

/* Topbar General Styling */
.topbar {
  background-color: #17203a;
  color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Email Icon and Text Styling */
.right-style {
  color: #fff;
}

.right-style i {
  color: #fff; /* Icon Color */
}

.right-style a {
  color: #fff; /* Email Text Color */
  text-decoration: none; /* Optional: remove underline */
}

.right-style a:hover {
  text-decoration: underline; /* Optional: add underline on hover */
}


/* ******** */
/* ****Brand Logo Section**** */
/* ******** */
.custom-slider-wrapper {
    display: flex;
    /*width: 750px;*/
    margin: 0 auto;
    overflow: hidden;
    padding: 2.5rem;
    position: relative;
}

.custom-slider-inner-wrapper {
    display: flex;
    min-width: 200%;
    position: absolute;
    animation: scroll 20s linear infinite;
}
@media (max-width: 600px) {
  .custom-slider-wrapper {
    overflow: visible;
}
}

.custom-slider-item {
    min-width: 150px;
    padding: 0 20px;
}

.custom-slider-inner-wrapper img {
    max-width: 100%;
    height: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .custom-slider-wrapper {
        width: 95%;
        padding: 0;
    }
}

/*Above FAQ Section*/

@media (max-width: 600px) {
    .faq-above-section {
        font-size: 25px!important;
    }
}





/*Portfolio */
.portfolio-section {
            padding: 80px 0;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .section-subtitle {
            display: inline-block;
            color: #4361ee;;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            margin-bottom: 15px;
            font-size: 14px;
        }

        .section-title {
            font-weight: 600;
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #2b2d42;
        }

        .section-description {
            color: #8d99ae;
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
        }

        /* Portfolio Filter */
        .portfolio-filter {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 40px;
        }

        .filter-btn {
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
            background-color: white;
            color: #2b2d42;
        }

        .filter-btn:hover, .filter-btn.active {
            background-color: #4361ee;;
            color: white;
            border-color: #4361ee;;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
        }

        /* Portfolio Items */
        .portfolio-item {
            background-color: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            margin-bottom: 24px;
        }

        .portfolio-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(67, 97, 238, 0.15);
        }

        /* Fixed image container with consistent aspect ratio */
        .portfolio-img-container {
            width: 100%;
            height: auto; /* Fixed height for consistency */
            overflow: hidden;
            position: relative;
        }

        .portfolio-img {
            width: 100%;
            height: auto%;
            object-fit: cover; /* This ensures images fill the container without distortion */
            display: block;
            transition: transform 0.5s ease;
        }

        .portfolio-item:hover .portfolio-img {
            /*transform: scale(1.05);*/
        }

        .portfolio-content {
            padding: 20px;
            flex-grow: 1; /* Makes content area fill remaining space */
            display: flex;
            flex-direction: column;
        }

        .portfolio-category {
            display: inline-block;
            font-size: 12px;
            font-weight: 600;
            color: #4361ee;;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .portfolio-title {
            font-weight: 600;
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: #2b2d42;
        }

        .portfolio-description {
            color: #8d99ae;
            font-size: 14px;
            margin-bottom: 0px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex-grow: 1; /* Pushes the link to the bottom */
        }

        .portfolio-link {
            display: inline-flex;
            align-items: center;
            color: #4361ee;;
            font-weight: 500;
            font-size: 14px;
            text-decoration: none;
            transition: all 0.3s ease;
            margin-top: -10px; /* Ensures link stays at bottom */
        }

        .portfolio-link i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .portfolio-link:hover {
            color: #3f37c9;
        }

        .portfolio-link:hover i {
            transform: translateX(3px);
        }

        /* Pagination */
        .portfolio-pagination {
            display: flex;
            justify-content: center;
            margin-top: 50px;
        }

        .page-item {
            margin: 0 5px;
        }

        .page-link {
            color: #4361ee;;
            border: 1px solid #dee2e6;
            padding: 8px 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .page-link:hover {
            background-color: #4361ee;;
            color: white;
            border-color: #4361ee;;
        }

        .page-item.active .page-link {
            background-color: #4361ee;;
            border-color: #4361ee;;
            color: white;
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }
            
            .portfolio-img-container {
                height: 200px; /* Slightly smaller on mobile */
            }
        }

        /* Mobile filter buttons horizontal scroll */
@media (max-width: 768px) {
  .portfolio-filter {
    flex-wrap: nowrap;        /* keep them in one row */
    overflow-x: auto;         /* enable horizontal scroll */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    justify-content: flex-start; /* align left */
    gap: 8px;
    padding-bottom: 5px;      /* little space for scrollbar */
  }

  .filter-btn {
    flex: 0 0 auto;           /* prevent shrinking */
    white-space: nowrap;      /* stop text from breaking */
  }
}