/* ----------------------------------------------------------------

	Custom CSS



	Add all your Custom Styled CSS here for New Styles or

	Overwriting Default Theme Styles for Better Handling Updates

-----------------------------------------------------------------*/

.card:hover {
    color: black;
    cursor: pointer;
}

/* Wrapper to use flexbox for layout */
#wrapper {
    display: flex;
    flex-direction: column;
    /* Aligns content vertically */
    min-height: 100vh;
    /* Ensures the wrapper spans the full height of the viewport */
}

/* Content section should expand to push footer down */
#content {
    flex: 1;
    /* Makes this section take up the remaining space */
}

/* Footer styling */
.small-footer {
    background-color: #1c3f59;
    color: white;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    position: relative;
    /* Keep footer in normal flow */
}

.small-footer a {
    color: #4289c5;
    text-decoration: none;
}

.small-footer a:hover {
    text-decoration: underline;
}

/* Ensure the footer sticks to the bottom of the viewport if the content is short */
/* body:not(.content-long) .small-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
} */

/* .card-body {
    min-height: 270px;
} */

/* Base Style for Custom Social Icons */
.custom-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 22px;
    border-radius: 50%;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Icon Styling: Static */
.custom-social i {
    position: relative;
    z-index: 2;
    transition: color 0.1s ease;
}

/* Hover Effect: Only Circle Changes */
.custom-social:hover {
    transform: scale(1.3);
    cursor: pointer;
    /* Slightly enlarge the circle */
}

/* X (Twitter) Styling */
.custom-x {
    background-color: #1da1f2;
}

.custom-x:hover {
    background-color: #1a91da;
}

/* TikTok Styling */
.custom-tiktok {
    background-color: #000000;
}

.custom-tiktok:hover {
    background-color: #ff0050;
}

/* Instagram Styling */
.custom-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.custom-instagram:hover {
    background: linear-gradient(45deg, #bc1888, #cc2366, #dc2743, #e6683c, #f09433);
}

/* LinkedIn Styling */
.custom-linkedin {
    background-color: #0077B5;
}

.custom-linkedin:hover {
    background-color: #00669c;
}

/* WhatsApp Styling */
.custom-whatsapp {
    background-color: #25D366;
}

.custom-whatsapp:hover {
    background-color: #1ebe57;
}




.block-expand-categories h1,
.block-expand-categories h2,
.block-expand-categories h3 {
    font-family: Playfair Display, serif !important;
}

.block-expand-categories .expand-category {
    --height: 50vh;
    --responsive-height: 60px;
    --hover-flex: 10;

    position: relative;
    background-position: center center;
    background-size: cover;
    border-radius: 20px;
    margin: 10px 0;
    min-height: var(--responsive-height);
    cursor: pointer;
}

.block-expand-categories .expand-category h4 {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0;
    transform: translateY(-50%);
}

/* Larger Device */
@media (min-width: 992px) {
    .block-expand-categories .expand-category {
        height: var(--height);
        flex: 1;
        margin: 0 10px;
        transition: flex 1s ease;
        -webkit-backface-visibility: hidden;
        transform: translate3d(0, 0, 0);
    }

    .block-expand-categories:not(.on-click) .expand-category:hover,
    .block-expand-categories.on-click .expand-category.active {
        flex: var(--hover-flex);
    }

    .block-expand-categories .expand-category h4 {
        opacity: 1;
        top: auto;
        bottom: 10px;
        transform: none;
        transition: opacity .4s ease;
    }

    .block-expand-categories:hover .expand-category:not(.active):not(:hover) h4,
    .block-expand-categories.on-click .expand-category:not(.active) h4 {
        opacity: 0;
    }
}


/* Rotating Text */
@-webkit-keyframes rotating

/* Safari and Chrome */
    {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 20s linear infinite;
    -moz-animation: rotating 20s linear infinite;
    -ms-animation: rotating 20s linear infinite;
    -o-animation: rotating 20s linear infinite;
    animation: rotating 20s linear infinite;
}



/* Cursor Styling for AI section */
@media (min-width: 992px) {

    .canvas-cursor,
    .canvas-cursor-follower {
        position: fixed;
        pointer-events: none;
        z-index: 9999 !important;
    }


    body.block-misc-canvas-cursor,
    html.block-misc-canvas-cursor,
    .block-misc-canvas-cursor a {
        cursor: none;
    }

    .block-misc-canvas-cursor {
        --cursor-bg: #111;
        --cursor-scale: 0.8;
        --cursor-size: 20px;
    }

    /* Cursor Styling */
    .block-misc-canvas-cursor .canvas-cursor {
        position: absolute;
        width: 8px;
        height: 8px;
        border-radius: 100%;
        z-index: 1;
        transition: transform .5s ease, opacity .2s ease;
        user-select: none;
        pointer-events: none;
        transform: scale(var(--cursor-scale));
        background-color: var(--cursor-bg);
    }

    .block-misc-canvas-cursor .canvas-cursor::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        background-image: url('../external-media-content/cursor.svg');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        border-radius: 100%;
        opacity: 0;
    }

    .block-misc-canvas-cursor .canvas-cursor.cursor-active {
        opacity: 1;
        transform: scale(12);
    }

    .block-misc-canvas-cursor .canvas-cursor.cursor-active::before {
        opacity: 1;
    }

    .block-misc-canvas-cursor .canvas-cursor-follower {
        position: absolute;
        width: var(--cursor-size);
        height: var(--cursor-size);
        background-color: var(--cursor-bg);
        opacity: .2;
        border-radius: 100%;
        z-index: 1;
        transition: transform .6s ease, opacity .4s ease;
        user-select: none;
        pointer-events: none;
        transform: translate(14px, 14px);
    }

    .block-misc-canvas-cursor .canvas-cursor-follower.cursor-active {
        opacity: 0.3;
        transform: scale(0);

    }

    .block-misc-canvas-cursor .dark .canvas-cursor,
    .block-misc-canvas-cursor .dark .canvas-cursor-follower {
        --cursor-bg: #FFF;
    }

}

