/*
Theme Name: Moybio
Theme URI: https://themeforest.net/user/pixelperfect-themes/portfolio
Author: Pixel Perfect Themes
Author URI: https://themeforest.net/user/pixelperfect-themes/portfolio
Description: Moybio
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moybio
*/

body {
    font-family: 'Inter', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #293F89;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

header {
    padding-top: .5rem;
    padding-bottom: .5rem;
}
header.scrolled {
    position: fixed !important;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
header.transparent {
    background-color: transparent;
}

.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    background-color: rgba(41, 63, 137, 0.8);
    backdrop-filter: blur(5px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
}
.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.progress-wrap::after {
    position: absolute;
    font-family: 'Lucide Icons';
    content: '↑';
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    color: white;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
}
.progress-wrap:hover::after {
    opacity: 0;
}
.progress-wrap:hover::before {
    opacity: 1;
}
.progress-wrap svg path {
    fill: none;
}
.progress-wrap svg.progress-circle path {
    stroke: white;
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

.swiper-button-next, .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: #70B5A5;
    border-color: #70B5A5;
    transform: scale(1.1);
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 6px;
    background: #70B5A5;
    opacity: 1;
}

.sticky-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.widget-item {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.widget-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 2;
    position: relative;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.widget-label {
    background: white;
    color: #1A1A1A;
    padding: 0 20px;
    height: 50px;
    display: flex;
    align-items: center;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.15);
    position: absolute;
    right: 50px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}
.widget-item:hover .widget-label {
    opacity: 1;
    transform: translateX(0);
}
.widget-item:hover .widget-icon {
    box-shadow: -4px 4px 12px rgba(0,0,0,0.4);
}
.widget-whatsapp .widget-icon { background-color: #25D366; }
.widget-email .widget-icon { background-color: #EA4335; }
.widget-phone .widget-icon { background-color: #4285F4; }
.widget-map .widget-icon { background-color: #34A853; }

.top-bar {
    background-color: #1A1A1A;
    color: white;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 51;
}

.marquee-container {
    overflow: hidden;
    background: linear-gradient(135deg, #F2F6F5 0%, #E8F5F0 100%);
    padding: 1.5rem 0;
    border-top: 2px solid #70B5A5;
    border-bottom: 2px solid #70B5A5;
}
.marquee-content {
    display: flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}
.marquee-content:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.nav-item {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}
.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    color: #1A1A1A;
    transition: all 0.2s;
    font-weight: 500;
}
.dropdown-item:hover {
    background-color: #F3F4F6;
    color: #293F89;
    padding-left: 2rem;
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0.25rem;
}
.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-submenu > .dropdown-item::after {
    content: '›';
    font-size: 1.25rem;
    margin-left: auto;
}

#cookie-bar {
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}
#cookie-bar.show {
    transform: translateY(0);
}
