:root {
    --color-primary: #1a365d;
    /* Deep Navy */
    --color-secondary: #c5a059;
    /* Gold/Bronze */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1100px;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

/* Header */
.site-header {
    padding: var(--spacing-md) 0;
    background-color: var(--color-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Hero */
.hero {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-color: var(--color-bg-light);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 2px solid var(--color-secondary);
}

/* About */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 10px auto 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: var(--spacing-md);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

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

.service-card {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--color-secondary);
}

.service-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '•';
    color: var(--color-secondary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.1rem;
    line-height: 1;
}

/* Recent Grants */
.grants-list {
    list-style: none;
}

.grants-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.grants-list li::before {
    content: '•';
    color: var(--color-secondary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.1rem;
    line-height: 1;
}

.grants-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .grants-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grant-item {
    background-color: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
}

.featured-grant {
    grid-column: 1 / -1;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-left: none;
    border-top: 4px solid var(--color-secondary);
}

.featured-grant .grant-amount {
    color: var(--color-secondary);
    font-size: 3rem;
}

.featured-grant .grant-details {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.grant-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer-title {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.footer-email {
    color: var(--color-secondary);
    font-size: 1.25rem;
    border-bottom: 1px solid transparent;
}

.footer-email:hover {
    border-bottom-color: var(--color-secondary);
}

.linkedin-link {
    display: block;
    width: 32px;
    margin: var(--spacing-md) auto 0;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.linkedin-link svg {
    display: block;
}

.copyright {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-grant .grant-amount {
        font-size: 2.5rem;
    }
}