* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #e6e6e6;
    font-family: 'Cairo', sans-serif;
}

header {
    position: relative;
    background-color: white;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("../images/hero-image-team.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 85vh;
    gap: 5%;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(270deg, #222222 0%, rgba(34, 34, 34, 0.33) 100%);
}

a {
    text-decoration: none;
}

.fixed-nav {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
align-items: center;
    padding: 15px 220px;
    width: 100%;
    background-color: white;
    box-shadow: 5px 10px 18px #888888;
    animation: fadeInDown 0.3s ease-in-out;
    z-index: 100;
}

@media screen and (max-width: 734px) {
    .fixed-nav {
        padding: 1.5rem;
    }
}

.fixed-nav a {
    color: black;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.initial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 16px;
    margin: 0 10%;  
}

.initial-nav a {
    color: black;
}

nav {
    height: 97px;
}

nav img {
    width: 150px;
    height: 57px;
}

nav ul {
    padding-left: 0;
}

a:hover {
    color: #ffb200;
}

.initial-ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    color: black;
}

.fixed-ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    color: black;
}

header div {
    position: relative;
}

header div h1 {
    margin-right: 12%;
    font-size: 3rem;
    color: #dbb585; 
    z-index: 2;
}

header div h3 {
    margin-right: 12%;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
}

header div h1 span {
    color: white;
    font-size: 2.5rem;
}
/* Initial styles for the burger icon */
.burger-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px; /* Width of the burger */
    height: 25px; /* Height of the burger */
}

/* Styles for the burger icon bars */
.burger-icon span {
    width: 100%;
    height: 3px;
    background-color: black;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Styling for when the burger icon is clicked (transformed into 'X') */
.burger-icon.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-icon.open span:nth-child(2) {
    opacity: 0;
}

.burger-icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Media query for screens with a maximum width of 1064px */
@media screen and (max-width: 1064px) {
    .burger-icon {
        display: flex; /* Show burger icon for smaller screens */
    }

    .initial-nav {
        margin: 0 140px;
    }
    
    /* Styles for the dropdown menu when it's visible */
    .initial-ul, .fixed-ul {
        display: none; /* Initially hidden */
        flex-direction: column; /* Stack items vertically */
        background-color: #ffffff; /* Solid background color */
        margin: 0; /* Remove any default margin */
        padding: 1em; /* Add some padding */
        width: 100%; /* Full width of the container */
        position: absolute; /* Position it on top of other content */
        top: 97px; /* Position below the nav bar */
        left: 0; /* Align to the left side */
        z-index: 100; /* Keep it on top of other content */
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); /* Optional: Add shadow for depth */
        transition: opacity 0.3s ease; /* Transition for the menu appearance */
    }

    /* Show the menu when the 'show' class is added via JavaScript */
    .initial-ul.show, .fixed-ul.show {
        display: flex; /* Change to flex to show the menu */
        opacity: 1; /* Make the menu opaque */
    }

    /* Styles for menu items */
    .initial-ul li, .fixed-ul li {
        padding: 10px 0; /* Add padding to each item */
        border-bottom: 1px solid #e6e6e6; /* Optional: Add a border between items */
    }

    /* Remove the border for the last item */
    .initial-ul li:last-child, .fixed-ul li:last-child {
        border-bottom: none;
    }

    /* Styles for the links within the menu items */
    .initial-ul a, .fixed-ul a {
        color: #333333; /* Set text color for items */
        padding: 10px 20px; /* Add padding inside the links */
        display: block; /* Make the link fill the li element */
    }
}

@media screen and (max-width: 734px) {
    .initial-nav {
        margin: 0;
    }
}


.initial-ul.show, .fixed-ul.show {
    display: flex;
}

.teamWrapper h1 {
    position: relative;
    color: #dbb585;
    margin-bottom: 2rem;
}

.teamWrapper h1::before {
    content: "";
    width: 70px;
    height: 4px;
    background-color: #dbb585;
    border-radius: 20px;
    position: absolute;
    top: -10px;
}

h1,h2,h3 {
    margin: 0;
}
p {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
}
a {
    color: #005eeb;
}
a:hover {
    color: #ffb200;
}
.teamWrapper {
    margin-top: 50px;
}
.container {
    --container: 1160px;
    max-width: var(--container);
    margin: auto;
}
.teamGrid {
    display: grid;
    grid-template-columns: 32.33% 32.33% 32.33%;
    column-gap: 1.5%;
    margin-top: 100px;
}

