/* Professional AWS-inspired design system */
:root {
  /* Color palette */
  --background: hsl(210, 25%, 98%);
  --foreground: hsl(210, 25%, 8%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(210, 25%, 15%);
  --primary: hsl(25, 100%, 50%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(210, 25%, 16%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --accent: hsl(210, 50%, 55%);
  --accent-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 20%, 96%);
  --muted-foreground: hsl(210, 25%, 45%);
  --border: hsl(210, 15%, 90%);
  --input: hsl(210, 15%, 90%);
  --ring: hsl(25, 100%, 50%);
  
  /* Professional gradients */
  --gradient-primary: linear-gradient(135deg, hsl(25, 100%, 50%), hsl(25, 100%, 60%));
  --gradient-secondary: linear-gradient(135deg, hsl(210, 25%, 16%), hsl(210, 25%, 25%));
  --gradient-hero: linear-gradient(135deg, hsl(210, 25%, 8%) 0%, hsl(210, 25%, 16%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%), hsl(210, 10%, 97%));
  --gradient-hover: linear-gradient(135deg, hsl(25, 100%, 55%), hsl(25, 100%, 65%));
  
  /* Professional shadows */
  --shadow-elegant: 0 10px 30px -10px hsla(210, 25%, 16%, 0.3);
  --shadow-card: 0 4px 20px -4px hsla(210, 25%, 16%, 0.15);
  --shadow-hover: 0 20px 40px -10px hsla(210, 25%, 16%, 0.25);
  --shadow-glow: 0 0 30px hsla(25, 100%, 50%, 0.3);
  
  /* Smooth transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Spacing */
  --container-padding: 1.5rem;
  --section-spacing: 5rem;
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition-smooth);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-logo:hover {
  transform: scale(1.05);
}

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

.nav-link {
  position: relative;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.hero-decoration-1 {
  position: absolute;
  top: 5rem;
  left: 5rem;
  width: 8rem;
  height: 8rem;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(3rem);
}

.hero-decoration-2 {
  position: absolute;
  bottom: 5rem;
  right: 5rem;
  width: 10rem;
  height: 10rem;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(3rem);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 var(--container-padding);
}

.hero-image-container {
  margin-bottom: 2rem;
}

.hero-img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
   border: 3px solid var(--color-primary, #1a73e8); 
   box-shadow: 0 0 0 3px #ffffff, 
              inset 0 0 10px rgba(0, 0, 0, 0.1); 
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  border: 4px solid rgba(255, 255, 255, 0.2);
   object-fit: cover; 
}

.hero-img:hover {
  box-shadow: 0 0 0 3px var(--color-primary, #1a73e8), 
              0 0 15px rgba(0, 0, 0, 0.2), 
              inset 0 0 10px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title-gradient {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1.0rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* .hero-buttons {
 display: flex;
  flex-direction: column;
  gap: 1rem; 
  align-items: center;
} */


/* .hero-buttons {
  position: fixed; 
  top: 80px;
  right:20px;
  z-index: 1000;

}
.hero-buttons a{
  background-color: #0077b5;
    color: white;

} */

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 1.5rem; 
}
.hero-buttons {
  display: flex;
  gap: 1rem; 
 
}

.hero-buttons a{
  background-color: #0077b5;
    color: white;
}



@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  min-width: 200px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  box-shadow: var(--shadow-hover);
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: white;
  color: var(--secondary);
  transform: scale(1.05);
}

.btn-full {
  width: 100%;
}

/* Section styles */
section {
  padding: var(--section-spacing) 0;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--background);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  text-align: justify;
}

.about-card {
  background: var(--gradient-card);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--card-foreground);
}

/* Projects Section */
.projects {
  background: var(--muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  text-align: center;
  border: 1px solid var(--border);
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.project-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Certifications Section */
.certifications {
  background: var(--background);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cert-card {
  background: var(--gradient-card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition-smooth);
}

.cert-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.cert-badge {
  display: flex;
  justify-content: center;
}

/* Resume Section */
.resume {
  background: var(--muted);
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.resume-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.resume-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.resume-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.resume-content h4 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.resume-content p {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.resume-date {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}

.skills-list {
  space-y: 1rem;
}

.skill-category {
  margin-bottom: 1rem;
}

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

.language {
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Contact Section */
.contact {
  background: var(--background);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-input,
.form-textarea {
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--card);
  color: var(--card-foreground);
  transition: var(--transition-smooth);
}

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

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

/* Footer */
.footer {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 2rem 0;
  text-align: center;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px hsla(25, 100%, 50%, 0.3);
  }
  50% {
    box-shadow: 0 0 40px hsla(25, 100%, 50%, 0.6);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

.hover-lift {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 6rem var(--container-padding) 4rem;
  }
  
  .hero-img {
    width: 10rem;
    height: 10rem;
  }
  
  .projects-grid,
  .certifications-grid,
  .resume-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card,
  .cert-card,
  .resume-card {
    padding: 1.5rem;
  }
  
  .about-card {
    padding: 2rem;
  }
  
  :root {
    --section-spacing: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .project-tags,
  .languages {
    justify-content: flex-start;
  }
}
