@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    
    background-position: center;
    background-repeat: repeat;
    background-size: 7%;
    background-color: #1e1e1e;
    overflow-x: hidden;
    transition: all 200ms linear;
}

.text{
    color: #ddd;
}

.start-header {
    opacity: 1;
    transform: translateY(0);
    padding: 20px 0;
    box-shadow: 0 10px 30px 0 rgba(138, 155, 165, 0.15);
    transition: all 0.3s ease-out;
}

.start-header.scroll-on {
    box-shadow: 0 5px 10px 0 rgba(138, 155, 165, 0.15);
    padding: 10px 0;
    transition: all 0.3s ease-out;
}

.bg-light{
    background-color: #282828 !important;
}

.navigation-wrap {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease-out;
}

.navbar {
    padding: 0;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    filter: brightness(100%);
    transition: all 0.3s ease-out;
}

.navbar-toggler {
    float: right;
    border: none;
    padding-right: 0;
}

.navbar-toggler:active,
.navbar-toggler:focus {
    outline: none;
}

.navbar-light .navbar-toggler-icon {
    width: 24px;
    height: 17px;
    background-image: none;
    position: relative;
    border-bottom: 1px solid #bbb;
    transition: all 300ms linear;
}

.navbar-light .navbar-toggler-icon:after, 
.navbar-light .navbar-toggler-icon:before {
    width: 24px;
    position: absolute;
    height: 1px;
    background-color: #282828;
    top: 0;
    left: 0;
    content: '';
    z-index: 2;
    transition: all 300ms linear;
}

.navbar-light .navbar-toggler-icon:after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    border-color: transparent;
}

.nav-link {
    color: #ddd !important;
    font-weight: 500;
    font-size: 1.25em;
    transition: all 200ms linear;
}

.nav-item:hover .nav-link {
    color: #5886c6 !important;
}

.nav-item.active .nav-link {
    color: #777 !important;
}

.nav-link {
    position: relative;
    padding: 5px 0 !important;
    display: inline-block;
}

.nav-item:after {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    content: '';
    background-color: #8167a9;
    opacity: 0;
    transition: all 200ms linear;
}

.nav-item:hover:after {
    bottom: 0;
    opacity: 1;
}

.nav-item.active:hover:after {
    opacity: 0;
}

.nav-item {
    position: relative;
    transition: all 200ms linear;
}

.nav-card {
    color:#bbb !important;
    text-decoration: none !important;

    .card-title {
        font-size: 1.5625em;
        font-weight: 500;
    }

    .card-body {
        padding: 1.5em;
    }
}

.nav-card:hover {
    .card {
        background-color: #282828;
    }
}

/* Webpage Content Defaults */

.topper{ /* The headers for each page */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    h1 {
        font-size: 4em;
        text-align: center;
        color: #ddd;
    }
    p {
        font-size: 1.5em;
        text-align: center;
        color: #ddd;
    }
    h2{
        color: #ddd;
    }
}

.inner{ /* The body of each page */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    h2 {
        margin-top: 20px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        color: #ddd;
    }
    p {
        line-height: 1.25;
        color: #ddd;
    }
    h4{
        color: #ddd;
    }
}

span{
    color: #ddd;
}

.form-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Add padding for some space on the sides */
}

.form-container iframe {
    width: 100%;
    height: 600px; /* Adjust height as needed */
    border: none;
}

.tail{ /* The footer of each page */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    margin: 0px;
    background-color: #1e1e1e;
    border: 1px solid #888;
    border-radius: 0px;
    overflow: hidden; /* Ensures the image does not overflow the card */
    text-align: center; /* Center the text */
    height: 100%;

    h4 {
        font-size: 1.25em;
        margin-top: 0;
        color: #ddd;
    }
    h5{
        color: #ddd;
    }
}

