/* ===== CSS Variables & Global Reset ===== */
:root {
  /* Color Scheme - Light Mode */
  --primary-color: #6c5ce7;
  --primary-light: #a29bfe;
  --secondary-color: #00cec9;
  --accent-color: #fd79a8;
  --text-color: #2d3436;
  --text-light: #636e72;
  --bg-color: #f9f9f9;
  --card-bg: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.96);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  
  /* Yeh missing hai */
  --primary-rgb: 108, 92, 231; /* RGB values for primary color */

}

/* Dark Mode Colors */
.dark-mode {
  --primary-color: #a29bfe;
  --primary-light: #6c5ce7;
  --secondary-color: #00b894;
  --accent-color: #ff7675;
  --text-color: #f5f6fa;
  --text-light: #dcdde1;
  --bg-color: #1a1a2e;
  --card-bg: #16213e;
  --nav-bg: rgba(26, 26, 46, 0.96);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* ===== Base Styles ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

::selection {
  background-color: var(--primary-color);
  color: white;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 5.5rem;
}

h2 {
  font-size: 4rem;
  position: relative;
  display: inline-block;
}

h3 {
  font-size: 2.8rem;
}

h4 {
  font-size: 2.2rem;
}

p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ===== Reusable Classes ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 10rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title {
  display: inline-block;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.6rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary::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: 0.5s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 1rem 2rem;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== Theme Toggle ===== */
.theme-toggle {
  position: fixed;
  top: 1.5rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: none;
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(30deg);
}

.theme-toggle i {
  font-size: 1.8rem;
  transition: var(--transition);
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--text-color);
  transition: var(--transition);
  padding: 0.5rem 0;
}

.nav-link span {
  transition: var(--transition);
}

.nav-icon {
  font-size: 1.4rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover .nav-icon {
  transform: translateY(-3px);
}

.nav-link::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  color: var(--primary-color);
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition);
}

.nav-link:hover::after {
  opacity: 1;
  transform: translateY(5px);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  opacity: 0.1;
  z-index: -1;
  animation: pulse 15s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5rem, 5rem);
  }
  100% {
    transform: translate(0, 0);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-greeting {
  display: block;
  font-size: 2.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-name {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 2.4rem;
  margin-bottom: 3rem;
  min-height: 3.6rem;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0.7;
}

.typed-text {
  color: var(--primary-color);
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 3rem;
  background: var(--primary-color);
  margin-left: 0.5rem;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-cta {

  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 5rem;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 1;
}

.hero-scroll {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-down {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary-color);
  font-size: 2rem;
  transition: var(--transition);
}

.scroll-down:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(5px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-30px) translateX(-50%);
  }
  60% {
    transform: translateY(-15px) translateX(-50%);
  }
}

/* ===== About Section ===== */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-heading {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.about-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.detail-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.detail-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.8rem;
}

.about-skills {
  margin-top: 2rem;
}

.skills-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-bar {
  height: 8px;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  position: relative;
}

.skill-progress::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: shine 2s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.html {
  width: 95%;
  animation: htmlProgress 2s ease-out forwards;
}

.css {
  width: 90%;
  animation: cssProgress 2s ease-out forwards;
}

.js {
  width: 85%;
  animation: jsProgress 2s ease-out forwards;
}

.react {
  width: 80%;
  animation: reactProgress 2s ease-out forwards;
}

@keyframes htmlProgress {
  from { width: 0; }
  to { width: 95%; }
}

@keyframes cssProgress {
  from { width: 0; }
  to { width: 90%; }
}

@keyframes jsProgress {
  from { width: 0; }
  to { width: 85%; }
}

@keyframes reactProgress {
  from { width: 0; }
  to { width: 80%; }
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image img {
   
  width: 100%;
  max-width: 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.about-image::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  background: var(--primary-color);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  bottom: 0;
  right: 0;
  z-index: 0;
  animation: morph 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2rem);
  }
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

/* ===== Projects Section ===== */
.projects {
  background: rgba(108, 92, 231, 0.03);
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.filter-btn {
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--primary-light);
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-1rem);
  box-shadow: var(--shadow-lg);
}

.project-image {
  height: 220px;
  overflow: hidden;
}

.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: 2.5rem;
}

.project-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.project-description {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tech-tag {
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1.5rem;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.project-link:first-child {
  background: var(--primary-color);
  color: white;
}

.project-link:last-child {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.project-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.project-link i {
  font-size: 1.4rem;
}

.projects-more {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}

/* ===== Contact Section ===== */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 2rem;
}

.contact-details h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-link {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.8rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.5rem;
  border: 2px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  transition: var(--transition);
  background: transparent;
  color: var(--text-color);
}

.form-group textarea {
  min-height: 15rem;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-group label {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  padding: 0 0.5rem;
  background: var(--card-bg);
  transition: var(--transition);
  pointer-events: none;
  color: var(--text-light);
  font-size: 1.6rem;
}

.form-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.6rem;
  transition: var(--transition);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.8rem;
  left: 1.2rem;
  font-size: 1.2rem;
  color: var(--primary-color);
  background: var(--bg-color);
}

.form-group input:focus ~ .form-icon,
.form-group textarea:focus ~ .form-icon {
  color: var(--primary-color);
}

.contact-form button {
  width: 100%;
}



/* ===== Footer ===== */
.footer {
  background-color: var(--bg-secondary);
  padding: 6rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-logo {
  grid-column: span 1;
}

.footer-brand {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-brand span {
  color: var(--primary-color);
}

.footer-links {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-col h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-col ul {
  list-style: none; 
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 1.5rem;
}

.footer-col ul li a {
  color: var(--text-light);
  transition: var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-col ul li i {
  margin-right: 1rem;
  color: var(--primary-color);
  width: 2rem;
  text-align: center;
}

.footer-bottom {
  padding: 10px;
  border-top: 1px solid rgba(var(--text-rgb), 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  padding-right: 10px;
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 10rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* ===== Animations ===== */
@keyframes slideUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}


/* legal.css */
.legal-page {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    line-height: 1.8;
}

.legal-page h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.legal-page h2 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.legal-page ul {
    margin-left: 2rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cookie-banner button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

/* ===== Custom Cursor Effect ===== */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.5);
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
    margin-bottom: 5rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 58%;
  }

  .section {
    padding: 8rem 0;
  }

  .nav-list {
    gap: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 55%;
  }

  .hero-title {
    font-size: 3.8rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1.4rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
}