@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --corp-dark: #0f172a;
  --corp-primary: #003366;
  --corp-secondary: #0056b3;
  --corp-accent: #0ea5e9;
  --corp-bg: #f8fafc;
  --corp-border: #e2e8f0;
  --white: #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--corp-bg);
  color: var(--corp-dark);
  line-height: 1.6;
}

#topbar {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#navbar {
  transition: top 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--corp-primary);
  color: white;
}

.custom-scrollbar::-webkit-scrollbar,
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track,
::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
  background: var(--corp-secondary);
  border-radius: 4px;
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  background: linear-gradient(to right, rgba(15, 23, 42, 0.6), rgba(0, 51, 102, 0.5));
}

.corp-card {
  background: white;
  border: 1px solid var(--corp-border);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.corp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
  border-color: var(--corp-secondary);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: #f0f9ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--corp-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.corp-card:hover .service-icon-box {
  background: var(--corp-primary);
  color: white;
}

.btn-corp {
  background: var(--corp-primary);
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-corp:hover {
  background: var(--corp-secondary);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--corp-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--corp-primary);
}

.prose p {
  text-align: justify;
  text-justify: inter-word;
}

.prose a {
  color: var(--corp-secondary);
  text-decoration: none;
  transition: all 0.2s;
}

.prose a:hover {
  color: var(--corp-primary);
  text-decoration: underline;
}

.text-justify-corp {
  text-align: justify;
  text-justify: inter-word;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--corp-border);
  color: var(--corp-dark);
  transition: all 0.2s;
  background: white;
}

.sidebar-link:hover, .sidebar-link.active {
  background: #f1f5f9;
  color: var(--corp-primary);
  padding-left: 20px;
  border-left: 4px solid var(--corp-primary);
}

details > summary {
  list-style: none;
  outline: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  background-color: #f8fafc;
  color: var(--corp-primary);
  border-bottom: 1px solid var(--corp-border);
}

details[open] .content {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

input, textarea, select {
  border: 1px solid var(--corp-border) !important;
  border-radius: 6px !important;
  padding: 12px !important;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--corp-primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 8px;
  color: #94a3b8;
}

footer {
  background: var(--corp-dark);
  color: #cbd5e1;
}

footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--corp-accent);
}