
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background-color: #ffffff;
}

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

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

.company-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0f172a;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: block;
    background: none;
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05) 0%, rgba(241, 245, 249, 0.1) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
    background-color: #0f172a;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.hero-btn:hover {
    background-color: #1e293b;
}

/* Section Styles */
.performance-section {
    padding: 4rem 1rem;
    background-color: rgba(241, 245, 249, 0.2);
}

.resources-section {
    padding: 4rem 1rem;
}

.about-section {
    padding: 4rem 1rem;
    background-color: rgba(241, 245, 249, 0.2);
}

.contact-section {
    padding: 4rem 1rem;
    background-color: rgba(241, 245, 249, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 48rem;
    margin: 0 auto;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.card-header {
    padding: 1.5rem 1.5rem 0;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-description {
    color: #64748b;
    margin-bottom: 1rem;
}

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

/* Grid Layouts */
.performance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

/* Performance Items */
.performance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.performance-item.positive {
    background-color: #f0fdf4;
}

.performance-item.negative {
    background-color: #fef2f2;
}

.performance-item.primary {
    background-color: #eff6ff;
}

.performance-item.secondary {
    background-color: #f8fafc;
}

.fund-name {
    font-weight: 600;
}

.return-value {
    font-weight: bold;
}

.positive .return-value {
    color: #16a34a;
}

.negative .return-value {
    color: #dc2626;
}

.primary .return-value {
    color: #2563eb;
}

.secondary .return-value {
    color: #64748b;
}

/* Resource Images */
.resource-image {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.about-image {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Buttons */
.resource-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #0f172a;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.resource-btn:hover {
    background-color: #1e293b;
}

.link-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    color: #0f172a;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 0.75rem;
}

.link-btn:hover {
    background-color: #f8fafc;
}

.consultation-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #0f172a;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.consultation-btn:hover {
    background-color: #1e293b;
}

/* Previous Letters Section */
.previous-letters {
    background-color: rgba(241, 245, 249, 0.2);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.previous-letters-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.previous-letters-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.previous-letters-description {
    color: #64748b;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background-color: white;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    min-width: 150px;
    text-align: left;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
}

.dropdown-content a {
    color: #0f172a;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Contact Items */
.contact-item {
    margin-bottom: 1rem;
}

.contact-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #64748b;
}

/* Hours List */
.hours-list {
    margin-bottom: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.day {
    font-weight: 500;
}

.time {
    color: #64748b;
}

/* Footer */
.footer {
    padding: 2rem 1rem;
    border-top: 1px solid #e2e8f0;
}

.footer-text {
    text-align: center;
    color: #64748b;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .performance-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .previous-letters-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 640px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hover effects */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

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