/* UBGroup Modern Site — Custom Styles */

:root {
  --primary: #0f4c81;
  --primary-dark: #0a3357;
  --primary-light: #1a6cb5;
  --accent: #00a8e8;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* Hero gradient overlay */
.hero-overlay {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.95) 0%, rgba(10, 51, 87, 0.85) 100%);
}

/* Section patterns */
.section-alt {
  background-color: var(--bg-alt);
}

/* Card hover effects */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(15, 76, 129, 0.15);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -5px rgba(15, 76, 129, 0.3);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  transition: all 0.2s ease;
}
.btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Navigation */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.08);
}
.nav-scrolled .nav-link {
  color: var(--text);
}
.nav-scrolled .nav-logo-text {
  color: var(--primary);
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Form inputs */
.form-input {
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
  outline: none;
}

/* Page headers */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Service icon circles */
.icon-circle {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.1) 0%, rgba(0, 168, 232, 0.1) 100%);
}

/* Partner logo grayscale */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.25s ease;
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Footer */
.footer-link {
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: var(--accent);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ISO badge */
.iso-badge {
  border: 1px solid var(--border);
}

/* Contact cards */
.contact-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(15, 76, 129, 0.12);
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: white;
  }
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
