@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&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");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Nunito", sans-serif;
}
:root {
  /* Light mode */
  --bg-color-light: #ffffff; /* Pure white background */
  --snd-bg-color-light: #f3f4f6; /* Very light gray for cards/sections */
  --text-color-light: #111111; /* Almost black text */
  --main-color-light: #1f2937; /* Dark gray/blackish buttons */
  --gray-color-light: #6b7280; /* Neutral gray for muted text */

  /* Dark mode (current) */
  --bg-color-dark: #0d1117; /* Almost black (GitHub-like) */
  --snd-bg-color-dark: #161b22; /* Slightly lighter cards/sections */
  --text-color-dark: #f9fafb; /* White text */
  --main-color-dark: #bad5fc; /* Light gray buttons (contrast with dark bg) */
  --gray-color-dark: #9ca3af; /* Neutral gray for muted text */

  /* Default theme (dark) */
  --bg-color: var(--bg-color-dark);
  --snd-bg-color: var(--snd-bg-color-dark);
  --text-color: var(--text-color-dark);
  --main-color: var(--main-color-dark);
  --gray-color: var(--gray-color-dark);
}

/* Light mode class */
body.light-mode {
  --bg-color: var(--bg-color-light);
  --snd-bg-color: var(--snd-bg-color-light);
  --text-color: var(--text-color-light);
  --main-color: var(--main-color-light);
  --gray-color: var(--gray-color-light);
}

