:root {
  /* Color Palette */
  --primary-dark: #0a192f;
  --primary-light: #112240;
  --accent-primary: #64ffda;
  --accent-secondary: #4c9aff;
  --text-primary: #ccd6f6;
  --text-secondary: #8892b0;
  --text-white: #e6f1ff;
  --bg-dark: #0a192f;
  --bg-card: #112240;
  --border-light: rgba(100, 255, 218, 0.2);
  --shadow-sm: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 30px -15px rgba(0, 0, 0, 0.4);

  /* Typography */
  --font-primary: 'Segoe UI', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --section-padding: 5rem 2rem;
  --container-width: 1200px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}



/* ---------- RESET & BASE STYLES ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}


/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-white);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-white);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}


h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-primary);
  border-radius: 3px;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}


/* ---------- HEADER & NAVIGATION ---------- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

nav {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(100, 255, 218, 0.3);
}


nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

nav ul li a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition-smooth);
}

nav ul li a:hover {
  color: var(--accent-primary);
}

nav ul li a:hover::after {
  width: 100%;
}





/* ======================================== */
/* ANIMATED NAME - OPTION 1: GRADIENT + GLOW */
/* ======================================== */

.homedetails h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text-white);
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #64ffda 25%,
    #4c9aff 50%,
    #64ffda 75%,
    #ffffff 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4s linear infinite;
  position: relative;
  display: inline-block;
}




/* ======================================== */
/* 3D TILT & GLOW ANIMATION */
/* ======================================== */

.homeimage {
  perspective: 1000px;
  text-align: center;
}

.homeimage img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--accent-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  background-color: var(--primary-light);
  animation: tiltGlow 5s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes tiltGlow {
  0%, 100% {
    transform: rotateX(0deg) rotateY(0deg);
    box-shadow: 0 5px 20px rgba(100, 255, 218, 0.2);
  }
  25% {
    transform: rotateX(5deg) rotateY(5deg);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
  }
  75% {
    transform: rotateX(-5deg) rotateY(-5deg);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
  }
}

.homeimage img:hover {
  animation-play-state: paused;
  transform: rotateX(0deg) rotateY(0deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(100, 255, 218, 0.4);
}






@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Optional: Add a subtle text shadow glow effect */
.homedetails h1::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #64ffda,
    #4c9aff,
    #64ffda
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(20px);
  opacity: 0.3;
  animation: gradientShift 4s linear infinite;
  z-index: -1;
}

/* Add "a" to the existing button selectors */
#btn1, #btn2, #about button, a#btn1 {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  text-decoration: none;  /* Remove underline from link */
  display: inline-block;   /* Make it behave like a button */
  text-align: center;      /* Center the text */
}

/* ---------- BUTTONS ---------- */
button {
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: 500;
  transition: var(--transition-smooth);
  border: none;
  background: none;
}

#btn1, #btn2, #about button {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

/* Add "a" to the button selectors */
#btn1, #btn2, #about button, a#btn1, a#btn2 {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  text-decoration: none;  /* Remove underline */
  display: inline-block;   /* Make it behave like a button */
  text-align: center;
  cursor: pointer;
}

#btn1 {
  background: transparent;
  border: 1.5px solid var(--accent-primary);
  color: var(--accent-primary);
}

#btn1:hover {
  background: rgba(100, 255, 218, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#btn2 {
  background: var(--accent-primary);
  color: var(--primary-dark);
  border: 1.5px solid var(--accent-primary);
}

#btn2:hover {
  background: transparent;
  color: var(--accent-primary);
  transform: translateY(-2px);
}

#about button {
  background: transparent;
  border: 1.5px solid var(--accent-primary);
  color: var(--accent-primary);
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  width:stretch
}

#about button:hover {
  background: rgba(100, 255, 218, 0.1);
  transform: translateY(-2px);
}

/* ---------- SECTIONS ---------- */
section {
  padding: var(--section-padding);
  max-width: var(--container-width);
  margin: 0 auto;
}

#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

/* ---------- HOME SECTION ---------- */
.homealldetails {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.homedetails {
  flex: 2;
  min-width: 280px;
}

.homedetails h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--accent-primary);
}

.homedetails p {
  font-size: 1rem;
  margin: 1.5rem 0;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

.homebutton {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.homeimage {
  flex: 0.8;
  text-align: center;
  min-width: 250px;
}

.homeimage img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--accent-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  background-color: var(--primary-light);
}

.homeimage img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-secondary);
}

