/*
Theme Name: Cybertize Group Theme
Theme URI: https://thecybertize.com
Author: Cybertize Technologies Private Limited
Author URI: https://cybertizeweb.com
Description: Custom Theme for Cybertize
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: TheCybertize
*/

/* Apply Inter to the whole site */
body {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 600;
}

h4 {
    font-weight: 500;
}

h5 {
    font-weight: 400;
}

h6 {
    font-weight: 300;
}

/* Logo Styling */
.logo-img {
    height: 53px;
    width: auto;
}

/* Hamburger Icon Styling */
.custom-toggler {
    border: none;
    background: transparent;
    padding: 0.25rem;
}

.custom-toggler:focus {
    outline: none;
    box-shadow: none;
}

.hamburger-icon {
    width: 28px;
    height: auto;
    display: block;
}

/* Mega Menu Styling */
.dropdown-mega .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    border-top: 3px solid #0d6efd;
    background-color: #212529;
    border-radius: 0;
}

.dropdown-mega .dropdown-item {
    color: #909090;
    padding: 0.25rem 0;
    font-size: 14px;
    font-weight: 600;
}

.dropdown-mega .dropdown-item:hover {
    color: #ffffff;
    background-color: transparent;
}

.dropdown-mega h6 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #adb5bd;
}


/* Full-width dropdown for tablets (including iPad Pro) */
@media (hover: none) and (pointer: coarse) {
    .dropdown-mega .dropdown-menu {
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
    }
}


/* Desktop & Laptop Only */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
    .dropdown-mega .dropdown-menu {
        width: 72%;
        left: 50%;
        transform: translateX(-50%);
        border-top: 3px solid #0d6efd;
        background-color: #212529;
        border-radius: 0;
        z-index: 1060;
        position: absolute;
    }

    /* Dim background when mega menu is open */
    body.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.85);
        /* dark dim */
        backdrop-filter: blur(4px);
        /* blur effect */
        -webkit-backdrop-filter: blur(4px);
        /* Safari support */
        z-index: 1050;
        pointer-events: none;
        transition: all 0.3s ease;
    }
}


body {
    background-color: #121212;
    /* Dark background */
    color: #e9e9e9;
    /* Light text color */
}

/* Headings & text */
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a {
    color: inherit;
    /* inherit light text color */
}

/* Links */
a {
    color: #3b89ff;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #66b2ff;
    text-decoration: underline;
}

/* Navbar and dropdown menu */
.navbar,
.dropdown-menu {
    background-color: #212529;
    /* Bootstrap dark navbar bg */
}

/* Other components you add can override or inherit accordingly */


/* Global link styling */
a {
    color: #efefef;
    /* Bootstrap primary blue for normal links */
    text-decoration: none;
    /* No underline by default */
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #fff !important;
    /* Soft light gray on hover/focus */
    text-decoration: none;
    /* Remove underline on hover */
    outline: none;
    /* Optional: remove focus outline, but consider accessibility */
}

/* Optional: add subtle focus style for accessibility */
a:focus-visible {
    outline-offset: 2px;
}

.list-unstyled {
    margin-bottom: 22px;
}

.nav-link:focus-visible {
    outline: 0;
    box-shadow: none;
}

@media (min-width: 992px) {
    .nav-item.dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
    }

    /* Keep menu open when hovering nav-item OR dropdown-menu itself */
    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown:focus-within .dropdown-menu,
    .nav-item.dropdown .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
    }
}


@media (min-width: 992px) {

    /* Add right margin between nav items on desktop/laptop */
    .navbar-nav>.nav-item {
        margin-right: 1rem;
        /* Adjust spacing as you like */
    }

    /* Remove margin from last nav item */
    .navbar-nav>.nav-item:last-child {
        margin-right: 0;
    }
}

/* after hero */

/* Transparent fixed navbar on top */


/* Hero section full viewport height minus nav height */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 5%;
    color: white;
    z-index: 1;
    /* on top of video */
    padding-top: 56px;
    /* nav height approx */
}

/* Background video */
.hero video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Content block */
.hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 2;
}

/* Button style */
.hero-content .btn {
    background-color: #007bff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.hero-content .btn:hover {
    background-color: #0056b3;
}

.nav-link {
    font-size: 12px;
    font-weight: 600;
    color: rgb(255 255 255 / 85%) !important;
}


/* Mobile & Tablet (default) */
.cybertize-custom-nav {
    background-color: rgb(18 18 18) !important;
    transition: background-color 0.3s ease;
}

nav.navbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: background-color 0.3s ease;
}

/* Desktop & Laptop */
/* Base navbar styles */
nav.navbar.cybertize-custom-nav {
    transition: background-color 0.3s ease, position 0.3s ease;
    backdrop-filter: none;
}

