@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;500&display=swap');
@import url(https://fonts.googleapis.com/css?family=Montserrat);

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        min-height: 100vh;
        background-color: #141114;
  background-image: linear-gradient(335deg, black 23px, transparent 23px),
    linear-gradient(155deg, black 23px, transparent 23px),
    linear-gradient(335deg, black 23px, transparent 23px),
    linear-gradient(155deg, black 23px, transparent 23px);
  background-size: 58px 58px;
  background-position: 0px 2px, 4px 35px, 29px 31px, 34px 6px;
    }
  
    html {
        font-family: 'Poppins', sans-serif;
        scroll-behavior: smooth;
    }
    .scramble {
      display: inline-block;
      min-width: 200px;   /* apna text + thoda extra space */
      max-width: 280px;   /* upper limit, overflow na ho */
      text-align: left;
      white-space: nowrap;
      font-size: 1.2rem;  /* text-1.5xl */
      font-weight: 400;
      line-height: 1;
      vertical-align: middle;
      overflow: hidden;  /* chars bahar na nikle */
    }
    
    .scramble .dud {
      color: #0ef;   /* scramble ke time jo fake chars dikhte hain */
      opacity: 0.6;
    }
    
    
  
    #home {
      position: relative;
      z-index: 1;
      overflow: hidden;
      min-height: 100vh;
    }
    
   /* Style the video as full background */
   .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;      
    z-index: -1;
    pointer-events: none;
  }
  
/* Hide video on small screens */
@media (max-width: 768px) {
  .bg-video {
    display: none !important;
  }
}

    @media (max-width: 768px) {
      #home {
        background: url('images/responsivehome.jpg') no-repeat center center;

        background-size: cover;
        text-decoration-color: #00abf0;
      }
    }
        
  /* Text Animation my name  */
  #textAnimate{
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    animation: glow 1.5s infinite alternate;

}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    }
    100% {
        text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;
    }
}
            
    
    
    
    /* Hide social icons on mobile */
    @media (max-width: 768px) {
        #home > div:last-child {
            display: none;
        }
    }

    #text-animate {
        -webkit-text-stroke: .7px #00abf0;
    }

    #contact form textarea:focus~.focus,
    #contact form .box .field input:focus~.focus,
    #contact form .box .field input:valid~.focus {
        width: 100%;
    }

    header.sticky {
        @apply bg-bgColor
    }

    #navBar.active {
        left: 0;
    }

    #navBar.active span {
        left: 0;
    }


  /* Default styling for mobile (smaller screens) */
  .music {
    height: 100px;
    width: 100%;
    background-color: red;
    margin: 10px auto; /* Center on smaller screens */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem; /* Smaller font for mobile */
  }

  /* Styling for tablets and larger devices */
  @media (min-width: 768px) {
    .music {
      height: 120px;
      width: 300px;
      margin-right: 0; /* Align to right (as per your needs) */
      background-color: red;
      font-size: 1.2rem; /* Adjust font size for larger screens */
    }
  }

  /* Styling for desktops and extra-large screens */
  @media (min-width: 1024px) {
    .music {
      height: 150px;
      width: 400px;
      margin-left: 300px; /* Align to the right for desktop */
      margin-right:20px;
      font-size: 1.4rem;
    }
  }

}
 
@import url("https://fonts.googleapis.com/css?  family=Lora:400,400i,700,700i");


/* ========== About Background Overlay ========== */
#about {
  position: relative;
  /* overflow: hidden;  background-image: url('../images/night-4011159.jpg'); */

  background-color: #061521;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; /* ✅ Ensure it never repeats */
}

/* ✅ Responsive rule: hide background image on small screens */
@media (max-width: 768px) {
  #about {
    background-image: none;
  }
}



#about > * {
  position: relative;
  z-index: 2;
}

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


/* about  Image */
.about-image-wrapper {
  position: relative;
  width: 120px;   /* 👈 Change this to make it smaller/larger */
  height: 120px;
  margin-top: 0rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
  border: 2px solid #00ffff; /* Replace with your --mainColor if needed */
}

.about-image-border {
  position: absolute;
  width: 130%;
  height: 130%;
  border-radius: 100%;
  border: 2px solid transparent;
  border-left-color: #ff5900;
  border-right-color: #00ffff;
  /* Optional: animation */
  animation: spin 1s linear infinite;
}

