/* custom------------customer */

* {
margin: 0;
padding: 0;
font-family: Helvetica, sans-serif, Arial;
box-sizing: border-box;
}

html {
height: 100%;
scroll-padding-top: 100px;
}

body {
background-color: #121212;
color: #ffffff;
overflow-x: hidden;
scroll-behavior: smooth;
position: relative;
min-height: 100%;
}

/* ______________________________________________________ */

/* Navbar------------------------------------------------------- */

.navbar {
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
z-index: 1000;
}

.navbar-custom a {
color: #ffffff !important;
font-size: 0.9rem;
}

.hover-underline-animation {
display: inline-block;
position: relative;
color: #ffffff;
}

.hover-underline-animation:after {
content: "";
position: absolute;
width: 100%;
transform: scaleX(0);
height: 2px;
bottom: 0;
left: 0;
background-color: #e62b1e;
transform-origin: bottom right;
transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover {
transform: scaleX(1);
transform-origin: bottom left;
}

.hover-underline-animation:hover {
color: #ffffff;
}

.navbar-custom button {
border: 1px solid #e62b1e;
box-sizing: border-box;
border-radius: 8px;
font-size: 0.9rem;
padding: 10px 30px;
}

.navbar-custom button:hover {
background-color: #e62b1e;
transition: 0.3s;
}

.nav-right-illustration {
position: absolute;
right: 0%;
top: -13.01%;
}

/* illustration01 */
.illustration-left-homepage {
position: absolute;
left: -16.69%;
right: -20.97%;
top: -10.16%;
bottom: 98.19%;
transform: rotate(-10deg);
z-index: -1;
pointer-events: none;
}

.btn {
background-color: transparent;
border: 0.3px solid #e62b1e;
transition: 0.5s;
position: relative;
overflow: hidden;
cursor: pointer;
z-index: 1;
font-weight: 300;
color: #e62b1e;
}

.btn::after,
.btn::before {
content: "";
display: block;
height: 100%;
width: 100%;
transform: skew(90deg) translate(-50%, -50%);
position: absolute;
inset: 50%;
left: 25%;
z-index: -1;
transition: 0.5s ease-out;
background-color: #e62b1e;
}

.btn::before {
top: -50%;
left: -25%;
transform: skew(90deg) rotate(180deg) translate(-50%, -50%);
}

.btn:hover::before {
transform: skew(45deg) rotate(180deg) translate(-50%, -50%);
}

.btn:hover::after {
transform: skew(45deg) translate(-50%, -50%);
}

.btn:hover {
color: var(--color2);
}

.btn:active {
filter: brightness(0.7);
transform: scale(0.98);
}

.nav-right-illustration {
position: absolute;
right: 0%;
top: -15.01%;
transform: rotate(1.99deg);
z-index: -1;
pointer-events: none;
}

/* ___________________________________________________________________________________ */
/* _______________________________HERO SECTION___________________________________ */
/* ___________________________________________________________________________________ */

.hero-section {
position: relative;
height: 60vh;
min-height: 60vh;
background-image: url('/meet_team/Resources/Meet The Team/four.jpg');
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
display: flex;
align-items:center;
justify-content: start;
overflow: hidden;
margin-top:var(--navbar-height);
}

/* Dark overlay for better text readability */
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
}

/* Hero content */
.hero-content {
position: relative;
z-index: 2;
text-align: left;
color: #ffffff;
max-width: 800px;
/* padding: 0 40px; */
padding-top: 10rem;
}

