:root{
    --primary-color: #6366f1;
    --secondary-color: #a855f7;
    --accent-color: #ec4899;
    --dark-color: #0a0a16;
    --darker-color: #050510;
    --light-color: #f8fafc;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --success-color: #10b981;
    --terminal-color: #00ff00;
}

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

html{
    scroll-behavior: smooth;
    scroll-padding-top: 60px; /* Adjust based on header height */
}


::selection{
    background: var(--accent-color);
    color: var(--light-color);
}

body{
    font-family: 'Urbanist', sans-serif;
    background: var(--darker-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6{
    font-weight: 700;
}

a{
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/*==== Loader Styles ====*/

.loader-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader{
    position: relative;
    width: 200px;
    height: 200px;
}

@media screen and (max-width: 768px) {
    .loader {
        width: 120px;
        height: 120px;
    }

    .loader-logo img {
        width: 40px !important;
        height: 40px !important;
    }
    
}

.loader-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.loader-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.loader-circle{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    animation: spin 1.5s linear infinite;
}

.loader-circle:nth-child(2){
    border-top-color: var(--secondary-color);
    animation-duration: 2s;
}

.loader-circle:nth-child(3){
    border-top-color: var(--accent-color);
    animation-duration: 2.5s;
}

@keyframes spin{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

/*==== End of Loader Styles ====*/

/*=== Floating Shapes ===*/
.floating-shape{
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.shape-1{
    background: var(--primary-color);
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
}

.shape-2{
    background: var(--secondary-color);
    width: 400px;
    height: 400px;
    top: 60%;
    right: -150px;
}

.shape-3{
    background: var(--accent-color);
    width: 500px;
    height: 500px;
    bottom: 10%;
    left: 10%;
}

@media screen and (max-width: 768px) {
    .floating-shape {
        width: 200px;
        height: 200px;
        overflow: hidden;
    }
    
    .shape-1 {
        top: 5%;
        left: -50px;
    }
    
    .shape-2 {
        top: 50%;
        right: 1px;
    }
    
    .shape-3 {
        bottom: 5%;
        left: 5%;
    }
    
}


/*=== Hero Section Background ===*/
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.04;
    background-image: url('https://cdn.pixabay.com/photo/2022/09/13/11/30/pattern-7451714_1280.jpg');
    background-size: cover;
    background-position: center;
    filter: contrast(1.2) brightness(0.7);
}


/*=== Header Section ===*/
.header{
   position: fixed;
   width: 100%;
   padding: 2rem 8%;
   top: 0;
   left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header.scrolled{
    background: rgba(5, 5, 16, 0.5);
    /* Use a semi-transparent background to enhance blur effect */
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .header.scrolled {
        background: rgba(5, 5, 16, 0.5);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 1rem 2%;
    }
}


.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    z-index: 2;
}

.logo a{
    z-index: 0;
}



.logo {
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    cursor: pointer;
    gap: 0.5rem;
    z-index: 1;
}

.logo::before {
    content: '';
    position: absolute;
    left: 51.8%;
    top: 55%;
    width: 60px;
    height: 60px;
      background: linear-gradient(
    to right,
    rgba(99, 102, 241, 0.75),   /* primary-color in rgba */
    rgba(236, 72, 153, 0.75)    /* accent-color in rgba */
  );
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 0;
    pointer-events: none;
}

.logo:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.nav-links{
    display: flex;
    gap: 3.5rem;
}

@media screen and (max-width: 1000px) {
    .nav-links {
        gap: 1rem;
    }
    
}

.nav-link{
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-link {
        display: none; /* Hide links on smaller screens */
    }
    .resume-btn {
        display: inherit;
        justify-self: flex-end;
    }
    .logo {
        order: -1;
        margin-right: auto;
    }
    .header .scrolled{
        padding: auto;
    }
}

.nav-link::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after{
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
}

.resume-btn {
      background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
      color: white;
      padding: 0.5rem 2rem;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      font-weight: 500;
      box-shadow: 0 0 8px var(--primary-color   );
      margin-left: 2rem;
      font-size: 0.875rem;
}

.resume-btn:hover{
    transform: translateY(3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}



.resume-btn i{
    margin-right: 0.5rem;
    color: var(--light-color);
    transition: transform 0.3s ease;
}

@media (max-width: 770px) {
    .resume-btn i{
        padding-top: 0.25rem;
    }
}

.resume-btn:hover i{
    transform: translateX(-5px);
}

/* ===== HERO SECTION (TERMINAL ONLY) ===== */
    .hero {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 2rem 3rem 2rem;
      gap: 2rem;
      min-height: 100vh;
    }

    .terminal {
      background-color: var(--darker-color);
      border: 1px solid var(--primary-color);
      border-radius: 10px;
      box-shadow: 0 0 15px var(--primary-color);
      width: 70%;
      min-height: 400px;
      display: flex;
      flex-direction: column;
    }

    @media (max-width: 1000px) {
        .terminal {
            width: 100%;
            min-height: 420px;
            margin-top: 2.5rem;
        }
    }

    @media (max-width: 768px) {
        .terminal {
            width: 100%;
            min-height: 350px;
            margin-top: 5.5rem;
        }
        
    }

    .terminal-header {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Push title to the right */
        padding: 0.5rem 1rem;
        background: #1a1a1a;
        border-bottom: 1px solid var(--primary-color);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .circle-group {
        display: flex;
        gap: 12px;
    }

    .circle {
      width: 14px;
      height: 14px;
      border-radius: 50%;
    }
    .red { background-color: #ff5f56; }
    .yellow { background-color: #ffbd2e; }
    .green { background-color: var(--success-color); }

    .terminal-title {
        margin-left: auto;
        color: var(--light-color);
        font-size: 0.9rem;
        opacity: 0.8;
        font-family: 'Fira Code', monospace;

      }

    .terminal-body {
      padding: 1rem;
      color: var(--terminal-color);
      font-size: 1rem;
      flex-grow: 1;
      white-space: pre-line;
    }

    @media screen and (max-width: 768px) {
        .terminal-body {
            font-size: 0.8rem;
        }

        .terminal-title {
            font-size: 0.7rem;
        }
    }

    @media screen and (max-width: 360px) {
        .terminal-body {
            font-size: 0.7rem;
        }

        .terminal-title {
            font-size: 0.5rem;
        }
    }


    .actions {
      margin-top: 0.80rem;
      display: flex;
      gap: 2rem;
      justify-content: center;
      z-index: 10;
    }

    .actions a {
      padding: 1rem 2rem;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      width: 220px;
      text-align: center;
    }   

    @media (max-width: 768px) {
      .actions {
        flex-direction: column;
        gap: 1.5rem;
      }
    }

    .download-btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
    font-weight: 700;
  border-radius: 8px;
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  transition: all 0.3s ease-in-out;
  width: 220px;
}

    .download-btn:hover {
      background: var(--secondary-color);
      color: var(--light-color);
    }

    .contact-btn {
      background: var(--secondary-color);
      color: var(--light-color);
      font-size: 1.5rem;
      font-weight: 700;
      border: 2px solid var(--secondary-color);
    }

    .contact-btn i {
        font-size: 1.2rem;
        margin-right: 1rem;
    }

    .contact-btn:hover {
        background: transparent;
        color: var(--secondary-color);
        border: 2px solid var(--secondary-color);
    }

    .scroll-indicator{
        position: absolute;
        bottom: 1px;
        left: 50%;
        transform: translate(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-light);
        font-size: 0.9rem;
    }

    @media (max-width: 1000px) {
        .scroll-indicator {
            position: absolute;
            bottom: -3%;
            left: 50%;
            transform: translateX(-50%);
            z-index: 888; /* Ensure it stays on top */
    }
        
    }

    @media (max-width: 768px) {
        .scroll-indicator {
            display: none;
        }
    }
    

    .scroll-indicator-line {
        width: 2px;
        height: 60px;
        background: linear-gradient(to bottom, var(--primary-color), transparent);
        position: relative;
    }

    .scroll-indicator-dot{
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--primary-color);
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%);
        animation: scrollDown 2s infinite;
    }

    @keyframes scrollDown {
        0% { 
            top: 0;
            opacity: 1;
         }
        100% { 
            top: 100%;
            opacity: 0;
         }
    }

/* ====== END OF HERO SECTION ====== */


/* ===== About Section ===== */

.about-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    padding: 2rem 2rem;
    flex-wrap: wrap;
}

.headings-wrapper {
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 2rem;
}

.headings-wrapper h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-color);
}


.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 2rem;
    position: relative;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.about-image img {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    animation: float 4s ease-in-out infinite;
    transform-style: preserve-3d;
    box-shadow: 0 0 4px 1px var(--text-light), 0 0 18px 1px var(--text-color);
    }

    @media screen and (max-width: 768px) {
        .about-image img {
            width: 210px;
            height: 210px;
        }
        
    }

.about-content{
    flex: 2;
    max-width: 750px;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: rgba(255, 255, 255, 0.692);
}

@media screen and (max-width: 768px) {
    .about-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hackathon-box h3{
        font-size: 1.1rem !important;
    }

    .hackathon-box li{
        font-size: 0.9rem;
     }
    
}

.hackathon-box{
    background-color: #0f172a;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.hackathon-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hackathon-box ul{
    list-style-type: disc;
    padding-left: 1.5rem;
}

.hackathon-box li{
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    transform: translateY(-5px);
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 0.8rem;
    margin: 0; /* remove auto centering */
  }
}

@media (max-width: 768px) {
    .headings-wrapper h2 {
      font-size: 3rem;
      width: 100%;
      font-weight: 800;
      color: var(--light-color);
      overflow: hidden;
    }
}

/* ====== END OF ABOUT SECTION ====== */


/* ====== PROJECT SECTION ====== */

.project-section{
    position: relative;
    padding: 2rem 1rem;
    background: var(--darker-color); /* fallback if video fails */
    overflow: hidden;
    z-index: 0;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;           
  z-index: -1;              
  pointer-events: none;
  opacity: 0.3;         
  margin-top: 10%;
}

.project-container{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}



.project-card{

    background: rgba(16, 16, 43, 0.5); /* Use a semi-transparent background to enhance blur effect */
    backdrop-filter: blur(10px);
    border: 2px solid #13284D;
    border-radius: 16px;
    width: 650px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}


.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.6); /* Optional purple glow */
    border-color: rgba(124, 58, 237, 0.3);        /* Optional purple border glow */
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.project-card p {
    font-size: 1rem;
    color: var(--text-light);
}

