/* @author: Aqsa Mullaji */
/* */


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html,body{
    scrollbar-gutter: stable;
    margin: 0;
    background-image: url('galaxy1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Arial', sans-serif;
    background-color: #0c0c0c;
    color: #fff;
    text-align: center;
    

   
}

/*nav bar*/

.header {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    margin: 20px 0;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  }

  /* Navigation Bar Styling */
  .navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    
    background-color: #0c0c0c;
    z-index: 1000;
    height: 60px;
    padding: 10px 0;
    box-sizing: border-box;
    border-bottom: 2px solid #fbfafa;
    transition: transform 0.5s ease; /* Smooth transition for navbar */
  }

  /* Navbar Content */
  .navbar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 0 20px;
  }

  /* Hamburger for small screens */
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fefcfd;
    margin: 4px 0;
    transition: transform 0.3s ease;
  }

  @media (max-width: 768px) {
    .nav-links {
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      width: 100%;
      background: #0e0e0e;
      transition: all 0.5s ease;
      padding: 10px 20px;

    }

    .nav-links.active {
      display: flex;
    }
    .hamburger {
      display: flex; /* Show hamburger icon */
    }
    .navbar-content {
      justify-content: space-between; /* Space between items */
    }
    
    .nav-links {
    display: none;
  }
  }

  /* Logo Styling */
  .navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 45px;
    margin-right: 10px;
    margin-bottom: 5px;
}

.navbar .logo span {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

  /* Navigation Links Styling */
  .nav-links {
    /* display:; */
    text-align: center;
    width: 80%; /* Reduce width to bring links closer */
  }

  .nav-links a {
    text-decoration: none;
    color: #fffdfe;
    font-size: 18px;
    font-weight: bold;
    padding: 0 20px;
    position: relative;
    margin: auto; /* Adjust space between links */
    padding-bottom: 5px; /* Space for underline effect */
    transition: color 0.3s ease, transform 0.5s ease;

  }

  /* Underline Hover Effect with Transition */
  .nav-links a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #ffaaff;
    transition: width 0.3s ease, left 0.3s ease;
  }

  .nav-links a:hover {
    color: #ffaaff;
  }

  .nav-links a:hover::before {
    width: 100%;
    left: 0;
  }

  /* Glowing Effect on Hover */
  .nav-links a:hover {
    color: #ededed;
    text-shadow: 0 0 7px #f890f8, 0 0 14px #ffaaff, 0 0 21px #ffaaff;
  }

  .navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 45px;
    margin-right: 10px;
    margin-bottom: 5px;
}




  

  

/*College Name*/

#content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate( -50%);
    text-align: center;
    z-index: 10;
    padding: 45px;

}

img {
    margin-bottom: 0px;
}

.college-name {
    color: #ffd700;
    font-size: 40px;
    text-shadow: 0 0 10px #ffd700, 0 0 20px orange;
    margin: 5px 0;
  
}
#content h3{
    font-size: 28px;
    color: #00d9ff;
}

    


#content p {
    font-size: 18px;
    color: yellowgreen;
    margin: 10px 0;
    
}

#content h4 {
color: #ffd700;
font-size: 38px;
text-shadow: 0 0 10px #ffd700, 0 0 20px orange;
margin: 5px 0;
 white-space: pre; /* Preserve spaces */
text-align: center;
}

.board-name{
    font-size: 24px;
    
}








/*Event Names*/
.stars{
    display: flex;
}
.stars span{
    position: relative;

    /* flex-direction: row; */
    width: 4px ;
    height: 4px;
    margin: 0 30px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0px 0px 30px 4px white;
    animation: starAnimate 15s linear infinite;
    animation-duration: calc(200s / var(--i));
}

