/* Modern Minimalistic Home Page Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2c3e50;
    background-color: #f9f4ee;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #d72638 0%, #a91d2c 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    margin: 0;
    border: none;
    border-radius: 4px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 25px 0;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Navigation Section */
.navigation {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.nav-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    border: none;
    position: relative;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

.nav-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d72638 0%, #a91d2c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: white;
    font-size: 2rem;
}

.nav-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #2c3e50;
}

.nav-card p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.hidden-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
}

.nav-button {
    background: linear-gradient(135deg, #f4d03f 0%, #f39c12 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Search Section */
.search-section {
  margin: 25px 0;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.search-container {
  display: flex;
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.search-container:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

#search-input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #333;
  background: transparent;
  width: 100%;
}

#search-input::placeholder {
  color: #999;
  font-weight: 300;
}

/* Search Results Dropdown */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-top: 10px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  border: 1px solid #f0f0f0;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: #f8f9fa;
}

.result-icon {
  width: 40px;
  height: 40px;
  background: #d72638;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
  flex-shrink: 0;
}

.result-content {
  flex: 1;
}

.result-name {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  margin-bottom: 2px;
}

.result-subtitle {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: 50vh;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 2.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .search-section {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }
    
    .search-container {
        border-radius: 25px;
    }
    
    #search-input {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .search-results {
        max-height: 300px;
    }
    
    .search-result-item {
        padding: 12px 15px;
    }
    
    .result-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .result-name {
        font-size: 0.95rem;
    }
    
    .result-subtitle {
        font-size: 0.85rem;
    }
    
    .stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .navigation {
        padding: 20px 20px;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-card {
        padding: 30px 20px;
    }
    
    .nav-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}
