/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

:root {
  --bg-color: #0a0a0f;
  --second-bg: #111122;
  --text-color: #fff;
  --main-color: #ff6ec7; 
  --accent-color: #ffb347;
}

body { background: var(--bg-color); color: var(--text-color); line-height: 1.6; }

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 1.5rem 9%;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.navbar a { font-size: 1.4rem; margin-left: 2rem; color: var(--text-color); transition: .3s; }
.navbar a:hover, .navbar a.active { color: var(--main-color); }

/* DIGITAL SECTION */
.digital-section {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10rem 9% 5rem; flex-wrap: wrap; gap: 3rem;
}
.digital-content { flex: 1 1 45rem; }
.digital-img { flex: 1 1 40rem; text-align: center; }
.digital-img img {
  max-width: 90%; border-radius: 15px;
  box-shadow: 0 0 40px rgba(255, 110, 199, 0.3);
  transition: .4s ease;
}
.digital-img img:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(255, 110, 199, 0.6); }

/* Animations (same as webdev) */
.animate-slide { opacity: 0; transform: translateX(-100px); transition: all 1s ease-in-out; }
.animate-slide.show { opacity: 1; transform: translateX(0); }
.animate-fade { opacity: 0; transform: translateY(30px); transition: all 1s ease-in-out; }
.animate-fade.show { opacity: 1; transform: translateY(0); }
.animate-list { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease-in-out; }
.animate-list.show { opacity: 1; transform: translateX(0); }
.animate-btn { margin-top: 20px; padding: 12px 25px; background: var(--main-color); color: #000; font-weight: bold; border-radius: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.animate-btn:hover { transform: scale(1.1); box-shadow: 0 0 15px var(--main-color), 0 0 25px var(--accent-color); }

/* My Work Section */
.mywork-section { padding: 80px 10%; text-align: center; background: #0d0d0d; color: #fff; }
.mywork-section .heading { font-size: 2.5rem; margin-bottom: 50px; color: var(--main-color); }
.projects { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.project-card { background: #1a1a1a; padding: 25px; border-radius: 12px; width: 280px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.project-card:hover { transform: translateY(-10px); box-shadow: 0px 6px 20px rgba(255, 110, 199, 0.4); }
.project-card h3 { font-size: 1.2rem; color: var(--accent-color); margin-bottom: 10px; }
.project-card h4 { font-size: 1.1rem; margin-bottom: 8px; color: #f2f2f2; }
.project-card p { font-size: 0.95rem; color: #ccc; }

/* CONTACT */
.contact { padding: 8rem 9%; text-align: center; }
.contact-form { max-width: 700px; margin: auto; }
.contact-form input, .contact-form textarea { width: 100%; padding: 1rem; margin: .7rem 0; border-radius: .5rem; background: #1a1a2e; color: var(--text-color); border: 1px solid #333; }


/* ===== Footer Styling ===== */
.footer {
  background: #111;
  color: #f0f0f0;
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Add an underline effect */
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: #f1f16A; /* Neon green accent */
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Hover effect */
.footer-col h4:hover::after {
  width: 100px;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .footer-col h4 {
    font-size: 18px;
    text-align: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .footer-col h4 {
    font-size: 16px;
  }
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--main-color);
}

.footer .logo img {
  margin-bottom: 15px;
}

.logo img:hover { 
  transform: scale(1.05); box-shadow: 0 0 40px rgba(255, 110, 199, 0.6); 
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  font-size: 22px;
  color: #ccc;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 20px;
  padding-top: 15px;
}

.footer-bottom p {
  font-size: 14px;
  color: #888;
}

.heading {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, #f1f16A, #ff6ec7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  letter-spacing: 2px;
  position: relative;
  animation: fadeInUp 1s ease-in-out;
}

/* Glow effect on span */
.heading span {
  color: #ff6ec7;
  text-shadow: 0 0 10px #ff6ec7, 0 0 20px #ff6ec7;
}

/* Underline effect */
.heading::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: #ff6ec7;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: slideIn 1.5s ease forwards;
}

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

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}
.navbar {
  display: flex;
  gap: 20px;
}

#menu-icon {
  font-size: 2rem;
  color: #ff6ec7;
  cursor: pointer;
  display: none; 
}

/* Mobile styles */
@media (max-width: 768px) {
  #menu-icon {
    display: block; 
  }

  .navbar {
    position: absolute;
    top: 70px;
    right: -100%;
    background: #111;
    width: 200px;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    transition: right 0.4s ease;
    border-radius: 0 0 8px 8px;
  }

  .navbar a {
    display: block;
    margin: 10px 0;
    color: #fff;
  }

  .navbar.active {
    right: 10px; 
  }
}
