/*
 * Copyright (c) 2021 - 2025.
 * All rights reserved.
 * No license for use.
 * File : main.css
 * Last Modified: 4/19/25, 8:34 PM
 * Contact Author if any issues: info@krnshareholders.com
 *
 */

/* Base styles */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #0f172a;
  --text-color: #333;
  --light-text: #64748b;
  --lightest-bg: #f9fafb;
  --light-bg: #f1f5f9;
  --border-color: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--lightest-bg);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

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

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

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

.btn-secondary:hover {
  background-color: #f0f7ff;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group label {
  margin-bottom: 0;
  margin-left: 10px;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* Page-specific styles are in their respective template files */
:root {
    --primary-color: #1e5f74;
    --secondary-color: #133b5c;
    --accent-color: #1d7d81;
    --text-color: #333;
    --light-text: #7a7a7a;
    --lightest-text: #fafafa;
    --light-bg: #f5f5f5;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

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

/* Header & Navigation */
header {
    width: 100%;
}

.banner {
    position: relative;
    width: 100%;
    height: 172px;
    overflow: hidden;
    background-color: #133b5c; /* Dark blue background as fallback */
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                rgba(0,0,0,0.5) 0%, 
                rgba(0,0,0,0.3) 50%, 
                rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Increased visibility */
    filter: contrast(150%); /* Enhance contrast slightly */
    position: relative;
}

.banner-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    font-family: Georgia, serif;
    z-index: 2; /* Above the overlay */
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
    letter-spacing: 1px;
    font-weight: 600;
}
/*
 * Copyright (c) 2021 - 2025.
 * All rights reserved.
 * No license for use.
 * Last Modified: 4/19/25, 8:46 PM
 * Contact Author if any issues: info@krnshareholders.com
 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #ffffff;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #1d4ed8;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #334155;
    transition: all 0.3s;
}

.menu-icon {
    top: 14px;
}

.menu-icon::before {
    content: '';
    top: -8px;
}

.menu-icon::after {
    content: '';
    top: 8px;
}

.mobile-nav {
    display: none;
    background-color: #ffffff;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #2563eb;
}

/* Main content */
.site-main {
    min-height: 70vh;
    padding: 3rem 0;
}

/* Page header */
.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    color: white;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    border: 1px solid #2563eb;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #94a3b8;
}

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

.footer-section {
    min-width: 160px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}
/*
 * KRN Shareholders Website
 * Main CSS file
 */

:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #0f172a;
  --text-color: #334155;
  --light-gray: #f8fafc;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --header-height: 70px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  margin-left: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--secondary-color);
}

/* Navigation */
.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--secondary-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  background-color: var(--secondary-color);
  position: absolute;
  height: 2px;
  width: 24px;
  transition: transform 300ms ease;
}

