/*! ------------------------------------------------
 * Project Name: Rayo - Digital Agency & Personal Portfolio Next.Js Template
 * Project Description: Elevate your digital presence with Rayo - dynamic and stylish Next.Js template designed for creative agencies and personal brands. With modern layouts, smooth interactions and a polished aesthetic, Rayo template helps showcase projects, services and expertise with clarity and impact.
 * Tags: ib-themes, resume, portfolio, personal page, cv, template, one page, responsive, Next.js, css3, creative, clean, agency, studio
 * Version: 1.0.0
 * Build Date: October 2025
 * Last Update: November 06 2025
 * This product is available exclusively on Themeforest
 * Author: ib-themes
 * Author URI: https://themeforest.net/user/ib-themes  /*! File name: plugins.css
 * ------------------------------------------------
 *
 * ------------------------------------------------
 * Table of Contents
 * ------------------------------------------------
 *  01. custom css for Nextjs
 * ------------------------------------------------
 * Table of Contents End
 * ------------------------------------------------ */

@import url("./plugins.min.css");
@import url("./main.min.css");
html {
    scroll-behavior: smooth;
}
.mxd-nav__wrap {
    display: block;
    pointer-events: none;
}
.mxd-nav__wrap.active_menu {
    pointer-events: all;
}
.mxd-menu__wrapper {
    display: block;
    pointer-events: none;
}
.mxd-menu__wrapper.active_menu {
    pointer-events: all;
}

.mxd-menu__wrapper .fade-in-elm {
    transition: all 0.6s ease;
    visibility: hidden;
    opacity: 0;
}
.mxd-menu__wrapper.active_menu .fade-in-elm {
    visibility: visible;
    opacity: 1;
}
.mxd-menu__wrapper .fade-in-up-elm {
    transition: all 0.6s ease;
    visibility: hidden;
    opacity: 0;
    transform: translateY(25px);
}
.mxd-menu__wrapper.active_menu .fade-in-up-elm {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}
.submenu {
    display: block;
    height: 0px;
    overflow: hidden;
    padding-top: 0px;
}

/* Locks page scroll while modal is open */
.videoModal__bodyOpen {
    overflow: hidden;
}

/* Fullscreen overlay, centered content, no overlay scrolling */
.videoModal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: grid;
    place-items: center;
    overflow: hidden; /* prevent overlay scrollbar */
    z-index: 111;
}

/* Transparent content, no internal scroll */
.videoModal__content {
    background: transparent;
    border: none;
    outline: none;
    overflow: hidden; /* prevent content scrollbar */
}

/* Responsive 16:9 player that never exceeds viewport */
.videoModal__playerWrap {
    max-width: 1200px;
    width: min(90vw, 1600px);
    aspect-ratio: 16 / 9; /* modern browsers */
    position: relative;
}
.swiper-navigation-icon {
    display: none;
}
.hamburger__line {
    position: relative;
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 50%;
    height: 0.3rem;
    -moz-border-radius: 0.3rem;
    border-radius: 0.3rem;
    background-color: var(--t-opp-bright);
    z-index: 2;
    transition: all 0.3s ease;
}

.mxd-nav__hamburger {
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.7rem;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 4.6rem;
    height: 4.6rem;
}

@media only screen and (min-width: 768px) {
    .mxd-nav__hamburger {
        width: 5.6rem;
        height: 5.6rem;
    }
}

.hamburger__base {
    position: absolute;
    inset: 0;
    -moz-border-radius: var(--_radius-l);
    border-radius: var(--_radius-l);
    background-color: var(--base-opp-tint);
    z-index: 1;
    background-color: #1077bd;
}
.nav-open .hamburger__line:first-child {
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0px, 5px) rotate(45deg);
}
.nav-open .hamburger__line:last-child {
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0px, -5px) rotate(-45deg);
}
.loading__item,
.loading__fade {
    opacity: 0;
}

