/* ===================================
   NewDevCo Website Styles
   Modern, Professional, Corporate Design
   =================================== */

/* === ROOT VARIABLES === */
:root {
    /* Colors */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --secondary-dark: #047857;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    font-size: 1.125rem;
}

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

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === NAVIGATION === */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-link.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
}

.nav-link.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    /* background image with a semi-transparent gradient overlay for consistent tint and contrast */
    background-image: linear-gradient(135deg, rgba(30,58,138,0.65) 0%, rgba(30,64,175,0.55) 50%, rgba(59,130,246,0.4) 100%), url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    background-color: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-large:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-white-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    background-color: white;
    color: var(--primary-color);
}

.btn-white-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white-large:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* === SECTIONS === */
section {
    padding: 5rem 0;
}

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

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

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

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* === OVERVIEW SECTION === */
.overview {
    padding: 5rem 0;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('../images/overview-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.overview-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* === CAPABILITIES GRID === */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capability-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.capability-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.75rem;
}

.capability-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.capability-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.capability-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.capability-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* === DIFFERENTIATORS === */
.differentiators {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.diff-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.diff-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.diff-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.diff-item p {
    font-size: 1rem;
    color: var(--text-medium);
    margin: 0;
}

/* === PORTFOLIO HIGHLIGHT === */
.portfolio-highlight {
    background: white;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-stat {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
}

.portfolio-stat .stat-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.stat-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.stat-content p {
    margin: 0;
    font-size: 1rem;
}

/* === CAPABILITY DETAIL PAGES === */
.capability-detail {
    padding: 4rem 0;
}

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

.capability-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.capability-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-light);
    opacity: 0.3;
    line-height: 1;
}

.capability-header h2 {
    margin-bottom: 1rem;
}

.capability-intro {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.services-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.service-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.service-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.service-item p {
    margin: 0;
    font-size: 1rem;
}

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

.service-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.service-card h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.service-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* === HIGHLIGHT BOX === */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.highlight-box h3 {
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.highlight-stat {
    text-align: center;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === ALERT BOX === */
.alert-box {
    background-color: #fef3c7;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.alert-box i {
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-box h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.alert-box p {
    margin: 0;
    color: var(--text-medium);
}

/* === PORTFOLIO PAGES === */
.portfolio-stats-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

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

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-card .stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--text-medium);
    font-size: 1rem;
    font-weight: 500;
}

/* === GEOGRAPHIC REACH === */
.geographic-reach {
    padding: 5rem 0;
}

.reach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.reach-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
}

.reach-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.reach-card h3 {
    margin-bottom: 0.5rem;
}

.reach-card p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

.reach-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.reach-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* === PROJECT TYPES === */
.project-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-type-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.project-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-type-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.project-type-card h3 {
    margin-bottom: 1.5rem;
}

.project-specs {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.spec-item strong {
    color: var(--text-dark);
    margin-right: 0.5rem;
}

.project-type-card p {
    margin: 0;
    font-size: 1rem;
}

/* === PROJECT CARDS === */
.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary-color);
    transition: var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.project-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.detail-item i {
    color: var(--primary-color);
    flex-shrink: 0;
}

.project-card > p {
    margin: 0;
    line-height: 1.7;
}

/* === FUNDING PAGES === */
.primary-funding {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-light), white);
}

.funding-highlight {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border-left: 6px solid var(--primary-color);
}

.funding-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.funding-content h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.funding-subtitle {
    font-size: 1.125rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.funding-content p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* === FUNDING SOURCES === */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.source-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.source-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.source-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.source-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.source-card p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.source-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.example-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* === CAPABILITIES LIST === */
.capabilities-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.capability-row {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.capability-row:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(5px);
}

.capability-icon-box {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.capability-details h3 {
    margin-bottom: 0.75rem;
}

.capability-details p {
    margin: 0;
}

/* === TRACK RECORD === */
.track-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.track-stat {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.track-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.track-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.track-content p {
    margin: 0;
    color: var(--text-medium);
}

.track-description {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.track-description p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* === CAPITAL BENEFITS === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.benefit-card p {
    margin: 0;
    font-size: 1rem;
}

/* === ABOUT PAGE === */
.mission-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light), white);
}

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

.mission-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.mission-content h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.mission-statement {
    font-size: 1.375rem;
    line-height: 1.8;
    color: var(--text-medium);
}

/* === COMMUNITY IMPACT === */
.impact-highlight {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.impact-highlight .impact-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.impact-highlight h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.impact-highlight p {
    color: white;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.impact-section h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.impact-list {
    display: grid;
    gap: 1.5rem;
}

.impact-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.impact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.impact-item > i {
    flex-shrink: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.impact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.impact-item p {
    margin: 0;
    font-size: 1rem;
}

/* === TIMELINE === */
.capabilities-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-left: 3px solid var(--primary-light);
    margin-left: 2rem;
    position: relative;
}

.timeline-icon {
    position: absolute;
    left: -2.25rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    padding-left: 2rem;
}

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

.timeline-content p {
    margin: 0;
    color: var(--text-medium);
}

/* === SUCCESS METRICS === */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition-normal);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.metric-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.metric-card h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.metric-card p {
    margin: 0;
    color: var(--text-medium);
    font-size: 1rem;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === CONTACT PAGE === */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    height: fit-content;
}

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

.contact-intro {
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 2.5rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.contact-details p,
.contact-details a {
    margin: 0;
    color: var(--text-medium);
    font-size: 1rem;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-fast);
}

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

.contact-highlights {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.contact-highlights h3 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.contact-highlights ul {
    list-style: none;
    padding: 0;
}

.contact-highlights li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--text-medium);
}

.contact-highlights li i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.contact-form h2 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.form-subtitle {
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b5563' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

/* Success/Error Messages */
.success-message,
.error-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
}

.success-icon,
.error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.success-icon {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary-color);
}

.error-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.success-message h3,
.error-message h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.success-message p,
.error-message p {
    margin-bottom: 2rem;
    color: var(--text-medium);
    max-width: 400px;
}

.error-message a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Quick Contact Banner */
.quick-contact-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 3rem 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.banner-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.banner-text h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.banner-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.banner-text a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
}

.banner-text a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Contact Page */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .banner-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper,
    .contact-info {
        padding: 2rem;
    }
}

/* === FOOTER === */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-column h3,
.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.5rem;
    background: linear-gradient(135deg, white, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
}

.footer-funding {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary-light);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-delay {
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 0.8s ease 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 968px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .capabilities-grid,
    .project-type-grid,
    .sources-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .funding-highlight {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 5rem 0 4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .capability-header {
        flex-direction: column;
    }
    
    .capability-number {
        font-size: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .project-cards {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        margin-left: 1rem;
    }
    
    .timeline-icon {
        left: -1.75rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .page-header {
        padding: 3rem 0 2rem;
    }
}
