/********** Template CSS **********/
:root {
    --primary: #5c95b5;
    --secondary: #1b5a7e;
    --light: #EFFDF5;
    --dark: #2B3940;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* whatsapp button hover */
/* WhatsApp Floating Button */
.whats-float {
    position: fixed;
    bottom: 100px;
    right: 45px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: #fff;
    border-radius: 20%;
    z-index: 999;
    overflow: hidden;
    transition: width 0.4s ease-in-out;
    /* Add pulse animation base */
    animation: pulse 1.2s ease-out infinite;
}
.whats-float::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #25d366;
    border-radius: 20%;
    opacity: 0;
    /* Pulse animation for the pseudo-element */
    animation: pulse-ring 1.2s ease-out infinite;
}

.whats-float a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: #fff;
    padding: 0 8.5px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.whats-float i {
    font-size: 40px;
    margin-right: 10px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
}

.whats-float span {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover Effect */
.whats-float:hover {
    width: 200px;
    border-radius: 30px;
}

.whats-float:hover i {
    transform: rotate(360deg);
}

.whats-float:hover span {
    opacity: 1;
}
/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/*** 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;
}


/*** Button ***/
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid var(--primary);
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: var(--primary);
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(43, 57, 64, .5), rgba(43, 57, 64, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}



/* Base styling for category items */
.cat-item {
    display: block;
    background-color: #ffffff;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 60px rgb(235, 235, 235), -5px -5px 60px rgb(237, 237, 237);
    transition: all 0.5s;
}

/* Corner icon container */
.cat-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    border-radius: 0 15px 0 50px;
    transition: all 0.5s;
    z-index: 1;
}

/* Corner icon styling */
.cat-item .corner-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 25px;
    height: 25px;
    z-index: 2;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service-specific colors */
.cat-item.instagram::before {
    /* background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); */
    background: #ab99cd;
}

.cat-item.tiktok::before {
    /* background: linear-gradient(to right, #00f2ea, #ff0050); */
    background: #6f9683;
}

.cat-item.youtube::before {
    background: #c7e8b2;
}

.cat-item.twitter::before {
    background: #e7b7e6;
}

.cat-item.snapchat::before {
    background: #6a66dc;
}

.cat-item.facebook::before {
    background: #5b82d0;
}

.cat-item.telegram::before {
    background: #129ee3;
}

.cat-item.neos::before {
    background: #000000;
}