.dark-opacity-bg {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    width: fit-content;
}

.ai-label {
    position: absolute;
    top: 15px;
    right: 15px;
    /* background: rgba(0, 0, 0, 0.7); */
    /* Semi-transparent black */
    color: white;
    font-size: 2.2rem;
    /* Adjusted for responsiveness */
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ai-label {
        font-size: 1rem;
        /* Slightly smaller for mobile */
        padding: 6px 12px;
        top: 10px;
        right: 10px;
    }
}

.card-title-white {
    color: white;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    /* Transparent background */
    z-index: 1;
    /* Low positive z-index */
    pointer-events: none;
}

.pointer-hover:hover {
    cursor: pointer;
}

.mobile-margin-top {
    @media (max-width: 768px) {
        margin-top: 50px;
    }
}

.mobile-padding-bot {
    @media (max-width: 768px) {
        padding-bottom: 40px;
    }
}

/* Our Story Section Styling */
.our-story-section {
    position: relative;
    padding: 60px 20px 30px 20px;
    background: transparent;
    /* Transparent background */
    overflow: hidden;
    margin-top: 40px;
    /* Adds margin on top */
}

/* Constrain the width of the content and center it */
.our-story-section .heading-block {
    max-width: 800px;
    margin: 0 auto;
}

/* Increase font sizes and adjust colors for emphasis */
.our-story-title {
    font-size: 3rem;
    /* Bigger title */
    font-weight: bold;
    color: #4289c5;
    /* Use your theme color */
    margin-bottom: 20px;
}

.our-story-text {
    font-size: 1.50rem;
    /* Bigger paragraph text */
    color: #333;
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0px 100px;

    @media (max-width: 768px) {
        padding: 0px;
        font-size: 1.20rem;
    }

}

/* Button adjustments (if needed) */
.our-story-section button {
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
}

/* Optional: Add decorative background icons */
.our-story-section::before {
    content: "\f004";
    /* Example: Font Awesome heart icon */
    font-family: "Font Awesome 5 Free";
    /* Ensure the correct icon font is loaded */
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 100px;
    color: rgba(66, 137, 197, 0.1);
    z-index: 0;
}

/* Ensure text stays above the decorative icon */
.our-story-section .heading-block {
    position: relative;
    z-index: 1;
}

.custom-video-modal .modal-content {
    max-height: 90vh;
    /* 90% of viewport height */
}

.pdf-download {
    color: #4289c5;
}

.pdf-download:hover {
    cursor: pointer;
    color: #4289c5;
}

/* Ensure the navbar is styled for RTL */
.rtl #header .header-row {
    direction: rtl;
    text-align: right;
}

.rtl #logo {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
}

.rtl #logo a {
    display: flex !important;
    align-items: center !important;
}