.homeicon {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.homeicon a {
  color: var(--text-primary);
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}

.homeicon a:hover {
  color: var(--accent-primary);
  transform: translateY(-3px);
}

/* ======================================== */
/* UNIQUE ANIMATIONS FOR SOCIAL ICONS */
/* ======================================== */

.homeicon {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.homeicon a {
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

.homeicon a i {
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

/* GitHub Icon Animation - Bounce + Rotate */
.homeicon a:first-child {
  animation: floatBounce 3s ease-in-out infinite;
}

.homeicon a:first-child i {
  color: #ffffff;
}

.homeicon a:first-child:hover i {
  color: #64ffda;
  transform: rotate(360deg) scale(1.2);
  animation: none;
}

/* LinkedIn Icon Animation - Pulse + Slide */
.homeicon a:nth-child(2) {
  animation: pulseGlow 2s ease-in-out infinite;
}

.homeicon a:nth-child(2) i {
  color: #ffffff;
}

.homeicon a:nth-child(2):hover i {
  color: #0077b5;
  transform: scale(1.2) translateY(-5px);
  animation: none;
}

/* WhatsApp Icon Animation - Shake + Wave */
.homeicon a:last-child {
  animation: gentleWave 2.5s ease-in-out infinite;
}

.homeicon a:last-child i {
  color: #ffffff;
}

.homeicon a:last-child:hover i {
  color: #25D366;
  transform: scale(1.2) rotate(5deg);
  animation: none;
}

/* Keyframes for GitHub */
@keyframes floatBounce {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Keyframes for LinkedIn */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(0, 119, 181, 0));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(0, 119, 181, 0.6));
  }
}

/* Keyframes for WhatsApp */
@keyframes gentleWave {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(8deg);
  }
  75% {
    transform: rotate(-8deg);
  }
}

/* Hover Effects with Different Timing */
.homeicon a:hover {
  animation-play-state: paused;
}

/* Add Glow Effect on Hover for All Icons */
.homeicon a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(100, 255, 218, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.homeicon a:hover::before {
  width: 50px;
  height: 50px;
}
/* ---------- ABOUT SECTION ---------- */
#about {
  background: var(--primary-light);
  border-radius: 20px;
  margin: 2rem auto;
  padding: 3rem;
}

#about p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
   text-align: justify;
  text-justify: inter-word;
}

.aboutcart {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}

.aboutcart > div {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  background: rgba(10, 25, 47, 0.6);
  border-radius: 12px;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
}

.aboutcart > div:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.aboutcart h2 {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.aboutcart h2::after {
  display: none;
}

.aboutcart h3 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0;
}




/* MODERN SKILLS SECTION - CSS */
#skills {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* Animated Background Effect */
#skills::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: backgroundMove 20s linear infinite;
  pointer-events: none;
}

@keyframes backgroundMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

.skills-container {
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.skills-header {
  text-align: center;
  margin-bottom: 4rem;
}

.skills-header h2 {
  display: inline-block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(135deg, var(--text-white), var(--accent-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.skills-header h2::after {
  display: none;
}

.skills-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  position: relative;
  
  padding-bottom: 0.5rem;
}

.skills-header p::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--accent-primary);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.skill-category {
  background: rgba(17, 34, 64, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(100, 255, 218, 0.1);
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-category:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skill-category:hover::before {
  opacity: 1;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.2), rgba(100, 255, 218, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.skill-category:hover .category-icon {
  transform: scale(1.05) rotate(5deg);
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.3), rgba(100, 255, 218, 0.1));
}

.category-icon i {
  font-size: 2rem;
  color: var(--accent-primary);
}

.skill-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  color: var(--text-white);
  position: relative;
  display: inline-block;
}

.skill-category h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.skill-category:hover h3::after {
  width: 80px;
}

/* Skills List */
.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  width: 100%;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.skill-name {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding-left: 0px;
  transition: padding-left 0.3s ease;
}

.skill-item:hover .skill-name {
  padding-left: 5px;
  color: var(--accent-primary);
}

.skill-percent {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 10px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Soft Skills Section */
.soft-skills {
  margin-top: 3rem;
  background: rgba(17, 34, 64, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(100, 255, 218, 0.1);
  transition: all 0.3s ease;
}

.soft-skills:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
}

.soft-skills-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.soft-skills-header i {
  font-size: 2rem;
  color: var(--accent-primary);
  animation: wave 1.5s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  75% {
    transform: rotate(-15deg);
  }
}

.soft-skills-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--text-white);
}

.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.soft-skill-card {
  background: rgba(100, 255, 218, 0.05);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.soft-skill-card:hover {
  background: rgba(100, 255, 218, 0.15);
  border-color: var(--accent-primary);
  transform: translateY(-3px) scale(1.02);
}

.soft-skill-card i {
  font-size: 1.2rem;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.soft-skill-card:hover i {
  transform: scale(1.1);
}

.soft-skill-card span {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
}















/* ---------- RESPONSIVE DESIGN ---------- */
@media screen and (max-width: 968px) {
  .homealldetails {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }
  
  .homebutton {
    justify-content: center;
  }
  
  .aboutcart {
    flex-direction: column;
  }
  
  nav {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    justify-content: center;
    gap: 1.5rem;
  }
  
  section {
    padding: 4rem 1.5rem;
  }
  
  #about {
    padding: 2rem;
  }
  
  h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
  }
  
  h2 {
    text-align: center;
    display: block;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --section-padding: 3rem 1rem;
  }
  
  .homeimage img {
    width: 220px;
    height: 220px;
    margin-top: 50px;
  }
  
  .homeicon a {
    font-size: 1.5rem;
  }
  
  
  #btn1, #btn2,#about button{
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
   
  }
  
  .aboutcart h2 {
    font-size: 2rem;
    
  }
  
  nav ul {
    gap: 1rem;
  }
  
  nav ul li a {
    font-size: 0.9rem;
  }
}

