@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --font-family: 'Roboto Condensed', sans-serif;
    --font-two: 'Cabin', sans-serif;
    
    --color-bg: #F5F5F5;
    --color-text: #000;
}

/* Scroll Animation */
.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

@media(prefers-reduced-motion: reduce) {
    .hidden {
        transition: none;
        animation-duration: 4s;
        animation-iteration-count: 1;
    }
}

/* Slide Up Scroll Animation */
.scale-up-center {
	-webkit-animation: scale-up-center 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: scale-up-center 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@-webkit-keyframes scale-up-center {
    0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    }
    100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    }
}

@keyframes scale-up-center {
    0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    }
    100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    }
}


/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 0.6rem;
}

::-webkit-scrollbar-track {
    background-color: var(--color-bg);
    margin-block: 0.5rem;
}

::-webkit-scrollbar-thumb {
    background: lightgrey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #757575;
}

/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: #000;
    height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-family);
}

h4 {
    font-size: 1.7rem;
}

p {
    font-family: var(--font-two);
}

/* Navbar Styling */
.ee__navbar-container {
    width: 100%;
    background: none;
    display: flex;
    margin: 1rem 0;

    align-items: center;
    justify-content: center;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    transition: top 0.5s ease-in-out;
}

.navbar-hidden {
    top: -100px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 1rem;
    width: auto;
    height: 3.5rem;

    background-color: #D1D1D9;
    color: black;
    
    border-radius: 50px;
    padding: 0rem;

    transition: 1s;
}

ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

ul a {
    text-decoration: none;
    color: #000;
}

nav ul li {
    border-radius: 30px;
    list-style-type: none;
    display: inline-block;
    padding: 12px 16px;
    margin: 10px;

    font-size: 1.1rem;
    font-family: var(--font-two);
    font-weight: 700;

    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.75s;
}

nav ul li::after {
    background-color: var(--color-bg);
    content: '';

    width: 100%;
    height: 100%;

    border-radius: 10px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
}

nav ul li:hover{
    color: var(--color-bg);
    transition: 0.5s;
}

nav ul li.active {
    background-color: var(--color-bg);
    color: #000;

    cursor: default;

    transition: all ease-in-out 0.5s;
}

/* Media Queries for Navbar */
@media screen and (max-width: 590px) {

    nav {
        display: flex;
        justify-content: center;
        align-items: center;
    
        margin: 4rem;
        width:30rem;
        height: 3.5rem;
    }

    nav ul li {
        margin: 5px;
    
        font-size: 1rem;
    }

}

@media screen and (max-width: 500px) {

    nav {
        display: flex;
        justify-content: center;
        align-items: center;
    
        margin: 2rem 4rem;
        width: 34rem;
        height: 3.5rem;
    }

    nav ul li {
        margin: 5px;
        padding: 12px 9px;
    
        font-size: 0.9rem;
    }

}

@media screen and (max-width: 400px) {

    nav {
        width: 28rem;
    }

    nav ul li {
        margin: 5px;
    
        font-size: 0.8rem;
    }

}

/* For Header */
.ee__header-container {
    height: 600px;
    margin-top: 10rem;
}

.ee__header-container_text h1,
.ee__header-container_text h2 {
    text-align: center;

    margin: 0.9rem;
}

.ee__header-container_text h1 {
    font-size: 6rem;
}

.ee__header-container_text h2 {
    font-size: 2rem;
}

.ee_header-waves_top {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.ee_header-waves_top svg {
    position: relative;
    display: block;
    width: calc(135% + 1.3px);
    height: 78px;
}

.ee_header-waves_top .shape-fill {
    fill: #FA0F00;
}

@media screen and (max-width: 800px) {

    .ee__header-container_text h1 {
        font-size: 4rem;
    }

    .ee__header-container_text h2 {
        font-size: 1.5rem;
    }
    
}

/* About Us Section */
.ee__about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-color: #FA0F00;
    color: #F5F5F5;

    line-height: 2rem;
}

.ee__about-container-text {
    font-size: 1.4rem;

    width: 60%;
}

