@import url("https://fonts.googleapis.com/css?family=Poppins");
::-webkit-scrollbar{
    width: 10px;
}
:root {
  --base-color: #eef2f7;         /* soft sky-blueish white */
  --base-variant: #d9e2ec;       /* light slate for cards/sections */
  --text-color: #1f2937;         /* dark grayish-blue for readability */
  --secondary-text: #4b5563;     /* muted gray for subtext */
  --primary-color: #0072ce;      /* IEEE blue, main highlights */
  --accent-color: #2d4592;       /* teal/aquamarine highlights */
  --button-color: #3b82f6;       /* soft vibrant blue for buttons */
  --button-text: #ffffff;         /* readable text on buttons */
  --hr-color: #0072ce;           /* primary line accent */
  --link-color: #0f52ba;         /* slightly darker blue links */
  --highlight-color: #6ee7b7; 
  
}
.dark-mode {
  --base-color: #0f172a;         /* deep navy/blue-black background */
  --base-variant: #1e293b;       /* slightly lighter dark panels */
  --text-color: #e2e8f0;         /* soft light gray text */
  --secondary-text: #94a3b8;     /* muted grayish-blue for subtext */
  --primary-color: #3b82f6;      /* vibrant blue highlights */
  --accent-color: #1476b8;       /* bold teal highlights */
  --button-color: #22d3ee;       /* turquoise buttons */
  --button-text: #0f172a;        /* dark text on buttons */
  --hr-color: #3b82f6;           /* accent lines */
  --link-color: #60a5fa; 
}