/* ---------- SCROLLBAR CUSTOMIZATION ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 5px;
}

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

/* ---------- SELECTION STYLES ---------- */
::selection {
  background: var(--accent-primary);
  color: var(--primary-dark);
}

/* ---------- FOCUS STATES FOR ACCESSIBILITY ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ---------- CONTAINER UTILITY ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}



/* ======================================== */
/* PROJECT SECTION - CSS */
/* ======================================== */

#project {
  background: var(--primary-dark);
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  display: inline-block;
  text-align: center;
}

.section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.project-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-hover);
}

.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-links a {
  padding: 0.6rem 1rem;
  background: var(--accent-primary);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
  transform: translateY(20px);
  opacity: 0;
}

.project-card:hover .project-links a {
  transform: translateY(0);
  opacity: 1;
}

.project-links a:hover {
  transform: translateY(-3px);
  background: var(--text-white);
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.project-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech span {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  transition: var(--transition-smooth);
}

.project-tech span:hover {
  background: rgba(100, 255, 218, 0.2);
  border-color: var(--accent-primary);
}

/* ======================================== */
/* CONTACT SECTION - CSS */
/* ======================================== */

#contact {
  background: var(--primary-light);
  padding: var(--section-padding);
}

.contact-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.contact-info {
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), transparent);
  padding: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-primary);
  transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
  transform: scale(1.05);
  background: rgba(100, 255, 218, 0.2);
}

.contact-item h4 {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--text-secondary);
}

