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

html {
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

:root {
    --primary-dark: #2c4a4a;
    --primary-teal: #3d6b6b;
    --accent-green: #4db8a8;
    --accent-light: #6dd5c3;
    --text-dark: #1a2f2f;
    --text-light: #ffffff;
    --bg-light: #f8fffe;
    --bg-white: #ffffff;
    --border-color: #e0f2f1;
    --shadow: rgba(45, 74, 74, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* Section */
.section {
    padding: 80px 2rem;
}

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

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--primary-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.nav-cta {
    background-color: var(--accent-green);
    color: var(--text-light);
    padding: 0.65rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 184, 168, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
    padding: 100px 2rem;
    color: var(--text-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--accent-light);
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-link:hover {
    color: var(--accent-light);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-green);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 184, 168, 0.4);
}

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

.placeholder-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Stats Bar */
.stats-bar {
    padding: 80px 2rem;
    background-color: var(--bg-white);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-green) 100%);
    border-radius: 1rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Revised About Section Layout */
.about-grid {
    display: grid;
    grid-template-columns: 0.6fr 0.4fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text {
    text-align: left;
}

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

.about-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
}

/* Update Hero Image Styling to fit the specific PNG better */
.hero-image img {
    /* Adjust if the headshot needs specific sizing */
    max-height: 500px; 
    width: auto;
    object-fit: contain;
}

/* Responsive fixes for the new About Grid */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-images {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.portfolio-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    margin-bottom: 1rem;
}

.portfolio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.portfolio-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.learn-more {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #64748b;
}

/* Capital Bridge Section */
.capital-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.capital-card {
    text-align: left;
    position: relative;
}

.process-number {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.capital-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.capital-card p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.action-link {
    display: inline-block;
    background-color: #0f172a;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.25rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.action-link:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 184, 168, 0.4);
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.insights-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
}

.insights-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--accent-green);
}

.insights-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.insights-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.insights-card h3 {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.insights-card .date {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.insights-card .insights-summary {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.insights-card .read-more {
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
}

.insights-card:hover .read-more {
    color: var(--accent-green);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-wrapper h3,
.faq-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-form {
    max-width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0f172a;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #0f172a;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(77, 184, 168, 0.1);
}

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

/* Fix for multi-select height */
.form-group select[multiple] {
    height: auto; 
    min-height: 150px; /* Ensure sufficient visible space for selection */
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--accent-green);
    color: var(--text-light);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 184, 168, 0.4);
}

#form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--accent-green);
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-green);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f8fafc;
    border-top: 3px solid #0f172a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

.spinner-small {
    border: 2px solid #f8fafc;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

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

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: var(--accent-light);
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Article Styles */
.article-hero {
    padding: 80px 2rem 40px;
    text-align: center;
}

.article-hero .container {
    max-width: 800px;
}

#article-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: #0f172a;
}

.article-date {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.article-cover {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.article-body {
    padding: 80px 2rem;
}

.article-content {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    color: #0f172a;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.article-content h1 {
    font-size: 2.5rem;
}

.article-content h2 {
    font-size: 2rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */

@media (max-width: 1024px) {
    .hero-grid {
        gap: 3rem;
    }

    .capital-grid {
        gap: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .insights-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .navbar .container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }

    .hero {
        padding: 60px 1.5rem;
    }

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

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

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .hero-image {
        order: -1;
    }

    .placeholder-image {
        max-width: 350px;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .section {
        padding: 50px 1.5rem;
    }

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

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

    .about-text p {
        font-size: 1rem;
    }

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

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

    .capital-card {
        text-align: center;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-hero {
        padding: 60px 1.5rem 20px;
    }

    #article-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .article-body {
        padding: 50px 1.5rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h1 {
        font-size: 1.75rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    * {
        overflow-x: hidden;
    }

    body {
        font-size: 14px;
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo {
        height: 28px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .hero {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .hero .container {
        padding: 0 1rem;
    }

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

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

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-wrap: break-word;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-content > div {
        margin-top: 1.5rem !important;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-content > div a {
        margin-left: 0 !important;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero-image {
        order: -1;
        padding: 0 1rem;
    }

    .placeholder-image {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .section {
        padding: 40px 0;
        overflow-x: hidden;
    }

    .section .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }

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

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .about-images {
        padding: 0 1rem;
    }

    .about-img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .stat {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .portfolio-grid,
    .insights-grid,
    .capital-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-card,
    .insights-card,
    .capital-card {
        padding: 1.5rem;
    }

    .portfolio-card h3,
    .insights-card h3,
    .capital-card h3 {
        font-size: 1.1rem;
    }

    .portfolio-card p,
    .insights-card p,
    .capital-card p {
        font-size: 0.85rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .submit-button {
        font-size: 0.9rem;
        padding: 0.875rem;
        width: 100%;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    .footer {
        padding: 2rem 0;
        overflow-x: hidden;
    }

    .footer .container {
        padding: 0 1rem;
    }

    .footer-logo {
        height: 35px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }

   .social-links {
        display: flex;
        flex-direction: row; /* Changed from column to row */
        gap: 0.5rem;
        flex-wrap: wrap; /* Added to wrap if needed */
        justify-content: center; /* Added to center the icons */
    }

    .social-link {
        margin: 0;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .article-hero {
        padding: 60px 0 30px;
    }

    .article-hero .container {
        padding: 0 1rem;
    }

    #article-title {
        font-size: 1.5rem;
    }

    .article-body {
        padding: 40px 0;
    }

    .article-body .container {
        padding: 0 1rem;
    }

    .article-content {
        font-size: 0.9rem;
    }

    .article-content h1 {
        font-size: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.3rem;
    }

    .article-content h3 {
        font-size: 1.1rem;
    }

    .article-content img {
        max-width: 100%;
        height: auto;
    }
}

/* 404 Error Page */
.error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-color: var(--bg-light);
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }

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

    .error-message {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
        gap: 1rem;
    }
}