/* Fix header text in light mode */
body.light-mode .header a,
body.light-mode .header i {
  color: white !important;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

/* Fix header background in light mode */
body.light-mode .header {
  background: var(--main-color-light);
}

/* Fix error text that might be showing on the page */
.error-text,
.text-error,
pre,
code {
  display: none;
}

/* Fix button colors in light mode */
body.light-mode .btn {
  background: var(--main-color);
  color: white;
  border-radius: 0.5rem;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

body.light-mode .btn:hover {
  box-shadow: 0 0 1rem var(--main-color);
  transform: translateY(-3px);
}
html {
  font-size: 65.5%;
  overflow-x: hidden;
}
body {
  height: 100vh;
  background: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Apply transitions to all elements that use CSS variables */
* {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}
section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

/* CONTACT SECTION STYLING */
.contact h2 {
  margin-bottom: 3rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

.contact-info {
  background: var(--snd-bg-color);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--main-color);
}

.contact-info p {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-links {
  margin-bottom: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.contact-link i {
  font-size: 2rem;
  color: var(--main-color);
  margin-right: 1rem;
}

.contact-form {
  background: var(--snd-bg-color);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}

.contact-form .input-box {
  margin-bottom: 2rem;
}

.contact-form .input-box input,
.contact-form .input-box textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: var(--text-color);
  background: var(--bg-color);
  border-radius: 0.8rem;
  margin: 0.7rem 0;
}

.contact-form .input-box textarea {
  resize: none;
}

.contact-form .btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact-form .btn i {
  font-size: 1.8rem;
}

/* Message Display Section */
.message-display {
  background: var(--snd-bg-color);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  margin-top: 3rem;
}

.message-display h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--main-color);
}

.admin-login {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-login input {
  flex: 1;
  padding: 1.2rem;
  font-size: 1.6rem;
  color: var(--text-color);
  background: var(--bg-color);
  border-radius: 0.8rem;
}

.message-list {
  display: none;
}

.message-item {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--main-color);
}

.message-item.unread {
  border-left: 4px solid #ff7846;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.message-header h4 {
  font-size: 1.8rem;
  color: var(--main-color);
}

.message-time {
  font-size: 1.4rem;
  color: var(--gray-color);
}

.message-sender {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.message-content p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.message-actions {
  display: flex;
  gap: 1rem;
}

.message-actions button {
  padding: 0.8rem 1.5rem;
  font-size: 1.4rem;
  border-radius: 0.5rem;
  cursor: pointer;
  background: var(--snd-bg-color);
  color: var(--text-color);
}

.mark-read-btn:hover {
  background: var(--main-color);
  color: #fff;
}

.delete-btn:hover {
  background: #ff3333;
  color: #fff;
}

.no-messages {
  font-size: 1.6rem;
  color: var(--gray-color);
  text-align: center;
  padding: 2rem;
}

/* Notification Styles */
.notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1.5rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.6rem;
  z-index: 1000;
  animation: slideIn 0.3s ease-out forwards;
}

.notification.success {
  background: #4caf50;
  color: white;
}

.notification.error {
  background: #f44336;
  color: white;
}

.notification.hide {
  animation: slideOut 0.3s ease-out forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
/* HEADER SECTION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: var(--bg-color);
  transition: background-color 0.3s ease;
}

/* Ensure header text is visible in all modes */
.header a,
.header i {
  color: var(--text-color);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Improve header contrast in all modes */
.header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Logo container styling already defined above */

/* Theme toggle button */
.theme-toggle {
  cursor: pointer;
  font-size: 2.2rem;
  color: var(--text-color);
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  color: var(--main-color);
  transform: rotate(30deg);
  box-shadow: 0 0 15px var(--main-color);
}
.logo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo a {
  font-size: 3rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  cursor: default;
  opacity: 0;
  animation: slideRight 1s ease forwards;
}
@keyframes slideRight {
  0% {
    transform: translateX(-6.25rem);
    opacity: 0;
  }
  100% {
    transform: translateX(0rem);
    opacity: 1;
  }
}
.navbar a {
  display: inline-block;
  font-size: 1.8rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  margin-left: 2rem;
  transition: 0.3s;
  opacity: 0;
  animation: slideTop 1s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-icon {
  display: none;
  font-size: 2.5rem;
  color: var(--text-color);
  cursor: pointer;
}
@keyframes slideTop {
  0% {
    transform: translateY(6.25rem);
    opacity: 0;
  }
  100% {
    transform: translateY(0rem);
    opacity: 1;
  }
}

.navbar a:hover {
  color: var(--main-color);
}

/* HOME SECTION */
.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9rem 9% 2rem;
  max-width: 1600px;
  margin: 0 auto;
  gap: 2rem;
}

.home-img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 320px;
  margin-bottom: 2rem;
}

.home-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(89, 178, 244, 0.2);
  animation: floatImage 4s ease-in-out infinite;
}

.home-content {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.home-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.home-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.home-content h3 .text {
  color: var(--main-color);
  font-weight: 700;
}

#para {
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
  line-height: 1.6;
  color: var(--gray-color);
  margin: 0 auto 2.5rem;
  max-width: 65ch;
  padding: 0 1rem;
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.home-content .btn {
  padding: 0.8rem 1.8rem;
  font-size: 1.4rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: auto;
  transition: all 0.3s ease;
}

.home-content .btn i {
  font-size: 1.6rem;
}

.home-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(89, 178, 244, 0.3);
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
  .home {
    flex-direction: row;
    text-align: left;
    padding: 6rem 5%;
    justify-content: space-between;
  }

  .home-img {
    order: 2;
    margin-bottom: 0;
    max-width: 380px;
  }

  .home-content {
    order: 1;
    text-align: left;
    max-width: 50%;
  }

  .home-content h3 {
    justify-content: flex-start;
  }

  #para {
    margin: 0 0 2.5rem 0;
    padding: 0;
  }

  .btn-container {
    justify-content: flex-start;
  }
}

/* Desktop Breakpoint */
@media (min-width: 1200px) {
  .home {
    padding: 8rem 9%;
    gap: 4rem;
  }

  .home-img {
    max-width: 420px;
  }

  .home-content {
    max-width: 55%;
  }
}

/* Mobile Breakpoint */
@media (max-width: 480px) {
  .home {
    padding: 8rem 4% 2rem;
  }

  .home-img {
    max-width: 260px;
  }

  .home-content h1 {
    font-size: 2.8rem;
  }

  .home-content h3 {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  #para {
    font-size: 1.4rem;
  }

  .btn-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  .home-content .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
/* ===== END IMPROVED HOME SECTION ===== */

/* ABOUT SECTION */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  background: var(--bg-color);
}

.about-img img {
  width: 300px;
  height: 400px; /* Fixed square dimensions */
  object-fit: cover; /* Maintain aspect ratio */
  border-radius: 2%;
  border: none;
  box-shadow: 0 0 20px rgba(89, 178, 244, 0.3); /* Add glow effect */
  /* animation: floatImage 4s ease-in-out infinite; */
}

.about-content h2 {
  text-align: left;
  font-size: 3.8rem;
  line-height: 1;
}

.about-content p {
  font-size: 2rem;
  margin: 2rem 0 3rem;
  line-height: 1.4;
}
/* SERVICES SECTION */
.services h2 {
  margin-bottom: 5rem;
}
.services-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
}
.services-box {
  flex: 1 1 calc(33.333% - 2rem); /* Adjusting width to account for gap */
  background: var(--snd-bg-color);
  padding: 3rem 2rem 4rem;
  border-radius: 2rem;
  text-align: center;
  border: 0.2rem solid var(--bg-color);
  transition: 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box; /* Ensure padding and border are included in the width */
}
.services-box:hover {
  border-color: var(--main-color);
  transform: scale(1.02);
}
.services-box i {
  font-size: 7rem;
  color: var(--main-color);
}
.services-box h3 {
  font-size: 2.6rem;
}
.services-box p {
  font-size: 1.6rem;
  margin: 1rem 0 3rem;
}
/* SKILLS SECTION */
.skills h2 {
  margin-bottom: 3rem;
  text-align: center;
}
.skills-compact {
  max-width: 900px;
  margin: 0 auto;
  background: var(--snd-bg-color);
  padding: 3rem;
  border-radius: 1.5rem;
  border: 0.2rem solid var(--bg-color);
  transition: 0.3s ease;
}
.skills-compact:hover {
  border-color: var(--main-color);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(89, 178, 244, 0.3);
}
.skills-text p {
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.skills-text p:last-child {
  margin-bottom: 0;
}
.skills-text i {
  font-size: 2.5rem;
  color: var(--main-color);
  margin-right: 1.5rem;
}
.skills-text strong {
  color: var(--main-color);
  font-weight: 700;
  margin-right: 1rem;
  min-width: 12rem;
}
.skills-text span {
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--text-color);
  font-weight: 600;
  background: rgba(89, 178, 244, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(89, 178, 244, 0.3);
}
@media (max-width: 768px) {
  .skills-compact {
    padding: 2rem;
    margin: 0 1rem;
    border-radius: 1rem;
  }

  .skills-text p {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .skills-text strong {
    min-width: auto;
    margin-right: 0;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 1.8rem;
  }

  .skills-text span {
    margin: 0.3rem 0.3rem 0.3rem 0;
    font-size: 1.4rem;
  }

  .skills-text i {
    margin-bottom: 0.5rem;
  }

  .services-box {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 1rem 1.5rem;
    padding: 2.5rem 1.5rem 3rem;
  }

  .about {
    flex-direction: column;
    gap: 2rem;
  }

  .about-img img {
    width: 60vw;
    height: 60vw;
    max-width: 250px;
    max-height: 250px;
  }
}
@media only screen and (max-width: 28.1rem) {
  .skills {
    padding: 3.1rem 0.9rem;
  }
  .skills-text p {
    font-size: 1.6rem;
  }
  .skills-text i {
    font-size: 2rem;
    margin-right: 1rem;
  }
  .skills-text span {
    margin: 0.3rem;
  }
}

/* Portfolio section */
/* General Styles */
.portfolio {
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--bg-color), var(--snd-bg-color));
}

