/* 2026 PREMIUM DESIGN SYSTEM - IvayloIliev.com */
/* 'Clean Medical Futurism' Concept */

:root {
  /* Palette - Deep & Trustworthy */
  --c-dark-blue: #020b1c;
  --c-primary: #0052cc;
  --c-accent: #00e0ff;
  --c-surface: rgba(255, 255, 255, 0.03);
  --c-glass: rgba(255, 255, 255, 0.85);
  --c-glass-border: rgba(255, 255, 255, 0.2);
  --c-text: #1a202c;
  --c-text-light: #718096;
  --c-white: #ffffff;

  /* Decoration */
  --gradient-hero: linear-gradient(135deg, #020b1c 0%, #002661 100%);
  --gradient-accent: linear-gradient(90deg, #0052cc, #00e0ff);
  --shadow-soft: 0 10px 40px -10px rgba(0, 82, 204, 0.15);
  --shadow-float: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
  --radius-lg: 32px;
  --radius-sm: 16px;

  /* Type */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: #f8fafc;
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-dark-blue);
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: white;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

/* Top Bar */
.top-bar {
  padding: 1.2rem 0;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  display: none;
}

.logo-sub {
  display: none;
}

.brand-area img {
  height: 80px;
  /* Adjust height as needed */
  width: auto;
  display: block;
}

.header-info {
  text-align: right;
  font-size: 0.95rem;
  color: var(--c-dark-blue);
}

/* Nav Bar */
.main-nav {
  background: #004e92;
  background: linear-gradient(90deg, #003366, #0052cc);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mobile-cta-btn {
  display: none;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

.nav-links {
  display: flex;
  width: 100%;
  max-width: 1200px;
}

.nav-item {
  position: relative;
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item>a:not(.btn-superdoc) {
  display: block;
  width: 100%;
  padding: 1.25rem 0.5rem;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.nav-item:last-child>a {
  border-right: none;
}

.nav-item:hover>a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-accent);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 280px;
  background: white;
  box-shadow: var(--shadow-float);
  border-radius: 0 0 16px 16px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1001;
}

.nav-item:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 15px 25px;
  border-bottom: 1px solid #f0f4f8;
  color: var(--c-dark-blue);
  font-weight: 500;
  text-align: left;
}

.dropdown-item:hover {
  background: #f0f7ff;
  color: var(--c-primary);
  padding-left: 30px;
}

/* --- HERO SLIDER (Taller & Better) --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  /* Increased from 75vh */
  min-height: 750px;
  /* Increased from 650px */
  max-height: 1100px;
  /* Increased from 950px */
  overflow: hidden;
  background: var(--c-dark-blue);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
  transform: translateX(100%);
}

.slide.active {
  transform: translateX(0);
  z-index: 2;
}

.slide.exit {
  transform: translateX(-100%);
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

/* Mini Hero for internal pages */
.mini-hero {
  height: 40vh;
  min-height: 350px;
  overflow: hidden;
}

.mini-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* --- CONTENT --- */
.section {
  padding: 6rem 0;
}

.container {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
}

.glass-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  text-align: justify;
}

.glass-card p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: var(--gradient-accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

/* Buttons */
.btn-superdoc {
  background: #00c4a7 !important;
  padding: 0.6rem 0.4rem !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
  color: white !important;
  text-transform: none !important;
  display: inline-block;
  transition: 0.3s !important;
  font-weight: 700 !important;
}

.btn-superdoc:hover {
  background: #00e0bf !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 196, 167, 0.4);
}

/* Mobile Button */
.mobile-menu-btn {
  display: none !important;
  color: white;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
}

@media (max-width: 1024px) {
  .hero-slider {
    height: 35vh;
    min-height: 250px;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .header-info {
    text-align: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #003366;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }

  .nav-links.active-mobile {
    display: flex;
  }

  .nav-item {
    text-align: center;
    width: 100%;
  }

  .nav-item>a {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-menu-btn {
    display: block !important;
    padding: 0.5rem;
  }

  .brand-area img {
    height: 60px;
  }

  .top-bar {
    padding: 1rem 0;
  }

  .site-header {
    background: white;
  }

  .header-info {
    font-size: 0.8rem;
  }

  .mobile-cta-btn {
    display: inline-block !important;
    background: #00c4a7;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    margin-right: 15px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .dropdown-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    display: none;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    border-radius: 0;
  }

  .nav-item.show-mobile-dropdown .dropdown-menu {
    display: block;
  }

  .nav-links .btn-superdoc {
    margin: 1rem auto !important;
    width: 80%;
    text-align: center;
    font-size: 1rem !important;
    padding: 0.8rem 1.5rem !important;
  }

  .glass-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

footer {
  padding: 4rem 0;
  background: #f1f5f9;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}