@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #ff9800;
  --color-primary-rgb: 255, 152, 0;
  --color-primary-dark: #e65100;
  --color-primary-light: #ffa726;
  --color-background: #f8fafc; /* Clean slate light mode */
  --color-surface: #ffffff; /* Crisp white card base */
  --color-surface-hover: #ffffff;
  --color-text-primary: #0f172a; /* Slate 900 */
  --color-text-secondary: #475569; /* Slate 600 */
  --color-text-muted: #94a3b8; /* Slate 400 */
  --color-border: #e2e8f0; /* Slate 200 */
  --color-border-hover: rgba(255, 152, 0, 0.6);
  --color-success: #10b981;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-glow: 0 10px 30px rgba(255, 152, 0, 0.08);
  --shadow-glow-strong: 0 15px 35px rgba(255, 152, 0, 0.16);
  --transition-speed: 0.25s;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

/* Reset & Global styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  line-height: 1.65;
  position: relative;
}

/* Accent design mesh */
body::before {
  content: "";
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-background);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid var(--color-background);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Container */
.container {
  width: 100%;
  max-width: 850px;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Header & Hero Banner */
.header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

.hero-banner {
  max-width: 450px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.company-name {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.company-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.company-description {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin: 0.75rem auto 0;
  font-weight: 400;
  line-height: 1.7;
}

/* Division Cards */
.divisions-section {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: var(--color-border);
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 680px) {
  .divisions-grid {
    grid-template-columns: 1fr;
  }
}

.division-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.division-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.division-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 152, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  transition: transform var(--transition-speed);
}

.division-card:hover .division-icon-wrapper {
  transform: scale(1.08) rotate(2deg);
  background-color: rgba(255, 152, 0, 0.15);
}

.division-icon {
  width: 24px;
  height: 24px;
}

.division-title {
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
}

.division-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* Link hub styles */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}

.link-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 152, 0, 0.04), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.link-card:hover::before {
  opacity: 1;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.link-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 152, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  transition: transform var(--transition-speed);
}

.link-card:hover .link-icon-wrapper {
  transform: scale(1.1);
  background-color: rgba(255, 152, 0, 0.12);
  color: var(--color-primary-dark);
}

.link-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2px;
}

.link-details {
  display: flex;
  flex-direction: column;
}

.link-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.link-description {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 450;
}

/* Footer styling */
.footer {
  margin-top: auto;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.footer-link {
  color: var(--color-primary-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-speed);
}

.footer-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Print/A11y */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