p{
    color: #ddd;}
  
.card-img-container {
    height: auto;
    padding-top: 10%;
    padding-right: 0%;
    padding-left: 0%;
    display: block;
    padding-bottom: 0;
    background-color: #282828;
}

.card-img-container2 {
    height: auto;
    padding-top: 10%;
    padding-right: 20%;
    padding-left: 20%;
    padding-bottom: 10%;
    display: block;
    background-color: #282828;
    box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
}

.card a {
    display: block; /* Make the anchor tag a block-level element to contain the image */
    width: 100%; /* Ensure the anchor tag takes up the full width of its container */
    height: auto; /* Allow the anchor tag to adjust its height based on content */
    text-align: center; /* Center-align content */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.card a img {
    display: block; /* Make the image a block-level element */
    width: 100%; /* Ensure the image takes up the full width of its container */
    height: auto; /* Maintain the image's aspect ratio */
}

.card-img-top {
    width: 80%; /* Image takes 80% of the card width */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Center the image horizontally */
}

.card-body {
    padding: 15px;
}

.card-title {
    margin-bottom: 10px;
    font-size: 1.25em;
    font-weight: bold;
}

.card-text {
    font-size: 1em;
    color: #ddd;
    font-weight: 600;
    margin-bottom: 5px;
}

.row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.newrow {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.custom-row {
    display: flex;
    justify-content: space-between; /* Distribute columns evenly with spacing */
    gap: 0;
}

.custom-col {
    flex-shrink: 0;
    overflow: hidden; /* Ensures content doesn't overflow the column */
    box-sizing: border-box; /* Includes padding and border in the width calculation */
}

.custom-col img {
    max-width: 100%; /* Ensures the image does not exceed the column width */
    height: auto; /* Maintains the aspect ratio */
    display: block; /* Prevents inline-block space issues */
}  

.custom-col:nth-child(1) {
    flex-basis: calc(20% - 25px);
    padding-right: 0;
}

.custom-col:nth-child(2) {
    flex-basis: 30%;
    padding-left: 0;
}

.custom-col:nth-child(3) {
    flex-basis: calc(20% - 25px);
    padding-right: 0;
}

.custom-col:nth-child(4) {
    flex-basis: 30%;
    padding-left: 0;
}

/* Home Page Carousel */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.carousel-item img {
    width: 100%;
    height: auto;
    /* Maintains 16:9 aspect ratio when fullscreen */
    min-height: 300px; /* Minimum height to maintain aspect ratio on smaller screens */
    object-fit: cover;
    filter: brightness(70%); /* Darken images */
    transition: transform 0.5s ease-in-out; /* Smooth transition for images */
}

.carousel {
    max-width: 1200px;
    margin: 20px auto; /* Center the carousel with 20px margin */
    padding: 0 20px; /* Add padding to ensure 20px margins */
    box-sizing: border-box; /* Ensure padding is included in width calculations */
}

.carousel-indicators li {
    background-color: #747474;
}

.carousel-inner {
    position: relative;
}

.carousel-title {  
    position: absolute;
    top: 35%; /* Adjusted slightly higher than center */
    left: 17.42%;
    color: white;
    text-align: center;
    z-index: 10; /* Ensure it stays on top */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

.carousel-title h1 {
    font-size: 5em; /* Slightly larger font size */
    font-weight: normal; /* No longer bold */
}

.carousel-title p {
    font-size: 2em; /* Larger font size */
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    width: calc(100% - 40px); /* Adjust for margins */
    font-size: 1.2em;
    z-index: 5;
}

@media (max-width: 768px) {
    .carousel-item img {
        min-height: 200px; /* Adjust minimum height for smaller screens */
    }

    .carousel-title h1 {
        font-size: 2em; /* Smaller font size for smaller screens */
    }

    .carousel-title p,
    .carousel-caption {
        font-size: 1em; /* Smaller font size for smaller screens */
    }
    }

    @media (max-width: 576px) {
    .carousel-item img {
        min-height: 150px; /* Adjust minimum height for smaller screens */
    }

    .carousel-title h1 {
        font-size: 1.5em; /* Smaller font size for smaller screens */
    }

    .carousel-title p,
    .carousel-caption {
        font-size: 0.8em; /* Smaller font size for smaller screens */
    }
}

.footer {
    background-color: #282828;
    padding: 20px 0;
    border-top: 1px solid #888;
    text-align: center;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer .row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo-column {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 20%; /* Adjusted width */
}

.footer-logo {
    width: 90px; /* Adjusted size */
    height: auto;
}

.mission-column {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 1em; /* Slightly smaller font size */
    font-weight: normal; /* Remove bold */
    width: 60%; /* Adjusted width to double the default */
    max-width: 60%; /* Ensure it doesn’t exceed container width */
}

.links-column {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    width: 20%; /* Adjusted width */
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 10px;
    justify-content: flex-end;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    font-size: 0.75em; /* Smaller font size */
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap; /* Ensure single line */
}

.footer-link:hover {
    color: #5886c6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px; /* Larger gap between different platforms */
    margin-top: 20px; /* Adjust spacing as needed */
}

.social-links a {
    color: #ddd; /* Set the text color to black */
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: #8167a9;
}

.social-logo {
    width: 20px; /* Adjust size as needed */
    height: auto;
    margin-right: 8px; /* Gap between logo and text */
}

@media (max-width: 768px) {
    .footer .row {
        flex-direction: column;
        align-items: center;
    }

    .logo-column,
    .mission-column,
    .links-column {
        justify-content: center;
        margin-bottom: 10px;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

div{
    color: #ddd;
}

.navigation-wrap {
    border-bottom: 1px solid #888; /* Adds a line at the bottom of the navbar */
  }  