/* MedLab Global Design System - Ultra Premium Edition */
:root {
  --primary: #006064;
  --primary-light: #00838f;
  --primary-dark: #004d4d;
  --accent: #d4af37; /* Gold */
  --accent-light: #f1c40f;
  --text-main: #2c3e50;
  --text-muted: #7f8c8d;
  --bg-main: #f8f9fa;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 30px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f1c40f 100%);
  --gradient-teal: linear-gradient(135deg, #006064 0%, #004d4d 100%);
}

/* 3D and Animation Utilities */
.hover-3d {
  transition: var(--transition);
  perspective: 1000px;
}
.hover-3d:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

.text-gradient {
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-blur {
  backdrop-filter: blur(20px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Customization */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

/* Navigation System */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.logo-container img {
  height: 35px;
}

.nav-links {
  display: flex;
  gap: 12px;
  height: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-item i {
  margin-left: 4px;
  font-size: 0.7rem;
  opacity: 0.7;
}

.nav-item:hover {
  color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

@media (max-width: 1200px) {
  .nav-item {
    font-size: 0.75rem;
    padding: 0 3px;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 40px;
    transition: var(--transition);
    overflow-y: auto;
    display: block;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-item {
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    display: block;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    transform: none;
    border: none;
    margin-top: 10px;
    display: none;
  }

  .nav-item:hover .dropdown {
    display: block;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 10px 0;
  border-top: 3px solid var(--primary);
}

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

.dropdown-item {
  padding: 12px 20px;
  font-size: 0.85rem;
  color: var(--text-main);
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(0, 96, 100, 0.05);
  color: var(--primary);
  padding-left: 25px;
}

/* Hero Section */
.hero {
  padding-top: 80px;
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('hero.png') no-repeat center center/cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 77, 77, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Action Buttons */
.btn {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 15px;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

/* Mega Grid Sections */
.section {
  padding: 100px 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
}

/* Business Grid */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.business-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.business-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--accent);
}

.business-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 80px 5% 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}
