/* ---------------------------------------
   MERAQI-INSPIRED CUSTOM STYLES
 --------------------------------------- */

body {
    background: rgb(61, 64, 91);
}

.background-white {
    background: #fff !important;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-icon {
    width: 60px;
    height: 60px;
    position: relative;
}

.preloader-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: preloader-pulse 1.5s infinite ease-in-out;
}

.preloader-icon span:first-child {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    animation-delay: 0s;
}

.preloader-icon span:last-child {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    animation-delay: 0.2s;
}

@keyframes preloader-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.5;
    }
}

/* Banner Image Styling */
.hero-section img.img-fluid {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
}

.hero-section img.img-fluid:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Crown Brand Accent */
.crown-accent {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 16L3 5L8.5 10L12 4L15.5 10L21 5L19 16H5M19 19C19 19.6 18.6 20 18 20H6C5.4 20 5 19.6 5 19V18H19V19Z'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 16L3 5L8.5 10L12 4L15.5 10L21 5L19 16H5M19 19C19 19.6 18.6 20 18 20H6C5.4 20 5 19.6 5 19V18H19V19Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* General Setup */
:root {
    --primary-color: #f97316;
    /* Orange accent color */
    --highlight-color: #f97316;
    /* Orange highlight */
    --dark-color: #1e1e1e;
    --light-gray: #f9f9f9;
    --text-gray: #6c757d;
    /* Orange Gradient for CTAs */
    --gradient-primary: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
    --gradient-hover: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
}

body .text-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    transition: all 0.3s ease;
    /* background: rgb(61, 64, 91); */
    background: transparent;
}

.navbar-brand {
    max-width: 250px !important;
    padding: 0px;
}

.navbar-brand-image {
    width: auto !important;
    height: 100px !important;
    /* Increased size for prominence */
    max-height: 100px;
    transition: all 0.3s ease;
    filter: none !important;
}

/* Footer specific logo size */
.site-footer .navbar-brand-image {
    height: 100px !important;
}

/* Shrink logo when navbar is sticky */
.sticky-wrapper.is-sticky .navbar-brand-image {
    height: 70px !important;
    max-height: 70px;
    transition: all 0.3s ease;
}

/* Compact navbar when sticky */
.sticky-wrapper.is-sticky .navbar {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.text-highlight {
    color: var(--highlight-color) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

/* Typography Hierarchy */
/* h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
} */

/* Manifesto Section */
.manifesto-heading {
    font-size: 2.5rem;
    line-height: 1.3;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
    /* Match reference serif style if needed, or remove if user prefers sans */
}

.manifesto-quote-wrap {
    border-left: 3px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
    padding-left: 3rem;
    height: 100%;
    /* Ensure full height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.manifesto-quote {
    font-family: 'DM Sans', sans-serif;
    /* Keep generic for side text */
    font-size: 1.25rem;
    font-style: italic;
    color: var(--dark-color);
    line-height: 1.6;
}

.manifesto-subtext {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
}



.trusted-logo {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
    max-height: 60px;
}

.client-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    font-weight: 600;
    color: #ccc;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border-color: #eee !important;
}

.client-box:hover {
    /* border-color: transparent !important; */
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
    /* background: linear-gradient(135deg, rgba(251, 146, 60, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%) !important; */
    background: #E8EDF5 !important;
}

.client-box img {
    max-height: 110px;
    /* filter: grayscale(1); */
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.client-box:hover img {
    filter: grayscale(0);
}

/* Services Grid */
.service-grid-item {
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
    border-color: transparent;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.03) 0%, rgba(249, 115, 22, 0.03) 100%);
}

/* Virtual Site Visit Badge for Content Production */
.virtual-site-badge {
    position: absolute;
    top: -10px;
    right: -5px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
    animation: pulse-badge 2s infinite;
}

.virtual-site-badge i {
    font-size: 0.9rem;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(251, 146, 60, 0.5);
    }
}

.service-icon i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.service-grid-item:hover .service-icon i {
    transform: scale(1.1);
}