@media screen and (max-width: 734px) {
    .teamGrid {
        display: flex;
        flex-direction: column;
    }
}

.teamGrid .colmun {
    margin-top: 160px;
}

.teamGrid .colmun.first,
.teamGrid .colmun.second,
.teamGrid .colmun.third {
    margin-top: 40px;
}

.avatar {
    position: absolute;
    left: 0;
    right: 0;
    top: -80px;
    text-align: center;
}
.teamcolinner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.avatar > img {
    width: 150px;
    margin: auto;
    border-radius: 50%;
    border: 1px solid rgb(170 170 173/ 1);
    box-shadow: 0px 3px 10px 3px rgb(170 170 173 / 0.5);
}
.teamcolinner {
    position: relative;
    border: 1px dashed #ddd;
    min-height: 100px;
    background: #fff;
    z-index: 9;
}
.teamcol {
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    position: relative;
    transition: transform 1s ease-in-out;
}
.teamcol:hover {
    transform: translateY(-30px);
    box-shadow: 0px 3px 10px 3px rgb(170 170 173 / 0.5);
    transition: transform 1s ease-in-out;
}
.teamcol:before {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    right: 0;
    top: 0;
    background: -webkit-linear-gradient(#181818, #ffa000);
    border-top-right-radius: 10px;
    transition: width 1s ease-in-out;
}
.teamcol:after {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: -webkit-linear-gradient(#272a2d, #005fec);
    border-bottom-left-radius: 10px;
    transition: width 1s ease-in-out;
}
.teamcol:hover::before, .teamcol:hover::after {
    width: 100%;
    transition: width 1s ease-in-out;
}
.member-name {
    margin-top: 80px;
}
.member-info {
    padding: 10px 20px;
}

.member-social {
    margin-bottom: 1rem;
}

.member-mail {
    margin-bottom: 2.5rem;
}

.social-listing {
    align-items: center;
    justify-content: center;
    display: flex;
    list-style: none;
    padding: 0;
}
.social-listing >li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f4f5f7;
    border-radius: 50%;
    margin: 5px;
}

/* Add your styles for the modal and other elements here */

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999; /* Should be higher than modal z-index */
}

/* Modal backdrop */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/black-blur.jpg') no-repeat center center fixed;
    background-size: cover;
    backdrop-filter: blur(5px); /* Adjust the blur amount as needed */
    z-index: 9998; /* Should be lower than modal z-index */
}

/* Modal content */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Modal columns */
.modal-columns {
    display: flex;
}

/* Left column (text content) */
.left-column {
    flex: 2;
    padding: 20px;
}

.left-column ul {
    margin: 1rem 0.5rem;
}

/* Right column (image) */
.right-column {
    flex: 1;
    padding: 20px;
}

.right-column img {
    border-radius: 5px;
    max-width: 100%;
    height: auto;
}

.right-column p,
.right-column ul {
    margin-top: 0.5rem;
}

.right-column p a {
    white-space: nowrap;
}


/* Style for the h2 link */
.link-style {
    color: #007BFF;
    text-decoration: none;
    cursor: pointer;
}

.link-style:hover {
    color: #0056b3;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}


footer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6%;
    height: 600px;
    width: 100%;
    background-color: #111f2a;
    margin-top: 5%;
}

@media screen and (max-width: 734px) {
    footer {
        text-align: center;
    }
}

footer img {
    width: 100px;
    height: 170px;
}

footer p,
footer p a {
    color: #e6e6e6;
}

@media screen and (max-width: 734px) {
    footer p {
        padding: 0 1.5rem;
    }

    .small {
        display: none;
    }
}

footer p a {
    text-decoration: underline;
}

footer ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

@media screen and (max-width: 734px) {
    footer ul {
        gap: 1.2rem;
    }
}

footer ul a {
    color: #e6e6e6;
}


footer ul a:nth-child(5) {
    color: #dbb585;
}

footer i {
    margin: 0px 0.5rem;
}

footer p:last-child {
    position: relative;
    font-size: x-small;
}

footer .social-icons {
    padding-bottom: 4%;
    border-bottom: 1px solid gray;
}

.fa-square-whatsapp {
    position: fixed;
    bottom: 5rem;
    left: 2.5rem;
    font-size: 4rem !important;
    z-index: 1;
}