/* General Reset and Body Styling */
* {
    box-sizing: border-box;
    font-family: 'Lobster Two', 'Arial', sans-serif;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Header and Navigation */
header.navbar {
    display: flex;
    background-color: #161b22;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 2rem;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    font-weight: bold;
}

.navbar a {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2a9d8f;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.navbar a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar-item:hover {
    color: #2a9d8f !important;
}

.navbar-item {
    color: white !important;
}

.navbar-burger {
    color: white !important;
}


h1,
h2,
h3,
h4 {
    color: #2ecc71 !important;
    font-weight: 600;
}

.section {
    background-color: #121212;
    padding: 3rem 1.5rem;
}

.card {
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.15);
}

.card-content {
    padding: 1.5rem;
}

.title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2ecc71;
    display: inline-block;
}

.card-content p {
    color: #c9c9c9;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.button.is-link {
    background-color: #2ecc71;
    border-color: transparent;
    color: #121212;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button.is-link:hover {
    background-color: #27ae60;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.modal-background {
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.modal-content {
    display: flex;
    flex-direction: column;
    /* stack items vertically */
    align-items: center !important;
    justify-content: center !important;
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    /* allow scrolling if too tall */
    max-height: 90vh;
    /* keep it inside viewport */
}


.modal-content .box {
    background-color: transparent;
    /* Remove inner background to avoid double layering */
    border-radius: 12px;
    color: #ffffff;
    /* White text for maximum contrast */
    padding: 30px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-content .box h3.title {
    font-size: 2rem;
    color: #2ecc71;
    /* Highlight the title with the accent color */
    margin-bottom: 20px;
}

.modal-content .box p {
    color: #ffffff;
    /* White text for better readability */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-content .box ul {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #ffffff;
    /* White text for better readability */
    list-style-type: disc;
}

.modal-content .box ul li {
    margin-bottom: 10px;
}

/* Ensure modal images scale nicely */
.modal-content img {
    width: 20%;
    max-width: 100%;
    /* no fixed size */
    height: auto;
    border-radius: 12px;
    margin-bottom: -10px;
}

.modal-content .button.is-link {
    background-color: #2ecc71;
    color: #1e1e1e;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    align-self: flex-end;
}

.modal-content .button.is-link:hover {
    background-color: #27ae60;
    /* Darker shade on hover */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2ecc71 !important;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2ecc71, transparent);
}

.service-icon {
    color: #2ecc71;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.h4-sub {
    font-size: 1.25rem;
    /* Adjust the font size as needed */
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: #333;
    /* Dark grey color */
    max-width: 800px;
    /* Optional: control the width of the text */
    margin: 0 auto;
    /* Center the text */
}

/* Footer */
footer.footer {
    background-color: #0a0a0a;
    color: #e0e0e0;
    padding: 40px 20px;
    text-align: center;
}

footer .social-icons a {
    color: #e0e0e0;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #2ecc71;
}


/* footer-icons.css */
.social-icons a i {
    color: #22c55e;
    /* A nice green shade */
    transition: color 0.2s;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

/* Add fix for footer column alignment */
.footer .column.is-4 {
    text-align: center !important;
    float: none !important;
    margin: 0 auto !important;
}

.social-icons a:hover i {
    color: #16a34a;
    /* Darker green on hover */
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar a {
        font-size: 0.9rem;
        color: white !important;
    }

    .navbar-menu {
        background-color: #000;
        box-shadow: 0 8px 16px rgba(10, 10, 10, .1);
        padding: .5rem 0
    }

    /* Modal Adjustments */
    .modal-content {
        width: 90%;
        max-width: 600px;
        padding: 15px;
    }

    /* Cards */
    .card {
        padding: 15px;
        text-align: center;
    }

    .card-content {
        padding: 1rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }

    /* Footer */
    footer.footer {
        padding: 30px 15px;
    }

    footer .social-icons a {
        font-size: 1.3rem;
        margin: 0 8px;
    }
}