#toggle-button{
    position: fixed;
    top: 18px;
    right: 20px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--button-text);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
}
.home-container {
   padding: 0 20px;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.home-text {
  max-width: 50%;
  padding-right: 20px;
}

  .home-image img {
    width: 100%;
    height: auto;
    object-fit: contain; 
}

/* Media query for smaller screens */
@media (max-width: 767px) {
  .home-container {
    flex-direction: column-reverse; /* Stack elements on smaller screens */
  }

  .home-text {
    max-width: 100%;
    padding-right: 0;
  }

  .home-image img {
    display: none; /* Show the image on smaller screens */
  }
}

/* CURSOR */
body {
  cursor: none;
}

/* Custom cursor container */
.cursor {
  display: none;
}

.cursor-glow {
  position: fixed;
  width: 60px;
  height: 60px;
  background: radial-gradient(
    circle,
    rgba(100, 181, 246, 0.6) 0%,
    rgba(100, 181, 246, 0.3) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
  animation: pulse 2s infinite;
  filter: blur(1px);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
}

.cursor-glow.hover {
    transform: scale(1.8);
  background: radial-gradient(
    circle,
    rgba(79, 195, 247, 0.8) 0%,
    rgba(100, 181, 246, 0.4) 40%,
    transparent 70%
  );
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.8;
    animation: trailFade 0.99s ease-out forwards;
}

@keyframes trailFade {
    to {
        opacity: 0;
        transform: scale(0);
    }
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
    .cursor, .cursor-glow, .cursor-trail {
        display: none;
    }
    body {
        cursor: auto;
    }
}

.cursor-glow.no-animation {
    animation: none !important;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}


/* HOME SECTION */

.translucent-logo-img {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%; 
    height: 100%; 
    opacity: 0.067; 
    z-index: 0; 
    object-fit: contain;
    pointer-events: none; 
    transform-style: preserve-3d;
    animation: coinFlipY 20s linear infinite; 
}

@keyframes coinFlipY {
    from { transform: translate(-50%, -50%) rotateY(0deg); }
    to { transform: translate(-50%, -50%) rotateY(360deg); }
}

.home-main-content-area {
    position: relative; 
    padding: 50px 20px; 
    margin: 50px auto 0 auto; 
    max-width: 1000px; 
    border-radius: 15px; 
    overflow: hidden;
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    min-height: 400px; 
}

/* Container for the text content */
.home-text-content {
    position: relative; 
    z-index: 1; 
    text-align: center; 
    padding: 20px; 
    color: var(--text-color); 
}

/* Styling for the animated "IEEE PCE" heading */
.animated-typing-text {
    font-size: 8rem; 
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px; 
    white-space: nowrap; 
    overflow: hidden; 
    border-right: 4px solid #64b5f6; 
    animation: blink-caret .75s step-end infinite; 
    display: inline-block; 
    min-width: 0; 
    line-height: 1.2; 
    font-family: 'Zina', sans-serif;
    letter-spacing: 8px;
}

/* Keyframe animation for blinking caret */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #64b5f6; }
}

/* Initially hide the rest of the home text */
.home-text-inner.hidden-after-anim {
    opacity: 0;
    transform: translateY(80px) scale(0.95);;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Class to show the text after animation */
.home-text-inner.show-after-anim {
    opacity: 1;
    transform: translateY(0) scale(1);;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-text-inner h4 {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.home-text-inner h1 {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.home-text-inner p {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.home-text-inner.show-after-anim h4,
.home-text-inner.show-after-anim h1,
.home-text-inner.show-after-anim p,
.home-text-inner.show-after-anim .button {
    transform: translateY(0);
    opacity: 1;
}

/* Adjustments for existing home-text styles to ensure centering within home-text-content */
.home-text-content h4 {
   color: var(--secondary-text);
    font-size: 1.5rem; 
    margin-bottom: 10px;
}

.home-text-content h1 {
    font-size: 2.8rem; 
    background: linear-gradient(60deg, var(--primary-color), var(--accent-color));
    background-size: 300%;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: bg-gradient 5s infinite alternate;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.home-text-content p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
}
#date{
  color :var(--text-color-secondary);
}
/* .home-image img {
  max-width: 100%;
   /* Initially hide the image */
/* } */

/* Media query for smaller screens */
@media (max-width: 767px) {
  .home-main-content-area {
    padding: 30px 15px;
    margin-top: 30px;
    min-height: 300px;
  }
  .animated-typing-text {
    font-size: 2.2rem; 
  }
  .home-text-content h1 {
    font-size: 2rem;
  }
  .home-text-content h4 {
    font-size: 1.2rem;
  }
  .home-text-content p {
    font-size: 1rem;
  }
}


hr {
    display: inline-block;
    width: 20%;
    margin: 15px 0;
  }
/* SCROLLBAR */

::-webkit-scrollbar-track{
    background-color: var(--base-variant);
}
::-webkit-scrollbar-thumb{
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover{
     background: var(--accent-color);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;      
    list-style: none;
}
html{
    scroll-behavior: smooth;
}

body{
    background-color: var(--base-color);
    color: var(--text-color);
}

/* LOGO ANIMATION */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--base-color);
  z-index: 9999;
}

/* Video to cover the screen */
#preloader video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NAVBAR*/

header{
    width: 100%;
    display: flex;
    position: fixed;
    background-color: var(--base-color);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.7); /* Add shadow */
    align-items: center;
    justify-content: space-between;
    height: 70px;
    z-index: 1000;
    padding: 0px 50px;
    top: 0;
    left: 0;
}

.logo {
    margin-right: auto;
}
.logo{
    height: 60px;
    width: 70px;
    margin-right: auto; 

}

header .fa-bars, header .fa-circle-xmark {
    display: none;
}

.navbar{
    display: flex;
    text-decoration: none;
}
ul li{
    padding: 12px;
}
ul li a{
    text-decoration: none;
   color: var(--text-color);
    font-size: 20px;
    position: relative;
    margin:0px 22px ;
}
ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
     background: var(--accent-color);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

ul li a:hover::after{
    width: 100%;
}

span{
   color: var(--accent-color);
}

section{
    min-height: 100vh;
    padding: 90px 90px;
    margin: 0px 30px;
}

/* HOME */
.sliding-text-container {
  position: fixed;
  left: 0; /* Position to the far left */
  width: 100%; /* Make it full width */
  overflow: hidden;
  white-space: nowrap;
  background-color: var(--primary-color);
  z-index: 100;
  margin-top: -30px;
  padding: 7px 0;
}

/* Text to slide */
.sliding-text {
  display: inline-block;
  font-size: 1.2rem;
  padding-left: 100%;
  animation: slide 15s linear infinite;
   color: var(--button-text);
}

/* Animation for sliding */
@keyframes slide {
  0% {
      transform: translateX(100%);
  }
  100% {
      transform: translateX(-100%);
  }
}

.team24 img {
  margin-top: -100px;
  margin-left: -100px;
  height: 100%;
  width: 117%;
}

.home{
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: left;
    background-size:cover;
    margin: 10px;
    background-position:center;   
}
.home-text{
    margin: 100px 0px;
    min-width: 45vw;
    font-size: 30px;
    text-align: left;
}   

.home-text h4 {
    padding: 2px 0px;
     color: var(--text-color);
    font-size: 2.1rem;
}

.home-text h1 {
    font-size: 2.1rem;
    font-weight: 900;
    background: linear-gradient(60deg, var(--primary-color), var(--accent-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bg-gradient 3s linear infinite alternate;
    text-align: left;
    color: var(--text-color); 
}
.linearg{
    margin: 15px 0px;
    font-size: 2rem;
    background: linear-gradient(60deg,var(--accent-color), var(--primary-color), #4475ba);
    background-size: 300%;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: bg-gradient 5s infinite alternate;
}


.home-text p{      
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-top: 40px;
    width: 100%;
}
.profile{
    width: 40vw;
    padding: 10px;
    border-radius: 5%;
}
.connect_btn a{
    text-decoration: none;
   color: var(--button-text);
   
}
.connect_btn{   
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px;
    margin-top: 50px;
    background: linear-gradient(60deg,var(--accent-color), var(--primary-color), #4475ba);
    animation: bg-gradient 5s infinite alternate;  
    
}
.connect_btn:hover{
   background: linear-gradient(60deg,var(--accent-color), var(--primary-color), #4475ba);
}

/* ABOUT */
.about-container{
    display: flex;
}

.about-image{
    min-width: 300px;
    max-width: 350px;
    padding: 40px;
}

.abimg{
    padding: 3px;
    border: 2px solid var(--accent-color); 
    border-top-color: var(--base-variant); 
    border-bottom-color: var(--base-variant); 
    border-radius: 10px;
    max-height: 400px;
    max-width: 400px;
}
.abimg1{
   
    max-height: 350px;
    max-width: 300px;
}

.about-links{
    margin-top: 30px;
}


.about-links .active-link{
    text-decoration: underline;
    text-underline-offset: 5px;
}

.about-links a{
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    margin: 0px 10px;
    transition: 0.5s;
}
.about-links a:hover{
    color: var(--primary-color);
    cursor: pointer;
}

.link-content{
    margin-top: 20px;
    display: none;
}
.link-content li{
    font-size: 18px;
    padding: 5px;
}
.link-content li span{
    font-size: 20px;
    font-weight: 900;
    padding: 5px;
}
.link-content.active{
    display: block;
}

.about-text{
    min-width:min-content;
    padding: 40px;
     color: var(--text-color);
    font-size: 18px;
    text-align:justify;
}
.about-head,.skills-head,.contact-head,.project-head{
    text-transform: uppercase;
    text-align: center;
    font-weight: bolder;
    font-size: 30px;
    color: var(--text-color);
    margin: 30px 0px;
    margin-bottom: 80px;
}

/*Continuous spinning on hover IEEE LOGO*/
.abimg1{
  max-height: 350px;
  max-width: 300px;
  cursor: pointer;
  transform-style: preserve-3d;
}

.abimg1:hover {
  animation: coinFlip 3.6s linear infinite;
}

@keyframes coinFlip {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* CONTACT */
.contact{
    min-height: 90vh;
}

.contact-content{
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
    min-height: 50vh;
    position: relative;
}

.fa-github,.fa-instagram,.fa-linkedin{
    width: 30px; ;
}
.socials{
    background-color: var(--base-bg);
    border-radius: 25px;
    width: 45%;
    display: flex;
    padding: 40px;
    flex-direction: column;
}
.socials .platform{
    display: flex;
    margin: 20px 0px;
    flex-direction: column;
}
.github,.instagram,.linkedin{
    margin: 10px 0px;
}
.socials .platform a{
    text-decoration: none;
    color: var(--text-color);
    transition: 0.5s;
}
.socials .platform a:hover{
    color: var(--primary-color);
}

.socials h4{
    font-size: 55px;
    margin: 20px 0px;
}

.contact-form{
     background-color: var(--base-bg);
    border-radius:25px ;
    font-size: 20px;
    width: 45%;
    padding: 40px;
    display: flex;
    flex-direction: column;
}
.contact-form  {
    font-size: 38px;
    margin:  15px 0px;
}

.mailbutton{
    margin: 50px 0px;
    position: center;

}
.mail-btn{
    color: var(--text-color); 
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    background-color: var(--accent-color);
    transition: 0.5s;
}
.mail-btn:hover{
    background-color: var(--primary-color);
}



/* FOR ANIMATION */
.hidden{
    opacity: 0;
    filter: blur(5px);
    transform: translateY(30%);
    transition: all 0.5s;
}

.show{
    filter: blur(0px);
    opacity: 1;
    transform: translateX(0%);
}

@keyframes bg-gradient{
    0%{
        background-position: left;
    }
    100%{
        background-position: right;
    }
}


/* RESPONSIVE FOR 1100PX */

@media only screen and (max-width:1100px){

    section{
        padding: 90px 0px;
    }
    /* NAVBAR / HEADER */
    header{
        padding: 0px 30px;
    }
    ul li a{
        font-size: 18px;
        margin:0px 20px ;
    }
    /* HOME */
    
    .home-text{
        margin:40px 50px;
    }
    .home-text h1{
        font-size: 85px;
        margin: 20px 0px;
    }
    .home-text h4{
        font-size: 25px;
    }
    
    .home-text p{
        font-size: 15px;
        margin: 10px 0px;
    }

    /* ABOUT */
    .about-text{
        padding: 24px 0px;
    }
    .about-image{
        min-width: 300px;
    }

    .about-links{
        margin-top: 30px;
    }
    .about-links a{
        text-decoration: none;
        color: var(--text-color);
        font-weight: bold;
        font-size: 16px;
        margin: 0px 8px;
        transition: 0.3s;
    } 
    .link-content{
        margin-top: 15px;
    }
    .link-content li{
        font-size: 18px;
        padding: 5px;
    }


    /* PROJECTS */
    .project{
        width: 33%;
        padding: 10px;    
    }
    .project-container{
        margin: 0px;
    }

    /* CONTACT */
    .contact-form,.socials{
        width: 48%;
    }
    .name-email{
        flex-direction: column;
    }
    .yname,.ymail{
        width: 100%;
        padding: 15px;
        margin: 0px 0px;
        height: 100%;
    }
    .yyname,.yymail{
        /* width: 100%; */
        padding: 10px;
        height: 100%;
    }
    hr {
        display: none;
    }
}

.copyright{
     background-color: var(--base-variant);
    padding: 10px;
    margin: 0px;
    text-align: center;
    transition: 0.5s;
     color: var(--text-color);
}



.copyright:hover{
    font-size: 16.5px;
}


/* -------------  RESPONSIVE CSS FOR MOBILE  -------- */

@media only screen and (max-width:600px)
{
    #toggle-button {
    position: static;
    }
    section.home {
    width: 100%;
    margin: 0;
    padding-top: 8vh;
    padding-left: 0;
    padding-right: 0;
    }
    section{
        padding: 0.6em 0.6em;
        width: auto;
        justify-content: center;
        margin: 10px;
    }
    .about-head,.skills-head,.contact-head{
        font-size: 30px;
        text-align: left;
        margin: 0px 10px;
        color: var(--text-color);
    }
    /* NAV-BAR */
    ul .fa-circle-xmark {
    display: block;
    color: var(--text-color);
    position: absolute;
    top: 25px;
    right: 25px; 
    font-size: 22px; 
    cursor: pointer;
    }
    header .fa-bars {
    display: block;
    color: var(--text-color);
    font-size: 22px;
     margin-right: 15px;
    cursor: pointer;
    }
    
    header{
        height: 8vh;
         background-color: var(--base-color); 
        padding: 0px 20px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7); /* Add shadow */
        display: flex;
        align-items: center;
    }

    header ul{
    background-color: var(--base-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: auto;
    padding-top: 60px;
    padding-bottom: 20px;
    flex-direction: column;
    transition: 0.3s;
    z-index: 9998;
    border-bottom-left-radius: 10px;
    }
    header ul li{
         margin: 10px 0px;
    }
    ul li a::after{
        background: var(--text-color);
       
    }

    /* HOME */
    .sliding-text-container {
    width: 100%;
    margin: 0;
    position: static;
    padding: 4px 0; 
}
    
  .team24 img {
    margin-top: 0;
    margin-left: -15px;
    height: 100%;
    width: 105%;
  }
    .home{
        background-image: url(static/star.gif);
        background-size: cover;
    }
    .home-text h4{
        display: none;
    }
    .home-text h1{
        font-size: 40px;
        margin-bottom: 40px;
        color: var(--text-color); 
    }
    .home-text p{
        font-size: 15px; 
        color: var(--text-color);  
    }

    .home-img{
        display: none;
    }

    /* --------ABOUT----- */

    .about{
        justify-content: center;
        width:fit-content;
    }
    .about-image{
        padding: 1%;
        margin: auto;
    }
    .about-text{
        font-size: 18px;
        padding: 1%;
        color: var(--text-color);
    }
    .abimg{
        justify-content: center;
    }
    .about-container{
        flex-direction: column;
        justify-content:center;
    }
    .about-links{
        margin-top: 30px;
        display: flex;
        flex-direction: column;
    }
    .about-links a{
        text-decoration: none;
        color: var(--link-color);
        font-weight: bold;
        font-size: 16px;
        margin: 5px 8px;
        transition: 0.3s;
    } 
    .link-content{
        margin-top: 15px;
    }
    .link-content li{
        font-size: 18px;
        padding: 5px;
        color: var(--text-color);
    }


    @media only screen and (max-width:600px){
    /* SKILLLS */
    .skills-container{  
        flex-direction: column;
    }
    .skill{
        width: 100%;
        
        margin-bottom: 10px;
    }
    .skills-container .fa-solid{
        font-size: 70px;
        margin: 60px 0px;   
        color: var(--icon-color);
    }
    
    .skills-container .skills-text{
        width: fit-content;
        margin: 15px 30px;
        text-align: left;
        color: var(--text-color);
    }}
   


    
    /* PROJECTS */
    .project-container{  
        flex-direction: column;
    }
    .project{
        width: 100%;
        margin-bottom: 10px;
    }
    .project-container .fa-solid{
        font-size: 80px;
        margin: 40px 0px;   
        color: var(--icon-color); 
    }
    
    .project-container .projects-text{
        width: fit-content;
        margin: 10px 30px;
        text-align: center;
        color: var(--text-color); 
    }

    /* CONTACT */
    .contact{
        height: fit-content;
        
    }
    .contact-content{
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    .contact-form,.socials{
        min-width: 100%;
        margin-bottom: 15px;
        background-color: var(--card-bg);
        color: var(--text-color);
    }
    .name-email{
        flex-direction: column;
    }
    .yname,.ymail{
        width: 100%;
        padding: 15px;
        margin: 0px 0px;
        height: 100%;
        background-color: var(--input-bg);
        color: var(--text-color);
    }
    .yyname,.yymail{
        padding: 10px;
        height: 100%;
        background-color: var(--input-bg);
        color: var(--text-color);
    }

    /* FOOTER */

    footer{
        bottom: 0px;
        height: 40px;
        width: 100%;
        position: fixed;
         color: var(--text-color);
    }
}


/* for moving star effect*/
.background {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("static/star.jpg");
    background-repeat: repeat;
    animation: move-stars 50s linear infinite;
  }
  
  @keyframes move-stars {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 100% 100%;
    }
  }
 


  .ball-cursor {
    cursor: url('static/cursor.png'), auto;
  }
  .nav-bar {
    cursor: url('ball-cursor.png'), auto;
  }
  
  .nav-bar:hover,
  .button:hover,
  a[href^="#"]:hover,
  a[href^="#"]:active {
    cursor: default;
  }
  .nav-bar ul li a {
    cursor: inherit;
  }
  .exclude-cursor:hover {
    cursor: default;
  }



  /* contact */
  h1 {
    text-align: center;
     color: var(--text-color);
  }
  
  form {
    max-width: 400px;
    margin: 0 auto;
  }
  
  div {
    margin-bottom: 1rem;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
     color: var(--text-color);
  }
  
  input[type="text"],
  input[type="tel"] {
    width: 100%;
    padding: 0.5rem;
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
  }
  
  button[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.5rem;
    background-color: var(--button-bg);
    color: var(--button-text);
  }
  
  /* profile*/
  .cardContainer {
    width: 350px;
    height: 400px;
    border-radius:25px ;
     background-color: var(--card-bg);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: relative;
    -webkit-transition-duration: .5s;
            transition-duration: .5s;
    cursor: pointer;
  }
  
  .profileDiv {
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius:25px ;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
   
    -webkit-transition-duration: .5s;
            transition-duration: .5s;
    color: var(--text-color-secondary);
    font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
  }
  
  .cardContainer:hover .profileDiv {
    -webkit-transform: translateX(-25%) translateY(-20%);
        -ms-transform: translateX(-25%) translateY(-20%);
            transform: translateX(-25%) translateY(-20%);
    -webkit-transition-duration: .5s;
            transition-duration: .5s;
  }
  
  .infoDiv {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius:25px ;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: var(--card-hover-bg);
    z-index: 1;
  }
  
  .nameDiv {
    width: 75%;
    height: 100%;
    border-radius:25px ;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
   background-color: var(--card-hover-bg);
    font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    gap: 2px;
  }
  
  .name {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
  }
  
  .role {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 400;
   color: var(--text-color-secondary);
    margin-bottom: 5px;
  }
  
  .socialDiv {
    width: 25%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: var(--icon-color);
    gap: 25px;
  }
  
  .infoDiv a {
    width: 50%;
  }
  
  .chart {
  width: 200px;
  height: 200px;
  position: relative;
  border-radius: 50%;
  background-color: var(--chart-bg);
  overflow: hidden;
}
.chart {
  width: 200px;
  height: 200px;
  position: relative;
  border-radius: 50%;
   background-color: var(--chart-bg);
  overflow: hidden;
  animation: rotate 4s infinite linear;
}



/*timeline*/
* {
    box-sizing: border-box;
  }
  
  
  /* The actual timeline (the vertical ruler) */
  .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* The actual timeline (the vertical ruler) */
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--timeline-line);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
  }
  
  /* Container around content */
  .container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
  }
  
  /* The circles on the timeline */
  .container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--circle-bg);
    border: 4px solid var(--circle-border);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }
  
  /* Place the container to the left */
  .left {
    left: 0;
  }
  
  /* Place the container to the right */
  .right {
    left: 50%;
  }
  
  /* Add arrows to the left container (pointing right) */
  .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--timeline-line); 
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--timeline-line)
  }
  
  /* Add arrows to the right container (pointing left) */
  .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--timeline-line); /* was white */
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--timeline-line) transparent transparent;
  }
  
  /* Fix the circle for containers on the right side */
  .right::after {
    left: -16px;
  }
  
  /* The actual content */
  .content {
    padding: 20px 30px;
    background-color: var(--content-bg);
    color: var(--text-color);
    position: relative;
    border-radius: 6px;
  }
  
  /* Media queries - Responsive timeline on screens less than 600px wide */
  @media screen and (max-width: 600px) 
  {
    /* Place the timelime to the left */
    .timeline::after {
    left: 31px;
    }
    
    /* Full-width containers */
    .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    }
    
    /* Make sure that all arrows are pointing leftwards */
    .container::before {
    left: 60px;
    border: medium solid var(--timeline-line);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--timeline-line) transparent transparent;
    }
  
    /* Make sure all circles are at the same spot */
    .left::after, .right::after {
    left: 15px;
    }
     
    /* Make all right containers behave like the left ones */
    .right {
    left: 0%;
    }

    
  }


  .card {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--card-bg); 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
  }
  
  .card::before,
  .card::after {
    position: absolute;
    content: "";
    width: 20%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    background-color: var(--card-hover-bg);
    transition: all 0.5s;
  }
  
  .card::before {
    top: 0;
    right: 0;
    border-radius: 0 15px 0 100%;
  }
  
  .card::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100%  0 15px;
  }
  
  .card:hover::before,
  .card:hover:after {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: all 0.5s;
  }
  
  .card:hover:after {
    content: "Made apple vision pro website clone using HTML CSS & JS";
    color: var(--text-color);
  }
  