.contact-item a,
.contact-item p {
  color: var(--text-white);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.contact-item a:hover {
  color: var(--accent-primary);
}

.contact-social {
  margin-top: 1rem;
}

.contact-social h4 {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: var(--accent-primary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.contact-form {
  padding: 2.5rem;
  background: rgba(10, 25, 47, 0.5);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(10, 25, 47, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1.5px solid var(--accent-primary);
  border-radius: 12px;
  color: var(--accent-primary);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.submit-btn:hover {
  background: rgba(100, 255, 218, 0.1);
  transform: translateY(-2px);
  gap: 1rem;
}

.submit-btn i {
  transition: var(--transition-smooth);
}

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




/* ======================================== */
/* MODERN FOOTER - CSS */
/* ======================================== */

footer {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  margin-top: 4rem;
}

/* Wave SVG */
.footer-wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

/* Footer Main Content */
.footer-main {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Brand Section */
.footer-brand {
  animation: fadeInUp 0.6s ease-out;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.2), rgba(100, 255, 218, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-logo-icon i {
  font-size: 1.5rem;
  color: var(--accent-primary);
  animation: pulse 2s ease-in-out infinite;
}

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

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  margin: 0;
}

.footer-tagline {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Modern Social Icons */
.footer-social-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(100, 255, 218, 0.05);
  border: 1px solid rgba(100, 255, 218, 0.2);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  background: rgba(100, 255, 218, 0.15);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  color: var(--accent-primary);
}

.social-icon:hover i {
  transform: scale(1.1);
}

/* Footer Sections */
.footer-section {
  animation: fadeInUp 0.6s ease-out;
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

.footer-section-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-section-title i {
  color: var(--accent-primary);
  font-size: 1.1rem;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.footer-section:hover .footer-section-title::after {
  width: 60px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-links li:not(a) {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.footer-links li i {
  color: var(--accent-primary);
  font-size: 0.9rem;
  width: 20px;
}

/* Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-item i {
  color: var(--accent-primary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.contact-info-item div {
  flex: 1;
}

.contact-info-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.contact-info-item a,
.contact-info-item p {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.contact-info-item a:hover {
  color: var(--accent-primary);
}

/* Newsletter Section */
.footer-newsletter {
  max-width: var(--container-width);
  margin: 0 auto 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), rgba(100, 255, 218, 0.02));
  border-radius: 20px;
  border: 1px solid rgba(100, 255, 218, 0.1);
  backdrop-filter: blur(10px);
}

.newsletter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.newsletter-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.newsletter-content i {
  font-size: 2rem;
  color: var(--accent-primary);
  animation: float 3s ease-in-out infinite;
}

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

.newsletter-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--text-white);
}

.newsletter-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.newsletter-form {
  flex: 1;
  min-width: 280px;
}

.newsletter-input-group {
  display: flex;
  gap: 0.5rem;
  background: rgba(10, 25, 47, 0.6);
  border-radius: 12px;
  padding: 0.3rem;
  border: 1px solid rgba(100, 255, 218, 0.2);
  transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.newsletter-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1rem;
  color: var(--text-white);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-input-group input::placeholder {
  color: var(--text-secondary);
}

.newsletter-input-group button {
  padding: 0.8rem 1.5rem;
  background: var(--accent-primary);
  color: var(--primary-dark);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.newsletter-input-group button:hover {
  transform: translateX(3px);
  gap: 0.8rem;
  background: var(--text-white);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(100, 255, 218, 0.1);
  padding: 1.5rem 2rem;
  background: rgba(10, 25, 47, 0.5);
}

.footer-bottom-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

.copyright i {
  margin-right: 0.3rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent-primary);
}

.separator {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.back-to-top {
  position: relative;
}

.scroll-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 10px;
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 255, 218, 0.2);
}

.scroll-top:hover {
  background: rgba(100, 255, 218, 0.2);
  transform: translateY(-3px);
  gap: 0.7rem;
}

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

/* Responsive Design */
@media screen and (max-width: 968px) {
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .newsletter-container {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-social-modern {
    justify-content: center;
  }
  
  .footer-logo-wrapper {
    justify-content: center;
  }
  
  .footer-tagline {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .footer-main {
    padding: 3rem 1.5rem 1.5rem;
  }
  
  .footer-wave {
    top: -50px;
  }
  
  .footer-wave svg {
    height: 50px;
  }
  
  .footer-section-title {
    text-align: center;
  }
  
  .footer-section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links li {
    text-align: center;
    justify-content: center;
  }
  
  .footer-links a {
    justify-content: center;
  }
  
  .contact-info-item {
    justify-content: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .newsletter-input-group {
    flex-direction: column;
  }
  
  .newsletter-input-group button {
    justify-content: center;
  }
  
  .footer-social-modern {
    flex-direction: column;
    align-items: stretch;
  }
  
  .social-icon {
    justify-content: center;
  }
}

/* Smooth Scroll for Back to Top */
html {
  scroll-behavior: smooth;
}





/* ======================================== */
/* RESPONSIVE DESIGN UPDATES */
/* ======================================== */

@media screen and (max-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-info {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-logo p {
    max-width: 100%;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-nav ul {
    align-items: center;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }
  
  .project-info {
    padding: 1.2rem;
  }
  
  .footer-content {
    padding: 0 1rem 1.5rem;
  }
  
  .footer-bottom {
    padding: 1rem;
  }
}




/* ======================================== */
/* CIRCULAR FLOATING DOWNLOAD BUTTON */
/* ======================================== */

.floating-download-circle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

.download-circle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3), 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 0.5s ease-out;
}

.circle-icon {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-icon i {
  font-size: 1.3rem;
  color: var(--primary-dark);
  position: absolute;
  transition: all 0.3s ease;
}

.circle-icon i:first-child {
  opacity: 1;
  transform: scale(1);
}

.circle-icon i:last-child {
  opacity: 0;
  transform: scale(0.5);
}

.download-circle-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5);
}

.download-circle-btn:hover .circle-icon i:first-child {
  opacity: 0;
  transform: scale(0.5);
}

.download-circle-btn:hover .circle-icon i:last-child {
  opacity: 1;
  transform: scale(1);
}

/* Tooltip on Hover */
.tooltip {
  position: absolute;
  left: 70px;
  background: var(--bg-card);
  color: var(--text-white);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  border: 1px solid var(--accent-primary);
  backdrop-filter: blur(5px);
  font-family: var(--font-primary);
}

.tooltip::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid var(--accent-primary);
}

.download-circle-btn:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse Animation */
.circle-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.8) 0%, transparent 70%);
  opacity: 0;
  animation: pulseRing 2s ease-out infinite;
  pointer-events: none;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
  .floating-download-circle {
    bottom: 20px;
    left: 20px;
  }
  
  .download-circle-btn {
    width: 48px;
    height: 48px;
  }
  
  .circle-icon i {
    font-size: 1.1rem;
  }
  
  .tooltip {
    left: 60px;
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

@media screen and (max-width: 480px) {
  .floating-download-circle {
    bottom: 15px;
    left: 15px;
  }
  
  .download-circle-btn {
    width: 45px;
    height: 45px;
  }
  
  .circle-icon i {
    font-size: 1rem;
  }
}




