@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
  --primary-gradient: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
  --primary-color: #00c6ff;
  --secondary-color: #0072ff;
  --dark-bg-1: #111111;
  --dark-bg-2: #23272f;
  --dark-bg-card: #2d3340;
  --light-bg-1: #f5f5f5;
  --light-bg-2: #f8fafc;
  --text-light: #f5f5f5;
  --text-muted: #c5c8d1;
  --text-dark: #23272f;
  --font-body: "Poppins", sans-serif;
  --font-code: "Fira Code", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  background-color: var(--dark-bg-1);
  color: var(--text-light);
  cursor: none; /* Hides the default system cursor */
}

/* NEW: Cursor Orb Effect Styles */
#cursor-orb {
  position: fixed;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  pointer-events: none; /* Allows clicking through the orb */
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 0.3s ease, height 0.3s ease, border 0.3s ease,
    background-color 0.3s ease;
  backdrop-filter: blur(2px);
}

#cursor-orb.enlarged {
  width: 50px;
  height: 50px;
  background: rgba(0, 198, 255, 0.1);
  border: 1px solid var(--primary-color);
}

/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Scroll Animation Styles */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  height: 100vh;
  width: 100%;
  color: var(--text-light);
  background: linear-gradient(
    270deg,
    #050505,
    #111111,
    #000921,
    #111111,
    #050505
  );
  background-size: 400% 100%;
  animation: animated-sweep 15s linear infinite;
}

@keyframes animated-sweep {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.nav-bar {
  background-color: #1d1d1dcc;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.3s;
}

.nav-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  position: relative;
}

.min-margin {
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.left h3 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: max-height 0.3s ease, opacity 0.3s;
}
.bar {
  display: none;
}
.right li {
  list-style-type: none;
}
.right li a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color 0.3s;
  position: relative;
  display: block;
}
.right li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}
.right li a:hover::after,
.right li.active a::after {
  width: 100%;
}

.right li a:hover,
.right li.active a {
  color: var(--primary-color);
}

.blues {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 400;
}

.hero-section {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: calc(100vh - 4rem - 40px);
  text-align: center;
}

.name-area h2 {
  font-size: 2rem;
  font-weight: 300;
}
.position-area {
  margin-top: 0.5rem;
  min-height: 50px; /* To prevent layout shift from Typed.js */
}
.position-area p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: var(--text-muted);
}
.explore-btn {
  text-decoration: none;
  background-color: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
  padding: 10px 24px;
  border-radius: 6px;
  cursor: none; /* Use custom orb */
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
.explore-btn:hover {
  color: #000000;
  background-color: var(--text-light);
  transform: translateY(-3px);
}

.hero-section .social-links {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.5rem;
}

.hero-section .social-link {
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.hero-section .social-link:hover {
  color: var(--primary-color);
  transform: translateY(-5px);
}

.main-section {
  background-color: var(--light-bg-1);
}

/* About section */

.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--light-bg-1);
  min-height: 400px;
  padding: 100px 50px;
}

.about-card {
  display: flex;
  align-items: center;
  background: var(--dark-bg-2);
  color: var(--text-light);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 40px;
  max-width: 800px;
  width: 100%;
  gap: 3rem;
}

.about-content {
  flex: 1;
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.about-section p {
  font-size: 1.1rem;
  font-weight: 300;
  text-align: justify;
  line-height: 1.8;
}

.highlight {
  color: var(--primary-color);
  font-weight: 500;
}

.about-btn {
  text-decoration: none;
  margin-top: 2rem;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: none; /* Use custom orb */
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.3);
}

/* Skills section */
.skills-section {
  background: var(--light-bg-2);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills-title {
  color: var(--secondary-color);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 3.5rem;
  letter-spacing: 1px;
  text-align: center;
}

.skills-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  width: 100%;
  max-width: 1000px;
  justify-content: center;
}

.skill-group {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 114, 255, 0.08);
  padding: 32px 28px;
  min-width: 280px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
  cursor: none; /* Use custom orb */
  overflow: hidden;
}

.skill-group:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(0, 114, 255, 0.16);
}

.group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  transition: opacity 0.3s ease;
}

.group-header i {
  font-size: 2.2rem;
  transition: transform 0.3s;
}

.skill-group:hover .group-header i {
  transform: scale(1.15) rotate(-7deg);
}

.group-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-left: 0.5rem;
  letter-spacing: 0.5px;
}

.group-desc {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  min-height: 48px;
  transition: opacity 0.3s ease;
  line-height: 1.6;
}

/* Code editor styling */
.group-code {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1e1e1e;
  border-radius: 18px;
  padding: 15px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  background: #2d2d2d;
  border-radius: 8px 8px 0 0;
  margin-bottom: 10px;
}

.code-title {
  color: #ccc;
  font-size: 0.9rem;
  font-family: var(--font-code);
}