/* Light mode specific adjustments */
body.light-mode .part-info a {
  background: #f8f9fa;
}

body.light-mode .part-info a i {
  background: var(--main-color);
  color: white;
}

body.light-mode .part-info a span {
  color: #333;
}

body.light-mode .part-img::before {
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(224, 232, 255, 0.8) 100%
  );
}

.sub-heading {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
  animation: fadeIn 1s ease-in-out;
}

.sub-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--main-color);
}

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

/* Portfolio filter styles */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  animation: slideUp 0.8s ease-in-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-btn {
  padding: 0.8rem 2rem;
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--main-color);
  border-radius: 30px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--main-color);
  transition: all 0.4s ease;
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--bg-color);
  box-shadow: 0 0 15px rgba(89, 178, 244, 0.5);
  transform: translateY(-3px);
}

.part-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  perspective: 1000px;
}

.part-item {
  flex: 1 1 calc(33.333% - 30px);
  min-width: 280px;
  max-width: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  background: var(--snd-bg-color);
  border: 1px solid rgba(89, 178, 244, 0.1);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: calc(0.1s * var(--i, 1));
  opacity: 0;
  transform: translateY(30px);
}

.part-item.hidden {
  display: none;
}

.more-projects-btn {
  display: inline-block;
  margin: 3rem auto 0;
  padding: 1rem 2.5rem;
  background: var(--main-color);
  color: var(--bg-color);
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--main-color);
  box-shadow: 0 0 15px rgba(89, 178, 244, 0.3);
  text-align: center;
}