.tags{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
}

.tags span{
    background: #101E3A;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 2px solid #13284D;
}

.tags span:hover{
    background: #020105;
}

.project-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bookmarkBtn {
  width: 150px;
  height: 50px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.349);
  background-color: rgb(12, 12, 12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  text-decoration: none;
}

/* ✨ Desktop-only hover effect */
@media (hover: hover) and (min-width: 768px) {
   .bookmarkBtn:hover .IconContainer {
    width: 90px;
  }

  .bookmarkBtn:hover .text {
    transform: translate(10px);
    width: 0;
    font-size: 0;
  }
}

/* ✨ On mobile: remove circular icon background */
@media (hover: none), (max-width: 767px) {
   .IconContainer {
    background: none !important;
    width: 30px !important; /* Reset width to prevent centering */
  }

  .text {
    transform: none !important;
    width: 60px !important;
    font-size: 1.04em !important;
  }

.bookmarkBtn {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.13);
}
}

.IconContainer {
  width: 40px;
  height: 40px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  transition-duration: 0.3s;
}

.icon {
  color: white;
  font-size: 1.3rem;
}

.text {
  height: 100%;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
  transition-duration: 0.3s;
  font-size: 1.04em;
}

.bookmarkBtn:hover .IconContainer {
  width: 140px;
  transition-duration: 0.3s;
}

