:root {
  --off-white: #ededed;
  --accent-purple: #6c3eb8;
  --deep-purple: #3b1e5d;
  --dark-bg: #140a1f;
  --black: #000000;
  --glass-bg: rgba(255, 255, 255, 0.05);
 --glass-border: rgba(255, 255, 255, 0.1);
  --font-space: "Space Grotesk", system-ui, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", sans-serif;
  background:
     radial-gradient(
      circle at 50% 30%,
      rgba(168, 85, 247, 0.25) 0%,
      transparent 55%
    ),
    linear-gradient(
      180deg,
      #1c102b 0%,
      #140a1f 50%,
      #000000 100%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(88, 28, 135, 0.40) 0%,
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #1c102b 0%,
      #140a1f 50%,
      #000000 100%
    );
    background-size: 200% 200%;
    animation: glowMove 12s ease-in-out infinite alternate;
    background-attachment: fixed;
    color: var(--off-white);
    overflow-x: hidden;
    overflow-y: auto;
}
@keyframes glowMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}


/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--accent-purple) 0%,
    var(--deep-purple) 100%
  );
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Orbitron", sans-serif;
}

.font-space {
  font-family: "Space Grotesk", sans-serif;
}




/*glass-cards*/

.glass {
  background: rgba(20, 10, 31, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(109, 62, 184, 0.315);
}
 
.glass:hover {
  background: rgba(20, 10, 31, 0.8);
  border-color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(108, 62, 184, 0.3);
}


/* Gradient Text */
.gradient-text {
     background: linear-gradient(
    135deg,
    var(--deep-purple)0%,
    var(--accent-purple) 25%,
    var(--off-white) 50%,
    var(--accent-purple) 75%,
    var(--deep-purple)100%
  );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s  linear infinite alternate;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
/* Buttons 
135deg, #4d20f0, #8e4ef5)*/
.btn-primary {
  background: linear-gradient(135deg,var(--accent-purple) 0%,var(--deep-purple) 100%);
  border: 1px solid rgba(108, 62, 184, 0.5);
  transition: all 0.3s ease;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  border-radius: 30px;
  color: var(--off-white);
  letter-spacing: 0.1rem;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(108, 62, 184, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(20, 10, 31, 0.6);
  border: 1px solid rgba(108, 62, 184, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  border-radius: 30px;
  color: var(--off-white);
  letter-spacing: 0.1rem;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(108, 62, 184, 0.2);
  border-color: rgba(108, 62, 184, 0.5);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(20, 10, 31, 0.8);
  backdrop-filter: blur(20px);
  padding: 16px 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(237, 237, 237, 0.322);
  text-decoration: none;
  transition: color 0.3s ease;
   transition: all 0.3s ease;
  border-radius: 20px;
}
.nav-links {
  display: flex;
  gap: 24px;
  
}
.nav-link::before,
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background:linear-gradient(
    90deg,
    cyan 0%,
    var(--off-white) 100%
  );
  transition: width 0.4s ease;
}
.nav-link::before{
 
  filter: blur(10px);
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  color: var(--off-white);
  transform: translateY(-2px);
  
}

.nav-link:hover::after,

.nav-link.active::after {
  width: 100%;
}

/* Social Icons */
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--off-white);
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--off-white);
  border-color: cyan;
   transform: translateY(-2px);
  
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns:1fr  1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: 84px 24px;
  margin-top: 40px;
}
.first-content{
  padding-left: 5%;
}



@media (max-width: 1100px) {
  .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    margin: 5px auto;

    
  }
  .first-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    width: auto;
    padding-left: 0;

  }
}




/* Gradient Orb */
.gradient-orb {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
  margin: 0 auto;
    
}
@media (max-width: 600px) {
  .gradient-orb {
    width: 400px;
    height: 400px;
  }
}
@property --angle {
  syntax:"<angle>";
  inherits: true;
  initial-value: 0deg;
}


.orb-outer {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
   var(--dark-bg),
    var(--dark-bg)
  );
  animation: spin 6s linear infinite;
}


.gradient-orb::after,
.gradient-orb::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  --angle:0deg;
  background-image: conic-gradient(
    from var(--angle),rgb(0, 238, 255),rgba(119, 19, 233, 0.082),rgba(119, 19, 233, 0),rgba(119, 19, 233, 0),rgba(0, 255, 255, 0.068),cyan);
  top: 0;
  left: 0;
  
  animation: autorotate 2s linear infinite;
  z-index: -1;
}
.gradient-orb::after{
  filter: blur(8px);
 
}
@keyframes autorotate{
   from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.orb-inner {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--dark-bg);
}

.orb-glow {
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(108, 62, 184, 0.4) 0%,
    transparent 70%
  );
  animation: pulse 2s ease-in-out infinite;
}