.more-projects-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(89, 178, 244, 0.4);
}

.more-projects-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.part-item:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 15px 35px rgba(89, 178, 244, 0.2);
  border-color: var(--main-color);
}

.part-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.part-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 34, 68, 0.8) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.part-item:hover .part-img::before {
  opacity: 1;
}

.part-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.part-item:hover .part-img img {
  transform: scale(1.1);
}

.part-info {
  padding: 2rem;
  background: var(--snd-bg-color);
  text-align: center;
  position: relative;
  z-index: 2;
}

.part-info h4 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--main-color);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.part-info h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main-color);
  transition: width 0.4s ease;
}

.part-item:hover .part-info h4::after {
  width: 100%;
}

.part-info p {
  font-size: 1.4rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.part-info .project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.part-info a {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  border: none;
  border-radius: 2.5rem;
  background: #f0f0f0;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  overflow: hidden;
  padding: 0;
  width: 12rem;
}

.part-info a i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #333;
  color: var(--main-color);
  border-radius: 50%;
  margin-right: 0;
}

.part-info a span {
  flex: 1;
  text-align: center;
  padding-right: 1rem;
  color: #333;
}

.part-info a:hover {
  background: #e0e0e0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.part-info a:hover i {
  background: var(--main-color);
  color: #fff;
}

.part-info a.source-btn i {
  background: #222;
}

.part-info a.source-btn:hover i {
  background: var(--main-color);
  color: #fff;
}

/* CONTACT ME SECTION */
/* Base Styles */
.contact {
  padding: 4rem 2rem;
  background: var(--bg-color);
}

/* Fixed footer top icon */
.footer-iconTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
}

.footer-iconTop a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem;
  background: var(--main-color);
  border-radius: 0.8rem;
  transition: 0.5s ease;
}

.footer-iconTop a:hover {
  box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a i {
  font-size: 2.4rem;
  color: var(--bg-color);
}

.contact-media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* CONTACT PAGE STYLES */
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-top: 4rem;
}

.contact-info,
.contact-form {
  flex: 1;
}

.contact-info {
  background: var(--snd-bg-color);
  padding: 3rem;
  border-radius: 1rem;
  border: 2px solid var(--bg-color);
  transition: 0.3s;
}

.contact-info:hover {
  border-color: var(--main-color);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(89, 178, 244, 0.3);
}

.contact-info h3 {
  font-size: 2.5rem;
  color: var(--main-color);
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

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

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
}

.contact-link i {
  font-size: 2rem;
  color: var(--main-color);
  width: 3rem;
}

.contact-link a {
  color: var(--text-color);
  transition: 0.3s;
}

.contact-link a:hover {
  color: var(--main-color);
}

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

.contact-form .input-box {
  width: 100%;
}

.contact-form .input-box input,
.contact-form .input-box textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: var(--text-color);
  background: var(--snd-bg-color);
  border-radius: 0.8rem;
  border: 2px solid var(--bg-color);
  transition: 0.3s;
}

.contact-form .input-box input:focus,
.contact-form .input-box textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 10px rgba(89, 178, 244, 0.3);
}

.contact-form button {
  align-self: flex-start;
  padding: 1rem 2.5rem;
  border-radius: 4rem;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  margin-top: 1rem;
}

.contact-form button i {
  margin-right: 0.5rem;
}

@media (max-width: 991px) {
  .contact-container {
    flex-direction: column;
  }

  .portfolio-container {
    gap: 2rem;
  }

  .portfolio-box {
    box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.2);
  }
}

