/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-mabtel-light-yellow);
    font-weight: 700;
    font-size: 18px;
    outline: none;
    
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--bs-mabtel-yellow-dark) !important;
}

.navbar .navbar-nav .nav-link:target {
  display: block;
  padding-top: 50px; /* Adjust as needed to accommodate fixed navigation bar */
  margin-top: -50px; /* Adjust to align content correctly */
}


.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: inline-block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
    .navbar .navbar-brand .logo-custom {
    display: block;
    max-width: 250px;
    }
}

.navbar .navbar-brand .logo-custom {
    display: block;
    max-width: 190px;
}


@media (min-width: 992px) {
    .logo-custom{
    max-width: 200px;
    }
}


.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/*** Navbar End ***/


/*** Carousel Start ***/

.zoom-in {
  max-width: 100%;
  display: block;
  animation: zoomIn 20s; /* Adjust the duration as needed */
  animation-fill-mode: forwards;
  transform-origin: center;
  opacity: 0;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.2); /* Adjust the scaling factor as needed */
    opacity: 1;
  }
}


.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
    z-index: 999;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-dark);
    color: var(--bs-light);
    opacity: 1;
    border: 2px solid white;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-primary);
    color: var(--bs-dark);
    opacity: 1;
    transition: 0.5s;
    border: 2px solid white;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 2px;
    margin: 2px;
    border-radius: 1px;
    opacity: 1;
    transition: .4s;
}

#carouselId .carousel-indicators li:hover {
    width: 40px;
    opacity: 1;
    transition: .4s;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** Services Start ***/
.service-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bs-mabtel-light-blue);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--bs-white);
}

.service-icon {
    margin-bottom: 20px;
    color: var(--bs-white);
    transition: color 0.3s ease-in-out;
}

.service-card:hover .service-icon {
    color: var(--bs-mabtel-dark-blue);
}

.service-title {
    font-size: 1.5rem;
    color: var(--bs-white);
    margin-bottom: 15px;
    transition: color 0.3s ease-in-out;
}

.service-card:hover .service-title {
    color: var(--bs-mabtel-dark-blue);
}

.service-description {
    font-size: 1rem;
    color: var(--bs-white);
    transition: color 0.3s ease-in-out;
}

.service-card:hover .service-description {
    color: var(--bs-mabtel-dark-blue);
}
/*** End Services Start ***/


/*** Horizontal Tab Buttons - Full Width ***/
.tab-buttons-horizontal {
    display: flex;
    width: 100%;
}

.tab-button-horizontal {
    flex: 1; /* Each button takes equal width */
    background-color: var(--bs-white);
    color: var(--bs-mabtel-dark-blue);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
    position: relative;
    top: 2px; /* Align with the border */
    margin: 10px;
}

.tab-button-horizontal.active {
    background-color: var(--bs-mabtel-light-yellow);
    color: var(--bs-mabtel-dark-blue);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.tab-button-horizontal:hover {
    background-color: var(--bs-mabtel-light-yellow);
    color: var(--bs-mabtel-dark-blue);
}

/*** Horizontal Tab Content ***/
.tab-content-horizontal {
    background-color: var(--bs-mabtel-dark-blue);
    padding: 30px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.tab-pane-horizontal {
    display: none;
}

.tab-pane-horizontal.active {
    display: block;
}

.tab-pane-horizontal h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--bs-mabtel-light-yellow);
}

.tab-pane-horizontal p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--bs-white);
}

.tab-pane-horizontal .btn {
    background-color: var(--bs-mabtel-yellow-dark);
    color: var(--bs-mabtel-dark-blue);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.tab-pane-horizontal .btn:hover {
    background-color: var(--bs-mabtel-light-yellow);
    color: var(--bs-mabtel-dark-blue);
}

/*** Image Styling ***/
.tab-pane-horizontal img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
/*** End Vertical Tab Buttons ***/

/*** Services Section ***/
.services-item {
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
}

.services-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Icon Styling */
.services-content-icon i {
    color: var(--bs-mabtel-light-blue);
    transition: all 0.3s ease-in-out;
    display: inline-block; /* Ensures proper positioning */
    font-size: 4rem;
    margin-bottom: 20px; /* Adds space below the icon */
}

/* Fix for Hover Animation */
.services-item:hover .services-content-icon i {
    animation: bounce 0.6s ease-in-out;
    color: var(--bs-mabtel-light-blue);
}

/* Adjusted Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px); /* Prevents excessive movement */
    }
}