/* Hover effects */
.cat-item:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/* Main content styling */
.cat-item .content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cat-item .content img {
    height: 300px;          /* uniform height */
    width: auto;            /* maintains aspect ratio */
    object-fit: contain;    /* shows entire logo without cropping */
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cat-item i,
.cat-item h6,
.cat-item p {
    position: relative;
    z-index: 1;
    transition: all 0.5s;
    text-decoration: none;
}

/* Hover text color change */
.cat-item:hover i,
.cat-item:hover h6,
.cat-item:hover p {
    color: #ffffff !important;
}
/* .cat-item.snapchat:hover i,.cat-item.snapchat:hover h6{
    color: black !important;
} */

/* Remove default text-primary class from icons */
.col-lg-3 a{
    text-decoration: none;
}

/* Service-specific icon colors */
.cat-item.instagram i,.cat-item.instagram h6 { color: #6e43c3; }
.cat-item.tiktok i,.cat-item.tiktok h6 { color: #1C4130; }
.cat-item.youtube i,.cat-item.youtube h6 { color: #617A53; }
.cat-item.twitter i,.cat-item.twitter h6 { color: #8D499E; }
.cat-item.snapchat i,.cat-item.snapchat h6 { color: #040457;}
.cat-item.facebook i,.cat-item.facebook h6 { color: #4267B2; }
.cat-item.telegram i,.cat-item.telegram h6 { color: #005B94; }
.cat-item.neos i,.cat-item.neos h6 { color: #E50914; }


/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}
.nav-item a{
    text-decoration: none;
}
.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    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;
    border: 5px solid var(--primary);
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}


/*** Gallery ***/
/* ===== GALLERY SECTION STYLES - START ===== */
/* Custom Gallery Styles - Safe to add to existing CSS */

/* Gallery Section Container */
.gallery-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(0,0,0,0.02)"/><circle cx="80" cy="40" r="1" fill="rgba(0,0,0,0.02)"/><circle cx="40" cy="80" r="1" fill="rgba(0,0,0,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* Gallery Section Title */
.gallery-section .section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
    animation: galleryFadeInUp 1s ease-out;
}

.gallery-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #5c95b5;
    border-radius: 2px;
    animation: galleryExpandLine 1.2s ease-out 0.5s both;
}

/* Gallery Filter Buttons */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: galleryFadeInUp 1s ease-out 0.3s both;
}

.gallery-filter .filter-btn {
    padding: 12px 25px;
    background: #ffffff;
    color: #495057;
    border: 2px solid #dee2e6;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-filter .filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #5c95b5;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active {
    color: #050505;
    border-color: #5c95b5;
    transform: translateY(-3px);
    /* box-shadow: 0 5px 5px #5c95b5; */
}

.gallery-filter .filter-btn:hover::before,
.gallery-filter .filter-btn.active::before {
    left: 0;
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
    animation: galleryFadeInUp 1s ease-out 0.6s both;
}
@keyframes galleryFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Individual Gallery Items */
.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    opacity: 0;
    transform: translateY(50px);
    animation: galleryItemAppear 0.8s ease-out forwards;
    will-change: transform, opacity;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: visible;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8) saturate(1.2);
}
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    pointer-events: none;
    z-index: 2;
}
/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #5c95b5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .overlay-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    text-align: center;
    letter-spacing: 1px;
}

.gallery-overlay .overlay-category {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-item:hover .gallery-overlay .overlay-title,
.gallery-item:hover .gallery-overlay .overlay-category {
    transform: translateY(0);
}

/* Image Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: galleryModalFadeIn 0.3s ease-out;
}

.gallery-modal-content {
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: galleryModalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

.gallery-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.gallery-modal .close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    color: #ff6b6b;
}

/* Loading Animation for Filtered Items */
/* .gallery-item.gallery-showing {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: all 0.4s ease;
}

.gallery-item.gallery-hiding {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s ease;
} */


/* Keyframe Animations */
@keyframes galleryFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes galleryExpandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

@keyframes galleryItemAppear {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes galleryModalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes galleryModalSlideIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .gallery-filter {
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .gallery-filter .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .gallery-item {
        border-radius: 15px;
    }
    
    .gallery-overlay .overlay-title {
        font-size: 1.3rem;
    }
    
    .gallery-overlay .overlay-category {
        font-size: 0.9rem;
    }
    
    .gallery-modal .close {
        top: 15px;
        right: 20px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .gallery-section .section-title {
        font-size: 2rem;
    }
    
    .gallery-filter {
        justify-content: center;
    }
    
    .gallery-filter .filter-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-modal-content {
        max-width: 95%;
        max-height: 85%;
    }
}

/* Print Styles */
@media print {
    .gallery-section {
        background: white !important;
    }
    
    .gallery-filter {
        display: none;
    }
    
    .gallery-overlay {
        display: none;
    }
    
    .gallery-item {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* Accessibility Improvements */
.gallery-filter .filter-btn:focus {
    outline: 3px solid #5c95b5;
    outline-offset: 2px;
}

.gallery-item:focus {
    outline: 3px solid #5c95b5;
    outline-offset: 5px;
}

.gallery-modal .close:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .gallery-item,
    .gallery-overlay,
    .filter-btn,
    .gallery-modal,
    .gallery-modal-content {
        animation: none !important;
        transition: none !important;
    }
    
    .gallery-item:hover {
        transform: none !important;
    }
}

/* ===== GALLERY SECTION STYLES - END ===== */


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 2px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* team images */
.team-item img {
    height: 250px; /* or whatever fits your design */
    width: auto;
    object-fit: cover;
}
.team-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-item:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* subsidires desc */
.subsidiary {
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.subsidiary-box {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 100%;
  width: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 2rem;
}

.subsidiary-logo img {
  width: 120px;
  height: auto;
}

.subsidiary-text {
  position: relative;
  padding: 2rem;
  border-radius: 8px;
  flex: 1;
  overflow: hidden;
  color: rgb(14, 14, 14);
}

.subsidiary-text .background.meem-imp-bg {
  position: absolute;
  inset: 0;
  background: url('../img/meem-imp-bg.jpg') no-repeat center center/cover;
  opacity: 0.25; /* Change this for darker/lighter background */
  z-index: 0;
  filter: brightness(0.8);
}
.background.meem-dev-bg {
  background: url('../img/meem-dev-bg.jpg') no-repeat center center/cover;
  opacity: 0.4;
  z-index: 0;
  position: absolute;
  inset: 0;
  filter: brightness(0.8);
}
.background.meem-lanex-bg {
  background: url('../img/meem-lanex-bg.jpg') no-repeat center center/cover;
  opacity: 0.4;
  z-index: 0;
  position: absolute;
  inset: 0;
  filter: brightness(0.8);
}
.background.meem-nv-bg {
  background: url('../img/meem-nv-bg.jpg') no-repeat center center/cover;
  opacity: 0.4;
  z-index: 0;
  position: absolute;
  inset: 0;
  filter: brightness(0.8);
}
.background.qiwa-bg {
  background: url('../img/qiwa-bg.jpg') no-repeat center center/cover;
  opacity: 0.4;
  z-index: 0;
  position: absolute;
  inset: 0;
  filter: brightness(0.8);
}
.background.tayeb-bg {
  background: url('../img/tayeb-bg.jpg') no-repeat center center/cover;
  opacity: 0.4;
  z-index: 0;
  position: absolute;
  inset: 0;
  filter: brightness(0.8);
}
.background.meem-fight-bg {
  background: url('../img/meem-fight-bg1.jpg') no-repeat center center/cover;
  opacity: 0.4;
  z-index: 0;
  position: absolute;
  inset: 0;
  filter: brightness(0.8);
}

.subsidiary-text > *:not(.background) {
  position: relative;
  z-index: 1;
}

.subsidiary-text h2 {
  margin-top: 0;
}

.subsidiary-text ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}
@media (max-width: 768px) {
  .subsidiary-box {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
  }

  .subsidiary-logo img {
    width: 100px;
  }

  .subsidiary-text {
    padding: 1rem;
    text-align: center;
  }

  .subsidiary-text ul {
    text-align: left;
    padding-left: 1.2rem;
  }
}

/* timeline sectiom */
.timeline {
  position: relative;
  margin: 80px auto;
  padding: 0 20px;
  max-width: 900px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #ddd;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 60px;
}

.timeline-item.right {
  justify-content: flex-end;
}

.timeline-content {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f7f7f7;
  padding: 20px 30px;
  border-radius: 10px;
  width: 45%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.timeline-item.right .timeline-content {
  flex-direction: row-reverse;
}

.timeline-img {
  flex-shrink: 0;
}

.timeline-img img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
}

.timeline-text {
  flex: 1;
}

.timeline-text .year {
  font-size: 20px;
  font-weight: bold;
  color: #4A90E2;
  margin-bottom: 10px;
}

.timeline-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 30px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline-item:not(.right) .timeline-content::after {
  right: -8px;
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent #f7f7f7;
}

.timeline-item.right .timeline-content::after {
  left: -8px;
  border-width: 8px 8px 8px 0;
  border-color: transparent #f7f7f7 transparent transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item.right {
    justify-content: flex-start;
  }

  .timeline-content {
    width: 100%;
    flex-direction: row !important;
    margin-left: 40px;
  }

  .timeline-content::after {
    left: -8px !important;
    border-width: 8px 8px 8px 0 !important;
    border-color: transparent #f7f7f7 transparent transparent !important;
  }
}

/* ceo section */
.ceo-section {
  background: linear-gradient(to right, #ffffff, #f9f9f9);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.ceo-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  gap: 40px;
}

.ceo-image {
  flex: 1 1 300px;
  text-align: center;
}

.ceo-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

.ceo-image img:hover {
  transform: scale(1.05);
}

.ceo-message {
  flex: 2 1 500px;
}

.ceo-message h2 {
  font-size: 36px;
  color: #222;
  margin-bottom: 20px;
  font-weight: 700;
}

.ceo-message p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

.ceo-signature {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ceo-signature img {
  height: 60px;
  opacity: 0.8;
}

.ceo-signature p {
  margin: 0;
  font-size: 16px;
  color: #666;
}

@media (max-width: 768px) {
  .ceo-container {
    flex-direction: column;
    text-align: center;
  }
  .ceo-message {
    text-align: center;
  }
  .ceo-signature {
    justify-content: center;
  }
}

/* our vision section */
/* Three Column Showcase Section - Unique Class Names */

.three-col-showcase-wrapper {
    padding: 120px 0;
    min-height: 100vh;
}

.three-col-showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.three-col-showcase-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.three-col-showcase-main-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.three-col-showcase-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    text-align: justify;
}

/* Grid Layout */
.three-col-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Individual Items */
.three-col-showcase-item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.three-col-showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Image Wrapper */
.three-col-showcase-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.three-col-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.three-col-showcase-item:hover .three-col-showcase-img {
    transform: scale(1.1);
}

.three-col-showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.3), rgba(155, 89, 182, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.three-col-showcase-item:hover .three-col-showcase-overlay {
    opacity: 1;
}

/* Text Content */
.three-col-showcase-text-area {
    padding: 40px 35px;
    text-align: center;
}

.three-col-showcase-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.three-col-showcase-item-desc {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
    .three-col-showcase-wrapper {
        padding: 80px 0;
    }
    
    .three-col-showcase-container {
        padding: 0 15px;
    }
    
    .three-col-showcase-main-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .three-col-showcase-subtitle {
        font-size: 1.1rem;
    }
    
    .three-col-showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .three-col-showcase-img-wrapper {
        height: 220px;
    }
    
    .three-col-showcase-text-area {
        padding: 30px 25px;
    }
    
    .three-col-showcase-item-title {
        font-size: 1.3rem;
    }
    
    .three-col-showcase-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .three-col-showcase-main-title {
        font-size: 2rem;
    }
    
    .three-col-showcase-subtitle {
        font-size: 1rem;
    }
    
    .three-col-showcase-text-area {
        padding: 25px 20px;
    }
}

/* Additional Hover Effects */
.three-col-showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.three-col-showcase-item:hover::before {
    opacity: 1;
}

/* Smooth Animations */
@keyframes threeColShowcaseFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.three-col-showcase-item {
    animation: threeColShowcaseFadeInUp 0.6s ease forwards;
}

.three-col-showcase-item:nth-child(2) {
    animation-delay: 0.2s;
}

.three-col-showcase-item:nth-child(3) {
    animation-delay: 0.4s;
}

.section-titttle {
    background-color: var(--primary);
    height: 130px;
    border-radius: 10px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ceo podcast section */
#section_2 {
    background-color: #ffffff;
}

#section_2 h2 {
    color: #000000;
    font-size: 38px;
    margin: 0;
}

#section_2 h3 {
    color: #333333;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

#section_2 p {
    color: #717275;
    font-size: 18px;
    line-height: 1.6;
}

#section_2 a {
    color: var(--primary);
    text-decoration: underline;
}

#section_2 a:hover {
    color: #535da1;
}

#section_2 .section-title-wrap {
    background-color: var(--primary);
    height: 130px;
    border-radius: 10px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#section_2 .about-thumb {
    background-color: transparent;
    padding: 0 20px;
}

