/* ===== PROFESSIONAL PORTFOLIO STYLES ===== */
/* ===== Lighter Amber Theme ===== */

:root {
  /* Color Palette */
  --primary-color: #ffb74d;
  --secondary-color: #ffe0b2;
  --accent-color: #ff8a65;
  --light-color: #fff8e1;
  --dark-color: #ff9800;
  --text-color: #5d4037;
  --text-light: #8d6e63;
  --white: #ffffff;
  --black: #000000;
  --success-color: #4caf50;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  --gradient-accent: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-light: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  --gradient-dark: linear-gradient(135deg, var(--text-color), #37474f);
  
  /* Effects */
  --box-shadow: 0 5px 20px rgba(255, 183, 77, 0.15);
  --box-shadow-hover: 0 15px 40px rgba(255, 183, 77, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  font-weight: 400;
  overflow-x: hidden;
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 3rem;
  color: var(--text-color);
  position: relative;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 183, 77, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-color);
  text-decoration: none;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  padding: 2px;
  transition: var(--transition);
}

.logo:hover img {
  transform: rotate(10deg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: var(--transition);
  font-size: 1rem;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  background: none;
  border: none;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-light);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 183, 77, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 183, 77, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 183, 77, 0.3);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--text-light);
  font-weight: 400;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h3 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 25px;
  line-height: 1.8;
  color: var(--text-light);
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 25px 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid var(--secondary-color);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-actions {
  margin-top: 40px;
}

.about-media {
  position: relative;
}

.about-video {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-hover);
  border: 1px solid var(--secondary-color);
  position: relative;
  background: var(--light-color);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}

.about-video iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
  position: relative;
  z-index: 2;
}

/* ===== PROJECTS SECTION ===== */
.projects {
  background: var(--light-color);
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.project-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid var(--secondary-color);
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  z-index: 2;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.project-status {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: var(--success-color);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, var(--light-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* Project-specific backgrounds */
.project-card:nth-child(1) .project-image {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.project-card:nth-child(2) .project-image {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
}

.project-card:nth-child(3) .project-image {
  background: linear-gradient(135deg, #fff3e0, #ffecb3);
}

.project-image-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-color);
}

.project-image-content i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  opacity: 0.9;
}

.project-image-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-color);
}

.project-image-content p {
  color: var(--text-light);
  font-size: 1rem;
  opacity: 0.8;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 183, 77, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  flex-direction: column;
  padding: 40px;
  text-align: center;
  z-index: 3;
}

.project-overlay h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.project-overlay p {
  color: var(--white);
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

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

.project-info {
  padding: 30px;
}

.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.3;
}

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

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.tech-tag {
  padding: 8px 16px;
  background: var(--light-color);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--secondary-color);
  transition: var(--transition);
}

.tech-tag:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--light-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  flex: 1;
  justify-content: center;
}

.project-links a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.3);
}

.project-links a i {
  font-size: 1.1rem;
}

/* ===== SKILLS SECTION ===== */
.skills {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.skill-category {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid var(--secondary-color);
  position: relative;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.skill-category h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--text-color);
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.skill-category h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.skill-category ul {
  list-style: none;
}

.skill-category li {
  margin-bottom: 12px;
  padding: 15px;
  background: var(--light-color);
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 500;
  border-left: 4px solid transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category li::before {
  content: '▸';
  color: var(--primary-color);
  font-weight: bold;
}

.skill-category li:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateX(5px);
  border-left-color: var(--accent-color);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: linear-gradient(135deg, #f8f9fa 0%, var(--light-color) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

/* Professional Form Styles */
.form-container {
  background: var(--white);
  padding: 50px 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-hover);
  border: 1px solid var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.form-container h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

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

.form-container label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1rem;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  background-color: #f8f9fa;
  transition: var(--transition);
  font-family: inherit;
  resize: vertical;
}

.form-container input:focus,
.form-container textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.1);
  transform: translateY(-2px);
}

.form-container textarea {
  min-height: 150px;
  line-height: 1.5;
}

.form-container button[type="submit"] {
  width: 100%;
  padding: 18px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.form-container button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 183, 77, 0.4);
}

/* Contact Info */
.contact-info {
  background: var(--white);
  padding: 50px 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-hover);
  border: 1px solid var(--secondary-color);
  position: relative;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text-color);
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 10px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-item:hover {
  background: var(--light-color);
  border-color: var(--secondary-color);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 5px;
}

.contact-text p {
  color: var(--text-light);
  font-size: 1rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  text-decoration: none;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.3);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.social-links a:hover::before {
  left: 100%;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 183, 77, 0.4);
}

/* ===== FOOTER ===== */
footer {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 60px 0 30px 0;
  text-align: center;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.footer-content {
  margin-bottom: 40px;
}

footer p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1.1rem;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.copyright {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 20px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(255, 183, 77, 0.4);
  font-size: 1.2rem;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 183, 77, 0.6);
}

/* ===== SUCCESS MESSAGE ===== */
.hidden {
  display: none;
}

#success-message {
  text-align: center;
  margin-top: 25px;
  padding: 25px;
  background: linear-gradient(135deg, var(--success-color), #45a049);
  color: var(--white);
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#success-message i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    transition: var(--transition);
    gap: 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 15px 30px;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile Layout */
  section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 100px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

  .form-container,
  .contact-info {
    padding: 30px 25px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 15px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .form-container,
  .contact-info {
    padding: 25px 20px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .social-links a {
    width: 50px;
    height: 50px;
  }
  
  .project-links {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