/* project 2*/


  .card1 {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--project-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
  }
  
  .card1::before,
  .card1::after {
    position: absolute;
    content: "";
    width: 20%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
     background-color: var(--card-hover-bg); 
    transition: all 0.5s;
  }
  
  .card1::before {
    top: 0;
    right: 0;
    border-radius: 0 15px 0 100%;
  }
  
  .card1::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100%  0 15px;
  }
  
  .card1:hover::before,
  .card1:hover:after {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: all 0.5s;
  }
  
  .card1:hover:after {
    content: "Made this game using Python ";
  }
  




/* project 3*/


.card2 {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--project-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
  }
  
  .card2::before,
  .card2::after {
    position: absolute;
    content: "";
    width: 20%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    background-color: var(--card-hover-bg);
    transition: all 0.5s;
  }
  
  .card2::before {
    top: 0;
    right: 0;
    border-radius: 0 15px 0 100%;
  }
  
  .card2::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100%  0 15px;
  }
  
  .card2:hover::before,
  .card2:hover:after {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: all 0.5s;
  }
  
  .card2:hover:after {
    
    content: "QR code generator";
    color: var(--text-color);
  }
  




/* project 4*/


.card3 {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--project-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
  }
  
  .card3::before,
  .card3::after {
    position: absolute;
    content: "";
    width: 20%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    background-color: var(--card-hover-bg);
    transition: all 0.5s;
  }
  
  .card3::before {
    top: 0;
    right: 0;
    border-radius: 0 15px 0 100%;
  }
  
  .card3::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100%  0 15px;
  }
  
  .card3:hover::before,
  .card3:hover:after {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: all 0.5s;
  }
  
  .card3:hover:after {
  
    content: "  project 4";
    color: var(--text-color); 
  }
  

