/* AIR Journals - Complete Website Styles */

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #111827;
  background: white;
}

/* Typography */
h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  margin-bottom: 1.5rem;
  padding-top: 0.2em;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  padding-top: 0.2em;
  color: #0f172a;
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #0f172a;
}

h4 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1rem;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: #374151;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

strong {
  font-weight: 700;
  color: #0f172a;
}

a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1e40af;
}

/* Header Navigation */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.logo span {
  color: #3b82f6;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: #0f172a;
}

.nav-cta {
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%) !important;
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Main Content Area */
main {
  margin-top: 90px;
  min-height: calc(100vh - 90px - 200px);
}

/* Page Container */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Hero Section */
.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.hero h1 {
  max-width: 1000px;
  margin: 0 auto 1.5rem;
}

.hero-tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 1.5rem;
}

.hero p {
  max-width: 850px;
  margin: 0 auto 3rem;
  font-size: 1.25rem;
  color: #374151;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s;
  border: 3px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.45);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: #3b82f6;
  border-color: #3b82f6;
}

.btn-secondary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Crisis/Stats Cards */
.crisis-section {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.crisis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.crisis-card {
  background: white;
  padding: 3.5rem 2rem 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  position: relative;
  border-top: 5px solid transparent;
  overflow: visible;
}

.crisis-card:nth-child(1) {
  border-top-color: #ef4444;
}

.crisis-card:nth-child(2) {
  border-top-color: #f59e0b;
}

.crisis-card:nth-child(3) {
  border-top-color: #10b981;
}

.crisis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.crisis-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #3b82f6;
  display: block;
  margin-bottom: 1.25rem;
  line-height: 1.4;
  padding-top: 0.3em;
  overflow: visible;
}

.crisis-card p {
  color: #374151;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

/* Dark Section */
.section-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 6rem 2rem;
  color: white;
}

.section-dark h2 {
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

.section-dark h3 {
  color: white;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section-dark .crisis-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-dark .crisis-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* Content Sections */
.content-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content-section-alt {
  background: #f9fafb;
  padding: 4rem 2rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  padding: 2rem;
  background: white;
  border-radius: 16px;
  border-left: 4px solid #3b82f6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h4 {
  margin-bottom: 1rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
}

td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

tbody tr:hover {
  background: #f9fafb;
}

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

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #0a0f1a 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 1rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #3b82f6;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 4rem;
}

.mb-lg {
  margin-bottom: 4rem;
}

.max-width-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 968px) {
  .crisis-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 0.85rem;
  }
  
  .nav-cta {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
  
  .page-container,
  .page-container-wide {
    padding: 2rem 1rem;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }
}
