.blog-image {
    height: 78px;
    width: 79px;
    object-fit: cover;
}

.blog-avatar {
    height: 40px;
    width: 40px;
    object-fit: cover;
}

.alert-info {
    color: var(--bs-heading-color) !important;
    background-color: var(--sub-bg);
    ;
    border-color: var(--sub-bg);
    ;
}

.component-blog-cover {
    height: 254px;
    width: 370px;
    object-fit: cover;
}

.component-service-cover {
    height: 370px;
    width: 320px;
    object-fit: cover;
}

.blog-square {
    height: 238px !important;
    width: 236px !important;
    object-fit: cover !important;
}

.cookies-wrapper {
    position: fixed;
    right: -370px;
    bottom: 50px;
    max-width: 345px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px 25px 22px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999999;
}

.cookies-wrapper .title-box {
    display: flex;
    align-items: center;
    column-gap: 15px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cookies-wrapper .title-box i {
    font-size: 32px;
}

.cookies-wrapper .title-box h3 {
    font-size: 24px;
    font-weight: 500;
}

.cookies-wrapper .info {
    margin-bottom: 15px;
}

.cookies-wrapper .info p {
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

.cookies-wrapper .info p a {
    color: var(--primary-color);
    text-decoration: none;
}

.cookies-wrapper .info p a:hover {
    text-decoration: none;
}

.cookies-wrapper .buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.cookies-wrapper .button {
    width: calc(100% / 2 - 10px) !important;
    padding: 8px 0 !important;
    border: none !important;
    border-radius: 4px !important;
}

.cookies-wrapper.show {
    right: 20px;
}

.header__main .main-menu .dropdown-toggle::after {
    display: none !important;
}

.header__main .main-menu ul.dropdown-menu {    
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 10rem;
    padding: 15px;
    margin: 0;
    color: #fff;
    text-align: left;
    list-style: none;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    transform: translateY(-10px);
    flex-direction: column;
    gap: 5px;
    /* Add these properties */
    visibility: hidden;
    pointer-events: none;
}      
           
                        

.header__main .main-menu ul.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.header__main .main-menu .dropdown-item {
    display: block;
    width: 100%;
    padding: 0;
    /* Added padding for better click area */
    clear: both;
    font-weight: 400;
    color: none;
    /* White text */
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: background-color 0.3s ease;
}

.header__main .main-menu ul.dropdown-menu li a.dropdown-item {
    padding: 5px 0;
    background-color: none;
    color: #fff !important;
    text-align: left;
    font-size: 14px;
}

.header__main .main-menu ul .dropdown-menu li a.dropdown-item:hover {
    /* Subtle hover effect */
    background-color: rgba(0, 0, 0, 0) !important;
    color: #ffffff !important;
}
            

/* Mobile specific adjustments */

@media (min-width: 991.98px) {
    .header__main .main-menu ul.dropdown-menu {
        border: none;
        box-shadow: none;
    }
}


/* Mobile Styles */

@media (max-width: 991.98px) {
    .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.1);
        position: static;
        float: none;
        width: 100%;
        border: none;
        box-shadow: none;
        opacity: 1;
        transform: none;
        display: none;
        padding: 5px 10%;
    }
    .dropdown-menu.show {
        display: block;
    }
    .dropdown-item {
        padding-left: 2rem;
    }
}

.service-two__content p {
    text-overflow: ellipsis;
    overflow: hidden;
    max-height: 50px;
    text-wrap-mode: nowrap;
}

.how_it_works_image {
    position: relative;
    width: 100%;
    height: 100%;
}

.how_it_works_image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Gallery Sections */

.gallery-section {
    margin-bottom: 4rem;
    scroll-margin-top: 200px;
}

.section-title {
    position: relative;
    margin: 0 1.5rem 2rem;
    padding-bottom: 1rem;
    font-size: 1.75rem;
    color: #333;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #d10e00 -10.59%, #1a1a1a 300.59%);
    border-radius: 2px;
}


/* Gallery Grid */

.gallery-container .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.gallery-image-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    filter: blur(8px) brightness(0.7);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-container .gallery-card {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-container .gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.gallery-container .gallery-card:hover .gallery-image-background {
    opacity: 1;
}

.gallery-container .gallery-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    position: relative;
}

.gallery-container .gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.gallery-container .gallery-card:hover .gallery-thumbnail {
    transform: scale(0.95);
    border-radius: 8px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-caption {
    transform: translateY(0);
}

.zoom-icon {
    width: 40px;
    height: 40px;
    fill: white;
    opacity: 0.8;
    margin-top: 1rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-card:hover .zoom-icon {
    transform: scale(1);
}


/* Lightbox Styles (same as before) */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(90vh - 60px);
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-image.is-loaded {
    opacity: 1;
}

.lightbox-meta {
    color: white;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightbox-caption {
    font-size: 1.1rem;
}

.lightbox-counter {
    opacity: 0.7;
    font-size: 0.9rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.lightbox-nav:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lightbox.is-loading .lightbox-loader {
    opacity: 1;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
        padding: 0 1rem;
    }
    .section-title {
        font-size: 1.5rem;
        margin: 0 1rem 1.5rem;
    }
    .lightbox-nav {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    .lightbox-prev {
        left: 0.5rem;
    }
    .lightbox-next {
        right: 0.5rem;
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
}


/* Quick Navigation */

.gallery-quicknav {
    position: sticky;
    top: 108px;
    background: white;
    z-index: 100;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quicknav-inner {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.quicknav-inner::-webkit-scrollbar {
    display: none;
}

.quicknav-link {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.quicknav-link:hover,
.quicknav-link.active {
    background: #d10e00;
    color: white;
}

.project-slider-image {
    width: 100%;
    aspect-ratio: 0.9;
    object-fit: cover;
}

.header__main .main-menu ul {
    gap: 27px;
}

.logo {
    width: 125px;
}

.header__main .logo img {
    width: 125px;
}

.brand__image img {
    height: 30px;
    width: auto;
}

.page-fixed-icon {
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px var(--border);
    z-index: 99;
    position: fixed;
    height: 50px;
    width: 50px;
    transition: var(--transition);
    background: #fff;
    backdrop-filter: blur(3px);
}

.page-fixed-icon i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.phone-float {
  right: 25px;
    bottom: 95px;
}

.phone-float i {
    color: #0066aa;
    font-size: 25px;
}

.whats-app {
      right: 25px;
    bottom: 150px;
}

.whats-app i {
    color: #25D366;
    font-size: 27px;
}

.sidebar-area .social-icon a {
    width: 35px;
    height: 35px;
    line-height: 35px;
}