.menu-icon {
  top: 19px;
  left: 8px;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  left: 0;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

.mobile-menu-toggle.active .menu-icon {
  background-color: transparent;
}

.mobile-menu-toggle.active .menu-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .menu-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Main content */
.site-content {
  flex: 1;
  padding: 40px 0;
}

/* Hero section */
.hero-section {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 60px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: white;
  box-shadow: var(--card-shadow);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.375rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

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

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

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

/* Document cards */
.document-section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.filter-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.filter-select {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  background-color: white;
  min-width: 150px;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.document-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.document-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.document-thumbnail {
  height: 160px;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.document-thumbnail img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.document-type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background-color: var(--primary-color);
  color: white;
  text-transform: uppercase;
}

.document-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.document-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  line-height: 1.3;
}

.document-date {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.document-category {
  display: inline-block;
  padding: 2px 8px;
  background-color: #f1f5f9;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  margin-bottom: 0.75rem;
}

.document-summary {
  font-size: 0.875rem;
  color: #475569;
  margin-bottom: 1rem;
  flex: 1;
}

.document-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  margin-top: auto;
  font-size: 0.875rem;
}

.document-link:hover {
  text-decoration: underline;
}

.document-link svg {
  width: 16px;
  height: 16px;
  margin-left: 4px;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #cbd5e1;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  color: #94a3b8;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    gap: 0;
  }
  
  .nav-list.show {
    display: flex;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-link.active::after {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .documents-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-select {
    width: 100%;
  }
}

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

.mb-2 {
  margin-bottom: 0.5rem;
}

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

.mb-8 {
  margin-bottom: 2rem;
}

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

.mt-8 {
  margin-top: 2rem;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #64748b;
  font-size: 1.125rem;
}
.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* Error section */
.error-section {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.error-container {
    max-width: 600px;
    padding: 40px 20px;
}

.error-container h1 {
    font-size: 8rem;
    color: #2563eb;
    margin: 0;
    line-height: 1;
}

.error-container h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.error-container p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Responsive */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    .main-nav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-logo {
        max-width: 300px;
    }
}
nav {
    background-color: #333;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
}

nav li {
    margin: 0 0.5rem;
}

nav a {
    color: #fff;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: block;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Main Content */
main {
    flex-grow: 1;
    padding: 2rem 1rem;
    background-color: var(--light-bg);
}

section {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 0.5rem;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background-color: #fff;
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Latest Updates Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.view-all {
    font-size: 0.9rem;
    font-weight: 500;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image {
    position: relative;
    height: 160px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.card-header {
    background-color: var(--primary-color);
    padding: 1rem;
    color: white;
    font-size: 0.9rem;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.card-meta {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.card-meta span:not(:last-child) {
    margin-right: 0.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.read-more {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* CTA Section */
.cta {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.cta h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: var(--light-text);
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 120px;
    margin-left: -2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
}

.timeline-date {
    flex: 0 0 120px;
    font-weight: bold;
    padding-right: 20px;
    position: relative;
    text-align: right;
}

.timeline-date::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 0;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-left: 20px;
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.timeline-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Event Cards */
.upcoming-events {
    margin-top: 3rem;
}

.upcoming-events h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    width: 80px;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: bold;
}

.event-details {
    padding: 1rem;
    flex-grow: 1;
}

.event-details h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.event-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Document List */
.document-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-group, .search-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-group select, .search-group input {
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 180px;
}

.search-group {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.search-group input {
    flex-grow: 1;
    margin-right: 0.5rem;
}

.search-btn {
    padding: 0.6rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.document-card {
    display: flex;
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.document-icon {
    width: 60px;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.document-details {
    flex-grow: 1;
}

.document-details h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.document-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--light-text);
    margin-bottom: 0.75rem;
}

.document-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.btn-download, .btn-preview {
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    border-radius: 4px;
}

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

.btn-preview {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.page-link, .page-ellipsis, .page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.9rem;
}

.page-link {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
}

.page-link.active {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.page-nav {
    width: auto;
    padding: 0 1rem;
    border-radius: 18px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
}

/* Signup Section */
.signup-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.signup-benefits {
    padding: 2rem;
    background-color: var(--light-bg);
}

.signup-benefits h2 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.signup-benefits ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.signup-benefits li {
    margin-bottom: 0.5rem;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--light-text);
    font-style: italic;
}

.signup-form {
    padding: 2rem;
}

.signup-form h2 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* Form elements styling */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.radio-label:hover {
    color: var(--primary-color);
}

.radio-label input[type="radio"] {
    position: relative;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-label input[type="radio"]:checked {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.radio-label input[type="radio"]:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    position: relative;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 0.75rem;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-group input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-group input[type="checkbox"]:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.checkbox-group label {
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-group:hover label {
    color: var(--primary-color);
}

/* Form validation styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Custom select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    appearance: none;
}

/* Form button styling */
button[type="submit"].btn-primary {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 500;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button[type="submit"].btn-primary:hover {
    background-color: var(--primary-dark);
}

button[type="submit"].btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Help text for form fields */
.help-text {
    font-size: 0.875rem;
    color: var(--light-text);
    margin-top: 0.25rem;
}

/* Form placeholder styling */
::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* Testimonials */
.testimonials {
    margin-top: 3rem;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 500;
    color: var(--light-text);
    text-align: right;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-info {
    padding: 2rem;
    background-color: var(--light-bg);
}

.contact-info h2 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.info-item {
    display: flex;
    margin-top: 1.5rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 0.75rem;
}

.info-icon img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.info-content h3 {
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.social-links {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon img {
    width: 100%;
    height: auto;
}

.contact-form {
    padding: 2rem;
}

/* Contact form specific styles */
.contact-form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.method-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.method-details h3 {
    margin: 0 0 0.25rem;
    color: var(--secondary-color);
}

.method-details p {
    margin: 0;
    color: var(--light-text);
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-question {
    font-weight: 600;
    color: var(--secondary-color);
    padding: 1rem;
    cursor: pointer;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-answer {
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 0 0 8px 8px;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-right: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 60px;
    }
    
    .timeline-date {
        flex: 0 0 60px;
    }
    
    .contact-container, .signup-container {
        grid-template-columns: 1fr;
    }
    
    .document-card {
        flex-direction: column;
    }
    
    .document-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .document-actions {
        flex-direction: row;
        margin-top: 1rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .document-filters {
        flex-direction: column;
    }
    
    .search-group {
        flex-direction: column;
    }
    
    .search-group input {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
}
