/* Main Font: Pangea Afrikan */
@font-face {
    font-family: 'Pangea Afrikan';
    src: url('./assets/fonts/pangea/Pangea Afrikan/Fonts OTF/PangeaAfrikanTrial-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Pangea Afrikan';
    src: url('./assets/fonts/pangea/Pangea Afrikan/Fonts OTF/PangeaAfrikanTrial-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Pangea Afrikan';
    src: url('./assets/fonts/pangea/Pangea Afrikan/Fonts OTF/PangeaAfrikanTrial-Light.otf') format('opentype');
    font-weight: 300; /* Light */
    font-style: normal;
}

/* Secondary Font: Futura */
@font-face {
    font-family: 'Futura';
    src: url('./assets/fonts/futura/futura-light-bt.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('./assets/fonts/futura/futura-medium-bt.ttf') format('truetype');
    font-weight: 500; /* Medium */
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('./assets/fonts/futura/futura-bold.ttf') format('truetype');
    font-weight: bold; /* Bold */
    font-style: normal;
}

body {
    font-family: 'Futura', sans-serif;
    margin: 0;
    background-color: #1A1A1A;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Pangea Afrikan', sans-serif; /* Pangea Afrikan for headers */
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 10px;
}

/* Paragraph Styling */
p {
    font-family: 'Futura', sans-serif; /* Futura for body text */
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Video banner */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border-bottom: 10px solid black;
    /* Thick black line */
}

.banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 11;
    /* Ensures the video stays on top of other elements */
}

.banner h1 {
    font-family: 'Pangea Afrikan', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    text-transform: uppercase;
    color: white;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7);
    /* Shadow effect */
    -webkit-text-stroke: 2px black;
    /* Black border around text */
    z-index: 12;
    /* Ensures the text stays on top of the video */
}


/* Root fields */
.root-fields {
    text-align: center;
    padding: 40px 0;
}

.root-fields h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.root-fields .icon-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.icon-container div {
    text-align: center;
}

.icon {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    border-radius: 50%;
}


.icon-container p {
    font-size: 1.5rem;
    /* Larger text */
    font-weight: bold;
    /* Bold text */
}

/* Intro Text Box with Shadow */
.intro-text {
    text-align: center;
    font-size: 1.7rem;
    font-style: italic;
    padding: 20px;
    margin: 40px auto;
    max-width: 35%;
    /* Adjusted to be narrower */
    background-color: #2A2A2A;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

/* Services Section Heading */
.services-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Services Container */
.services {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    /* Space between the services */
    margin: 40px 0;
}

/* Service Container */
.service {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    /* Remove underline for links */
}

/* Image Styling and Hover Effect */
.service img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.service:hover img {
    transform: scale(1.1);
    filter: none; /* Remove blur completely or adjust */
}

/* Main service image blur on hover */
.service:hover > img:first-child {
    filter: blur(4px); /* Apply blur to the first image only */
}
/* Service Overlay - Centered Text */
.service-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease font-size 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service:hover .service-overlay {
    opacity: 1;
    /* Fade in overlay on hover */
    font-size: 2.75rem;
    /* Increase font size on hover */
    font-family: 'Xanh Mono', monospace;
    /* Change font family */
    margin: 10;


}

/* Bio-Adaptive Logo Styling */
.bioadaptive-logo {
    display: none; /* Initially hidden */
    max-width: 100px; /* Adjust size */
    height: auto;
    margin: 10px auto 0;
}

/* Consulting Logo Styling */
.consulting-logo {
    display: none; /* Initially hidden */
    max-width: 100px; /* Adjust size */
    height: auto;
    margin: 10px auto 0;
}

/* Educational Logo Styling */
.education-logo {
    display: none; /* Initially hidden */
    max-width: 100px; /* Adjust size */
    height: auto;
    margin: 10px auto 0;
}

/* Show Logos on Hover */
.service:hover .bioadaptive-logo,
.service:hover .consulting-logo,
.service:hover .education-logo {
    display: block; /* Make the logo visible */
}

/* Overlay Text Alignment */
.service-overlay {
    display: flex;
    flex-direction: column; /* Stack text and logo */
    align-items: center; /* Center align content */
    justify-content: center;
    text-align: center;
}

/* Show the logo on hover */
.service:hover .consulting-logo {
    display: block; /* Make the logo visible */
}


button, .btn, input, textarea {
    font-family: 'Futura', sans-serif; /* Use Futura for forms */
}

/* Top menu */
.top-menu {
    font-family: 'Pangea Afrikan', sans-serif;
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    text-align: center;
    z-index: 17;
    /* Ensures the menu stays on top of other elements */
}


.top-menu a {
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.top-menu a:hover {
    color: #00d9ff;
    /* Hover color */
}

/* Dropdown Menu Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Button */
.dropdown-btn {
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    /* Dark background for submenu */
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Dropdown Links */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-transform: none;
}

.dropdown-content a:hover {
    background-color: #444;
    /* Hover color for submenu items */
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Optional: Styling for Top Menu Hover */
.top-menu a:hover,
.dropdown-btn:hover {
    color: #00e1ff;
    /* Hover color for main menu */
}

/* Projects Section */
.projects-section {
    padding: 40px 20px;
    background-color: #2A2A2A;
    color: white;
    text-align: center;
}

.projects-section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Project Layout */
.project {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
}

.project-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.project-title h3 {
    font-size: 2rem;
    margin: 0;
}

.project-logo {
    max-width: 50px; /* Adjust size */
    height: auto;
    margin-left: 10px;
}

.project.reverse {
    flex-direction: row-reverse;
    /* Reverse order for alternating layout */
}

.project-image-container {
    width: 45%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.project-image,
.project-image-hover {
    width: 100%;
    transition: opacity 0.3s ease;
}

.project-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.project-image-container:hover .project-image {
    opacity: 0;
}

.project-image-container:hover .project-image-hover {
    opacity: 1;
}

.project-description {
    width: 45%;
    padding: 0 50px;
}

.project-description h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.project-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
}

/* Project Link Styling */
.project-link {
    display: inline-block;
    margin-top: 10px;
    color: #ffe6d1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #FFF;
}

/* Project 2 specific image styling */
.project-image-2 {
    width: 100%;
    /* Adjust width as needed */
    max-height: 600px;
    /* Adjust height for consistent sizing */
    object-fit: contain;
    /* Ensures the entire image fits within the dimensions */
}

.gold-text {
    color: #ffe6d1;
    /* Soft gold color */
}

/* constact style */
.contact-form {
    background-color: #2A2A2A;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 600px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    background-color: #1A1A1A;
    color: white;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.contact-form button {
    background-color: #34b5cc;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #5182a3;
}

.contact-details {
    margin-top: 20px;
    text-align: center;
}

.contact-details p {
    margin: 5px 0;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    margin: 0 10px;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #3ebecf;
}

/* Logo Link Styling */
.logo-link {
    position: fixed;
    top: 40px; /* Adjusted from 20px to 40px */
    left: 20px;
    text-decoration: none;
}

/* Logo Image Styling */
.logo {
    margin-top: 10px; /* Adjust this value as needed */
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}


/* Main Container */
.mission-vision {
    padding: 20px;
    margin-top: 100px;
    max-width: 800px;
    background-color: #2A2A2A;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

/* Each Section - Margin for spacing between mission and vision */
.section {
    margin-bottom: 40px;
}

/* Mission Title - Left aligned with full-width underline */
.mission-title {
    font-family: 'Pangea Afrikan', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: left;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid white;
    width: 100%; /* Full-width underline */
}


/* Vision Title - Right aligned with full-width underline */
.vision-title {
    font-family: 'Pangea Afrikan', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: right;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid white;
    width: 100%; /* Full-width underline */
}

/* Mission Content - Image on the right, text on the left */
.mission-content {
    display: flex;
    align-items: center;
    text-align: justify;
    margin-top: 20px;
}

.mission-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    order: 1;
}

.mission-content img {
    width: 200px;
    height: auto;
    margin-left: 20px;
    order: 2;
}

/* Vision Content - Image on the left, text on the right */
.vision-content {
    display: flex;
    align-items: center;
    text-align: justify;
    margin-top: 20px;
}

.vision-content img {
    width: 200px;
    height: auto;
    margin-right: 20px;
    order: 1;
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    order: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Adjust content layout for mobile screens */
    .mission-content, .vision-content {
        flex-direction: column; /* Stack elements vertically */
        text-align: center;    /* Center-align text */
    }

    /* Adjust images within mission and vision sections */
    .mission-content img, .vision-content img {
        margin-top: 20px; /* Add margin above the image */
        margin-bottom: 0; /* Ensure no bottom margin */
        order: 0;         /* Ensure image is displayed first */
    }

    /* Center-align mission and vision titles */
    .mission-title, .vision-title {
        text-align: center;
    }
    .bioadaptive-logo,
    .consulting-logo,
    .education-logo {
        max-width: 50px; /* Adjust to smaller size */
        height: auto;
    }

    .service-overlay {
        font-size: 1.5rem; /* Reduce font size for overlay text */
    }

    .service:hover .bioadaptive-logo,
    .service:hover .consulting-logo,
    .service:hover .education-logo {
        display: block;
        max-width: 50px; /* Ensure consistency */
    }
}



.team-section {
    text-align: center;
    padding: 50px 20px;
}

.team-section .team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-member {
    width: 200px;
    text-align: center;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-member img:hover {
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 1.2rem;
    margin: 10px 0 5px 0;
}

.team-member p {
    font-size: 1rem;
}

.content-spacing {
    margin-top: 50px; /* Adjust the value as needed for spacing */
}

.team-section h2 {
    font-size: 2rem; /* Adjust size as needed */
    margin-bottom: 20px;
}

.collaborators-section {
    text-align: center;
    padding: 50px 0;
}

.collaborators-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #cecece; /* You can adjust the text color as needed */
}

.collaborators-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.collaborator-logo {
    width: auto;
    height: 80px; /* This sets a consistent height for all logos */
    object-fit: contain;
    transition: transform 0.3s;
}

.collaborator-logo:hover {
    transform: scale(1.1); /* Slight zoom-in effect on hover */
}


.game-title {
    font-family: 'Panega Afrikan', sans-serif;
    font-size: 3rem;
    margin-bottom: 40px;
}
.game-name {
    font-family: 'Futura', sans-serif;
    font-size: 2rem;
    margin-top: 15px;
}
.game-description {
    font-size: 1.3rem;
    color: #d3d3d3;
    margin-top: 10px;
    text-align: justify;
    max-width: 800px;
}
.game-logo {
    max-width: 200px;
    margin: 15px 0;
    transition: transform 0.3s;
}
.game-logo:hover {
    transform: scale(1.1);
}
.game-logo-large {
    max-width: 300px;
    margin: 20px 0;
    transition: transform 0.3s;
}
.game-logo-large:hover {
    transform: scale(1.1);
}
.game-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

/* Custom Styling */
.toolbox-title {
    font-family: 'Panega Afrikan', sans-serif;
    font-size: 3rem; /* Larger font size for the main title */
    margin-bottom: 40px;
}
.toolbox-name {
    font-family: 'Futura', sans-serif;
    font-size: 2rem;
    margin-top: 15px;
}
.toolbox-description {
    font-size: 1.3rem;
    color: #d3d3d3;
    margin-top: 10px;
    text-align: justify;
    max-width: 600px;
}
.toolbox-logo {
    max-width: 150px;
    margin: 15px 0;
    transition: transform 0.3s;
}
.toolbox-logo:hover {
    transform: scale(1.1);
}
.toolbox-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px; /* Space between sections */
}

@media (max-width: 768px) {
    .project {
        flex-direction: column;
    }

    .project.reverse {
        flex-direction: column;
        /* No alternating needed on small screens */
    }

    .project-image-container,
    .project-description {
        width: 100%;
    }

    .services {
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
    }

    img.logo {
        width: 40px;
    }

    .icon-container img.icon {
        max-width: 100px;
        height: auto;
    }

    .icon-container p {
        font-size: 1.3rem;
    }

    .intro-text {
        max-width: 100%;
    }

    .project-description {
        padding: 0;
    }
    .team-members {
        flex-direction: column;
        align-items: center;
    }

    .vision-content {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center;
    }
    
    .vision-content img {
        margin: 0 0 15px 0; /* Add margin below image for vertical layout */
        padding-right: 0; /* Remove right padding for mobile */
    }

    .vision-content p {
        text-align: justify; /* Ensures text remains justified on mobile */
    }

    .mission-content {
        flex-direction: column; /* Stacks image and text vertically */
        align-items: center;
    }
    
    .mission-content img {
        margin: 15px 0 0 0; /* Adds margin above image in stacked layout */
    }

    .mission-content p {
        text-align: justify; /* Ensures text remains justified on mobile */
    }
}

