@import url('fonts.css');

:root {
  --primary-color: #0d83e2; /* Bright sky blue matching the screenshot */
  --primary-dark: #0961a9;
  --secondary-color: #1a2530; /* Darker navy for text */
  --accent-color: #ff6b6b;
  --bg-color: #f4f7f9;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #475569; /* WCAG AA accessibility improvement */
  --border-color: #e1e5ea;
  --border-radius: 24px; /* Larger radius for premium feel */
  --box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --box-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
}

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

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

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
}

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

/* Button */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

/* Search bar */
.search-wrapper {
  display: flex;
  background: var(--white);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: var(--box-shadow);
}
.search-wrapper input {
  flex: 1;
  border: none;
  padding: 0.75rem;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 40px;
  overflow: hidden;
  margin: 2rem auto;
  max-width: 1300px;
  min-height: 550px;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 50%;
}

.hero-widget {
  position: relative;
  z-index: 2;
  width: 450px;
  padding: 2rem;
  color: white;
}

/* Custom Widgets */
.stat-bar {
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
  margin: 2rem 0;
  padding-left: 1rem;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin: 0;
}

.stat-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Tab selector */
.tab-selector {
  display: flex;
  background: rgba(255,255,255,0.2);
  border-radius: 30px;
  padding: 0.3rem;
  margin-bottom: 2rem;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.tab.active {
  background: white;
  color: var(--primary-color);
}
.tab:not(.active):hover {
  background: rgba(255,255,255,0.3);
}

/* Input groups for widget */
.input-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  opacity: 0.9;
}

.glass-input {
  width: 100%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  outline: none;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.glass-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.info-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.header-logo {
    max-height: 140px;
    margin: -20px 0;
    width: auto;
}
