/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: #080808;
  color: #fff;
}

/* ===== Header ===== */
#header {
  width: 100%;
  height: 100vh;
  background-image: url(images/background.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.container {
  padding: 10px 10%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
}

nav ul {
  display: flex;
  gap: 20px;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  position: relative;
}

nav ul li a::after {
  content: '';
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

/* ===== Hamburger Menu ===== */
.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* ===== Header Text ===== */
.header-text {
  margin-top: 20%;
  font-size: 30px;
}

.header-text h1 {
  font-size: 60px;
  margin-top: 20px;
}

.header-text p span {
  color: #ff004f;
}

/* ===== About Section ===== */
#about {
  padding: 80px 0;
  color: #ababab;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  flex-basis: 35%;
}

.about-col-1 img {
  width: 100%;
  border-radius: 20px;
}

.about-col-2 {
  flex-basis: 60%;
}

.sub-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
}

.about-col-2 p {
  line-height: 1.5;
  font-size: 18px;
}

.tab-titles {
  display: flex;
  margin: 20px 0 40px;
}

.tab-links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: '';
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}

.tab-links.active-link::after {
  width: 50%;
}

.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}

.tab-contents ul li span {
  color: #b54769;
  font-size: 20px;
}

.tab-contents {
  display: none;
}

.tab-contents.active-tab {
  display: block;
}
.skills-grid{
  display:flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.skills-grid ul{
    flex: 1 1 300px;
    min-width: 250px;
    list-style-type: disc;
}

/* ===== Portfolio Section ===== */
#portfolio {
  padding: 50px 0;
  color: #ababab;
}

.work-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
}

.work {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  flex: 1 1 250px;
}

.work img {
  width: 100%;
  border-radius: 20px;
  display: block;
  transition: transform 0.5s;
}

.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), #ff004f);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
}
.layer h3{
  font-weight: 500;
  margin-bottom: 20px;
  color: #fff;
}
.layer p {
  margin-bottom: 20px;
  color: #fff;

}
.layer a {
  margin-top: 20px;
  color: #ff004f;
  text-decoration: none;
  font-size: 16px;
  background: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
}

.work:hover img {
  transform: scale(1.1);
}

.work:hover .layer {
  height: 100%;
}
/* ===== Achievements ===== */
#achievements-section {
  margin-top: 50px;
  padding: 0 20px;
}

#achievements-section .sub-title {
  font-size: 40px;
  font-weight: 600;
  padding: 0 150px;
  color: #fff;
  margin-bottom: 10px;
}

#achievements-section .description {
  color: #ababab;
  font-size: 18px;
  padding: 0 150px;
  margin-bottom: 30px;
}

.splide__slide img {
  max-height: 400px;
  object-fit: contain;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}



/* ===== Contact Section ===== */
.contact-left,
.contact-right {
  flex-basis: 45%;
}

.contact-left p {
  margin-top: 30px;
}

.contact-left p i {
  color: #ff004f;
  margin-right: 15px;
  font-size: 25px;
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  text-decoration: none;
  color: #ababab;
  font-size: 30px;
  margin-right: 15px;
  display: inline-block;
  transition: transform 0.5s;
}

.social-icons a:hover {
  color: #ff004f;
  transform: translateY(-5px);
}

.btn {
  display: inline-block;
  background: #ff004f;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  margin-top: 15px;
}

form input,
form textarea {
  width: 100%;
  padding: 15px;
  outline: none;
  margin: 15px 0;
  border: 0;
  border-radius: 5px;
  background: #1a1a1a;
  color: #fff;
  font-size: 18px;
}

.copyright {
  width: 100%;
  text-align: center;
  padding: 25px 0;
  background: #1a1a1a;
  font-weight: 300;
  margin-top: 20px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    display: none;
    padding: 10px 0;
  }

  nav ul.show {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .header-text {
    margin-top: 50%;
    font-size: 22px;
  }

  .header-text h1 {
    font-size: 35px;
  }

  .row,
  .tab-titles {
    flex-direction: column;
  }

  .about-col-1,
  .about-col-2,
  .contact-left,
  .contact-right {
    flex-basis: 100%;
  }

  .tab-links {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .work-list {
    flex-direction: column;
  }

  .social-icons a {
    font-size: 24px;
  }

  .btn {
    font-size: 16px;
    padding: 10px 15px;
  }

  form input,
  form textarea {
    font-size: 16px;
  }
}