.heading {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.heading span {
  color: var(--main-color);
}

form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.input-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.input-box input {
  flex: 1 1 48%; /* Two items per row */
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
}

textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  resize: none;
}

.contact-media {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.contact-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  border-radius: 25%;
  font-size: 2rem;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.5s ease;
}

.contact-media a:hover {
  background: var(--main-color);
  color: var(--snd-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  background: var(--main-color);
  color: var(--bg-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn i {
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.btn:hover {
  background: var(--text-color);
}

/* Project Modal Styles */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.show-modal {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--snd-bg-color);
  color: var(--text-color);
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 0 25px rgba(89, 178, 244, 0.3);
  border: 2px solid var(--main-color);
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.show-modal .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3rem;
  color: var(--main-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #ff6b6b;
}

.modal-content h2 {
  font-size: 2.8rem;
  color: var(--main-color);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(89, 178, 244, 0.3);
}

.project-description {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.project-section {
  margin-bottom: 2.5rem;
}

.project-section h3 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.project-section p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-section ul {
  list-style-position: inside;
  margin-left: 1rem;
}

.project-section li {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none !important;
  margin-left: 0 !important;
}

.tech-list li {
  background: rgba(89, 178, 244, 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 1.4rem;
  border: 1px solid rgba(89, 178, 244, 0.3);
}

@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    padding: 2rem;
  }

  .modal-content h2 {
    font-size: 2.4rem;
  }

  .project-section h3 {
    font-size: 1.8rem;
  }
}

/* FOOTER SECTION */
.footer {
  background: var(--bg-color);
  padding: 2rem 0;
  text-align: center;
  position: relative;
}

.footer-text {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-color);
}

.footer-iconTop {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.footer-iconTop a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--main-color);
  color: var(--bg-color);
  border-radius: 50%;
  font-size: 2rem;
  transition: background 0.3s;
}

.footer-iconTop a:hover {
  background: var(--text-color);
}

/* Common Styles */
.header,
.footer {
  padding: 2rem 3%;
}

.section,
.services,
.portfolio {
  padding: 7rem 3%;
}

/* Base Media Queries */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .navbar a {
    font-size: 1.4rem;
    margin-left: 3rem;
  }

  .header {
    padding: 1.5rem 5%;
    background: #262b40;
  }

  .logo {
    font-size: 3rem;
  }

  .section {
    padding: 10rem 3%;
  }

  .contact {
    min-height: auto;
  }

  .portfolio {
    padding: 5rem 3% 7rem;
  }

  .home-img img,
  .about-img img {
    width: 40vw;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.5rem;
  }

  #btn {
    margin-right: 2rem;
  }

  .part-item {
    flex: 1 1 calc(50% - 30px);
    max-width: 45%;
  }

  .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-heading {
    font-size: 2.5rem;
  }

  .heading {
    font-size: 2rem;
  }

  .input-box {
    flex-direction: column;
  }

  .input-box input {
    margin-bottom: 1rem;
  }

  .footer {
    padding: 1.5rem 0;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  .footer-iconTop {
    top: 1rem;
    right: 1rem;
  }

  .footer-iconTop a {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.8rem;
  }
}
/* for mobile devices */
@media (max-width: 768px) {
  /* Header & Navigation */
  .header {
    padding: 1.2rem 5%;
  }

  .menu-icon {
    display: block;
    align-items: center;
    justify-content: center;
  }

  .navbar {
    display: none;
    height: 600px;
  }

  .navbar.active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(38, 43, 64, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--main-color);
  }

  .navbar a {
    font-size: 1.6rem;
    padding: 1.5rem;
    margin: 0.5rem 0;
    width: 80%;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .navbar a:hover,
  .navbar a.active {
    background: var(--main-color);
    color: #fff;
    box-shadow: 0 0 10px rgba(89, 178, 244, 0.5);
  }

  .home {
    flex-direction: column;
  }

  .home-content h3 {
    font-size: 2.6rem;
  }

  .home-content h1 {
    font-size: 4rem;
  }

  .home-content {
    order: 2;
  }

  .home-img img,
  .about-img img {
    width: 60vw;
    margin-bottom: 2rem;
  }

  .home-img img {
    width: 70vw;
    height: 70vw; /* Keep it square */
    margin-top: 2rem;
    margin-bottom: 3rem;
    max-width: 250px; /* Limit maximum size */
    max-height: 250px; /* Limit maximum size */
  }
  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-img img {
    width: 80vw;
    margin-top: 8rem;
  }

  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-content h2 {
    text-align: center;
  }

  .about-content p {
    margin-top: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
  }

  #btn {
    margin-right: 1.5rem;
  }

  .part-item {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 1rem 2rem;
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }

  .part-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(89, 178, 244, 0.25);
  }

  .part-img {
    height: 220px;
  }

  .part-info {
    padding: 1.5rem;
  }

  .part-info h4 {
    font-size: 1.8rem;
  }

  .part-info p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .portfolio-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sub-heading {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .portfolio-box {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .portfolio-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .filter-btn {
    padding: 0.7rem 1.5rem;
    font-size: 1.3rem;
    margin: 0.3rem;
  }

  .portfolio-layer {
    padding: 1.5rem;
  }

  .part-info h4 {
    font-size: 1.8rem;
  }

  .part-info p {
    font-size: 1.3rem;
  }

  .part-info a {
    width: 100%;
    justify-content: flex-start;
    font-size: 1.6rem;
  }

  .part-info a i {
    margin-right: 1rem;
  }

  .part-info a span {
    flex: 1;
    text-align: center;
    padding-right: 3.5rem;
  }

  .contact {
    padding: 3rem 1rem;
  }

  .heading {
    font-size: 1.8rem;
  }

  .input-box input {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .social-media a {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1.6rem;
  }
}

@media (max-width: 617px) {
  .portfolio-container {
    grid-template-columns: 1fr;
  }

  .home-img img {
    width: 70vw;
    height: 70vw;
    margin-top: 2rem;
    max-width: 200px;
    max-height: 200px;
  }

  .home {
    padding-top: 6rem;
  }
}

@media (max-width: 320px) {
  .home-img img {
    width: 70vw;
    height: 70vw;
    max-width: 180px;
    max-height: 180px;
  }

  .home-content h1 {
    font-size: 3.2rem;
  }

  .home-content h3 {
    font-size: 2.2rem;
  }

  .about-content {
    text-align: center;
  }

  .about-content .btn {
    margin-top: 1rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1.4rem;
  }

  #btn {
    margin-right: 1rem;
  }

  .heading {
    font-size: 1.5rem;
  }

  .input-box {
    gap: 0.5rem;
  }

  .input-box input {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  textarea {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .social-media a {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.project-btn {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  border: none;
  border-radius: 2.5rem;
  background: #f0f0f0;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  overflow: hidden;
  padding: 0;
  width: 12rem;
}
.project-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #333;
  color: var(--main-color);
  border-radius: 50%;
  margin-right: 0;
}
.project-btn span {
  flex: 1;
  text-align: center;
  padding-right: 1rem;
  color: #333;
}
.project-btn:hover {
  background: #e0e0e0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.project-btn:hover i {
  background: var(--main-color);
  color: #fff;
}
.source-btn i {
  background: #222;
}
.source-btn:hover i {
  background: var(--main-color);
  color: #fff;
}
@media (max-width: 600px) {
  .project-links,
  .part-info .project-links {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }
  .project-btn,
  .part-info a {
    width: 100%;
    justify-content: flex-start;
  }
  .project-btn i,
  .part-info a i {
    margin-right: 1rem;
  }
  .project-btn span,
  .part-info a span {
    flex: 1;
    text-align: center;
    padding-right: 3.5rem;
  }
}

@media (max-width: 991px) {
  .navbar a {
    font-size: 1.4rem;
    margin-left: 3rem;
  }

  .header {
    padding: 1.5rem 5%;
    background: #262b40;
  }

  .logo {
    font-size: 3rem;
  }

  .section {
    padding: 10rem 3%;
  }

  .contact {
    min-height: auto;
  }

  .portfolio {
    padding: 5rem 3% 7rem;
  }

  .home-img img,
  .about-img img {
    width: 40vw;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.5rem;
  }

  #btn {
    margin-right: 2rem;
  }

  .part-item {
    flex: 1 1 calc(50% - 30px);
    max-width: 45%;
  }

  .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-heading {
    font-size: 2.5rem;
  }

  .heading {
    font-size: 2rem;
  }

  .input-box {
    flex-direction: column;
  }

  .input-box input {
    margin-bottom: 1rem;
  }

  .footer {
    padding: 1.5rem 0;
  }

  .footer-text {
    font-size: 0.9rem;
  }

  .footer-iconTop {
    top: 1rem;
    right: 1rem;
  }

  .footer-iconTop a {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.8rem;
  }
}
/* for mobile devices */
@media (max-width: 768px) {
  /* Header & Navigation */
  .header {
    padding: 1.2rem 5%;
  }

  .menu-icon {
    display: block;
    align-items: center;
    justify-content: center;
  }

  .navbar {
    display: none;
    height: 600px;
  }

  .navbar.active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(38, 43, 64, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--main-color);
  }

  .navbar a {
    font-size: 1.6rem;
    padding: 1.5rem;
    margin: 0.5rem 0;
    width: 80%;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .navbar a:hover,
  .navbar a.active {
    background: var(--main-color);
    color: #fff;
    box-shadow: 0 0 10px rgba(89, 178, 244, 0.5);
  }

  .home {
    flex-direction: column;
  }

  .home-content h3 {
    font-size: 2.6rem;
  }

  .home-content h1 {
    font-size: 4rem;
  }

  .home-content {
    order: 2;
  }

  .home-img img,
  .about-img img {
    width: 60vw;
    margin-bottom: 2rem;
  }

  .home-img img {
    width: 70vw;
    height: 70vw; /* Keep it square */
    margin-top: 2rem;
    margin-bottom: 3rem;
    max-width: 250px; /* Limit maximum size */
    max-height: 250px; /* Limit maximum size */
  }
  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-img img {
    width: 80vw;
    margin-top: 8rem;
  }

  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-content h2 {
    text-align: center;
  }

  .about-content p {
    margin-top: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
  }

  #btn {
    margin-right: 1.5rem;
  }

  .part-item {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 1rem 2rem;
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }

  .part-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(89, 178, 244, 0.25);
  }

  .part-img {
    height: 220px;
  }

  .part-info {
    padding: 1.5rem;
  }

  .part-info h4 {
    font-size: 1.8rem;
  }

  .part-info p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .portfolio-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sub-heading {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .portfolio-box {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .portfolio-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .filter-btn {
    padding: 0.7rem 1.5rem;
    font-size: 1.3rem;
    margin: 0.3rem;
  }

  .portfolio-layer {
    padding: 1.5rem;
  }

  .part-info h4 {
    font-size: 1.8rem;
  }

  .part-info p {
    font-size: 1.3rem;
  }

  .part-info a {
    width: 100%;
    justify-content: flex-start;
    font-size: 1.6rem;
  }

  .part-info a i {
    margin-right: 1rem;
  }

  .part-info a span {
    flex: 1;
    text-align: center;
    padding-right: 3.5rem;
  }

  .contact {
    padding: 3rem 1rem;
  }

  .heading {
    font-size: 1.8rem;
  }

  .input-box input {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .social-media a {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1.6rem;
  }
}

@media (max-width: 617px) {
  .portfolio-container {
    grid-template-columns: 1fr;
  }

  .home-img img {
    width: 70vw;
    height: 70vw;
    margin-top: 2rem;
    max-width: 200px;
    max-height: 200px;
  }

  .home {
    padding-top: 6rem;
  }
}

@media (max-width: 320px) {
  .home-img img {
    width: 70vw;
    height: 70vw;
    max-width: 180px;
    max-height: 180px;
  }

  .home-content h1 {
    font-size: 3.2rem;
  }

  .home-content h3 {
    font-size: 2.2rem;
  }

  .about-content {
    text-align: center;
  }

  .about-content .btn {
    margin-top: 1rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1.4rem;
  }

  #btn {
    margin-right: 1rem;
  }

  .heading {
    font-size: 1.5rem;
  }

  .input-box {
    gap: 0.5rem;
  }

  .input-box input {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  textarea {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .social-media a {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