/* FOOTER */

center {
  margin-top: 100px;
  /* background-color: white; */
  /* margin-left: -100px;
  width: 98vw; */
}

center p1 {
 color: var(--text-color);
}

.footer {
  background-color: var(--base-variant);
  color: var(--text-color);
  padding: 25px 20px 15px;
  width: 100%;
  margin: 0;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

.footer-section h3::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
 color: var(--primary-color);
}

.footer-section p,
  .footer-section li {
    margin-bottom: 10px;
   color: var(--text-color);
    line-height: 1.6;
  }

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  padding: 5px 0;
  transition: all 0.3s ease;
}

.footer-section ul li:hover {
 color: var(--primary-color);
  transform: translateX(5px);
  cursor: pointer;
}

.footer-section ul li::before {
  content: '▶';
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 0.8rem;
}

/* Contact Info */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  color: var(--primary-color);
}

.contact-icon {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  fill: #64b5f6;
}

/* Social Media */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background:  var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.social-link:hover {
 background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(100, 181, 246, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: var(--secondary-text);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
 color: var(--secondary-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .home-text h4 {
    display: 30px;
  }

  .home-text h1 {
    font-size: 30px;
    margin-bottom: -7px;
    margin-top: -7px;
  }

  .home-text p {
    margin-top: 30px;
  }

  footer {
  padding: 20px 15px 10px;
  }

  .footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .main-content h1 {
    font-size: 2rem;
    padding: 0 20px;
  }

  .contact-form iframe {
    height: 300px;
  }

  .contact-content {
    flex-direction: column;
  }
}


/* IEEE footer-line Animation */
.ieee-logo {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  .team24 {
    margin-left: 30px;
    width: 100vw;
  }
}

@media only screen and (min-width: 600px) {
  
}
pre {
  color: var(--button-text); /* Use the same color as the banner's text */
  font-family: 'Poppins', sans-serif; /* Ensures it uses the same font */
}
