@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --background: hsl(210, 50%, 98%);
  --foreground: hsl(215, 25%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 25%, 15%);
  --primary: hsl(210, 100%, 45%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(180, 60%, 45%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 30%, 95%);
  --muted-foreground: hsl(215, 15%, 45%);
  --border: hsl(210, 30%, 88%);
  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-top {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-links {
  display: flex;
  gap: 1.5rem;
}

.header-top a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s;
}

.header-top a:hover {
  opacity: 0.8;
}

.header-nav {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(var(--foreground), 0.8);
  transition: all 0.3s;
  border-radius: 0.375rem;
}

.nav-links a:hover {
  color: var(--primary);
  background-color: var(--muted);
}

/* Dropdown Menu Styles */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links .dropdown-toggle::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.nav-links .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  list-style: none;
  border: 1px solid var(--border);
  z-index: 100;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown-menu li {
  width: 100%;
}

.nav-links .dropdown-menu a {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: all 0.3s ease;
  border-radius: 0;
}

.nav-links .dropdown-menu a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding-left: 1.25rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  background-color: var(--card);
  border-top: 1px solid var(--border);
  animation: slideDown 0.3s ease-out;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav-links {
  flex-direction: column;
  align-items: stretch;
  padding: 1rem 0;
}

.mobile-menu .nav-links a {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 78, 146, 0.9) 0%, rgba(0, 128, 128, 0.85) 100%);
}

.hero .container {
  position: relative;
  z-index: 10;
}

.hero-content {
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-highlight {
  color: hsl(190, 80%, 50%);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--card);
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-foreground);
  border: 2px solid var(--primary-foreground);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: scale(1.05);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0, 120, 212, 0.3);
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.feature-card p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--card-foreground);
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.badge-primary {
  background-color: rgba(0, 120, 212, 0.1);
  color: var(--primary);
}

.badge-secondary {
  background-color: rgba(0, 139, 139, 0.1);
  color: var(--secondary);
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 3rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* Card Styles */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Image Styles */
.rounded-img {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Background Utilities */
.bg-muted {
  background-color: rgba(210, 230, 245, 0.3);
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.bg-gradient-soft {
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.05) 0%, rgba(0, 139, 139, 0.05) 100%);
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

thead {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

thead th {
  padding: 1rem;
  font-weight: 600;
  text-align: left;
}

thead th.highlight {
  background-color: var(--secondary);
}

tbody tr:nth-child(even) {
  background-color: rgba(210, 230, 245, 0.3);
}

tbody td {
  padding: 1rem;
}

.table-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto;
}

.text-success {
  color: #22c55e;
}

.text-error {
  color: #ef4444;
}

/* News Card */
.news-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
}

.news-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.news-card-img {
  position: relative;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-content {
  padding: 1.5rem;
}

.news-outlet {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.news-card:hover h3 {
  color: var(--primary);
}

/* Footer */
.footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 4rem 0;
}

.footer .grid-3 {
  margin-bottom: 3rem;
}

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
  font-size: 0.875rem;
}

.footer a:hover {
  color: white;
}

.footer h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Testimonial */
.testimonial {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 3rem;
  height: 3rem;
  color: rgba(0, 120, 212, 0.2);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.testimonial-img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(0, 120, 212, 0.2);
}

.testimonial-text {
  flex: 1;
}

.testimonial-quote {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--foreground);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  filter: blur(60px);
}

.cta-section::before {
  top: 2.5rem;
  left: 2.5rem;
  width: 10rem;
  height: 10rem;
}

.cta-section::after {
  bottom: 2.5rem;
  right: 2.5rem;
  width: 15rem;
  height: 15rem;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Utilities */
.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.flex {
  display: flex;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .testimonial-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .hero {
    padding-top: 6rem;
  }
  
  .header-top-links {
    gap: 0.5rem;
  }
  
  .header-top-links span {
    display: none;
  }
  
  table {
    font-size: 0.875rem;
  }
  
  thead th, tbody td {
    padding: 0.75rem 0.5rem;
  }
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-content {
    flex-direction: row;
  }
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Alert Box */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.alert-warning {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #dc2626;
}

.alert-warning p {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

/* Icons using SVG */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}