/* Override to show header and nav - force visibility */
.mxd-header,
.mxd-header .loading__fade,
.mxd-nav__contain,
.mxd-nav__contain .loading__fade {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Swiper testimonials fixes */
.swiper-testimonials .swiper-slide {
    width: 100%;
    -webkit-filter: blur(4px);
    filter: blur(4px);
    -webkit-transition: -webkit-filter var(--_animspeed-slow) var(--_animbezier);
    transition: -webkit-filter var(--_animspeed-slow) var(--_animbezier);
    -moz-transition: filter var(--_animspeed-slow) var(--_animbezier);
    transition: filter var(--_animspeed-slow) var(--_animbezier);
    transition: filter var(--_animspeed-slow) var(--_animbezier),
        -webkit-filter var(--_animspeed-slow) var(--_animbezier);
}

.swiper-testimonials .swiper-slide.swiper-slide-active {
    -webkit-filter: blur(0);
    filter: blur(0);
}

@media only screen and (min-width: 768px) {
    .swiper-testimonials .swiper-slide {
        width: auto;
    }
}

/* Testimonials controls placed below slider */
.swiper-testimonials__controls.below {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0;
    margin-top: 2rem;
}
.swiper-testimonials__controls.below .mxd-slider-btn {
    position: relative;
    bottom: auto;
    left: auto;
}
.swiper-testimonials__controls.below .mxd-slider-btn-round-prev,
.swiper-testimonials__controls.below .mxd-slider-btn-round-next {
    left: auto;
}

/* Mobile responsiveness adjustments for Hero section */
/* Desktop: keep original layout */
@media only screen and (min-width: 768px) {
    .mxd-hero-01__title-wrap {
        display: block;
    }
    .hero-01-title {
        display: block;
    }
    /* Hide the second marquee (inside h1 title) on desktop */
    .hero-01-title > .mxd-hero-01__marquee {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .mxd-hero-section.mxd-hero-fullheight,
    .mxd-hero-01 {
        min-height: 100svh;
    }
    .mxd-hero-01__wrap {
        padding: 0 1.8rem;
    }
    .mxd-hero-01__top {
        padding: 5rem 0 5rem;
    }
    .mxd-hero-01__title-wrap {
        padding-bottom: 0;
        position: relative;
    }
    /* Hide floating images on mobile */
    .mxd-hero-01__images.mxd-floating-img {
        display: none;
    }
    /* Hide the first marquee (above title) on mobile */
    .mxd-hero-01__title-wrap > .mxd-hero-01__marquee {
        display: none;
    }
    .hero-01-title {
        font-size: 4.5rem;
        line-height: 1.1;
        gap: 1.5rem;
        display: flex;
        flex-direction: column;
    }
    .hero-01-title__row {
        gap: 1rem;
        flex-wrap: wrap;
        display: flex;
        align-items: center;
    }
    .hero-01-title__item {
        font-size: 4.5rem;
    }
    .hero-01-title__item.title-item-transparent {
        display: none;
    }
    .hero-01-title__item.title-item-image {
        display: none;
    }
    /* Order the elements: first row, marquee, second row */
    .hero-01-title__row:first-child {
        order: 1;
    }
    .hero-01-title > .mxd-hero-01__marquee {
        order: 2;
        display: block;
        width: 100%;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 1.5rem 0;
    }
    .hero-01-title__row:last-child {
        order: 3;
    }
    .mxd-hero-01__marquee .marquee__item.item-regular p {
        font-size: 3.5rem;
    }
    .mxd-hero-01__marquee .marquee__item.item-regular svg {
        width: 3.5rem;
        height: 3.5rem;
    }
    /* Bottom section adjustments */
    .mxd-hero-01__bottom {
        flex-direction: column-reverse;
        gap: 2.5rem;
    }
    .mxd-hero-01__data-wrap {
        padding: 2.5rem 0 2rem;
        gap: 2rem;
    }
    .mxd-hero-01__data-btn {
        order: 1;
    }
    .mxd-hero-01__data-btn a {
        width: 12rem;
        height: 12rem;
    }
    .mxd-hero-01__data-descr {
        order: 2;
    }
    .mxd-hero-01__data-descr p {
        font-size: 1.6rem;
        line-height: 1.5;
    }
    .mxd-hero-01__data-socials {
        order: 3;
    }
    .mxd-hero-01__data-socials ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .mxd-hero-01__data-socials ul li {
        flex: 0 0 auto;
    }
    .mxd-hero-01__data-socials ul li a {
        font-size: 1.4rem;
    }
    .mxd-hero-01__data-socials ul li svg {
        width: 1.2rem;
        height: 1.2rem;
    }
    /* Video section */
    .mxd-hero-01__video-wrap {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }
    .mxd-hero-01__video {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
    .mxd-hero-01__video-btn {
        padding: 0.6rem;
    }
    /* Dash line */
    .mxd-hero-01__dash-line {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .hero-01-title {
        font-size: 3.5rem;
    }
    .hero-01-title__item {
        font-size: 3.5rem;
    }
    .mxd-hero-01__marquee .marquee__item.item-regular p {
        font-size: 2.8rem;
    }
    .mxd-hero-01__marquee .marquee__item.item-regular svg {
        width: 2.8rem;
        height: 2.8rem;
    }
    .mxd-hero-01__data-btn a {
        width: 10rem;
        height: 10rem;
    }
    .mxd-hero-01__data-descr p {
        font-size: 1.4rem;
    }
}

@supports (padding: max(env(safe-area-inset-top), 0px)) {
    .mxd-hero-01__wrap {
        padding-left: max(1.8rem, env(safe-area-inset-left));
        padding-right: max(1.8rem, env(safe-area-inset-right));
    }
}

/*  logo css  */
.mx-log-newo__text {
    width: 200px;
}
@media only screen and (max-width: 600px) {
    .mx-log-newo__text {
        width: 150px;
    }
}
 /* custom css for ServicesStack component */
.semiheading{
    font-size: 2.6rem;
    line-height: 40px;
}

/* Light mode - semiheading uses black text */
html[color-scheme="light"] .semiheading {
    color: white;
}

/* Dark mode - semiheading uses white text */
html[color-scheme="dark"] .semiheading {
    color: black;
}

.semiheading2{
    font-size: 2.6rem;
    line-height: 40px;
}

/* Light mode - semiheading2 uses white text */
html[color-scheme="light"] .semiheading2 {
    color: black;
}

/* Dark mode - semiheading2 uses black text */
html[color-scheme="dark"] .semiheading2 {
    color: white;
}

/* ============================================
 * Article Title Responsive Styles
 * ============================================ */

.mxd-article-title {
    font-size: 5.8rem;
    line-height: 1.25;
    font-weight: 700;
    /* letter-spacing: -0.5px;
    word-spacing: -0.2em; */
    margin-bottom: 1.5rem;
    transition: font-size 0.3s ease;
}

/* Tablet screens (768px - 1024px) */
@media (max-width: 1024px) {
    .mxd-article-title {
        font-size: 5rem;
        line-height: 1.3;
        margin-bottom: 1.25rem;
    }
}

/* Small tablets and landscape phones (576px - 768px) */
@media (max-width: 768px) {
    .mxd-article-title {
        font-size: 3rem;
        line-height: 1.35;
        margin-bottom: 1rem;
    }
}

/* Mobile devices (480px - 576px) */
@media (max-width: 576px) {
    .mxd-article-title {
        font-size: 3.6rem;
        line-height: 1.4;
        margin-bottom: 0.875rem;
        letter-spacing: -0.3px;
    }
}

/* Extra small devices (below 480px) */
@media (max-width: 480px) {
    .mxd-article-title {
        font-size: 2.35rem;
        line-height: 1.45;
        margin-bottom: 0.75rem;
        letter-spacing: 0;
    }
}

/* Highlight text styling within article title */
.mxd-article-title span {
    display: inline;
}

/* Dark mode specific styling for article title */
html[color-scheme="dark"] .mxd-article-title {
    color: #ffffff;
}

/* Light mode specific styling for article title */
html[color-scheme="light"] .mxd-article-title {
    color: #1a1a1a;
}
strong {
    font-weight: 700;
}

.hero-first-image{
    width: 70%;
}


.client-testimonia-section-image{
    width: 200px;
}
