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

:root {
  --primary: #0A2540; /* Deep sophisticated navy */
  --primary-light: #164069;
  --secondary: #00A6B2; /* Vibrant teal */
  --secondary-hover: #008791;
  --accent: #E5F6F8;
  
  --text-main: #334155;
  --text-muted: #64748B;
  --text-heading: #0F172A;
  
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 15px -3px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 10px 30px -5px rgba(10, 37, 64, 0.12);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--secondary);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-hover);
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
}

.brand img {
  height: 44px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-heading);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--accent);
  color: var(--secondary);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero, .page-hero {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(180deg, #F0F6FA 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 166, 178, 0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container, .page-hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  color: var(--secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  background: var(--accent);
  padding: 6px 16px;
  border-radius: 99px;
}

.hero h1, .page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -1px;
  color: var(--primary);
  max-width: 900px;
  margin-bottom: 24px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.hero p, .page-hero p {
  font-size: 1.15rem;
  max-width: 700px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 99px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border-color: var(--border-light);
  color: var(--primary) !important;
  background: white;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: transparent;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 100px 0;
  background: #fff;
}

.section.alt {
  background: var(--bg-main);
}

.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Grids */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

/* KPI Stats */
.kpi {
  background: var(--primary);
  color: white;
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kpi::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.kpi strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 8px;
  color: #fff;
}

.kpi span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
}

.list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

.table th, .table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.table th {
  background: var(--bg-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tbody tr {
  transition: var(--transition);
}

.table tbody tr:hover {
  background: var(--accent);
}

.empty-cell {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

/* Project Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.filters input {
  flex: 1;
  min-width: 300px;
  padding: 12px 20px;
  border: 1px solid var(--border-light);
  border-radius: 99px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.filters input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 166, 178, 0.1);
}

.filters button {
  padding: 10px 20px;
  border: 1px solid var(--border-light);
  border-radius: 99px;
  background: #fff;
  color: var(--text-main);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filters button:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.filters button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer p {
  margin-bottom: 12px;
}

.footer a {
  color: rgba(255,255,255,0.7);
}

.footer a:hover {
  color: #fff;
}

.footer-brand {
  margin-bottom: 24px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Form Controls */
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 166, 178, 0.1);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }
  .nav-links.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .menu-btn { display: block; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .hero { padding: 60px 0 80px; }
  .section { padding: 60px 0; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Slider Styles */
.hero {
  position: relative;
  overflow: hidden;
  color: white;
}
.hero-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(10,37,64,0.7) 0%, rgba(10,37,64,0.85) 100%);
  z-index: 1;
}
.hero .container {
  z-index: 2;
}
.hero h1 {
  color: white;
}
.hero p {
  color: rgba(255,255,255,0.9);
}

/* Images inside cards */
.card-image-wrap {
  margin: -32px -32px 24px -32px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  height: 200px;
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-image-wrap img {
  transform: scale(1.05);
}
.feature-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}

/* Marquee / Ticker */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: white;
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.marquee-container::before, .marquee-container::after {
  content: '';
  position: absolute;
  top: 0; width: 100px; height: 100%;
  z-index: 2;
}
.marquee-container::before {
  left: 0; background: linear-gradient(to right, white, transparent);
}
.marquee-container::after {
  right: 0; background: linear-gradient(to left, white, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Logo Cards */
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  margin: 0 16px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-card.dark-bg {
  background: var(--primary);
  border-color: var(--primary);
}
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  text-align: center;
}

/* Page Hero */
.page-hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