#section_2 .avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 100px;
    object-fit: cover;
}
@media (max-width: 768px) {
  #section_2 .section-title-wrap {
    flex-direction: column;
    height: auto;
    padding: 15px;
    text-align: center;
  }

  #section_2 .section-title-wrap h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  #section_2 .avatar-image {
    width: 60px;
    height: 60px;
  }

  #section_2 .about-thumb {
    padding: 0;
    margin-top: 20px;
    text-align: center;
  }

  #section_2 h3 {
    font-size: 24px;
  }

  #section_2 p {
    font-size: 16px;
    line-height: 1.5;
  }

  #section_2 .gallery-item {
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
  }

  #section_2 .video-play-icon {
    font-size: 2.5rem;
  }
}


/* language switcher */
.language-toggle-wrapper {
    align-self: center;
    margin-right: 10px;
}
@media (max-width: 991.98px) {
    .language-toggle-wrapper {
    align-self: center;
    margin-right: 10px;
    margin-bottom: 20px;
}
}
.language-switcher {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 40px;
}

.language-switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}

.select-ar,
.select-en {
    position: absolute;
    font-size: 14px;
    top: 12px;
    color: #000000;
    font-weight: 600;
}
.select-ar img,
.select-en img {
    vertical-align: inherit;  
}

