:root {
  --primary-color: #a855f7;
  --primary-color-dark: #9333ea;
  --secondary-color: #ca8a04;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --extra-light: #faf5ff;
  --max-width: 1200px;
  --section-padding: 4rem 1rem;
}

/* Reset & Basic Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: rgb(244, 248, 246);
  scroll-behavior: smooth;
}

/* Navigation */
nav {
  width: 100%;
  height: 45px;
  background-color: #3c5e50;
  position: relative;
  z-index: 99;
}
.nav__content {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 45px;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav .logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  transition: 0.3s;
}
nav .logo a:hover {
  color: var(--primary-color-dark);
}
nav .checkbox {
  display: none;
}
nav input {
  display: none;
}
nav .checkbox i {
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  transition: left 0.3s;
}
ul li a {
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  transition: 0.3s;
}
ul li a:hover {
  border-top-color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

/* Mobile Navigation */
@media (max-width: 750px) {
  nav .checkbox {
    display: block;
  }
  ul {
    position: absolute;
    width: 100%;
    height: calc(100vh - 85px);
    left: -100%;
    top: 85px;
    background-color: var(--text-dark);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
  }
  nav #check:checked ~ ul {
    left: 0;
  }
  ul li a {
    font-size: 1.25rem;
  }
}

/* Section Base Styles */
.section {
/*   padding: var(--section-padding); */
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}
.section:last-of-type {
  border-bottom: none;
}
.section-light {
  background-color: #f9f9f9;
}
.section-header {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  position: relative;
}
.section-header::before,
.section-header::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 2px;
  background: var(--primary-color);
  top: 50%;
}
.section-header::before {
  left: 0;
}
.section-header::after {
  right: 0;
}

/* Home / Landing Section */
#Home {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.home-background {
  background: url('image/main.jpg') no-repeat center center/cover;
  width: 100%;
  height: 100%;
  position: relative;
}
.home-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.section__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}
.section__text .subtitle {
  font-size: 1.5rem;
  font-weight: 600;
}
.section__text .title {
  font-size: 3rem;
  margin: 1rem 0;
}
.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.btn {
  font-weight: 600;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
  border: 0.1rem solid rgb(53, 53, 53);
  cursor: pointer;
  transition: all 300ms ease;
}
.btn-color-1:hover,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: #fff;
}

/* Social Icons */
#socials-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
#socials-container img {
  border-radius: 50%;
  cursor: pointer;
}

/* About Section */
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.about-img {
  max-width: 300px;
  border-radius: 10px;
}
.about-content {
  max-width: 600px;
/*   text-align: left; */
}
.info-card {
  background: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.info-card h3 {
  margin-bottom: 0.5rem;
}
.info-text {
  margin-top: 1rem;
}

/* Education Section */
.education-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.education-card {
  background: #fff;
  padding: 1.5rem;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}
.education-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.edu-date {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Experience Section */
.experience-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.experience-card {
  background: #fff;
  padding: 1.5rem;
  width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}
.experience-card h3 {
  margin-bottom: 1rem;
}
.experience-card ol {
  padding-left: 1.2rem;
  line-height: 1.6;
}

/* Skills Section */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.skill-group {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}
.skill-group h3 {
  margin-bottom: 1rem;
}
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.skill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.skill-item img {
  flex-shrink: 0;
}

/* Projects Section */
.project-slider {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: var(--max-width);
  margin: 2rem auto;
}
.project-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}
.project {
  flex: 0 0 100%;
  padding: 20px;
  text-align: center;
  min-width: 50%;
}
.project img {
  width: 100%;
  height: auto;
}
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  font-size: 18px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border: none;
  z-index: 1;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Graphic Designs Section */
.design-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.design-item {
  width: 280px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.design-item:hover {
  transform: scale(1.05);
}
.design-item img {
  width: 100%;
  display: block;
}
.design-item h3 {
  padding: 1rem;
  font-size: 1.5rem;
  color: var(--text-dark);
}

/* Contacts Section */
.contact-container {
  max-width: 600px;
  margin: 0 5px;
  text-align: left;
}
.contact-info {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info div h4 {
  margin-bottom: 0.3rem;
}

/* Footer */
#footer {
  background: #040b14;
  color: #f4f6fd;
  padding: 15px;
  text-align: center;
}
#footer p {
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-header {
    font-size: 2rem;
  }
  .about-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .education-card, .experience-card, .skill-group {
    width: 90%;
  }
  .project {
    min-width: 80%;
  }
}
