/* ==========================================================================
   NUO 2026 UX/UI Redesign - Global Styles (No Framework)
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary: #C3009E; /* NUO Fialov */
    --primary-light: rgba(195, 0, 158, 0.1);
    --primary-hover: #9f0082;
    
    --primary-dark: #394A58; /* NUO Tmavofialov */
    
    --secondary: #00A9E0; /* NUO Modr */
    --secondary-light: rgba(0, 169, 224, 0.1);
    --secondary-hover: #008ebf;
    
    --tertiary: #7AB800; /* NUO Zelen */
    --tertiary-dark: #007A43; /* NUO Tmavozelen */
    
    /* Neutral Colors */
    --text-main: #394A58; /* NUO Tmavoed */
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --border: rgba(0, 0, 0, 0.05);
    
    /* Layout & Shadows */
    --radius: 24px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 10px 30px rgba(195, 0, 158, 0.2);
}

@font-face {
    font-family: 'flexoregular';
    src: url('../fonts/Flexo-Regular.woff2') format('woff2'),
         url('../fonts/Flexo-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'flexoblack';
    src: url('../fonts/Flexo-Black.woff2') format('woff2'),
         url('../fonts/Flexo-Black.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'flexoregular', sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'flexoregular', sans-serif;
    color: var(--text-main);
    margin-top: 0;
}

h1 {
    font-weight: 900;
}

h1 { font-size: 3.5rem; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 2rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-family: 'flexoblack', sans-serif;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(225, 0, 122, 0.3);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-family: 'flexoregular', sans-serif;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px; /* give some space for the line */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active {
    font-family: 'flexoblack', sans-serif;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -16px; /* align with bottom border of navbar (15px padding + 1px border) */
    left: 25%;
    width: 50%;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px 2px 0 0;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle i {
    font-size: 0.9em;
    margin-left: 4px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: white;
    min-width: 220px;
    border-radius: 8px;
    border-top: 3px solid var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Bridging the gap so hover doesn't break */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 30px;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    color: var(--primary);
    background-color: #fafafa;
}

/* Scroll Reveal Animations */
.aos-init { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.aos-animate { opacity: 1; transform: translateY(0); }

/* BOOTSTRAP EMULATION FOR LEGACY SECTIONS */
.container-fluid { width: 100%; padding-right: 50px; padding-left: 50px; margin-right: auto; margin-left: auto; max-width: 1800px; }
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; align-items: center; }
.col-lg-4, .col-lg-6, .col-lg-12 { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* LEGACY SECTION STYLES */
.nuo-hero { display: flex; align-items: center; justify-content: center; margin-top: 0; padding: 50px 100px 100px 100px; }
.nuo-hero .hero-text { position: relative; z-index: 15; }
.nuo-hero h2 { margin-bottom: 20px; font-size: 3rem; }
.nuo-hero h4 { margin-top: 30px; font-size: 2rem; }
.nuo-hero h4 span { font-size: 2.5rem; color: var(--primary); font-family: 'flexoblack', sans-serif; }
.nuo-hero p { width: 100%; margin: 0 0 30px 0; position: relative; line-height: 1.6; }
.nuo-hero a.more { width: auto; margin-top: 20px; position: relative; display: inline-block; color: var(--primary); font-weight: bold; border-bottom: 2px solid var(--primary); padding-bottom: 3px; text-decoration: none; }
.nuo-hero a.more:hover { color: var(--primary-hover); border-bottom-color: var(--primary-hover); }
.nuo-hero .nuo-img.home { width: 180%; position: relative; right: 15%; margin-bottom: -100px; display: flex; align-items: center; justify-content: center; }
.nuo-hero .nuo-img.home img { max-width: 100%; height: auto; }

ul.nuo-feat { display: flex; justify-content: flex-start; gap: 80px; margin-top: 60px; list-style: none; padding: 0; width: 100%; }
ul.nuo-feat li { display: flex; align-items: center; gap: 20px; }
ul.nuo-feat li .feat {
    width: 80px;
    height: 80px;
    background-color: #394A58;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
ul.nuo-feat li .feat img { width: 40px; height: 40px; }
ul.nuo-feat li h5 { margin: 0; font-family: 'flexoblack', sans-serif; font-size: 1.2rem; color: #394A58; }

.nuo-imgbox { position: relative; padding: 0 0 100px 0; margin-top: 100px; }
.nuo-imgbox .nuo-img { width: 140%; right: 0; position: relative; top: -15%; left: -55%; }
.nuo-imgbox .nuo-img img { max-width: 100%; height: auto; box-shadow: 0 30px 60px rgba(0,0,0,0.15); border-radius: 10px; }
.nuo-main h2 { font-size: 2.5rem; margin-bottom: 20px; }
.nuo-main p { font-size: 1.1rem; color: #555; margin-bottom: 30px; line-height: 1.6; }
.nuo-main a.more { color: var(--primary); text-decoration: none; font-weight: bold; border-bottom: 2px solid var(--primary); padding-bottom: 3px; display: inline-block; margin-bottom: 30px; }

.nuo-app { padding: 80px 0 200px 0; position: relative; }
.nuo-app .container-fluid { position: relative; }
.nuo-appvideo { position: absolute; top: -150px; left: 50vw; max-width: 1000px; width: 50vw; height: auto; z-index: 1; pointer-events: none; }
.nuo-appvideo img { width: 100%; position: relative; height: auto; filter: drop-shadow(-20px 20px 40px rgba(0,0,0,0.2)); pointer-events: auto; }
.nuo-appvideo a { pointer-events: auto; display: block; }
.nuo-appvideo .play { position: absolute; top: 40%; left: 45%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--tertiary) 100%); background-size: 200% 200%; border: 5px solid white; display: flex; justify-content: center; align-items: center; color: white; font-size: 3rem; z-index: 20; box-shadow: 0 15px 30px rgba(0,0,0,0.3); transition: transform 0.3s ease; animation: pulse-nuo 2.5s infinite, gradient-shift 5s ease infinite; }
@keyframes pulse-nuo {
    0% { box-shadow: 0 0 0 0 rgba(195, 0, 158, 0.7), 0 0 0 0 rgba(0, 169, 224, 0.7); }
    50% { box-shadow: 0 0 0 20px rgba(195, 0, 158, 0), 0 0 0 40px rgba(0, 169, 224, 0.4); }
    100% { box-shadow: 0 0 0 0 rgba(195, 0, 158, 0), 0 0 0 60px rgba(0, 169, 224, 0); }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.nuo-appvideo .play:hover { transform: translate(-50%, -50%) scale(1.1); color: white; }
ul.nuo-logos { display: flex; gap: 20px; margin-top: 40px; list-style: none; padding: 0; }
ul.nuo-logos li a img { height: 45px; }

.m-b200 { margin-bottom: 200px; }
.m-t200 { margin-top: 200px; }
.m-t250 { margin-top: 250px; }
/* ==========================================================================
   Provider Modal & Snake Hamburger
   ========================================================================== */
.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 800ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.line {
  fill:none;
  transition: stroke-dasharray 800ms, stroke-dashoffset 800ms;
  stroke:#fff;
  stroke-width:5.5;
  stroke-linecap:round;
}
.ham8 .top {
  stroke-dasharray: 40 160;
}
.ham8 .middle {
  stroke-dasharray: 40 142;
  transform-origin: 50%;
  transition: transform 800ms;
}
.ham8 .bottom {
  stroke-dasharray: 40 85;
  transform-origin: 50%;
  transition: transform 800ms, stroke-dashoffset 800ms;
}
.ham8.active .top {
  stroke-dashoffset: -64px;
}
.ham8.active .middle {
  transform: rotate(90deg);
}
.ham8.active .bottom {
  stroke-dashoffset: -64px;
}

.side-menu-overlay {
    position: fixed;
    top: 71px; /* Align precisely under navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - 71px);
    background: white;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
    padding-top: 50px;
}
.side-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}
.nav-tabs-custom {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border);
}
.nav-tabs-custom li {
    font-family: 'flexoblack', sans-serif;
    font-size: 1.2rem;
    color: var(--text-muted);
    padding-bottom: 15px;
    cursor: pointer;
    position: relative;
}
.nav-tabs-custom li.active {
    color: var(--primary);
}
.nav-tabs-custom li.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}
.side-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.side-widget h5 {
    font-family: 'flexoblack', sans-serif;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
}
.side-widget p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.hours-table {
    width: 100%;
    max-width: 250px;
}
.hours-table td {
    padding: 5px 0;
    color: var(--text-muted);
    font-size: 1rem;
}
.info-links {
    list-style: none;
    padding: 0;
}
.info-links li {
    margin-bottom: 15px;
    position: relative;
    /* padding-left removed since we don't use ::before anymore */
}
.info-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
}
.info-links li a:hover {
    color: var(--primary);
}

.tv-grey-bubble {
    position: absolute;
    top: -200px;
    left: -300px;
    width: 800px;
    z-index: 0;
    pointer-events: none;
    animation: float 28s infinite ease-in-out alternate;
}



/* Internet Animated Dots */
.nuo-dots-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-width: 600px;
    z-index: 0;
    pointer-events: none;
}
.color-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(10px);
    animation: dotFloat 15s infinite alternate ease-in-out, dotColor 20s infinite alternate linear;
}
.dot1 { width: 50px; height: 50px; top: 10%; right: 10%; animation-delay: 0s, 0s; }
.dot2 { width: 70px; height: 70px; top: 40%; right: 25%; animation-delay: -3s, -5s; }
.dot3 { width: 40px; height: 40px; top: 70%; right: 15%; animation-delay: -7s, -10s; }
.dot4 { width: 60px; height: 60px; top: 20%; right: 40%; animation-delay: -11s, -15s; }
.dot5 { width: 55px; height: 55px; top: 80%; right: 35%; animation-delay: -14s, -2s; }
.dot6 { width: 35px; height: 35px; top: 50%; right: 5%; animation-delay: -17s, -8s; }

@keyframes dotFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 50px) scale(1.2); }
    66% { transform: translate(30px, -30px) scale(0.8); }
    100% { transform: translate(-50px, -50px) scale(1.1); }
}
@keyframes dotColor {
    0% { background-color: var(--primary); }
    33% { background-color: var(--secondary); }
    66% { background-color: var(--tertiary); }
    100% { background-color: var(--primary-hover); }
}

/* === LEGACY SIDE-FORM STYLES === */
.side-form input[type="text"],
.side-form input[type="tel"],
.side-form input[type="email"],
.side-form textarea {
    font-size: 1.15rem;
    padding: 1rem 3rem 1rem 1.5rem;
    border-radius: 30px;
    border-width: 1px;
    border-style: solid;
    border-color: #dedee9;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
    margin-bottom: 25px;
    background-color: #fff;
    transition: all 0.5s ease-in-out;
    width: 100%;
    outline: none;
    color: #666;
}

.side-form input[type="text"]:hover,
.side-form input[type="tel"]:hover,
.side-form input[type="email"]:hover,
.side-form textarea:hover,
.side-form input[type="text"]:focus,
.side-form input[type="tel"]:focus,
.side-form input[type="email"]:focus,
.side-form textarea:focus {
    border-color: var(--primary);
}

.side-form textarea {
    min-height: 180px;
    resize: none;
}

.side-form .side-btn {
    display: inline-block;
    border: 1px solid transparent;
    background-color: var(--primary);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    margin-top: 15px;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.3s;
}

.side-form .side-btn:hover {
    border: 1px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
}

.side-form label {
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 0;
}

.side-form i {
    position: absolute;
    font-size: 1.4rem;
    color: var(--primary);
    top: 15px;
    right: 20px;
    transition: all 0.5s ease-in-out;
}

.side-form label:hover i {
    color: var(--primary);
}