@keyframes starAnimate{
    0%{
        transform: translateY(100vh) ;
    }
    100%{
        transform: translateY(-10vh) ;
    }
}
.event_name_section{
    position: relative;
    background-color: black;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    font-family: "Poppins", sans-serif;
    padding: 0 10px;
    overflow: hidden;
    gap: 1rem;
}
.moon_container{
    position: relative;
    z-index: 2;
    width: min(300px, 60vw);
    height: min(300px, 60vw);
    background-color: antiquewhite;
    border-radius: 50%;
    background-image: url(moon.png);
    object-fit: cover;
    background-position: center;
    filter: drop-shadow(0 0 70px rgb(101, 43, 246));
    box-shadow: 0 0 20px 0px rgb(255, 255, 255);
    animation: 30s linear infinite rotateMoon;
    background-size: 120%;
}
@keyframes rotateMoon{
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
}
.techxtreme_text{
    text-align: center;
    position: absolute;
    z-index: 111;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -280%);
    width: 100%;
}
.techxtreme_text svg{
    transform: scale(13);
}
.techxtreme_text svg path{
    fill: url(#paint0_linear_1_2);
    stroke: #ffffff;
    stroke-width: 0.3;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: textAnimate 4s ease-in-out alternate infinite;
}
@keyframes textAnimate {
    0%{
        stroke-dashoffset: 60;
    }
    70%{

    }
    100%{
        stroke-dashoffset: 0;
    }
}
.sub_text{
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-top: clamp(-15px, -2vw, 1px);
    font-weight: 600;
    text-align: center;
}
.btn_container{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin: clamp(15px, 3vw, 20px) 0;
}
.btn_container button a{
    text-decoration: none;
    color: white;
}
.btn_container button{
    padding: clamp(6px, 1.5vw, 10px) clamp(12px, 2.5vw, 20px);
    background-color: #7b50fc;
    box-shadow: 0px 0px 20px 1px #8f68ff;
    border-radius: 10px;
    font-size: clamp(14px, 2.5vw, 20px);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease-in-out;
    margin-bottom: -20px;
}
.btn_container button:hover{
    background-color: #7b50fc69;
    border: 2px solid #7b50fc;
}
@media (max-width:600px){
    .techxtreme_text svg {
        transform: scale(6);
    }
    .moon_container{
        background-size: 120%;
    }
}
@media (max-width:375px){
    .techxtreme_text svg {
        transform: scale(4);
    }
}
@media screen and (orientation: landscape) and (max-height: 500px) {
    .moon_container {
        width: min(300px, 40vh);
        height: min(300px, 40vh);
    }

    .techxtreme_text {
        transform: translate(-50%, -200%);
    }

    .techxtreme_text svg {
        transform: scale(8);
    }

    .sub_text {
        font-size: clamp(1rem, 2.5vh, 1.5rem);
        margin-top: clamp(-10px, -1.5vh, -15px);
    }

    .btn_container {
        margin: clamp(10px, 2vh, 15px) 0;
    }

    .btn_container button {
        padding: clamp(4px, 1vh, 8px) clamp(10px, 2vh, 15px);
        font-size: clamp(12px, 2vh, 16px);
    }
}


  
  
  .main-heading {
    font-size: 3rem;
    margin: 20px 0;
    color: #00d9ff;
    text-shadow: 2px 2px 10px rgba(0, 217, 255, 0.8);
  }
  
  /* Card Container */
  .card-container {
   
    display:grid;
    grid-template-columns: repeat(3, 1fr); /* 4 cards in a row */
    gap: 30px; /* Spacing between cards */
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
    
    
    
  }
  
  /* Card Styling */
  .card {
    background-color: rgba(239, 243, 245, 0.1);
    border-radius: 40px;
    box-shadow: 0 8px 15px rgba(204, 72, 167, 0.4);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
    overflow: hidden;
  }
  
  .card img {
    width: 100%;
    display: block;
  }
  
  .event-heads {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 5px;
  }
  
  .event-heads img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00d9ff;
  }
  
  .card h3 {
    padding: 5px;
    font-size: 1.2rem;
    color: #00d9ff;
  }
  
  .card p {
    font-size: 0.9rem;
    padding: 0 15px 10px;
    color: white;
  }
  
  .card button {
    margin: 5px 50px 5px 50px ;
    padding: 10px;
    border: none;
    background-color: #c00f7f;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .card button:hover {
    background-color: #5c0239;
  }
  
  /* Hover Effect */
  .card:hover {
    transform: translateY(-10px);
  }

  /* For medium screens (tablets) */
@media (max-width: 1024px) {
    .card-container {
      grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
  }
  
  /* For small screens (mobile devices) */
  @media (max-width: 768px) {
    .card-container {
      grid-template-columns: 1fr; /* 1 card per row */
    }
  
    .main-heading {
      font-size: 2.5rem; /* Smaller heading */
    }
  
    .card h3 {
      font-size: 1rem; /* Adjust font size */
    }
  
    .card p {
      font-size: 0.8rem;
    }
  }

  

/*Department & Faculty*/


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    animation: fadeIn 2s ease-in;
    padding: 50px;
    text-align: center;
}