.code-window-controls {
  display: flex;
  gap: 6px;
}

.code-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-control.close {
  background: #ff5f56;
}
.code-control.minimize {
  background: #ffbd2e;
}
.code-control.maximize {
  background: #27c93f;
}

.code-content {
  flex: 1;
  background: #1e1e1e;
  border-radius: 0 0 8px 8px;
  overflow: auto;
  padding: 10px;
}

.code-content pre,
.code-content code {
  margin: 0;
  font-family: var(--font-code);
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d4d4d4;
  white-space: pre-wrap;
  word-break: break-all;
}

.skill-group:hover .group-code {
  opacity: 1;
  visibility: visible;
}

.skill-group:hover .group-header,
.skill-group:hover .group-desc {
  opacity: 0;
}

/* Projects Section */
.projects-section {
  background: var(--dark-bg-2);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-title {
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 4rem;
  letter-spacing: 1px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.projects-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.project-card {
  background: var(--dark-bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: none; /* Use custom orb */
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0, 114, 255, 0.2);
}

.project-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(120deg, #00c6ff, #0072ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
}

.project-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.project-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: rgba(0, 198, 255, 0.15);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  flex-grow: 1;
  text-align: center;
}

.live-demo {
  background: var(--primary-gradient);
  color: white;
}

.live-demo:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.github-code {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.github-code:hover {
  background: rgba(0, 198, 255, 0.1);
  transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
  padding: 100px 20px;
  background-color: var(--light-bg-1);
}

.contact-container {
  width: 100%;
  max-width: 1200px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 0 auto;
}

.contact-header {
  background: var(--primary-gradient);
  color: white;
  padding: 50px 40px;
  text-align: center;
}

.contact-header h1 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 320px;
  background: var(--dark-bg-2);
  color: white;
  padding: 50px 40px;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 198, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.3rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-details h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.info-details p,
.info-details a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.info-details a:hover {
  color: var(--primary-color);
}

.contact-info .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.contact-info .social-link {
  text-decoration: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.contact-info .social-link:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.contact-form {
  flex: 1.5;
  min-width: 320px;
  padding: 50px 40px;
  color: var(--text-dark);
}

.form-title {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2d3748;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f7fafc;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.2);
  background-color: #fff;
}

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

.submit-btn {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: none; /* Use custom orb */
  transition: all 0.3s ease;
  display: block;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

/* Footer Styles */
.footer {
  background: #000000;
  color: var(--text-light);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

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

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.footer-links i {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.footer-contact {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-contact i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  color: #a0aec0;
  font-size: 1rem;
}

.footer-bottom p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.heart {
  color: #ff3366;
  animation: pulse 1.5s infinite;
}

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

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: none; /* Use custom orb */
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Hide custom cursor on mobile for better user experience */
  body,
  .explore-btn,
  .about-btn,
  .skill-group,
  .project-card,
  .submit-btn,
  .back-to-top {
    cursor: auto;
  }
  #cursor-orb {
    display: none;
  }

  .left h3 {
    font-size: 1.3rem;
    font-weight: 400;
  }
  .nav-section {
    height: 3.9rem;
  }
  .bar {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 112;
    color: var(--text-light);
    background: none;
    border: none;
  }
  .right {
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #1d1d1dcc;
    position: absolute;
    top: 3.9rem;
    left: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 110;
  }
  .right.active {
    max-height: 500px;
    opacity: 1;
    padding: 1rem 0;
  }
  .right li {
    width: 100%;
    text-align: center;
  }
  .right li a {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  .right li a:hover,
  .right li.active a {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .right li a::after {
    display: none;
  }
  .name-area {
    margin-top: -6rem;
  }
  .name-area h2 {
    font-size: 1.8rem;
  }
  .position-area p {
    font-size: 0.96rem;
  }
  .min-margin {
    padding: 0 1rem;
  }

  .about-section {
    padding: 60px 20px;
  }
  .about-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 25px;
    gap: 1.5rem;
  }
  .about-section h2 {
    font-size: 1.8rem;
  }
  .about-section p {
    font-size: 1rem;
    text-align: center;
  }

  .skills-section,
  .projects-section,
  .contact-section,
  .footer {
    padding: 60px 20px;
  }

  .skills-title,
  .projects-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  .skills-groups {
    gap: 1.5rem;
  }
  .skill-group {
    min-width: 100%;
  }

  .projects-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .project-links {
    flex-direction: column;
    gap: 10px;
  }

  .contact-content {
    flex-direction: column;
  }
  .contact-header {
    padding: 40px 20px;
  }
  .contact-header h1 {
    font-size: 2.2rem;
  }
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  .info-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .contact-info .social-links {
    justify-content: center;
  }
  .contact-info,
  .contact-form {
    padding: 40px 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-text,
  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-contact,
  .footer-social {
    justify-content: center;
  }
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
