


/* Enable dropdown on hover */
 .nav-item.dropdown:hover .dropdown-menu {
     display: block;
     }
     .dropdown-menu {
          margin-top: 0; /* Optional: align better with nav */  }


/*### Index page cerousel scroll ###€######################################################*/


@media (max-width: 768px) {
    .carousel-inner img {
        max-height: 300px; /* Smaller height on mobile */
    }
}
/*### Our services 4 box single line ###*/

.service-box {
    width: 300px;
    height: 400px;
    flex-shrink: 0;
    position: relative;
}

.hover-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.hover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-content {
    position: absolute;
    bottom: -50%; /* Hidden below initially */
    left: 0;
    width: 100%;
    height: 50%; /* Covers half the image */
    background: rgba(0, 0, 0, 0.6); /* Transparent black background */
    color: #fff;
    text-align: center;
    padding: 20px;
    transition: bottom 0.4s ease;
}

.hover-card:hover .hover-content {
    bottom: 0; /* Slide up on hover */
}

.hover-content h4 {
    margin-bottom: 10px;
    font-size: 24px;
}

.hover-content p {
    font-size: 16px;
}

/*#### About us Section ########################################################################*/

.img-wrapper {
    width: 80%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    perspective: 1000px; /* Enable 3D perspective */
    transition: transform 0.3s ease;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

/* 3D Tilt Effect on Hover for Desktop Only */
@media (hover: hover) and (pointer: fine) {
    .img-wrapper:hover .about-img {
        transform: rotateY(20deg) rotateX(10deg) scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
}

/* On Mobile: No hover effect, just circle image */
@media (max-width: 768px) {
    .img-wrapper {
        max-width: 200px;
    }
}

/*#### services section ###################################################################*/

/* Background with vector design (responsive) */
.services-section-bg {
    background: url('img/vector-background.png') no-repeat center center/cover;
    background-color: #1f1d50; /* fallback color */
    color: #ffffff;
    position: relative;
}

/* Transparent service box */
.custom-service-box {
    background-color: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 60px 20px 20px 20px;
    width: 100%;
    max-width: 280px;
    color: white;
    position: relative;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease-in-out;
}

/* Hover effect for desktop */
.custom-service-box:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.custom-service-box:hover h5,
.custom-service-box:hover ul li {
    color: #000000;
}

/* Hexagon icon centered on top */
.hexagon-icon {
    width: 80px;
    height: 80px;
    background-color: #00b4fb;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hexagon-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Typography */
.custom-service-box h5 {
    font-weight: 600;
    font-size: 18px;
    color: inherit;
}

.custom-service-box ul li {
    font-size: 14px;
    margin: 6px 0;
    color: inherit;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .custom-service-box {
        padding: 60px 15px 20px 15px;
        max-width: 100%;
    }

    .custom-service-box h5 {
        font-size: 16px;
    }

    .custom-service-box ul li {
        font-size: 13px;
    }

    .hexagon-icon {
        width: 70px;
        height: 70px;
    }

    .hexagon-icon img {
        width: 36px;
        height: 36px;
    }
}


/*--######### Why Choose Us #######################################*/
.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.accordion-button {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #007bff;
    color: #fff;
}

.accordion-body {
    background-color: #ffffff;
    color: #333;
}

.accordion-collapse {
    transition: height 0.3s ease; /* Smooth expand/collapse */
}



/*####### Whatsapp Support ###########################*/

.quick-support-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #ffffff; /* WhatsApp Green */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.quick-support-icon:hover {
    transform: scale(1.1);
    background-color: #ffffff;
}

.quick-support-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}


/*############# sticky Social Icons #############################*/
.social-icons {
    position: fixed;
    top: 40%;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
    background-color: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 0; /* Square shape */
    transition: background-color 0.3s ease;
  }

  .social-icon.hovered {
    transform: scale(1.3);
    background-color: #555;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  