* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --cream: #fafafa;
  --dark: #2c2c2c;
  --accent: #CF9FFF;
  --light-gray: #f9f6f1;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  color: var(--dark);
}

/* NAVBAR */
.navbar {
  background-color: var(--cream);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.navbar-brand {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark) !important;
  letter-spacing: 1px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--dark) !important;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* HERO */
.hero {
  height: auto;
  padding: 120px 0 60px;
  background-color: var(--cream);
  display: flex;
  align-items: center;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: 'Quicksand', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

.hero h1 span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background-color: var(--accent);
  color: white;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-primary-custom:hover {
  background-color: purple;
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline-custom:hover {
  background-color: var(--accent);
  color: white;
}

.hero-img {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  object-position: top;
  border-radius: 15px;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* GRAPHICS SECTION */
.graphics-section {
  padding: 30px 0;
  background-color: var(--light-gray);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.section-header p {
  font-size: 1rem;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* GRAPHICS SECTION */
.graphics-section {
  padding: 30px 0;
  background-color: #000000;
}

.section-header h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.8rem;
}

.section-header p {
  font-size: 1.2rem;
  color: #aaa;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.graphics-card {
  overflow: hidden;
  border-radius: 5px;
  transition: transform 0.3s;
}

.graphics-card:hover {
  transform: translateY(-5px);
}

.graphics-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
}

.graphics-card p {
  padding: 0.5rem 0;
  font-weight: 600;
  color: white;
  font-size: 1.1rem;
  margin: 0;
  text-align: center;
}

/* PROJECTS SECTION */
.projects-section {
  padding: 60px 0;
  background-color: var(--cream);
}

.projects-section .section-header h2 {
  color: var(--dark);
}

.projects-section .section-header p {
  color: #666;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  background-color: white;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-info {
  padding: 1.2rem;
}

.project-info h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.project-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.project-link:hover {
  color: var(--dark);
}

/* ABOUT SECTION */
.about-section {
  padding: 30px 0;
  background-color: var(--accent);
}

.about-section .subtitle {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-section h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.about-desc {
  font-size: 1rem;
  color:white;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.skill-item i {
  font-size: 2.5rem;
}

.skill-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

/* CONTACT SECTION */
.contact-section {
  padding: 60px 0;
  background: black;
}

.contact-section .subtitle {
  font-size: 1rem;
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-section h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.socials a {
  font-size: 1.5rem;
  color: var(--cream);
  transition: color 0.3s;
}

.socials a:hover {
  color: var(--accent);
}

/* FOOTER */
footer {
  background: black;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  border-top: 2px solid rgba(124, 58, 237, 0.3);
}

/* SCREEN BREAKS */
@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding: 100px 0 40px;
  }

  .hero h1{
  font-size: 2rem;
}

  .hero .subtitle {
    font-size: 0.9rem;
  }
   
  .hero-desc {
    font-size: 0.8rem;
  }

  .hero-btns {
    justify-content: center;
    margin-bottom: 2rem;
  }

  .hero-img {
    width: 60%;
    height: 200px;
    margin: 0 auto;
    display: block;
  }

  .col-lg-6.d-flex.justify-content-end {
    justify-content: center !important;
    margin-top: 2rem;
    display: none !important;
  }
  .about-section {
    text-align: center;
  }

.about-desc {
  font-size: 0.8rem;
}

  .skills {
    justify-content: center;
  }

  .skill-item i {
  font-size: 2rem;
}

  .graphics-card {
  aspect-ratio: 1/1;
  width: 80%;
  margin: 0 auto;
}

.graphics-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.btn-primary-custom, .btn-outline-custom {
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
}

}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-img {
    max-width: 280px;
    height: 280px;
  }

  .col-lg-6.d-flex.justify-content-end {
    justify-content: center !important;
  }

  .graphics-card {
    aspect-ratio: 1/1;
  }

  .graphics-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
}