.bookmarkBtn:hover .text {
  transform: translate(10px);
  width: 0;
  font-size: 0;
  transition-duration: 0.3s;
}

.bookmarkBtn:active {
  transform: scale(0.95);
  transition-duration: 0.3s;
}


.project-section::after {
  content: '';
  position: absolute;
  top: 10;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 40%,
    var(--darker-color) 100%
  );
  z-index: 0;
}

/* ====== END OF PROJECT SECTION ====== */

/* ====== SKILLS SECTION ====== */

.skills-section {
    padding: 4rem 2rem;
    background: var(--darker-color);
    position: relative;
    z-index: 1;  
}

.skills-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.skills-card{
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.4rem 2rem;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    cursor: pointer;
    text-decoration: none;
}

.skills-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.4);
    border-color: rgba(124, 58, 237, 0.3);
}

.skills-card img{
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.skills-card h3{
    font-size: 1.1rem;
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.skills-card p{
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ====== END OF SKILLS SECTION ====== */


/* ====== CONTACT SECTION ====== */
.contact {
  position: relative;
  scroll-margin-top: 40px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  margin-top: 4rem;
  padding: 0 2rem;
  box-sizing: border-box;
}

.contact-info {
  position: relative;
}

.contact-heading {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title-container {
  flex: 1 1 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.section-title-container h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--light-color);
}

.contact-text {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* 🔽 Mobile Responsive Fixes */
@media (max-width: 1000px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .section-title-container h2 {
    font-size: 2.2rem;
  }

  .contact-text {
    font-size: 1rem;
  }

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

  .contact-info {
    position: fixed;
  }
  
  .btn-primary {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


.contact-links{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-link{
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link:hover{
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.contact-link-icon{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), 
    var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.2rem;
}

.contact-link-text{
    display: flex;
    flex-direction: column;
}

.contact-link-label{
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-link-value{
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group{
    margin-bottom: 1.5rem;
}

.form-label{
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-control{
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.01);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Comic Neue', 'Comic Sans MS', 'Chalkboard', 'Segoe Print', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus{
    border-color: var(--primary-color);
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

textarea.form-control{
    min-height: 150px;
    resize: vertical;
}

.btn{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    border: 1px solid transparent;
}

.btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-primary{
    color: var(--light-color);
}

.btn-primary::before{
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn i{
    transition: transform 0.3s ease;
}

.btn:hover i{
    transform: translateX(5px);
}

.footer{
    background: var(--darker-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Urbanist', sans-serif;
    letter-spacing: 0.5px;
}

.footer-content{
    margin: 5px 0;
}

.footer-content p{
    margin: 0.5rem 0;
}


/*==== Scroll Bar Styles ====*/
::-webkit-scrollbar {
    width: 18px;
}

::-webkit-scrollbar-track {
    background: #0a0a16;
}

::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom, var(--secondary-color), var(--success-color));
    border-radius: 10px;
    border: 2px solid #0a0a16;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));   
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
}

@media screen and (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 10px;
    }
    
}


/*==== End of Scroll Bar Styles ====*/

/*==== Pop-Up ====*/
.pop-up-card {
 position: fixed;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: left;
  color: #000;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .pop-up-card {
    width: 70%;
    max-width: none;
    padding: 1rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
    
}

.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Visible state (to be toggled by JS) */
.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.pop-up-dismiss {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: #fff;
  color: black;
  border: 2px solid #D1D5DB;
  font-size: 1rem;
  font-weight: 300;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  transition: .3s ease;
}

.pop-up-dismiss:hover {
  background-color: #ee0d0d;
  border: 2px solid #ee0d0d;
  color: #fff;
}

.pop-up-header {
  padding: 1.25rem 1rem 1rem 1rem;
}

.pop-up-content {
  margin-top: 0.75rem;
  text-align: center;
}

.pop-up-title {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.pop-up-message {
  margin-top: 0.5rem;
  color: var(--text-color);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@keyframes animate-pop-up {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.09);
  }
}
