/* About Us Page Specific Styles */
.hero.is-medium {
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    position: relative;
    margin-bottom: 30px;
}

.hero.is-medium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2ecc71, transparent);
}

section.container {
    margin: 40px auto;
    max-width: 900px;
    padding: 30px;
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

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

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


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

/* Global Styles */
body {
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

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

label {
    color: #e0e0e0 !important;
}

/* 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;
}

/* Hero Section */
.hero {
    background-color: #1d1d1d;
    color: #e0e0e0;
    padding: 60px 0;
    text-align: center;
}

.hero .title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2ecc71;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 10px;
}

section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 20px;
}

section p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 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 */
}

.image-track-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#image-track {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    user-select: none;
    touch-action: pan-x;
    cursor: grab;
    transition: transform 0.3s cubic-bezier(.4, 2, .6, 1);
}

#image-track>.image {
    width: 25%;
    min-width: 200px;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .image-track-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #image-track {
        min-width: 600px;
        width: max-content;
        transition: none;
        cursor: grab;
    }
}

/* Phones in portrait */
@media (max-width: 768px) {

    /* Mobile: single column for max readability */
    #image-track {
        grid-template-columns: 1fr;
        gap: 1.5vmin;
        margin-top: 5%;
    }

    #image-track>.image {
        width: 7%;
        height: auto;
    }
}

/* Adjust the hero section */
.hero.is-medium {
    padding-top: 3rem;
    /* Provide space from the top */
}

.hero-body {
    padding: 1rem;
    /* Smaller padding */
}

/* Adjust title and subtitle for mobile view */
.title {
    font-size: 2rem;
    /* Smaller title font */
}

.subtitle {
    font-size: 1rem;
    /* Adjust subtitle font size */
}

/* Roles Section */
#roles {
    margin-top: 4rem;
    padding: 4rem 0;
    background-color: #121212;
    /* Solid black */
    position: relative;
}

#roles .container {
    position: relative;
    z-index: 2;
}

#roles .section-title {
    text-align: center;
    color: #2ecc71;
    /* Green text */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

#roles .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2ecc71;
    /* Green line */
    border-radius: 2px;
}

/* Team Grid Layout */
.team-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-row.first-row {
    margin-bottom: 3rem;
}

.team-row .column {
    flex: 0 0 auto;
    width: 280px;
}

/* Role Cards */
.role-card {
    background-color: #121212;
    /* Solid black */
    border: 1px solid #2ecc71;
    /* Green border */
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.role-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: #27ae60;
    /* Darker green on hover */
}

.role-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

.role-card .title {
    color: #2ecc71;
    /* Green title */
    margin-bottom: 1rem !important;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* Profile Images */
.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid #2ecc71;
    /* Green border */
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.role-card:hover .testimonial-img {
    transform: scale(1.1);
    border-color: #27ae60;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.role-card p {
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Buttons */
.role-card .button {
    background-color: #2ecc71;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    color: #121212;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-card .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
    background-color: #27ae60;
}

/* Modal Styling */
#roles .modal-content .box {
    background-color: #121212;
    color: #e0e0e0;
    border-radius: 20px;
    border: 1px solid #2ecc71;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

#roles .modal-content h3 {
    margin-bottom: 1.5rem;
    color: #2ecc71;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 2;
}

#roles .modal-content p {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
}

#roles .modal-content .close-modal {
    background-color: #2ecc71;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: #121212;
    transition: all 0.3s ease;
}

#roles .modal-content .close-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
    background-color: #27ae60;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .team-row .column {
        width: 100%;
        max-width: 300px;
    }

    #roles .section-title {
        font-size: 2rem;
    }

    .role-card {
        padding: 1.5rem;
    }

    #roles .modal-content .box {
        margin: 1rem;
        padding: 2rem;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.4rem;
    }

    .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
    }

    .hero .title {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    section p {
        font-size: 1rem;
    }
}