.service-title {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Work Carousel */
.work-section .carousel-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.work-section .carousel-caption {
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.work-section .carousel-caption h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.work-section .carousel-caption p {
    margin-bottom: 0;
    color: var(--text-gray);
}

.view-all-link {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
    color: var(--primary-color);
}

/* Strategic Partnerships */
.partnerships-section {
    position: relative;
    background-image: url('../images/partnershipsBg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #fff;
}

.section-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

.partnerships-section .container {
    position: relative;
    z-index: 2;
}

.partnerships-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.1;
}

.partnerships-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.partner-item {
    padding: 1rem;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: scale(1.05);
}

.partner-item h5 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.partner-item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Trusted By / Clients Section */
/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonial-item {
    padding: 2rem 1rem;
}

.testimonial-quote {
    font-family: serif;
    color: var(--dark-color);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.2;
    font-weight: 400;
}

.testimonial-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.testimonial-designation {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-gray);
    font-weight: 500;
}

/* bxSlider Override for Testimonials */
.testimonials-section .bx-wrapper {
    margin-bottom: 30px;
    box-shadow: none;
    border: none;
    background: transparent;
}

.testimonials-section .bx-pager {
    bottom: -30px;
}

.testimonials-section .bx-pager.bx-default-pager a {
    background: #ccc;
    width: 10px;
    height: 10px;
}

.testimonials-section .bx-pager.bx-default-pager a:hover,
.testimonials-section .bx-pager.bx-default-pager a.active {
    background: var(--gradient-primary);
}

/* CTA Section Redesign */
.cta-section {
    background-color: #fff !important;
    overflow-x: hidden;
    /* Prevent horizontal scroll from tilted images */
}

.cta-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.cta-tagline {
    font-family: serif;
    font-style: italic;
    font-size: 1.75rem;
    color: var(--dark-color);
}

.cta-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
}

/* Collage Styles */
.collage-wrapper {
    position: relative;
    width: 100%;
    /* Ensure it doesn't overflow right */
    overflow: visible;
}

.collage-container {
    display: flex;
    gap: 20px;
    transform: rotate(15deg) translateY(-20px);
    /* Tilted look */
    width: 120%;
    /* Increased width to show cut images */
    margin-left: -10%;
    pointer-events: none;
    /* Images are decorative */
}

.collage-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.col-left {
    padding-top: 100px;
    /* Offset for staggered effect */
}

.col-right {
    padding-top: 0;
}


.collage-img-wrap {
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.collage-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

/* Footer Improvements */
.site-footer {
    font-size: 0.9rem;
    background-color: #000;
    /* Deep black for footer */
}

.site-footer h5 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #fff;
}

.site-footer a {
    transition: color 0.2s;
    text-decoration: none;
}

.site-footer a:hover {
    /* color: var(--primary-color) !important; */
}

.social-icon {
    padding-left: 0;
}

.social-icon-item {
    list-style: none;
}

.social-icon-link {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    /* Subtle dark highlight */
    color: #fff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 5px;
}

.social-icon-link:hover {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* Accelerate Section */
.accelerate-heading {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem;
    font-weight: 700;
}

.accelerate-section .lead {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.custom-btn.btn {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    padding: 16px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    /* Square button based on reference */
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-btn.btn:hover {
    background: var(--gradient-hover);
    border: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(251, 146, 60, 0.5);
    transform: translateY(-2px);
}

.accelerate-section .carousel-inner {
    border-radius: 15px;
    /* Soften the edges of the slider */
    overflow: hidden;
}

/* Hero Swiper Styles */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    padding: 0;
    overflow: hidden;
}

#section_1.hero-slider-section .heroSwiper {
    width: 100%;
    height: 100%;
}

#section_1.hero-slider-section .hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Zoom effect added via Swiper/GSAP */
    transition: transform 10s ease-out;
    transform: scale(1.1);
}

.swiper-slide-active .hero-slide-bg {
    transform: scale(1);
    transition: transform 10s ease-out;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

#section_1.hero-slider-section .slider-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#section_1.hero-slider-section .slider-nav-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

#section_1.hero-slider-section .slider-nav-btn::after {
    font-size: 1.2rem;
}

