/* CSS Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #3730a3 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.menu a:hover {
  color: #3730a3;
}

.menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(135deg, #3730a3, #7c3aed);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #0f172a;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #1e293b 0%, #3730a3 40%, #10b981 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 5px solid rgba(255, 255, 255, 0.3);
}

.avatar:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient {
  background: linear-gradient(135deg, #10b981 0%, #f59e0b 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, rgba(248,250,249,0.3) 0%, rgba(203,213,225,0.2) 100%);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, rgba(248,250,249,0.4) 0%, rgba(203,213,225,0.3) 100%);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, #3730a3 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

#about p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  opacity: 0.9;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Cards */
.card {
  background: rgba(248, 250, 249, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(203, 213, 225, 0.5);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3730a3, #7c3aed, #10b981);
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.skills-note {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  opacity: 0.8;
  font-size: 1.1rem;
}

/* Experience lists */
.card ul {
  list-style: none;
  padding-left: 0;
}

.card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  opacity: 0.9;
}

.card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 1rem;
}

/* Secondary button */
.secondary-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
}

.secondary-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Progress Bars */
.progress-bar {
  height: 12px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3730a3 0%, #7c3aed 50%, #10b981 100%);
  border-radius: 10px;
  transition: width 2s ease;
  position: relative;
}

.progress-fill::after {
  content: attr(data-percent) '%';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  opacity: 0;
  transition: opacity 0.5s 1s;
}

.progress-fill[style*="width: 95%"]::after,
.progress-fill[style*="width: 88%"]::after {
  opacity: 1;
}




/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .menu a {
    font-size: 1.5rem;
    color: white;
  }

  .hero {
    padding-top: 100px;
    text-align: center;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  @media (min-width: 769px) and (max-width: 1024px) {
    .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .avatar {
    width: 140px;
    height: 140px;
  }

  .card {
    padding: 2rem;
  }
}

/* Social Links - Contact Section */

.social-contact {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.social-contact p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}


#contact .social-links h3 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #3730a3 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}


.social-icon img {
  width: 85%;
  height: 85%;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}
</xai:function_call style.css

<xai:function_call name="edit_file">
<parameter name="path">c:/Users/ADMIN/Downloads/nsns/style.css

.social-icon:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


.social-icon:hover img {
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

@media (max-width: 1024px) and (min-width: 769px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1rem;
  }
  
  .social-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .social-icon {
    width: 55px;
    height: 55px;
  }
  
  .social-grid {
    gap: 0.75rem;
  }
}


@media (max-width: 1024px) and (min-width: 769px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .social-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 1rem;
  }
  
  .social-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .social-icon {
    width: 55px;
    height: 55px;
  }
  
  .social-grid {
    gap: 0.75rem;
  }
}

/* Scroll Progress */
@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    animation: float 2s ease-in-out infinite;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(-15px); }
  50% { transform: translateY(-20px); }
}
#contact {
  padding: 6rem 0 8rem; /* top | left-right | bottom */
}
.logo a,
.logo a:hover,
.logo a:focus {
  text-decoration: none;
}