.hero-title {
font-size: 3rem;
font-weight: 600;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
font-size: 1rem;
margin-bottom: 30px;
opacity: 0.9;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 40px;
opacity: 0.8;
animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-btn {
display: inline-block;
padding: 15px 40px;
background-color: #e62b1e;
color: #ffffff;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
font-size: 1.1rem;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(230, 43, 30, 0.3);
}

.hero-btn:hover {
background-color: #c41e14;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(230, 43, 30, 0.4);
color: #ffffff;
text-decoration: none;
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
    .team-container{
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
} 
.hero-section {
height: 80vh;
min-height: 500px;
background-attachment: scroll;
margin-top: 70px;
}

.hero-title {
font-size: 2.5rem;
}

.hero-subtitle {
font-size: 1.2rem;
}

.hero-description {
font-size: 1rem;
}

.hero-btn {
padding: 12px 30px;
font-size: 1rem;
}
}

@media (max-width: 576px) {

 .team-container{
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
} 
.hero-section {
height: 70vh;
min-height: 400px;
margin-top: 60px;
}

.hero-title {
font-size: 2rem;
}

.hero-subtitle {
font-size: 1.1rem;
}

.hero-description {
font-size: 0.9rem;
}

.hero-content {
padding: 0 15px;
}
}

/* Animation for hero elements */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* ___________________________________________________________________________________ */
/* _______________________________MEET THE TEAM__________________________________ */
/* ___________________________________________________________________________________ */

/* Team Section Styles */
.team-section {
padding: 50px 0 50px;
padding-bottom: 50px;
position: relative;
overflow: hidden;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.main-heading {
 font-family: Helvetica, sans-serif, Arial;
font-weight: 800;
color: #ffffff;
margin-bottom: 20px;
position: relative;
text-align: center;
width: 100%;
z-index: 2;
}

.main-heading::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: #e62b1e;
}

/* Team Cards Container */
.team-cards-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 30px;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
width: 100%;
position: relative;
z-index: 2;
}

/* Team Card Styles - Small and Image Only */
.team-card {
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
position: relative;
width: 200px;
height: 200px;
cursor: pointer;
flex-shrink: 0;
margin: 0 auto;
}

.team-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
border-color: #e62b1e;
}

/* Team Image Styles - Full Card */
.team-image {
position: relative;
overflow: hidden;
height: 100%;
width: 100%;
}

.team-image img {
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(100%);
transition: filter 0.3s ease, transform 0.3s ease;
cursor: pointer;
}

.team-image img:hover {
filter: grayscale(50%);
transform: scale(1.05);
}

.team-image img.active {
filter: grayscale(0%);
}

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

/* Team Name Overlay - Shows on Hover */
.team-name-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
color: #ffffff;
padding: 20px 15px 15px;
text-align: center;
opacity: 0;
transition: opacity 0.3s ease;
}

.team-card:hover .team-name-overlay {
opacity: 1;
}

.link-btn{
    color:white;
    text-decoration: none;
}

