/* ====================================
   HERO SECTION
==================================== */
/* Whole Header-Section */
#header {
    width:100%;
    height:20vh;
    position:absolute;
    top:0;
    z-index:1000;

}
.container-fluid {
    width:100%;
    height:100%;
    display:flex;
    justify-content:flex-end;
}

.container-fluid .logo {
    height:100%;
}
.container-fluid .logo .Logo:hover{
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.8) ,0 0 40px rgba(0, 242, 254, 0.6);
}

.container-fluid .logo .Logo img {
    height:50px;
    width: 150px;
    border-radius:10px;
}


#navbar{
    height:100%;
    padding-left:0 !important;
    padding-right:0 !important;
    justify-content:flex-start;
    
    
}

#navbar ul{
    height:100%;
    display:flex;
    list-style:none;
    width:100%;   
    align-items:center;
    justify-content:flex-start;
    margin-left:0;
    padding-left:0;

    
}

#navbar ul li {
    height:100%;
}
#navbar ul .hide-on-mobile a {
    height:100%;  
    padding: 0 15px;
    text-decoration: none;
    display: flex;
    align-items: center;  
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform:uppercase;
    color: rgba(255, 255, 255, 0.75); 
    position:relative;
    width:max-content;
    
}
#navbar ul .hide-on-desktop a{
    height:100%;  
    padding: 0 15px;
    text-decoration: none;
    display: flex;
    align-items: center;  
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);

}
#navbar ul .hide-on-desktop a:hover{
    color:white;

}


#navbar ul .hide-on-mobile a:hover{
    color:white;
}
#navbar ul .hide-on-mobile a::after{
    content:'';
    background:#DBAB44;
    width:0;
    height:3px;
    position:absolute;
    bottom:35%;   
    transition: width 0.3s ease;
}
#navbar ul .hide-on-mobile a:hover::after {
    width:70%;
}
#navbar ul .hide-on-mobile a.active::after{
    width:70%;
}


/* Whole side-header section */

#header-side{
    position:fixed;
    top:0;
    right:-100%;
    width:85%;
    max-width:380px;
    height:100vh;

    background:#0F172A;

    display:flex;
    flex-direction:column;

    transition:.35s ease;

    z-index:99999;

    box-shadow:-10px 0 30px rgba(0,0,0,.4);
}

#header-side.show{
    right:0;
}

/* Top */

.sidebar-top{

    height:75px;

    display:flex;
    align-items:center;
    justify-content:flex-end;

    padding:0 25px;

    border-bottom:1px solid rgba(255,255,255,.08);
}

.sidebar-top i{

    font-size:34px;

    color:white;

    cursor:pointer;
}

/* Navigation */

#navbar-side{

    display:flex;

    flex-direction:column;

    flex:1;
}

.menu-item{

    height:65px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 25px;

    color:white;

    text-decoration:none;

    border-bottom:1px solid rgba(255,255,255,.08);

    font-weight:600;

    letter-spacing:1px;

    transition:.25s;
}

.menu-item:hover{

    background:#1E293B;

    color:#3b82f6;
}

.menu-item i{

    font-size:20px;
}

.menu-item.active{

    color:#3b82f6;
}

/* Bottom */

.sidebar-bottom{

    padding:30px 25px;

    border-top:1px solid rgba(255,255,255,.08);
}

.sidebar-bottom img{

    width:120px;

    margin-bottom:25px;
}

.sidebar-social{

    display:flex;

    gap:20px;
}

.sidebar-social a{

    color:white;

    font-size:22px;

    transition:.3s;
}

.sidebar-social a:hover{

    color:#2563EB;
}




@media(max-width:800px) {
    .hide-on-mobile {
        display:none;
    }

}

@media(min-width:800px){
    .hide-on-desktop{
        display:none;
    }
}
@media(min-width:360px) and (max-width:800px){
    .container-fluid .logo .Logo img {
        width: 25vw ;
    }
    .footer-links {
        display:none;
    }
    .hide-on-desktop a i {
         font-size: 35px;
    }
}
@media(min-width:360px) and (max-width:500px) {
  .about-club p {
    text-align: justify;
    margin-top: 10px;
  }
  .footer .footer-legal .credits .web-de-cr {
        display: block;
  }

  .section-header h2:before,
  .section-header h2:after {
    width: 15px;
  }

}


.team-hero {
  min-height: 70vh;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
              url("../img/membership-hero.png") center bottom/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
  
  
   
}

.team-hero h1 {
  font-size: 56px;
  font-weight: 700;
}

.team-hero p {
  max-width: 650px;
  margin: auto;
  opacity: 0.9;
}


/* ====================================
   ABOUT SECTION
==================================== */

.about-club{
padding:80px 0;
background:#0f172a;
color:#e5e7eb;
}

.col-lg-6:hover img {
  transform : scale(1.05);
  transition : transform 0.35s ease;
  box-shadow : 2px 14px 130px -5px rgba(4, 109, 116, 0.68)
  
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
}

.about-img {
  border-radius: 10px;
}