/* Title & Description */
.services-content-icon h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--bs-mabtel-dark-blue);
}

.services-content-icon p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}


/*** Services Section - Premium Styling with Correct Colors ***/

#services {
    background: var(--bs-mabtel-dark-blue); /* Section Background */
    padding: 80px 0;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.services-item2 {
    background: linear-gradient(135deg, var(--bs-mabtel-light-blue), var(--bs-mabtel-dark-blue));
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.services-item2:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Icon Styling */
.services-icon {
    width: 80px;
    height: 80px;
    background: var(--bs-mabtel-light-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.services-icon i {
    font-size: 2.5rem;
    color: var(--bs-mabtel-dark-blue);
    transition: color 0.3s ease;
}

.services-item2:hover .services-icon {
    background: var(--bs-mabtel-yellow-dark);
}

.services-item2:hover .services-icon i {
    color: var(--bs-white);
}

/* Content Styling */
.services-content {
    flex-grow: 1;
}

.services-content h4 {
    color: var(--bs-white);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.services-content p {
    color: var(--bs-white);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Decorative Line Animation */
.services-item2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--bs-mabtel-light-yellow);
    transition: width 0.3s ease, left 0.3s ease;
}

.services-item2:hover::after {
    width: 100%;
    left: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }

    .services-item2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .services-icon {
        margin-bottom: 15px;
    }
}
/*** End Services ***/

/* Custom Pricing Section Styling */
#plans {
    background-color: var(--bs-mabtel-dark-blue);
    padding: 80px 0;
}

#plans .text-primary {
    color: var(--bs-mabtel-yellow-dark) !important;
}

#plans .text-white {
    color: var(--bs-white) !important;
}

#plans .custom-pricing {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#plans .custom-pricing:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#plans .custom-pricing-2 {
    background-color: var(--bs-white);
    border: 1px solid var(--bs-mabtel-light-blue);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

#plans .custom-pricing-2:hover {
    background-color: var(--bs-mabtel-light-blue);
    border-color: var(--bs-mabtel-dark-blue);
}

#plans .custom-pricing-2:hover .text-dark-ref,
#plans .custom-pricing-2:hover .text-primary {
    color: var(--bs-mabtel-light-yellow) !important;
}

#plans .custom-pricing-2:hover .linner {
    background-color: var(--bs-mabtel-yellow-dark);
}

#plans .custom-pricing-2:hover .btn {
    background-color: var(--bs-mabtel-yellow-dark) !important;
    border-color: var(--bs-mabtel-yellow-dark) !important;
}

#plans .custom-pricing-list-items ul {
    list-style: none;
    padding: 0;
}

#plans .custom-pricing-list-items ul li {
    margin-bottom: 10px;
    color: var(--bs-mabtel-dark-blue);
    font-size: 16px;
}

#plans .custom-pricing-list-items ul li p {
    margin: 0;
}

#plans .linner {
    width: 50px;
    height: 2px;
    background-color: var(--bs-mabtel-yellow-dark);
    margin: 0 auto;
}

#plans .btn {
    background-color: var(--bs-mabtel-yellow-dark);
    border: none;
    transition: background-color 0.3s ease;
}

#plans .btn:hover {
    background-color: var(--bs-mabtel-light-yellow) !important;
    color: var(--bs-mabtel-dark-blue) !important;
}

#plans .position-absolute.bg-primary {
    background-color: var(--bs-mabtel-yellow-dark) !important;
    color: var(--bs-white) !important;
}

#plans .fa-wifi,
#plans .fa-tv,
#plans .fa-mobile {
    color: var(--bs-mabtel-dark-blue);
}

#plans .custom-pricing-2:hover .fa-wifi,
#plans .custom-pricing-2:hover .fa-tv,
#plans .custom-pricing-2:hover .fa-mobile {
    color: var(--bs-mabtel-light-yellow);
}


/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: var(--bs-primary);
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background-color: #171422;
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;

}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(23, 20, 34, 0.5), rgba(230, 250, 245, 0.5)), url(../img/background.png) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #26d48c;
}




/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}

/*** Footer End ***/