#section_1.hero-slider-section .slider-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

#section_1.hero-slider-section .slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

#section_1.hero-slider-section .slider-pagination .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: var(--gradient-primary);
    opacity: 1;
}

/* Base styles for GSAP target elements to avoid FOUC */
.animate-hero-title,
.animate-hero-subtitle,
.animate-hero-tags,
.animate-hero-btn,
.animate-inner-title,
.animate-inner-subtitle,
.animate-inner-block {
    visibility: hidden;
}

.banner-text-shadow {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

.hero-section.inner-hero {
    /* min-height: 60vh; */
}

/* Responsive Hero Slider & Banner Adjustments */
@media screen and (max-width: 991px) {
    .hero-slider-section {
        height: auto;
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-section.inner-hero {
        min-height: 60vh;
    }

    #section_1.hero-slider-section .row {
        flex-direction: column-reverse;
        text-align: center;
    }

    .banner-content {
        margin-top: 40px;
    }

    .banner-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .animate-hero-title {
        font-size: 2.2rem !important;
    }

    .animate-hero-subtitle {
        font-size: 1.1rem !important;
    }

    .cd-headline {
        font-size: 1.5rem !important;
    }
}

@media screen and (max-width: 649.98px) {
    .hero-slider-section {
        padding: 80px 0 40px;
    }

    .animate-hero-title {
        font-size: 1.8rem !important;
    }

    .animate-hero-subtitle {
        font-size: 1rem !important;
    }

    .cd-headline {
        font-size: 1.3rem !important;
    }

    .banner-content .custom-btn {
        width: 100%;
        margin-right: 0 !important;
    }

    .inner-hero h1 {
        font-size: 2rem !important;
    }

    #section_1.hero-slider-section .slider-nav-btn {
        display: none;
        /* Hide navigation arrows on small mobile for cleaner look */
    }
}

/* Services Header Updates */
.letter-spacing-2 {
    letter-spacing: 2px;
}

.view-all-services-link {
    color: var(--dark-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--dark-color);
    padding-bottom: 2px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.view-all-services-link:hover {
    color: transparent;
    border-color: transparent;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Work Slider Styles */
@media (min-width: 768px) {
    .work-slider-container {
        padding: 0 40px;
    }
}

#work-carousel-inner {
    margin: 0;
    padding: 0;
    list-style: none;
}

.work-slide {
    padding: 10px 0;
}

.bx-wrapper {
    border: none;
    box-shadow: none;
    background: transparent;
    margin-bottom: 0;
}

.work-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0 10px;
    /* Gap between cards */
}

.work-card img {
    transition: transform 0.6s ease;
    width: 100%;
    display: block;
}

.work-card:hover img {
    transform: scale(1.1);
}

/* Navigation Arrow Overrides */
.work-section .btn-outline-dark {
    border-width: 2px;
    transition: all 0.3s ease;
}

.work-section .btn-outline-dark:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

/* Common Navigation Arrow Styles for Work & Clients */
.work-section .btn-outline-dark,
.clients-section .btn-outline-dark {
    border-width: 2px;
    transition: all 0.3s ease;
}

.work-section .btn-outline-dark:hover,
.clients-section .btn-outline-dark:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.clients-section .bx-viewport {
    padding: 10px 0px 20px;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    /* Covers bottom half nicely with room for text */
    background: linear-gradient(to top, rgba(249, 115, 22, 0.95), rgba(249, 115, 22, 0.8) 60%, transparent);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 2.5rem 1.5rem 1.5rem;
    z-index: 2;
    display: flex;
    /* Helper for layout */
    flex-direction: column;
    justify-content: flex-end;
}

.work-card:hover .work-overlay {
    opacity: 1;
    visibility: visible;
}

.work-overlay h4,
.work-overlay p,
.work-overlay span {
    color: #fff !important;
}