.select-ar {
    left: 9px;
}

.select-en {
    right: 9px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:  var(--primary);
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 36px;
    width: 36px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider.round {
    border-radius: 40px;
}

.slider.round:before {
    border-radius: 50%;
}

input:checked + .slider:before {
    transform: translateX(50px);
}

input:focus + .slider {
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.3);
}

/* Hover effects */
.language-switcher:hover .slider {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.language-switcher:hover .slider:before {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Demo styling */
.demo-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}


/* Business Card Styles */
.ecard-body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #5c94b4 0%, #96bfd6 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}

.ecard-container {
    perspective: 1000px;
    width: 400px;
    height: 650px;
}

.ecard-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.ecard-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.ecard-front {
    background: linear-gradient(836deg, #5c94b4 40%, #96bfd6 55%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.ecard-back {
    background: linear-gradient(135deg, #5c94b4 0%, #96bfd6 100%);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: white;
}

.ecard-profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: fill;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.ecard-profile-img:hover {
    transform: scale(1.05);
}

.ecard-name {
    font-size: 28px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.ecard-brush-bg {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.ecard-brush-bg::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    height: 1.8em;
    background-image: url(../img/brush.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    pointer-events: none;
}

.ecard-title {
    font-size: 18px;
    color: black;
    margin-bottom: 15px;
    font-weight: 300;
}

.ecard-company {
    font-size: 20px;
    color: black;
    font-weight: 600;
    margin-bottom: 30px;
}

.ecard-description {
    font-size: 16px;
    color: black;
    font-weight: 300;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 20px;
    text-align: center;
    opacity: 0.9;
}

.ecard-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.ecard-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ecard-contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.ecard-contact-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.ecard-contact-text {
    font-size: 14px;
    font-weight: 400;
}

.ecard-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.ecard-social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ecard-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.ecard-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}

.ecard-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ecard-qr-code img {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #333;
    margin: 20px auto;
}

/* Responsive Design */
@media (max-width: 480px) {
    .ecard-container {
        width: 350px;
        height: 600px;
    }
    
    .ecard-name {
        font-size: 24px;
    }
    
    .ecard-profile-img {
        width: 120px;
        height: 120px;
    }
}

/* Animated background particles */
.ecard-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ecard-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ecard-float 6s ease-in-out infinite;
}

@keyframes ecard-float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}