.section h1 {
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #f4eef0;
    animation: slideInFromTop 1s ease-out;
}

@keyframes slideInFromTop {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.faculty-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 2s ease-in;
    margin-bottom: 50px; /* Added margin to create space */
}

.faculty-card {
    background-color: #1a1a1a;
    border: 2px solid transparent;
    border-radius: 50%;
    width: 190px;
    height: 190px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(110, 196, 202, 0.5);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faculty-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px 5px rgba(0, 255, 255, 0.8);
    border-color: rgba(0, 255, 255, 0.8);
}

.faculty-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-card .info {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}

.faculty-card .info h3 {
    margin: 0;
    font-size: 1.2em;
}

.faculty-card .info p {
    margin: 5px 0 0;
    font-size: 0.9em;
    color: #f9f9f9;

}

.faculty-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    color: rgb(252, 230, 89);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.faculty-card:hover .overlay {
    opacity: 0.5;
}

.photo-container-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.photo-card {
    position: relative;
    width: 600px;
    height: 400px;
    overflow: hidden;
    border: 2px solid #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(229, 234, 141, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 30px;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px 5px rgba(205, 172, 111, 0.8);
}

.photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-label {
    opacity: 1;
}
/* For mobile responsiveness: Stack the images vertically and make them smaller */
@media (max-width: 768px) {
.photo-container-row {
flex-direction: column; /* Stack the images vertically */
gap: 10px; /* Reduce the space between images */
}

.photo-card {
width: 100%; /* Make the photo card take full width */
height: 200px; /* Maintain height for consistency */
margin: 15px 0; /* Adjust margins for better spacing */
}

.photo-card img {
width: 100%;
height: 100%;
}
}

.description {
    margin: 30px auto;
    font-size: 1.1em;
    color: #f6f94b;
    max-width: 800px;
    line-height: 1.6;
}



/*Core Members*/


.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width:100%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(228, 16, 16, 0.1);
}

.team-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    white-space: nowrap; /* Prevent wrapping */
    padding-bottom: 10px; /* Space for scrollbar */
}

.team-card {
    position: relative;
    flex: 0 0 120px; 
    
    height: 200px;
    display: inline-block;  
    text-align: center;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;

}

.team-card img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.team-info {
    position: absolute;
    bottom: 0;
    
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 15px;
    transform: translateY(100%); /* Initially hidden */
    transition: transform 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.1); /* Slight zoom on image */
}

.team-card:hover .team-info {
    transform: translateY(0); /* Layer slides up to reveal text */
    height: 100%;
}

.team-info p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #fd73cb;
}

h1{
    color: aliceblue;
    text-align: center;
    font-size: 50px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    
}

h3{
    font-size: 13px;
    font-weight: 500;
    color: beige;
    padding-top: 50px;
}

/*Media Queries*/

/* Media Query for Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .team-container {
        flex-direction: column; /* Stack content vertically */
        gap: 15px;
        padding: 8px;
    }

    .team-row {
        flex-wrap: wrap; /* Allow cards to wrap */
        justify-content: center;
        gap: 10px;
    }

    .team-card {
        flex: 0 0 100px; /* Slightly reduce card size */
    }

    h1 {
        font-size: 40px;
    }

    h3 {
        font-size: 20px;
    }
}

/* Media Query for Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .team-container {
        padding: 5px;
        gap: 10px;
    }

    .team-row {
        flex-direction: column; /* Stack cards vertically */
        gap: 12px;
        padding-bottom: 0;
    }

    .team-card {
        flex: 0 0 100%; /* Make cards take full width */
        max-width: 100%; /* Add some margins */
        margin: 0 auto; /* Center the cards */
    }

    .team-info p {
        font-size: 16px;
    }

    h1 {
        font-size: 30px; /* Adjust header size for smaller screens */
    }

    h3 {
        font-size: 18px;
    }
}

/* Media Query for Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .team-container {
        gap: 8px;
    }

    .team-card {
        flex: 0 0 100%; /* Cards take full width */
        margin-bottom: 10px; /* Add space between cards */
    }

    .team-info {
        padding: 10px;
    }

    .team-info p {
        font-size: 14px; /* Smaller text */
    }

    h1 {
        font-size: 24px;
    }

    h3 {
        font-size: 16px;
    }
}