.team-name {
font-size: 1.1rem;
font-weight: 600;
margin: 0;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Hide other team info elements */
.team-info,
.team-role,
.team-description,
.team-overlay,
.social-links {
display: none;
}

.team-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Optional: Add a subtle border or shadow when active */
.team-card.active {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Responsive Design for Small Team Cards */
@media (max-width: 768px) {

.team-container{
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
} 
.team-section {
padding: 80x 0 30px;
}

.main-heading {
font-size: 2rem;
}

.team-cards-container {
gap: 20px;
padding: 0 15px;
justify-content: center;
align-items: center;
}

.team-card {
width: 150px;
height: 150px;
margin: 0;
}

.team-name {
font-size: 1rem;
}

.team-name-overlay {
padding: 15px 10px 10px;
}
}

@media (max-width: 576px) {
.team-container{
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}    
.team-section {
padding: 120px 0 20px;
text-align: center;
}

.main-heading {
font-size: 1.8rem;
margin-bottom: 15px;
text-align: center;
}

.team-cards-container {
gap: 15px;
padding: 0 10px;
justify-content: center;
align-items: center;
display: flex;
flex-wrap: wrap;
}

.team-card {
width: 120px;
height: 120px;
margin: 0;
flex-shrink: 0;
}

.team-name {
font-size: 0.9rem;
}

.team-name-overlay {
padding: 10px 8px 8px;
}
}

/* Extra small screens */
@media (max-width: 480px) {
 .hero-section{
position: relative;
height: 60vh;
min-height: 60vh;
background-image: url('/meet_team/Resources/Meet The Team/four.jpg');
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
display: flex;
align-items:center;
justify-content: start;
overflow: hidden;
margin-top:var(--navbar-height);
}   

.team-container{
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
} 
.team-section {
padding: 100px 0 20px;
}

.team-cards-container {
gap: 10px;
padding: 0 5px;
justify-content: center;
align-items: center;
}

.team-card {
width: 100px;
height: 100px;
}

.team-name {
font-size: 0.8rem;
}

.team-name-overlay {
padding: 8px 5px 5px;
}
}

/* Loading Animation */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.team-card {
animation: fadeInUp 0.6s ease forwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }
.team-card:nth-child(6) { animation-delay: 0.6s; }
.team-card:nth-child(7) { animation-delay: 0.7s; }
.team-card:nth-child(8) { animation-delay: 0.8s; }

/* CARD_________________________ */

.card {
width: 270px;
height: 150.86px;
margin-top: 30%;
background: linear-gradient(180deg, rgba(47, 46, 46, 0.44) 0%, rgba(50, 50, 50, 0.11) 100%);
backdrop-filter: blur(13px);
border-radius: 23px;
}

.img-top{
width: 100px!important;
height: 100px;
position: absolute;
bottom:100px;
left: 8%;
}

.card{
padding-top: 25%;
margin-left:3%;
margin-right: 3%;
padding-bottom: 3%;
}

.card-text{
margin-top: -10px;
font-size: 0.8rem;
}

.card-titile{
font-size: 1rem;
}

.social-icons{
position: absolute;
right: 10%;
bottom: 25%;
}

.social-icons a{
display: block;
color: #ffffff;
opacity: 0.7;
font-size: 1.2rem;
padding-top:5%;
}

.bi-facebook:hover{
color:#4267b2; ;
}

.bi-instagram:hover{
color: #bc1888;;
}
.bi-linkedin:hover{
color:#0072b1;
}

/*________________________________________ Sponser________________________________________________________________ */

.sponsers-section {
margin-top: 10%;
}

.sponsers-section h1 {
width: 100%;
text-align: center;
border-bottom: 1px solid #e62b1e;
line-height: 0.1em;
margin: 10px 0 20px;
color: #ffffff;
font-weight: 300;
font-size: 1.5rem;
opacity: 0.6;
}

.sponsers-section h1 span {
background: #e62b1e;
padding: 0 10px;
}

/*________________________________________ FOOTER________________________________________________________________ */

.illustration-footer {
opacity: 0.87;
z-index: -1;
pointer-events: none;
}

.footer-section {
color: #ffffff;
padding-bottom: 8%;
background: #000000;
position: relative;
z-index: 2;
}

.footer-section h1 {
font-size: 2.2rem;
}

.footer-section .nav-link {
color: #ffffff;
opacity: 0.6;
font-size: 1rem;
}

.footer-section .box-2 .nav-link {
display: block;
}

.footer-section .box-2 .youtube-icon-footer:hover {
color: #ff0000;
}

.footer-section .box-2 .twitter-icon-footer:hover {
color: #4267b2;
}

.footer-section .box-2 .instagram-icon-footer:hover {
color: #bc1888;
}

.input-footer input {
opacity: 0.4;
border: 1px solid #ffffff;
box-sizing: border-box;
border-radius: 8px;
background: transparent;
color: white;
}

.box-3 p{
opacity: 0.7;
}

/* Navbar height calculation helper */
:root {
--navbar-height: 110px;
}

/* Additional utility classes for proper spacing */
.content-wrapper {
padding-top: calc(var(--navbar-height) + 20px);
}

/* Ensure all main content sections have proper top spacing */
main, 
.main-content,
section:first-of-type {
margin-top: var(--navbar-height);
}

/* Media queries for navbar spacing adjustments */
@media (max-width: 768px) {
:root {
--navbar-height: 110px;
}

html {
scroll-padding-top: 70px;
}
}

@media (max-width: 576px) {
:root {
--navbar-height: 110px;
}

html {
scroll-padding-top: 60px;
}
}