/* Desktop & Laptop */
@media (min-width: 992px) {
    nav.navbar.cybertize-custom-nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0) !important;
        /* Transparent initially */
        z-index: 1050;
    }

    /* When scrolled - make nav solid and fixed */
    nav.navbar.cybertize-custom-nav.scrolled {
        position: fixed;
        background-color: rgba(0, 0, 0, 0.5) !important;
        /* Semi-transparent black */
        backdrop-filter: blur(12px);
    }
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgb(0 0 0 / 75%); */
    background: linear-gradient(to right, #000000f2 11%, #000000a8 68%);
    z-index: 999;
    height: 620px;
}

.video-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.btn-base {
    background-color: #fff !important;
    color: #000 !important;
    border-radius: 100px;
    padding: 13px 26px !important;
    font-weight: 600;
    border: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-base:hover {
    background-color: #d3d3d3 !important;
    color: #000 !important;
    text-decoration: none;
}

.menu-headings {
    color: #fff !important;
}

footer a:hover {
    color: #fff !important;
    text-decoration: none;
}

footer li a {
    font-size: 11px;
}

.footer-text-container h3 {
    font-size: 16px;
}

.footer-text-container p {
    font-size: 12px;
    color: #9b9b9b;
}

.footer-text-container a {
    font-size: 12px;
    text-decoration: underline;
}

.navbar .btn-contact {
    font-size: 12px;
    font-weight: 600;
    padding: 10px 22px;
    border: none;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

.navbar .btn-contact::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
    z-index: -1;
}

.navbar .btn-contact:hover::after {
    left: 100%;
}

.navbar .btn-contact:hover {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}


.hero-btn {
    letter-spacing: 1px;
    background: linear-gradient(75deg, #65258a 10%, #e80566) !important;
    border: none;
    color: #fff !important;
    border-radius: 25px;
    padding: 13px 19px;
    font-size: 12px;
}

.hero-btn:hover {
    color: #fff !important;
}

.mosaic-container {
    /* height: 100vh; */
    overflow: hidden;
}

.mosaic-row {
    height: 542px;
    /* Adjust height to 50% of the viewport height */
}

.mosaic-col {
    position: relative;
    padding: 0;
    /* Remove spacing */
    height: 558px;
}

.mosaic-video {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
}

.mosaic-content {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
    z-index: 10;
    width: 90%;
}

.mosaic-container h3 {
    font-weight: 700;
    color: #45247e;
    font-size: 40px;
    letter-spacing: 0px;
}


.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

:after,
:before {
    color: #fff;
}


.client-slider .swiper-slide {
    text-align: center;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-slider img {
    max-height: 75px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: all 0.3s ease;
    border-radius: 5px;
}

.client-slider img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.only-desktop {
    display: none;
}

@media (min-width: 1025px) {
    .only-desktop {
        display: block;
    }
}

.swiper-pagination {
    text-align: left !important;
    padding-left: 8px;
    margin-top: 12px;
    position: relative;
    /* ensures it's not absolutely placed */
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-slide {
    padding-bottom: 1rem;
    /* add space under text if needed */
}


.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: Add play icon inside */
.play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid #000;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 5px;
}

.zoom-hover {
    overflow: hidden;
    display: block;
    border-radius: 12px;
}

.zoom-hover img {
    transition: transform 0.4s ease;
}

.zoom-hover:hover img {
    transform: scale(1.05);
}



.mosaic-container-x {
    overflow: hidden;
}

.mosaic-row-x {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

/* Shared column styling */
.mosaic-col-x {
    position: relative;
    padding: 0;
    height: 512px;
    /* default height for desktop */
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

/* Background */
.mosaic-bg-x {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Content styling */
.mosaic-content-x {
    position: relative;
    z-index: 2;
    top: 75%;
    left: 44%;
    transform: translate(-50%, -50%);
    text-align: left;
    width: 75%;
    color: white;
}

.mosaic-content-x.text-dark,
.mosaic-content-x.text-dark h3,
.mosaic-content-x.text-dark p {
    color: #000 !important;
}

.mosaic-container-x h3 {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 25px;
}

.mosaic-container-x p {
    font-size: 16px;
    letter-spacing: 1px;
}

/* Tablet: 2 columns per row */
@media (max-width: 991.98px) {
    .mosaic-col-x {
        flex: 0 0 50%;
        max-width: 50%;
        height: 400px;
    }

    .mosaic-content-x {
        top: 70%;
        left: 50%;
        width: 80%;
    }
}

/* Mobile: 1 column per row */
@media (max-width: 767.98px) {
    .mosaic-col-x {
        flex: 0 0 100%;
        max-width: 100%;
        height: 450px;
    }

    .mosaic-content-x {
        top: 75%;
        left: 50%;
        width: 90%;
        text-align: left;
        /* ✅ FIXED: force left alignment */
    }

    .mosaic-container-x h3 {
        font-weight: 700;
        letter-spacing: 1px;
        font-size: 22px;
    }


    .mosaic-container-x p {
        font-size: 14px;
        letter-spacing: 1px;
    }

}


.head-btn {
    background-color: #fff !important;
    border-color: #ffffff !important;
    color: #000 !important;
    letter-spacing: 1px;
    border: none;
    padding: 13px 26px !important;
    border-radius: 50px;
    margin-top: 15px;
    font-weight: 500;
    font-size: 12px;
}


.head-btn:hover {
    color: #000 !important;
}



/* Default desktop background */
.y-section {
    background-size: cover;
    height: 550px;
    position: relative;
    color: #000;
}

/* Text overlay */
.y-overlay {
    position: relative;
    z-index: 2;
}

.y-content-wrapper {
    max-width: 600px;
    width: 100%;
    z-index: 3;
}

.y-content-wrapper h3 {
    font-size: 1.75rem;
}

.y-content-wrapper p {
    font-size: 13px;
}

/* ✅ Mobile version: remove bg image, add semi-white gradient */
@media (max-width: 767.98px) {
    .y-section {
        background: linear-gradient(to bottom, #e2e2e2d9 0%, #4e4e4ecc 100%) !important;
        height: auto;
        padding: 60px 20px;
    }

    .y-content-wrapper {
        max-width: 100%;
    }

    .y-content-wrapper h3,
    .y-content-wrapper p {
        color: #000 !important;
    }
}



.mosaic-video-wrapper {
    padding: 60px 0;
}

.mosaic-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 640px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mosaic-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.mosaic-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: #fff;
    max-width: 80%;
}

.mosaic-overlay h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mosaic-overlay p {
    font-size: 15px;
    margin-bottom: 15px;
}

.mosaic-btn {
    background-color: #fff !important;
    border-color: #ffffff !important;
    color: #000 !important;
    letter-spacing: 1px;
    border: none;
    padding: 13px 26px !important;
    border-radius: 50px;
    margin-top: 15px;
    font-weight: 500;
    font-size: 12px;
    transition: background 0.3s;
}

.mosaic-btn:hover {
    background-color: #efefef !important;
    color: #000 !important;

}


.dark-section {
    color: #fff;
}

.process-list {
    list-style: none;
    padding-left: 0;
}

.process-list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #1a1a1a;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.process-list li:hover,
.process-list li.active {
    background: #252525;
    border-left: 4px solid #6c5ce7;
    color: #fff;
}

.process-content {
    animation: fadeIn 0.3s ease-in-out;
}

.process-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.process-content p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}

.process-content img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile Horizontal Scroll Tabs */
.process-tabs-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 10px;
}

.process-list-horizontal {
    display: inline-flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.process-list-horizontal li {
    background: #1f1f1f;
    color: #fff;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    flex: 0 0 auto;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.process-list-horizontal li.active,
.process-list-horizontal li:hover {
    background: #4b0cb7;
}


.process-tabs-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.process-tabs-scroll::-webkit-scrollbar {
    display: none;
    /* Safari & Chrome on iOS */
}

.faq-section {
    background: linear-gradient(to right, #000000 11%, #171a2d 68%);
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.faq-section .accordion-button::after {
    filter: invert(1);
    /* Makes the arrow white */
}

.faq-section h2 {
    font-weight: 700;
}

.faq-container {
    max-width: 750px;
    margin: auto;
    padding: 0 15px;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(1);
}

/* Optional: Add subtle transition */
.accordion-button,
.accordion-body {
    transition: all 0.3s ease-in-out;
}


.testimonial-item {
    background-color: #1f1f1f;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.swiper-pagination-bullet-active {
    background-color: #0d6efd !important;
}

.testimonial-item {
    height: 400px;
    background-color: #1f1f1f;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.swiper-pagination-bullet-active {
    background-color: #0d6efd !important;
}

.testimonial-section {
    background-color: #000000 !important;
}

.testimonial-section h2 {
    color: #9d9d9d;
}


/* Rounded top corners on first FAQ item */
.accordion .accordion-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
}

/* Rounded bottom corners on last FAQ item */
.accordion .accordion-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
}

.accordion-item {
    border: none !important;
}

.accordion-body {
    color: #b1b1b1 !important;
}

.theme-btn {
    background-color: #fff !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.theme-btn-dark {
    background-color: #2e2e2e !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.theme-btn-dark:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.caseStudySwiper h4 {
    font-size: 14px;
}

.mobile-animate {
    background-color: #000;
    animation: softBlackGlow 8s ease-in-out infinite;
}

@keyframes softBlackGlow {
    0% {
        background-color: #000000;
    }

    25% {
        background-color: #181818ff;
        /* very deep blue-black */
    }

    50% {
        background-color: #000000ff;
        /* soft charcoal */
    }

    75% {
        background-color: #252525ff;
        /* almost black */
    }

    100% {
        background-color: #000000ff;
    }
}

.blog-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.blog-card {
    background: #111;
    border-radius: 18px;
    overflow: hidden;
    /* 🔥 THIS fixes image overflow */
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
}

.blog-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.blog-card-body {
    padding: 26px;
}

.blog-card-body h3 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.blog-card-body span {
    font-size: 12px;
    color: #8a8a8a;
}

/* Hover effects */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.blog-card:hover .blog-card-image {
    transform: scale(1.08);
}