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

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --white: #ffffff;
    --text-dark: #111827;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: var(--white);
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Debt Display */
.debt-display {
    margin: 3rem 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.debt-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.debt-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.debt-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.currency {
    font-size: 2rem;
    font-weight: bold;
}

#debt-value {
    font-size: 4rem;
    font-weight: bold;
    color: var(--accent-color);
}

.unit {
    font-size: 1.5rem;
    font-weight: 600;
}

.debt-info {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.debt-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.breakdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-item .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.breakdown-item .value {
    font-size: 1.5rem;
    font-weight: bold;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Solutions Section */
.solutions {
    padding: 4rem 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

.solution-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid var(--border-color);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.impact-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.key-points {
    list-style: none;
    margin: 1rem 0;
}

.key-points li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.key-points li:last-child {
    border-bottom: none;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.card-footer span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.card-footer i {
    color: var(--primary-color);
}

/* Total Impact */
.total-impact {
    background: linear-gradient(135deg, var(--dark-color), #374151);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.total-impact h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

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

.impact-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Implementation Section */
.implementation {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow-lg);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.phase-investment {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.phase-details h4 {
    margin: 1rem 0 0.5rem 0;
    color: var(--dark-color);
}

.phase-details ul {
    list-style: none;
    margin-left: 0;
}

.phase-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

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

.phase-targets {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.target-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.target-item i {
    color: var(--secondary-color);
}

/* Requirements */
.requirements {
    margin-top: 3rem;
}

.requirements h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

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

.requirement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.requirement-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirement-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.requirement-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--white);
}

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

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    margin: 2rem 0;
}

.about-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem 0;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.5rem 0;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    #debt-value {
        font-size: 3rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

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

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

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

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

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Made with Bob */

/* Debt Repayment Timeline Styles */
.debt-repayment-timeline {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.debt-repayment-timeline h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.timeline-subtitle {
    text-align: center;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.repayment-stat {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.repayment-stat:hover {
    transform: translateY(-5px);
}

.repayment-stat .stat-icon {
    font-size: 2rem;
    color: #fbbf24;
}

.repayment-stat .stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fbbf24;
}

.repayment-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.timeline-progress {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.timeline-year {
    flex: 1;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.timeline-year:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.timeline-year.debt-free {
    background: rgba(251, 191, 36, 0.3);
    border-color: #fbbf24;
}

.year-marker {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.year-amount {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.year-remaining {
    font-size: 0.9rem;
    opacity: 0.9;
}

.timeline-year.debt-free .year-remaining {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fbbf24;
}

.solution-contributions {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.solution-contributions h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contribution-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contribution-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.bar-value {
    font-weight: bold;
    color: #fbbf24;
}

.bar-track {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-out;
}

.timeline-cta {
    background: rgba(251, 191, 36, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #fbbf24;
}

.timeline-cta p {
    margin: 0;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .debt-repayment-timeline {
        padding: 1.5rem;
    }
    
    .repayment-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline-progress {
        flex-direction: column;
    }
    
    .timeline-year {
        min-width: 100%;
    }
}
