:root {
  --primary: #7c3aed;
  --secondary: #ec4899;
  --dark: hsl(222, 47%, 11%);
  --card: #1e293b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --bg-alt: #0b1120;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #1e293b;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* =========================
   CONTAINERS
========================= */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.container2 {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  background-image: url('images/hijab.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 800px;
}

/* =========================
   NAVBAR
========================= */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid #334155;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 35px;
  font-weight: 700;
  color: #E94797;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--secondary);
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* =========================
   HERO
========================= */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

#hero h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #E94797;
  margin-top: 100px;
}

#hero h1 span {
  color: #fff;
}

#hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #fff;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-block;
  padding: 14px 35px;
  background: #fff;
  color: var(--primary);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  border: 2px solid var(--secondary);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  background: var(--secondary);
  color: #fff;
}

/* =========================
   SECTIONS
========================= */

section {
  padding: 100px 0;
}

#skills,
#projects {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--secondary);
  display: block;
  margin: 15px auto 0;
}

/* =========================
   ABOUT
========================= */

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.hero-right img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  display: block;
  margin: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.info-item {
  background: var(--card);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #334155;
}

/* =========================
   SKILLS
========================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-category {
  background: var(--card);
  padding: 30px;
  border-radius: 15px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skill-tag {
  background: #334155;
  padding: 8px 16px;
  border-radius: 20px;
}

/* =========================
   PROJECTS
========================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--card);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 25px;
}

/* =========================
   CONTACT (FIXED)
========================= */

.contact-box {
  background: var(--card);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  max-width: 750px;
  margin: auto;
  border: 1px solid #334155;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.contact-item {
  padding: 20px;
  border-radius: 15px;
  transition: 0.3s;
}

.contact-item:hover {
  transform: translateY(-6px);
  background: rgba(236, 72, 153, 0.08);
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 12px;
  background: rgba(236, 72, 153, 0.1);
  padding: 12px;
  border-radius: 50%;
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--secondary);
}

/* =========================
   FOOTER (FIXED)
========================= */

.footer {
  background: #1E293B;
  padding: 50px 0 20px;
  color: #fff;
  border-top: 1px solid #334155;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  color: #f1f1f1;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.social-icons a {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-size: 18px;
  margin-right: 10px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 14px;
  color: #aaa;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    text-align: center;
    transition: 0.3s;
    display: flex;
  }

  .nav-links.active {
    left: 0;
  }

  #hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 0;
  }
}

/* =========================
   ANIMATION
========================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero h1,
#hero p,
.btn {
  animation: fadeInUp 0.8s ease forwards;
}

/* IMAGE FIX */
img {
  max-width: 100%;
  height: auto;
  display: block;
}