/* ====================================
   TEAM DIVIDER (GROUP PHOTO)
==================================== */

.team-divider{
padding:60px 0;
background:#111827;
}

.group-photo {
  border-radius: 12px;
  max-width: 100%;
}


/* ====================================
   CORE TEAM LAYOUT
==================================== */

.core-team-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  padding-bottom: 10px;
}

.core-team-row .member {
  min-width: 170px;
  max-width: 170px;
}

.section-header h2{
font-size:38px;
font-weight:700;
margin-bottom:10px;
color: var(--color-default);
}

/* ====================================
   CARD COMPONENTS
==================================== */

.member-card{
position:relative;
background:#1f2937;
border-radius:12px;
padding:18px;
text-align:center;
box-shadow:0 15px 35px rgba(0,0,0,0.35);
transition:transform 0.35s ease, box-shadow 0.35s ease;
overflow:hidden;
color:#e5e7eb;
}

.advisor-card {
  padding: 20px;
  text-align: center;
}

.dept-member {
  text-align: center;
}


/* ====================================
   MEMBER INFO TEXT
==================================== */

.member-info {
  margin-top: 10px;
}

.member-info h4 {
  font-size: 15px;
  font-weight: 600;
}

.member-info span {
  font-size: 12px;
  color: #6c757d;
}


/* ====================================
   IMAGE STYLES
==================================== */

.member-img {
  width: 100%;
  height: 170px;
  object-fit: contain;
}

.advisor-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.dept-member img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}


/* ====================================
   SOCIAL ICON POSITION
==================================== */

.member-card .social {
  position: absolute;
  top: 10px;
  right: 10px;
}


/* ====================================
   FACULTY SECTION
==================================== */

.faculty-section{
padding:80px 0;
background:#0f172a;
}


/* ====================================
   DEPARTMENTS SECTION
==================================== */

.departments{
padding:80px 0;
background:#111827;
}

.dept-title {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.dept-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}


/* ====================================
   CORE TEAM CARD
==================================== */

/* image */

.member-img{
  width:100%;
  height:180px;
  object-fit:contain;
  transition:transform 0.35s ease;
}

/* text */

.member-info{
  margin-top:10px;
}

.member-info h4{
  font-size:15px;
  font-weight:600;
  margin-bottom:2px;
}

.member-info span{
  font-size:12px;
  color:#9ca3af;
}

/* linkedin icon */

.member-card .social{
  position:absolute;
  top:12px;
  right:12px;
}

.core-team-row{
  display: flex;
  flex-wrap: wrap;           /* allows items to move to next row */
  justify-content: center;   /* centers items */
  gap: 24px;                 /* space between cards */
}

.member{
  flex: 1 1 250px;           /* responsive width */
  max-width: 280px;          /* prevents too wide cards */
}

/* Tablet */
@media (max-width: 992px){
  .member{
    flex: 1 1 45%;
  }
}

/* Mobile */
@media (max-width: 576px){
  .member{
    flex: 1 1 100%;
  }
}

/* ====================================
   ADVISOR & DEPT MEMBER CARD (Same as Core Team)
==================================== */

.advisor-card,
.dept-member{
position:relative;
background:#1f2937;
border-radius:12px;
padding:18px;
text-align:center;
box-shadow:0 15px 35px rgba(0,0,0,0.35);
transition:transform 0.35s ease, box-shadow 0.35s ease;
overflow:hidden;
color:#e5e7eb;
}

/* image styling */

.advisor-img,
.dept-member img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

/* text spacing (if similar structure exists) */

.advisor-info,
.dept-member-info {
  margin-top: 10px;
}

.advisor-info h4,
.dept-member-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.advisor-info span,
.dept-member-info span {
  font-size: 12px;
  color:#9ca3af;
}

/* ====================================
   HOVER INTERACTIONS
==================================== */



/* card lift */
.advisor-card:hover,
.dept-member:hover{
transform:translateY(-10px) scale(1.04);
box-shadow:0 22px 50px rgba(0,0,0,0.45);
}

/* image zoom */
.advisor-card:hover .advisor-img,
.dept-member:hover img {
  transform: scale(1.08);
}


.member-card:hover{
transform:translateY(-14px) scale(1.06);
box-shadow:0 25px 60px rgba(0,0,0,0.5);
}
/* image zoom */

.member-card:hover .member-img{
  transform:scale(1.12);
}
.dept-heading {
  font-size: 22px;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

/* subtle underline accent */
.dept-heading::after {
  content: "";
  width: 40%;
  height: 2px;
  background: #3b82f6;
  position: absolute;
  left: 30%;
  bottom: -6px;
  border-radius: 2px;
}
.member-card {
  position: relative;
}

.member-card .social {
  z-index: 10;
  pointer-events: auto;
}

.member-card::before {
  pointer-events: none;
}
/* FORCE single row for departments */


.departments .member {
  flex: 0 0 auto;
}
.faculty-section .member-img {
  height: 180px;
  object-fit: cover;
}
#overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:99998;
}

#overlay.show{

    opacity:1;

    visibility:visible;
}