/* contact us*/

@keyframes zoom-in-animation {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

    @keyframes float-in-animation {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
    

#container {
position: relative;
width: 100vw;
height: 100vh;
display: flex;

align-items: center;
justify-content: center;
}

.contact-form {
position: absolute;
z-index: 10;
background: rgba(0, 0, 0, 0.8);
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px #ffffff;
text-align: center;
width: 400px;
}

.contact-form h2 {
margin-bottom: 20px;
color: #ffffff;
animation: zoom-in-animation 1s ease-in-out;
}

.contact-form label {
display: block;
margin-bottom: 5px;
margin-left: 0%;
color: #ffffff;
animation: float-in-animation 0.8s ease-in-out;
}

.contact-form input {
color: #d82aef;
width: 80%;
padding: 10px;
margin-bottom: 15px;
border: none;
border-radius: 5px;
animation: zoom-in-animation 1s ease-in-out;
opacity: 0.5;
}

.contact-form button {
animation: zoom-in-animation 1s ease-in-out;
background-color:#5A31AB;
color: #ffffff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
width:50%;
opacity: 0.7;
}

.contact-form button:hover {
background-color: #5A31AB;
    color: #ffffff;
}

#backgroundCanvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.hover-underline {
        display: inline-block; /* Ensures the underline respects the width of the word */
        position: relative; /* Required for pseudo-element positioning */
        cursor: pointer;
        /*https://prod.liveshare.vsengsaas.visualstudio.com/join?ACBC1528CEC9FD4FF3F981984B9E63FDAA7D*/
            }

    .hover-underline::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px; /* Position below the text */
        width: 0%;
        height: 2px; /* Thickness of the underline */
        background-color: #a0f109; /* Color of the underline */
        transition: width 0.3s ease-in-out; /* Animation */
    }

    .hover-underline:hover::after {
        width: 100%; /* Expands the underline on hover */
    }
    /* Button Container */
    .button-container {
            position: relative;
}

/* Shiny Button */
        .shiny-button {
            position: relative;
            padding: 12px 30px;
            font-size: 18px;
            color: white;
            background: linear-gradient(90deg, #6a0572, #430c58);
            border: none;
            outline: none;
            cursor: pointer;
            border-radius: 8px;
            overflow: hidden;
            transition: background 0.4s ease-in-out;
        }

/* Button Hover Effect */
        .shiny-button:hover {
            background: linear-gradient(90deg, #b44ac0, #d82aef);
        }

        /* Roaming Line Effect */
        .shiny-button::before,
        .shiny-button::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border: 2px solid transparent;
            border-radius: 8px;
            box-sizing: border-box;
            pointer-events: none;
            animation: roam-around 4s linear infinite;
            background: linear-gradient(90deg, transparent, #ffffff, transparent);
            background-size: 300%;
        }

        /* Roaming Animation */
        @keyframes roam-around {
            0% {
                clip-path: inset(0% 0% 100% 0%);
            }
            25% {
                clip-path: inset(0% 0% 0% 0%);
            }
            50% {
                clip-path: inset(0% 100% 0% 0%);
            }
            75% {
                clip-path: inset(0% 0% 0% 100%);
            }
            100% {
                clip-path: inset(100% 0% 0% 0%);
            }
            }
      
                            hr {
        margin: 20px auto;
        width: 90%;
        border: 1px solid #fff;
        
    }

    .social-icons {
        text-align: center;
        margin-top: 10px;
    }

    .social-icons a {
        display: inline-block;
        margin: 0 10px;
        transition: transform 0.3s;
    }

    .social-icons a:hover {
        transform: scale(1.1);
    }

    .social-icons img {
        width: 40px;
        height: 40px;
    }
    #backgroundCanvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
  
  /* Footer Section */
footer {
    background-color: var(--blackbg);
    text-align: center;
    padding: 10px 0;
   
}

footer p {
    color: var(--footercolor);
    font-weight: 400;
}

@media only screen and (max-width: 480px) {
    footer {
        padding: 5px 0;
    }

    footer p {
        font-weight: 300;
        font-size: .8rem;
    }
}

@media only screen and (max-width: 300px) {
    footer {
        padding: 4px 0;
    }

    footer p {
        font-weight: 300;
        font-size: .7rem;
    }
}



    