:root {
    --primary-dark: #003D7A;
    --primary-light: #0052A3;
    --accent-blue: #0066CC;
    --light-gray: #f8f9fa;
    --text-dark: #1a1a1a;
    --border-color: #e9ecef;
    --success-color: #28a745;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation Bar */
.bg-primary-dark {
    background-color: var(--primary-dark) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 18px;
    letter-spacing: 0.5px;
}

.logo-wrapper {
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.logo-wrapper img {
    height: 50px;
    width: auto;
}

.navbar-dark .nav-link {
    transition: color 0.3s ease;
}

.navbar-dark .nav-link:hover {
    color: var(--accent-blue) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-content h1 {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Button Styles */
.btn-apply {
    background-color: var(--accent-blue);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background-color: #0052A3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    transition: all 0.3s ease;
}

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

/* Section Titles */
.section-title {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 61, 122, 0.15) !important;
}

.card-title {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Icon Circle */
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

/* Requirement Cards */
.requirement-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.requirement-card:hover {
    box-shadow: 0 6px 16px rgba(0, 61, 122, 0.12);
}

.requirement-header {
    background-color: var(--primary-dark);
    color: white;
    padding: 20px;
}

.requirement-header h5 {
    color: white;
    margin: 0;
}

.requirement-header.alert-warning {
    background-color: #fff3cd;
    color: var(--text-dark);
}

.requirement-header.alert-warning h5 {
    color: #856404;
}

.requirement-body {
    padding: 20px;
}

.requirement-body ul li {
    padding-left: 10px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

/* Programme Cards */
.programme-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.programme-header {
    background-color: var(--primary-dark);
    color: white;
    padding: 20px;
}

.programme-header h5 {
    margin: 0;
    font-weight: 600;
}

.programme-list {
    padding: 20px;
}

.programme-list li {
    margin-bottom: 15px;
    padding-left: 10px;
    line-height: 1.6;
}

/* Cost Table */
.cost-table {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
}

.cost-row:last-child {
    border-bottom: none;
}

.cost-row.alert-info {
    background-color: #e7f3ff;
    border: none;
}

.cost-label {
    font-weight: 500;
    color: var(--text-dark);
}

.cost-amount {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 18px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--accent-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 120px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.timeline-content h5 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #666;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-weight: 700;
    font-size: 2.5rem;
}

.cta-section .lead {
    opacity: 0.95;
}

/* Contact Cards */
.contact-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-card h5 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-card ul li {
    margin-bottom: 10px;
}

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

.contact-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    border-top: 3px solid var(--accent-blue);
}

/* Alerts */
.alert-info {
    background-color: #e7f3ff !important;
    border-color: var(--accent-blue) !important;
    color: var(--primary-dark);
}

.alert-info h6 {
    color: var(--primary-dark);
}

.alert-warning {
    background-color: #fff3cd !important;
    border-color: #ffc107 !important;
}

.alert-heading {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 80px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cost-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

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

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}