.work-overlay h4 {
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.work-overlay p {
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.work-card:hover .work-overlay h4,
.work-card:hover .work-overlay p {
    transform: translateY(0);
}

.work-slider-container .bx-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-left: auto;
    margin-right: auto;
}

.clients-slider .bx-viewport {
    overflow: visible;
}

.clients-slider .client-slide {
    padding: 0 10px;
}

.clients-slider .client-box {
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.clients-slider .client-box:hover {
    transform: translateY(-5px);
}

.clients-section .bx-wrapper {
    border: none;
    box-shadow: none;
    background: transparent;
    margin-left: auto;
    margin-right: auto;
}

.footerTag {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

/* Base animation state - elements start hidden */
[data-animate] {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.8s;
    will-change: opacity, transform;
}

/* Animation activated state */
[data-animate].animate-in {
    opacity: 1;
    visibility: visible;
}

/* Fade In Up - elements slide up from below */
[data-animate="fade-up"] {
    transform: translateY(60px);
}

[data-animate="fade-up"].animate-in {
    transform: translateY(0);
}

/* Fade In Down - elements slide down from above */
[data-animate="fade-down"] {
    transform: translateY(-60px);
}

[data-animate="fade-down"].animate-in {
    transform: translateY(0);
}

/* Fade In Left - elements slide from left */
[data-animate="fade-left"] {
    transform: translateX(-60px);
}

[data-animate="fade-left"].animate-in {
    transform: translateX(0);
}

/* Fade In Right - elements slide from right */
[data-animate="fade-right"] {
    transform: translateX(60px);
}

[data-animate="fade-right"].animate-in {
    transform: translateX(0);
}

/* Scale In - elements scale up from smaller size */
[data-animate="scale-in"] {
    transform: scale(0.8);
}

[data-animate="scale-in"].animate-in {
    transform: scale(1);
}

/* Fade In - simple opacity fade */
[data-animate="fade-in"] {
    transform: none;
}

/* Stagger delay classes for sequential animations */
[data-animate-delay="1"] {
    transition-delay: 0.1s;
}

[data-animate-delay="2"] {
    transition-delay: 0.2s;
}

[data-animate-delay="3"] {
    transition-delay: 0.3s;
}

[data-animate-delay="4"] {
    transition-delay: 0.4s;
}

[data-animate-delay="5"] {
    transition-delay: 0.5s;
}

[data-animate-delay="6"] {
    transition-delay: 0.6s;
}

[data-animate-delay="7"] {
    transition-delay: 0.7s;
}

[data-animate-delay="8"] {
    transition-delay: 0.8s;
}

/* Duration variations */
[data-animate-duration="fast"] {
    transition-duration: 0.5s;
}

[data-animate-duration="slow"] {
    transition-duration: 1.2s;
}

/* Hero section animations - special treatment */
.hero-section [data-animate] {
    transition-duration: 1s;
}

/* Service items stagger animation */
.service-grid-item[data-animate] {
    transition-duration: 0.6s;
}

/* Work cards animation */
.work-slide[data-animate] {
    transition-duration: 0.7s;
}

/* Client boxes animation */
.client-slide[data-animate] {
    transition-duration: 0.5s;
}

.contact-form .form-control {
    min-height: 42px;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 649.98px) {

    /* Typography */
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    h4 {
        font-size: 1.25rem !important;
    }

    p,
    .lead {
        font-size: 1rem !important;
    }

    /* Navbar */
    .navbar-brand {
        max-width: 180px !important;
    }

    .navbar-brand-image {
        height: 50px !important;
        max-height: 50px !important;
    }

    .navbar-toggler {
        padding: 0.5rem;
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 0 40px !important;
        min-height: auto !important;
    }

    .hero-section .row {
        text-align: center;
    }

    .hero-section h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-section h4 {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .cd-headline {
        font-size: 1.25rem !important;
    }

    .hero-section img.img-fluid {
        margin-top: 1.5rem;
        max-width: 100%;
        height: auto;
    }

    .hero-section svg {
        display: none;
    }

    /* Section Padding */
    .section-padding {
        padding: 40px 0 !important;
    }

    /* Manifesto Section */
    .manifesto-heading {
        font-size: 1.5rem !important;
    }

    .manifesto-quote-wrap {
        padding-left: 1rem !important;
        margin-top: 2rem;
    }

    .manifesto-quote {
        font-size: 1.1rem !important;
    }

    /* Accelerate Section */
    .accelerate-heading {
        font-size: 1.75rem !important;
    }

    .accelerate-section .carousel {
        margin-top: 2rem;
    }

    /* Services Grid */
    .services-grid-section .col-lg-3 {
        margin-bottom: 1rem;
    }

    .service-grid-item {
        padding: 2rem 1rem !important;
    }

    .service-icon i {
        font-size: 2.5rem !important;
    }

    /* Work Section */
    .work-slider-container {
        padding: 0 10px !important;
    }

    .work-card {
        margin: 0 5px !important;
    }

    .work-card img {
        height: 250px !important;
        object-fit: cover;
    }

    .work-overlay {
        padding: 1rem !important;
    }

    .work-overlay h4 {
        font-size: 1.1rem !important;
    }

    .work-overlay p {
        font-size: 0.8rem !important;
    }

    /* Clients Section */
    .clients-slider .client-box {
        height: 100px !important;
        padding: 0.5rem !important;
    }

    .clients-slider .client-box img {
        max-height: 90px;
        max-width: 100%;
    }

    /* Partnerships Section */
    .partnerships-section h2 {
        font-size: 1.75rem !important;
    }

    .partner-item {
        margin-bottom: 1rem;
    }

    /* Testimonials Section */
    .testimonial-quote {
        font-size: 1.25rem !important;
    }

    .testimonial-name {
        font-size: 1.1rem !important;
    }

    .testimonial-designation {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }

    /* CTA Section */
    .cta-heading {
        font-size: 1.75rem !important;
    }

    .cta-tagline {
        font-size: 1.25rem !important;
    }

    /* Collage Styles */
    .collage-wrapper {
        margin-top: 2rem;
        display: none;
    }

    .collage-container {
        transform: rotate(0) !important;
        width: 100% !important;
        margin-left: 0 !important;
        flex-direction: column;
        gap: 10px;
    }

    .collage-column {
        padding-top: 0 !important;
        flex-direction: row !important;
    }

    .collage-column .collage-img-wrap {
        flex: 1;
    }

    .collage-img-wrap img {
        height: 150px !important;
        object-fit: cover;
    }

    /* Footer */
    .site-footer {
        padding: 2rem 0 !important;
    }

    .site-footer .navbar-brand-image {
        height: 60px !important;
        margin-bottom: 1rem;
        max-height: 60px !important;
    }

    .site-footer .col-lg-4,
    .site-footer .col-lg-2,
    .site-footer .col-lg-3 {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .site-footer h5 {
        font-size: 1rem !important;
    }

    .social-icon {
        justify-content: center;
    }

    .social-icon-item {
        margin: 0 5px;
    }

    /* Buttons */
    .custom-btn.btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }

    .btn-outline-dark {
        width: 40px !important;
        height: 40px !important;
        line-height: 28px !important;
    }

    /* View All Links */
    .view-all-services-link {
        font-size: 1rem !important;
    }

    /* Trusted By Section */
    .trusted-by-section .col-lg-3 {
        margin-bottom: 1rem;
    }

    .partner-item {
        flex-direction: column;
        text-align: center;
    }

    .partner-item i {
        font-size: 2rem !important;
        margin-bottom: 0.5rem;
        margin-right: 0px !important;
    }

    /* Event Pages */
    .hero-50 {
        min-height: 300px !important;
    }

    .custom-block-image-wrap {
        margin-bottom: 1rem;
    }

    .custom-block-info {
        padding: 1rem;
    }

    .events-detail-info .col-lg-4 {
        margin-bottom: 1rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.5rem !important;
    }

    .letter-spacing-2 {
        letter-spacing: 1px !important;
    }

    /* Virtual Site Badge */
    .virtual-site-badge {
        font-size: 0.6rem !important;
        padding: 4px 8px !important;
        top: -5px !important;
        right: -5px !important;
    }

    .virtual-site-badge i {
        font-size: 0.7rem !important;
    }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {

    /* Typography */
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.75rem !important;
    }

    /* Navbar */
    .navbar-brand {
        max-width: 200px !important;
    }

    .navbar-brand-image {
        height: 60px !important;
        max-height: 60px !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 0px !important;
    }

    #section_1.hero-slider-section .hero-slide {
        padding: 100px 0 60px !important;
    }

    .hero-section h2 {
        font-size: 2rem !important;
    }

    .hero-section h4 {
        font-size: 1.25rem !important;
    }

    /* Section Padding */
    .section-padding {
        padding: 60px 0 !important;
    }

    /* Manifesto */
    .manifesto-heading {
        font-size: 2rem !important;
    }

    /* Accelerate Section */
    .accelerate-heading {
        font-size: 2.25rem !important;
    }

    /* Services Grid */
    .service-grid-item {
        padding: 2.5rem 1.25rem !important;
    }

    /* Work Section */
    .work-card img {
        height: 280px !important;
        object-fit: cover;
    }

    /* CTA Section */
    .cta-heading {
        font-size: 2.5rem !important;
    }

    .cta-tagline {
        font-size: 1.5rem !important;
    }

    /* Collage Styles */
    .collage-container {
        transform: rotate(5deg) translateY(-10px);
        width: 110% !important;
        margin-left: -2% !important;
    }

    .collage-img-wrap img {
        height: 180px !important;
        object-fit: cover;
    }

    /* Footer */
    .site-footer .col-lg-4,
    .site-footer .col-lg-2,
    .site-footer .col-lg-3 {
        margin-bottom: 1.5rem;
    }

    /* Event Pages */
    .hero-50 {
        min-height: 350px !important;
    }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {

    /* Typography */
    h1 {
        font-size: 2.75rem !important;
    }

    h2 {
        font-size: 2.25rem !important;
    }

    h3 {
        font-size: 1.875rem !important;
    }

    /* Navbar */
    .navbar-brand {
        max-width: 220px !important;
    }

    .navbar-brand-image {
        height: 70px !important;
        max-height: 70px !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 0px !important;
    }

    #section_1.hero-slider-section .hero-slide {
        padding: 100px 0 60px !important;
    }

    .hero-section h2 {
        font-size: 2.25rem !important;
    }

    /* Section Padding */
    .section-padding {
        padding: 80px 0 !important;
    }

    /* Manifesto */
    .manifesto-heading {
        font-size: 2.25rem !important;
    }

    /* Accelerate Section */
    .accelerate-heading {
        font-size: 2.5rem !important;
    }

    /* CTA Section */
    .cta-heading {
        font-size: 3rem !important;
    }

    /* Collage Styles */
    .collage-container {
        width: 115% !important;
        /* margin-left: -7.5% !important; */
        margin-left: 6% !important;
    }

    .collage-img-wrap img {
        height: 200px !important;
        object-fit: cover;
    }

    /* Footer */
    .site-footer {
        padding: 3rem 0 !important;
    }

    /* Services Grid */
    .services-grid-section .col-md-6 {
        margin-bottom: 1rem;
    }

    /* Work Section */
    .work-card img {
        height: 300px !important;
        object-fit: cover;
    }
}

/* Large Devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {

    /* Navbar */
    .navbar-brand-image {
        height: 80px !important;
        max-height: 80px !important;
    }

    /* Section Padding */
    .section-padding {
        padding: 90px 0 !important;
    }

    /* Manifesto */
    .manifesto-heading {
        font-size: 2.25rem !important;
    }

    /* CTA Section */
    .cta-heading {
        font-size: 3.25rem !important;
    }

    /* Collage Styles */
    .collage-container {
        width: 120% !important;
        margin-left: -10% !important;
    }
}

/* Extra Large Devices (large desktops, 1200px and above) */
@media (min-width: 1200px) and (max-width: 1399.98px) {

    /* Collage Styles - slight adjustment for very large screens */
    .collage-container {
        width: 115% !important;
        margin-left: -7.5% !important;
    }
}

/* XXL Devices (extra large desktops, 1400px and above) */
@media (min-width: 1400px) {

    /* Ensure proper spacing on very large screens */
    .container {
        max-width: 1400px;
    }

    .collage-container {
        width: 110% !important;
        margin-left: -5% !important;
    }
}

/* ========================================
   SPECIFIC COMPONENT RESPONSIVE FIXES
   ======================================== */

/* Navbar Toggler - Ensure proper styling */
@media (max-width: 991.98px) {
    .navbar {
        padding: 10px 15px !important;
    }

    .navbar .container {
        position: relative;
    }

    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        padding: 0px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #3D405B;
        z-index: 1000;
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

        display: none;
    }

    .navbar-nav {
        padding: 10px 0;
    }

    .nav-item {
        margin: 5px 10px;
    }

    .nav-link {
        color: #fff !important;
        padding: 10px 15px !important;
    }

    .nav-link:hover {
        color: #f97316 !important;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        display: block;
    }

    .scroll-down-indicator {
        display: none !important;
    }

    .footerTag {
        display: block;
    }

    .collage-container {
        margin-top: 30px;
    }
}

/* Mobile Menu Animation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        transition: all 0.3s ease;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        opacity: 1;
        visibility: visible;
    }

    .navbar-collapse:not(.show) {
        opacity: 0;
        visibility: hidden;
    }
}

/* Carousel Responsive Fixes */
@media (max-width: 767.98px) {
    .carousel-item img {
        height: 300px !important;
        object-fit: cover;
    }

    .carousel-caption {
        bottom: 1rem !important;
        padding: 1rem !important;
    }

    .carousel-caption h5 {
        font-size: 1rem !important;
    }

    .carousel-caption p {
        font-size: 0.875rem !important;
        display: none;
    }

    .footer-details .navbar-brand {
        justify-content: center;
        margin: 0px auto;
    }

    .footer-details p {
        text-align: center;
    }
}

/* Slider Control Buttons Fixes */
.slider-control-btn {
    width: 50px !important;
    height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

.slider-control-btn i {
    font-size: 1.25rem;
}

/* Mobile Fixes for Slider Controls */
@media (max-width: 649.98px) {

    .slider-control-btn,
    .work-section .btn-outline-dark.rounded-circle,
    .clients-section .btn-outline-dark.rounded-circle {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
    }

    .slider-control-btn i,
    .work-section .btn-outline-dark.rounded-circle>i,
    .clients-section .btn-outline-dark.rounded-circle>i {
        font-size: 1.1rem;
        line-height: 1;
    }
}

/* Horizontal Overflow Fix for Mobile */
@media (max-width: 649.98px) {

    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        /* overflow-x: hidden; */
        max-width: 100%;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Fix: Navbar container must allow overflow for mobile menu */
    .navbar .container,
    .navbar .container-fluid {
        overflow-x: visible;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Fix any elements that might cause horizontal scroll */
    .hero-section,
    .services-grid-section,
    .work-section,
    .clients-section,
    .testimonials-section,
    .partnerships-section,
    .contact-section {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Fix images that might overflow */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Fix card overflow */
    .card {
        overflow: hidden;
    }

    /* Fix table overflow */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .collage-container {
        margin-left: 0px !important;
        justify-content: center;
        width: 100% !important;
    }
}

/* bxSlider Responsive Fixes */
@media (max-width: 649.98px) {
    .bx-wrapper {
        margin: 0 auto !important;
        max-width: 100% !important;
    }

    .work-slide {
        padding: 5px !important;
    }

    .client-slide {
        padding: 0 5px !important;
    }
}

/* Table Responsive Fixes */
@media (max-width: 767.98px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Form Elements Responsive */
@media (max-width: 649.98px) {
    .form-control {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 0.75rem 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Image Responsive Classes */
@media (max-width: 767.98px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .img-fluid {
        max-width: 100%;
        height: auto;
    }
}

/* Spacing Utilities for Mobile */
@media (max-width: 649.98px) {
    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .g-4 {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 1rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .carousel,
    .custom-btn-group,
    .social-icon {
        display: none !important;
    }

    .hero-section {
        min-height: auto !important;
        padding: 20px 0 !important;
    }

    .section-padding {
        padding: 20px 0 !important;
    }

    body {
        font-size: 12pt;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
    }

    img {
        max-width: 100% !important;
    }
}

/* High DPI / Retina Display Fixes */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .hero-section img.img-fluid,
    .service-grid-item img,
    .work-card img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Currently not implemented - placeholder for dark mode */
}

/* Landscape Orientation Fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto !important;
        padding: 40px 0 !important;
    }

    .hero-section img.img-fluid {
        max-height: 200px;
        width: auto;
    }
}

/* Notch Phone Support */
@supports (padding-top: env(safe-area-inset-top)) {
    .hero-section {
        /* padding-top: calc(40px + env(safe-area-inset-top)) !important; */
    }

    .navbar {
        padding-top: calc(10px + env(safe-area-inset-top)) !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .work-card:hover .work-overlay {
        opacity: 1;
        visibility: visible;
    }

    .service-grid-item:hover {
        transform: none;
    }

    .client-box:hover {
        transform: none;
    }

    /* Make interactive elements larger on touch devices */
    .nav-link {
        min-height: 44px;
    }

    .custom-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========================================
   SCROLL DOWN INDICATOR
   ======================================== */
.scroll-down-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    text-decoration: none;
    cursor: pointer;
}

.scroll-down-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.scroll-down-indicator:hover .scroll-down-mouse {
    border-color: #f97316;
}

.scroll-down-wheel {
    width: 4px;
    height: 8px;
    background-color: #f97316;
    border-radius: 2px;
    animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    60% {
        transform: translateY(10px);
        opacity: 0;
    }

    61% {
        transform: translateY(0);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-down-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.scroll-down-indicator:hover .scroll-down-label {
    color: #f97316;
}

/* Hide on small screens where hero may be short */
@media (max-width: 767.98px) {
    .scroll-down-indicator {
        bottom: 16px;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 28px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    color: #fff;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2147483647 !important;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.45);
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) !important;
    pointer-events: none !important;
    display: flex !important;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, box-shadow 0.3s ease;
}

.scroll-top-btn.show-scroll {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    box-shadow: 0 6px 22px rgba(251, 146, 60, 0.55);
    transform: translateY(-3px);
}

.scroll-top-btn:active {
    transform: translateY(0);
}

@media (max-width: 649.98px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    z-index: 100000;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

@media (max-width: 575px) {
    .hero-section {
        padding: 0px !important;
    }

    #section_1.hero-slider-section .hero-slide {
        padding: 60px 0px 40px;
    }
}

@media (max-width: 474px) {
    #section_1.hero-slider-section .hero-slide .cd-headline.rotate-1 .cd-words-wrapper {
        width: 100% !important;
    }

    #section_1.hero-slider-section .hero-slide .cd-words-wrapper b {
        text-align: center;
        width: 100%;
    }
}




/* ==========================================
   HAMBURGER
   ========================================== */

/* HAMBURGER */
#header .hamburger {
    cursor: pointer;
    font-size: 28px;
    color: var(--light-color);
}

/* MOBILE MENU PANEL */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: var(--primary-color);
    z-index: 999999;
    transition: 0.4s;
    padding: 30px;
    display: none;
}

.mobile-menu.active {
    left: 0;
}

/* MENU LINKS */
.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: var(--light-color);
    text-decoration: none;
    font-size: var(--menu-font-size);
}

/* CONTACT */
.mobile-menu-inner {
    /* height: 100%; */
    padding-left: 10px;
    padding-top: 30px;
}

.mobile-menu .contact-btn {
    width: 100%;
    text-align: center;
}

.mobile-menu .contact-box {
    display: grid;
}

.mobile-menu-close {
    color: var(--primary-color);
    font-size: 32px;
    position: absolute;
    padding: 5px 8px;
    border-radius: 30px;
    right: -22px;
    top: 12px;
    cursor: pointer;
    display: none;
}

/* OVERLAY */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999998;
    display: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


@media (max-width: 991.98px) {

    .mobile-menu,
    .menu-overlay {
        display: block;
    }
}