@import url('https://fonts.googleapis.com/css?family=Exo:400,700');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrollbars */
    box-sizing: border-box; /* Ensure consistent box model */
}


body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Exo', Arial, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}
.team-member {
    margin: 30px 0;
}
.ourTeam-box {
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    margin: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    position: relative;
    overflow: hidden;
}
.ourTeam-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}
.section2 p {
    font-weight: bold;
    font-size: 1.25rem;
    color: #A5C9FF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.section2 hr {
    border: 0;
    height: 2px;
    background: #A5C9FF;
    width: 50%;
    margin: 10px auto;
}
.section2 span {
    color: #b0b0b0;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 10px;
}
.section3 {
    background: rgba(165, 201, 255, 0.2); /* Transparent background */
    backdrop-filter: blur(10px); /* Blur effect for glassmorphism */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    border-radius: 0 0 10px 10px; /* Rounded corners */
    padding: 5px 15px; /* Small padding for the initial state */
    text-align: center;
    color: #ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    max-height: 30px; /* Small initial height */
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}
.section3 * {
    opacity: 0; /* Hide content initially */
    transform: translateY(10px); /* Slide content down */
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.ourTeam-box:hover .section3 {
    max-height: 500px; /* Large max-height to allow content expansion */
    padding: 15px; /* Increased padding for the expanded state */
    overflow: visible; /* Allow content to fully expand */
}
.ourTeam-box:hover .section3 * {
    opacity: 1; /* Show content on hover */
    transform: translateY(0); /* Reset position of the content */
}
.section3 p {
    margin: 10px 0;
    padding: 0 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.section3 a {
    margin: 5px 0;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.section3 a:hover {
    color: #ff0000;
}

.ourTeam-box:hover .section3 p,
.ourTeam-box:hover .section3 a {
    opacity: 1;
    transform: translateY(0);
}
h2 {
    font-weight: bold;
    color: #f1f1f1;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.col-md-4, .col-sm-4, .col-xs-12 {
    display: flex;
    flex: 1 1 calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .col-md-4, .col-sm-4, .col-xs-12 {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
    .section2 p {
        font-size: 1.15rem;
    }
    .section2 span {
        font-size: 0.9rem;
    }
    .section3 a i {
        font-size: 1.3rem;
    }
}
@media (max-width: 768px) {
    .col-md-4, .col-sm-4, .col-xs-12 {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .section2 p {
        font-size: 1.1rem;
    }
    .section2 hr {
        width: 70%;
    }
    .section3 a i {
        font-size: 1.2rem;
    }
    h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}
@media (max-width: 576px) {
    .team-member {
        margin: 10px 0;
    }
    .ourTeam-box {
        box-shadow: none;
        border: 1px solid #333;
        padding: 15px;
        margin: 10px;
    }
    .section2 p {
        font-size: 1rem;
    }
    .section2 span {
        font-size: 0.85rem;
    }
    .section3 a i {
        font-size: 1.1rem;
        margin: 5px;
    }
    h2 {
        font-size: 1.25rem;
    }
}


.circles{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-150vh) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}


/* Footer Styles */
.footer {
    width: 100%; /* Ensure full width */
    background: linear-gradient(to right, #1e1e1e, #121212); /* Gradient background */
    color: #e0e0e0; /* Light text color */
    padding: 40px 20px;
    border-top: 2px solid #A5C9FF; /* Accent border */
    text-align: center;
    position: relative; /* Ensure it stays in normal flow */
    box-sizing: border-box; /* Include padding in width */
}

.footer .container-fluid {
    margin: 0; /* Remove any container margin */
    padding: 0; /* Remove any padding */
    max-width: 100%; /* Ensure it stretches across the viewport */
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly; /* Distribute columns evenly */
    margin: 0; /* Remove margin from the row */
    width: 100%; /* Ensure the row spans full width */
}
/* Footer Content Styling */
.footer h4 {
    font-size: 1.2rem;
    color: #F6BD60; /* Accent color for headings */
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer p, .footer a {
    font-size: 1rem;
    margin: 5px 0;
    color: #e0e0e0; /* Light text color */
}

.footer a {
    text-decoration: none;
    color: #A5C9FF; /* Accent color for links */
}

.footer a:hover {
    text-decoration: underline;
    color: #ffdd57; /* Hover effect */
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly; /* Distribute columns evenly */
    margin: 0; /* Remove margin from the row */
    padding: 0; /* Remove any padding */
    width: 100%; /* Ensure full width for the row */
}

/* Center Text */
.footer .text-center p {
    margin: 10px 0;
    font-size: 0.9rem;
    color: #b0b0b0; /* Subtle text color for copyright */
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer .row {
        flex-direction: column; /* Stack columns vertically on smaller screens */
    }

    .footer .col-md-3 {
        margin-bottom: 20px;
    }
}