.ee__about-container-text h2 {
    font-size: 3rem;

    margin: 2rem;

    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.ee__about-container-text p {
    font-size: 1.5rem;

    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

/* About Us Section Curve */
.ee__about-bottom_container {
    margin-top: -0.1rem;
}

.ee__about-bottom_container-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.ee__about-bottom_container-svg svg {
    position: relative;
    display: block;
    width: calc(135% + 1.3px);
    height: 78px;
    transform: rotateY(180deg);
}

.ee__about-bottom_container-svg .shape-fill {
    fill: #FA0F00;
}

/* For tablet devices */
@media (min-width: 768px) and (max-width: 1023px) {

    .ee__about-bottom_container-svg svg {
        width: calc(100% + 1.3px);
        height: 70px;
    }
}

/* Media Queries for About Us */
@media screen and (max-width: 800px) {
    
    .ee__about-container-text {
        width: 80%;
    }

}

/* Services Section */
.ee__services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #003F88;
    color: #F5F5F5;

    width: 100%;
}

.ee__services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    line-height: 3.5rem;

    width: 80%;
}

.ee__services-container h2 {
    font-size: 3rem;
    margin-top: 10rem;
    margin-bottom: 4rem;

    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.ee__services-container h3 {
    font-size: 2.5rem;

    color: #FB0;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.ee__services-container p {
    font-size: 1.5rem;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

/* For Rotating Words */
.ee__service-item_wrapper {
    display: flex;
    justify-content: center;
    box-sizing: content-box;

    height: 70px;
    padding: 50px 30px;
}

.ee__service-item_words {
    overflow: hidden;
    height: 70px;
}

.ee__service-item_words span {
    display: block;
    height: 70px;
    padding-left: 15px;

    font-family: var(--font-two);
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);

    animation: words 12s infinite;
}

.ee__service-item_words:hover span {
    animation-play-state: paused;

    cursor: pointer;

    color: lightgray;
}

/* For Images in Services */
.ee__service-list_content img {
    width: 20rem;
}

.ee__service-item_imgDiv,
.ee__service-item_pool img {
    max-width: 100%;
    height: auto;
}

.ee__service-item_imgDiv {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 2rem;
}

.ee__service-item_imgDiv img {
    width: 20rem;

    margin: 4rem 0rem;

    border-radius: 10px;

    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.ee__service-item_pool img {
    width: 75%;

    margin: 2rem 0rem;

    border-radius: 10px;

    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.ee__service-item img {
    width: 20rem;

    margin: 4rem 0rem;

    border-radius: 10px;

    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 750px) {
    
    .ee__service-item_imgDiv {
        flex-direction: column;

        gap: 1rem;
    }

    .ee__service-item_imgDiv img {
        width: 22rem;
    }

}

@media screen and (max-width: 410px) {
    
    .ee__service-item h2 {
        font-size: 2.3rem;
    }

    .ee__service-item h3 {
        font-size: 1.8rem;
    }

}

@keyframes words {
    
    0%, 11.1111% {
        transform: translateY(0%);
    }

    12.2222%, 23.3333% {
        transform: translateY(-100%);
    }

    24.4444%, 35.5555% {
        transform: translateY(-200%);
    }

    36.6666%, 47.7777% {
        transform: translateY(-300%);
    }

    48.8888%, 59.9999% {
        transform: translateY(-400%);
    }

    61.1111%, 72.2222% {
        transform: translateY(-500%);
    }

    73.3333%, 84.4444% {
        transform: translateY(-600%);
    }

    85.5555%, 96.6666% {
        transform: translateY(-700%);
    }

    97.7777%, 100% {
        transform: translateY(-800%);
    }

}

@media screen and (max-width: 900px) {

    .ee__service-item_wrapper {
        flex-direction: column;

    
        height: 400px;
    }

    .ee__service-item_words span {
        font-size: 1.6rem;
    }
    
}

@media (max-width: 600px) {

    .ee__services-container {
        padding: 0 30px;
    }

    .ee__services-container p {
        padding: 0 20px;
    }

}

/* Services SVG */
.ee__services-container_svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.ee__services-container_svg svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.ee__services-container_svg .shape-fill {
    fill: #F5F5F5;
}

/* Meet the Team Section */
.ee__about-team {
    margin-top: -14rem;
}

.ee__about-team h2 {
    font-size: 3rem;

    margin-bottom: 5rem;
}

.ee__about-team_container {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 60%;
    margin: auto;
}

.ee__about-team_container_CEO {
    align-items: center;
    width: 60%;

    background-color: #FA0F00;
}

.ee__about-team_container-member_CEO img {
    display: block;
    margin-left: auto;
    margin-right: auto;

    height: 24rem ;
    width: 24rem;
}

.ee__about-team_container-member_CEO {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ee__about-team_container-member {
    display: flex;
    width: 100%;

    margin: 1rem 0rem;
}

.ee__about-team_container-member:nth-child(odd) {
    flex-direction: row-reverse;
    margin-left: auto;
    margin-right: 0;
}

.ee__about-team_container-member:nth-child(even) {
    margin-left: 0;
    margin-right: auto;
}

.ee__about-team_container-member_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 8rem;
    width: 100%;
}

.ee__about-team_container-member_text h3 {
    font-size: 3rem;
}

.ee__about-team_container-member_text h4 {
    margin: 2rem;
}

.ee__about-team_container-member_text p {
    font-size: 1.3rem;
    font-weight: bold;

    line-height: 2.5rem;

    padding: 1rem;
}

/* Meet the Team Animation */
.blob {
    width: 23.75rem;
    height: 23.75rem;
    background-size: cover;
    background-position: center center;
    margin: 1.5rem;
    animation: blob 8s ease-in-out infinite;

    border: solid 2px #FB0;
}

.blob2 {
    width: 23.75rem;
    height: 23.75rem;
    background-size: cover;
    background-position: center center;
    margin: 1.5rem;
    animation: blob2 8s ease-in-out infinite;

    border: solid 2px #FB0;
}

@keyframes blob {

    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

}

@keyframes blob2 {

    0%, 100% {
        border-radius: 60% 30% 70% 40% / 40% 60% 30% 60%;
    }
    50% {
        border-radius: 50% 60% 30% 60% / 40% 60% 70% 40%;
    }

}

/* Media Queries for Meet the Team */
@media screen and (max-width: 1550px) {

    .ee__about-team_container {
        width: 80%;
    }
}

@media screen and (max-width: 1160px) {

    .ee__about-team_container {
        width: 90%;
    }
}

@media screen and (max-width: 1050px) {

    .ee__about-team_container {
        width: 95%;
    }

    .ee__about-team_container-member_text {
        padding: 2rem;
    }

    .blob {
        width: 15rem;
        height: 15rem;
    }

    .blob2 {
        width: 15rem;
        height: 15rem;
    }
    
}

@media screen and (max-width: 675px) {

    .ee__about-team_container-member {
        flex-direction: column;
        align-items: center;
    }

    .ee__about-team_container-member:nth-child(odd) {
        flex-direction: column;
    }
    
    .ee__about-team_container-member:nth-child(even) {
        flex-direction: column;
    }

    .ee__about-team h2 {
        font-size: 2rem;
    }

    .ee__about-team_container-member_text {
        padding: 1rem;
    }

    .blob {
        width: 14rem;
        height: 14rem;
    }

    .blob2 {
        width: 14rem;
        height: 14rem;
    }
    
}

@media screen and (max-width: 450px) {

    .ee__about-team h2 {
        font-size: 3rem;
    }

    .ee__about-team_container-member_text {
        padding: 0.5rem;
    }

    .blob {
        width: 12rem;
        height: 12rem;
    }

    .blob2 {
        width: 12rem;
        height: 12rem;
    }

}

/* Media Queries for About Us */
@media screen and (max-width: 800px) {
    
    .ee__about-container-text {
        width: 80%;
    }

}

/* Wave for Bottom of Services */
.ee__services-bottom_container {
    margin-top: -0.1rem;
}

.ee__services-bottom_container-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.ee__services-bottom_container-svg svg {
    position: relative;
    display: block;
    width: calc(135% + 1.3px);
    height: 78px;
    transform: rotateY(180deg);
}

.ee__services-bottom_container-svg .shape-fill {
    fill: #003F88;
}

/* For tablet devices */
@media (min-width: 768px) and (max-width: 1023px) {

    .ee__services-bottom_container-svg svg {
        width: calc(100% + 1.3px);
        height: 70px;
    }
}

/* Styling for Careers Page */
.ee__careers {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    line-height: 2rem;
}

.ee__careers-header {
    margin-top: -10rem;
}

.ee__careers-header h2 {
    font-size: 3rem;

    margin-bottom: 6rem;
}

.ee__careers-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-family: var(--font-two);
    font-weight: bold;

    width: 60%;
}

.ee__careers-form input {
    padding: 1rem;
    margin: 1rem;

    border-radius: 10px;
    border: solid 1px #000;

    font-weight: bold;

    text-align: center;
}

.ee_careers-form_name,
.ee__careers-form-address {
    display: flex;
    flex-direction: column;
}

.ee__careers-form-address2 {
    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;
}

.ee__careers-form-address2 select {
    height: 3rem;
    width: 20%;

    margin-left: 1rem;

    border-radius: 10px;
    border: solid 1px #000;

    font-weight: bold;

    text-align: center;
}

.ee__careers-form-address2 input {
    font-family: var(--font-two);
    font-weight: bold;

    width: 40%;
    border-radius: 10px;
}

.ee__careers-form_resume {
    display: flex;
    flex-direction: column;

    margin: 1rem;
}

.ee__careers-form_resume input {
    border: none;

    align-items: center;
    justify-content: center;

    padding: 2rem;
}

/* Styling the File Button */
.file-input {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    margin: 1rem;

    cursor: pointer;

    background-color: #003F88;
    color: white;

    border: none;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;

    transition: background-color 0.3s;
}

.custom-file-upload:hover {
    background-color: #0056b3;
}

/* Styling for Message Container */
.ee__careers-form_message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin: 1rem;
}

.ee__careers-form_message textarea {
    justify-content: center;
    align-items: center;
    text-align: center;

    border-radius: 10px;
    border: solid 1px #000;

    padding: 1rem;

    font-family: var(--font-two);
    font-weight: bold;
}

.ee__careers-form_submit button {
    display: inline-block;
    padding: 10px 20px;
    margin: 1rem;

    cursor: pointer;

    background-color: #003F88;
    color: white;

    border: none;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;

    transition: background-color 0.3s;
}

.ee__careers-form_submit button:hover {
    background-color: #0056b3;
}

/* Media Queries for Form */
@media screen and (max-width: 950px) {

    .ee__careers-form {
        width: 90%;
    }

}

@media screen and (max-width: 900px) {

    .ee__careers-header h2 {
        font-size: 2rem;
    }

}

@media screen and (max-width: 650px) {

    .ee__careers-form {
        width: 100%;
    }

    .ee__careers-form_contact {
        display: flex;
        flex-direction: column;
    }

    .ee__careers-header h2 {
        font-size: 2rem;
    }

}

@media screen and (max-width: 400px) {

    .ee__careers-form_message textarea {
        width: 80%;
    }

}

/* Footer */
.ee__footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-color: #FA0F00;
    color: #F5F5F5;

    line-height: 2.5rem;
}

.ee__footer-container_svg {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;

    margin-top: -1px;

    vertical-align: bottom;
}

.ee__footer-container_svg svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 180px;
}

.ee__footer-container_svg .shape-fill {
    fill: #FA0F00;
}

.ee__footer-container_text {
    font-size: 1.4rem;

    width: 60%;

    margin: 5rem;
}

.ee__footer-container_text h2 {
    font-size: 3rem;

    margin: 2rem;

    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.ee__footer-container_text p {
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.ee__footer-container_text a {
    color: inherit;
}

/* Footer Icons Styling */
.ee__footer-container_icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ee__footer-container_icons i {
    font-size: 5rem;

    transition: all 0.5s ease-in-out;
}

.ee__footer-container_icons a {
    text-decoration: none;
    color: #F5F5F5;

    margin: 1rem 3rem 6rem;

    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.ee__footer-container_icons i:hover {
    transform: translateY(-10px);
}

/* For Sections */
section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    width: 100%;
}