.orb-code {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(108, 62, 184, 0.2);
  animation: spin 20s linear infinite reverse;
}

.orb-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -7px;
 
}


.orb-center p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  color: var(--accent-purple);
  letter-spacing: 0.2em;
  margin-top: -10px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(237, 237, 237, 0.5);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Styles */
.section {
  padding: 128px 0;
  position: relative;
}

.section-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--deep-purple) 30%,
    var(--off-white) 50%,
    var(--deep-purple) 70%,
    transparent 100%
  );
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

.section-heading {
  font-size: 36px;
  font-weight: bold;
  color: var(--off-white);
}

/* Card Styles */
.card {
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(108, 62, 184, 0.2);
}

/* About Section */
.about-card {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}


.feature-item {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(108, 62, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  color: var(--accent-purple);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  overflow: hidden;
}

.project-image {
  height: 192px;
  overflow: hidden;
  position: relative;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--dark-bg), transparent);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-content {
  padding: 24px;
}

.project-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.164);
  color:var(
    --accent-purple
  );
  font-weight: 400;
  margin-right: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(109, 62, 184, 0.493);
}

/* Project Link Button */
.project-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  color: rgba(0, 255, 255, 0.795);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: var(--off-white);
}
/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-item {
  margin-bottom: 16px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  color: rgba(237, 237, 237, 0.7);
  font-size: 14px;
}

.skill-percent {
  color: var(--accent-purple);
  font-size: 12px;
  font-family: "Space Grotesk", sans-serif;
}

.skill-bar {
  height: 8px;
  border-radius: 9999px;
  background: var(--dark-bg);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--accent-purple), var(--deep-purple));
  width: 0;
  transition: width 1s ease;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.tech-tag {
  padding: 12px 24px;
  border-radius: 9999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  color: rgba(237, 237, 237, 0.6);
  cursor: default;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.tech-tag:hover {
  color: cyan;
  border-color: cyan;
  transform: translateY(-2px);
}

/* Contact Form */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-form {
  padding: 48px;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 32px 24px;
  }
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(237, 237, 237, 0.7);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(20, 10, 31, 0.5);
  border: 1px solid rgba(59, 30, 93, 0.3);
  color: var(--off-white);
  font-family: "Sora", sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(108, 62, 184, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(237, 237, 237, 0.3);
}

.form-textarea {
  resize: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

@media (min-width: 640px) {
  .form-actions {
    flex-direction: row;
    justify-content: space-between;
  }
}

.submit-btn {
  padding: 16px 40px;
  border-radius: 9999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-socials {
  display: flex;
  gap: 16px;
}

.social-btn {
  width: 48px;
  height: 48px;
}

/* Footer */
.footer {
  padding: 32px 0;
  background-color: var(--black);
  
}

.footer-content {
  
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand span:first-child {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--off-white);
  margin-top: 2px;
}

.footer-brand span:last-child {
  color: rgba(237, 237, 237, 0.3);
}

.footer-links {
  display: flex;
  gap: 24px;
  margin: 0 10px;
}

.footer-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  color: rgba(237, 237, 237, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-purple);
}

.footer-copy {
  font-size: 14px;
  color: rgba(237, 237, 237, 0.3);
}

.footer-copy span {
  color: var(--accent-purple);
}

/* Animations
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
 */
/* Container */
.container {
  width: calc(100% - 20px);
  margin: 0 10px auto;
  padding: 0;
  
}


/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--off-white);
  cursor: pointer;
  padding: 3px;
  border-radius: 5px;

}
.mobile-menu-btn:hover{
   background: transparent;
   box-shadow: 0 0 30px rgba(108, 62, 184, 0.3);
}


.about-frac {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 10, 31, 0.75);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    
  }
  

  .nav-links.open {
    display: flex;
   
  }
  

  .mobile-menu-btn {
    display: block;
  }
  .about-frac {
    display: grid;
    grid-template-columns:  1fr;
  }
  .scroll-indicator {
    top: 93.5%;
  }
  
}




/*
@media (min-width: 775px) and (max-width:1100px){

}

/* styled items */

.eye-catch{
    
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
    border-radius: 50px;
    padding: 10px;
    position: relative;
    top: 6px;
    width: fit-content;
    
}
.eye-catch p{
    font-family: "Space Grotesk", sans-serif;
    color:rgba(245, 245, 245, 0.363); 
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    
    
    
}

.profile{
   width: 200px;
  height: 200px;
  display: block;
  border-radius: 50%;
  padding: 4px; /* thickness of the neon ring */
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.836) 30%,white 60%);
 box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12), 0 0 40px rgba(240, 147, 251, 0.06);
 object-fit: cover;
 transition: 0.5s ease;
}

.profile:hover{
  transform:scale(1.05);
}