/* Optional spin if needed */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}




/* About Animation */
.keyword { color: #e06c75; }
.property { color: white; }
.method { color: #61afef; }
.string { color: #e4bb68; }

.scroll-container {
    display: inline-block;
    height: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
}

.scroll-text {
    display: block;
    animation: scroll 6s linear infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); }
    25% { transform: translateY(-1.2em); }
    50% { transform: translateY(-2.4em); }
    75% { transform: translateY(-3.6em); }
    100% { transform: translateY(0); }
}

.cursor {
    display: inline-block;
    width: 8px;
    background: #e4bb68;
    animation: blink 0.8s steps(1) infinite;
    vertical-align: bottom;
}

@keyframes blink {
    50% { background: transparent; }
}

h2 {
    background: transparent;
    font-family: 'JetBrains Mono', monospace;
    color: #e4bb68;
    padding: 20px 0;
}






/* contact */
.contact-container {
  display: flex;

  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  gap: 20px;
  /* Optional background for the container */
  /* background-color: #0a1a2f; */
}

.contact-form {
  width: 50%; /* Fixed width for desktop */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-title {
  text-align: center;
  margin-bottom: 20px;
}

.contact-title h2 {
  font-size: 32px;
  color: #fff;
}

.contact-title .text-mainColor {
  color: #0ef; /* Customize the color */
}

.form-group {
  display: flex;
  gap: 20px;
}

.contact-input {
  width: 100%;
  height: 50px;
  border: 2px solid #0ef; /* Customize the color */
  background-color: transparent;
  color: #fff;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
}

.message-input {
  height: 130px;
  resize: none;
}

.contact-button {
  width: auto; /* Default width for desktop */
  height: 50px;
  background-color: #0ef; /* Customize the button color */
  color: #0a1a2f;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  text-align: center;
}

.contact-button:hover {
  background-color: red; /* Adjust hover color */
}

.contact-image {
  width: 30%;
  border-radius: 10px;
}

.contact-image img {
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 800px) {
  .contact-container {
      flex-direction: column;
  }
  
  .contact-form {
      width: 100%; /* Ensures the form takes full width on mobile */
  }

  .form-group {
      flex-direction: column;
  }

  .contact-button {
      width: 100%; /* Full width for the button on mobile */
  }

  .contact-image {
      display: none; /* Hide the image on smaller screens */
  }
}

/* Warning */
.alert-warning {
  display: flex;
  align-items: center;
 /* Yellow background for warning */
  color: rgb(0 171 240); /* Dark red text color */
  padding: 1px;
  border-radius: 4px;
  border: 1px solid rgb(17 46 66 ); 
  /* Slightly darker border */
  box-shadow: 2px 40px 80px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 20px auto;
  font-size: 1rem;
  font-weight: 400;
}

.warning-icon {
  margin-right: 10px;
  font-size: 1.5rem;
}

.warning-text {
  flex: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .alert-warning {
      font-size: 0.9rem;
      padding: 10px;
  }

  .warning-icon {
      font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .alert-warning {
      font-size: 0.8rem;
      padding: 8px;
  }

  .warning-icon {
      font-size: 1rem;
  }
}


/* CSS file */
@keyframes colorChange {
    0% {
        color: red;
    }
    14.28% {
        color: blue;
    }
    42.85% {
        color: green;
    }
    57.14% {
        color: pink;
    }
    71.42% {
        color: orange;
    }
    85.71% {
        color: purple;
    }
    100% {
        color: red;
    }
}

.warning-text {
    animation: colorChange 5s infinite;
}

  @media (max-width: 768px) {
    #home .social-icons {
      bottom: 6rem !important; /* thoda upar le aayega mobile view me */
    }
  }

  @keyframes blink-caret {
    0%, 100% {
      border-color: transparent;
    }
    50% {
      border-color: #00abf0;
    }
  }
  



  h6.text-start {
    text-align: center;
  }
  
  .typewrite {
    color: #00abf0;
    display: block;
    text-align: left; /* Default desktop ke liye */
    font-weight: 500;
    margin-top: 10px;
    font-family: 'sofia', sans-serif;
    font-size: 27px;
    text-shadow: 2px 2px 1px #73093e;
    width: 100%;
  }
  
  .typewrite > .wrap {
    border-right: 0.08em solid #00abf0;
  }
  
  /* ✅ Responsive me center align */
  @media (max-width: 768px) {
    .typewrite {
      text-align: center;
      font-size: 20px;
    }
  }
  

  /* education  */


  @import url('https://fonts.googleapis.com/css?family=Cairo');


.title {
  font-family: "Cairo";
  text-align: center;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  letter-spacing: 1px;
  line-height:2
}

h6 {
  background-image: url(https://media.giphy.com/media/26BROrSHlmyzzHf3i/giphy.gif);
  background-size: cover;
  color: transparent;
  -moz-background-clip: text;
  -webkit-background-clip: text;
  text-transform: uppercase;
  font-size: 120px;
  margin: 10px 0;
}
/* styling my button */

.white-mode {
  text-decoration: none;
  padding: 7px 10px;
  background-color: #122;
  border-radius: 3px;
  color: #FFF;
  transition: .35s ease-in-out;
  position: absolute;
  left: 15px;
  bottom: 15px;
  font-family: "Montserrat";
}

.white-mode:hover {
  background-color: #FFF;
  color: #122;
}




/* Career Snapshots */
@font-face {
  font-family: Clip;
  src: url("https://acupoftee.github.io/fonts/Clip.ttf");
}
.patterns {
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.svgs text {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
    'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  letter-spacing: 0.1vw; /* responsive spacing */
  stroke: #00abf0;
  font-size: clamp(20px, 5vw, 60px); /* responsive font-size */
  font-weight: 80;
  stroke-width: 2;
  animation: textAnimate 2s infinite alternate;
}

/* Animation */
@keyframes textAnimate {
  0% {
    stroke-dasharray: 0 30%;
    stroke-dashoffset: 20%;
    fill: hsl(194, 59%, 42%);
  }

  100% {
    stroke-dasharray: 50% 0;
    stroke-dashoffset: -20%; /* ✅ spelling fixed */
    fill: hsla(189, 68%, 75%, 0%);
  }
}


/* My Skilss */
#spotlight {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  margin-top: -40px;
  background: transparent; /* ✅ Transparent background */
}

.spotlight-svg {
  width: 80%;
  height: 150px;
}

.spotlight-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 100px;
  text-transform: uppercase;
  fill: none;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-dasharray: 70 350;
  animation: stroke 6s infinite linear;
}

/* Multicolor strokes with delay */
.spotlight-text:nth-child(5n+1) { stroke: #e01238; animation-delay: -1.2s; }
.spotlight-text:nth-child(5n+2) { stroke: #F5A503; animation-delay: -2.4s; }
.spotlight-text:nth-child(5n+3) { stroke: #E9F1DF; animation-delay: -3.6s; }
.spotlight-text:nth-child(5n+4) { stroke: #56D9CD; animation-delay: -4.8s; }
.spotlight-text:nth-child(5n+5) { stroke: #3AA1BF; animation-delay: -6s; }

.spotlight-text {
  fill: none;
  stroke-width: 2;
  stroke-dasharray: 7% 28%;
  stroke-dashoffset: 0%;
  animation: stroke 6s infinite linear;
}
@keyframes stroke {
  100% {
    stroke-dashoffset: -400;
  }
}


/* Subtle floating animation for contact image */

#consultation-heading {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 300;   /* thin text */
  position: relative;
  color: var(--muted);
  line-height: 1.2;
}

#consultation-heading .highlight {
  font-weight: 400;
  position: relative;
  display: inline-block;
  background: linear-gradient(
    270deg,
    #ff6ec4,
    #7873f5,
    #1fd1f9,
    #43e97b,
    #ff6ec4
  );
  background-size: 800% 800%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s ease infinite;
  overflow: hidden;
}

/* Gradient flow for multicolor text */
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Strong Shine Line */
#consultation-heading .highlight::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.9) 40%,
    rgba(255, 255, 255, 0.9) 60%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shineMove 2.5s linear infinite;
}

/* Shine line movement */
@keyframes shineMove {
  0%   { left: -150%; }
  100% { left: 150%; }
}



/* Footer */
