/* ===== Google Fonts ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ===== General Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #f9f9f9;
  color: #222;
}

/* ===== Scroll to Top Button ===== */
.scroll-button {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
  display: none;
}

.scroll-button a {
  background: #ff5ca1;
  color: #fff;
  font-size: 22px;
  padding: 12px 16px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.scroll-button a:hover {
  background: #ff2e85;
}

/* ===== Navigation Bar ===== */
/* ===== Navigation Bar ===== */
nav {
  width: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 16px 0; /* slightly more padding for a bolder header */
  transition: all 0.3s ease;
  border-bottom: 2px solid #ff5ca1; /* adds a subtle accent line */
}

nav.sticky {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== Logo ===== */
.logo a {
  color: #ff5ca1;
  font-size: 28px; /* larger for more presence */
  font-weight: 800; /* bolder font */
  text-transform: uppercase; /* optional: makes it stand out */
  letter-spacing: 1px; /* improves readability */
  text-decoration: none;
}

/* ===== Menu ===== */
.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 25px;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 600; /* make links slightly bolder */
  font-size: 16px;
  transition: all 0.3s ease;
}

.menu li a:hover {
  color: #ff5ca1;
  text-decoration: underline; /* makes hover state more visible */
}

/* ===== Mobile Menu Buttons ===== */
.menu-btn, .cancel-btn {
  display: none;
  color: #333;
  font-size: 25px;
  cursor: pointer;
}

.media-icons {
  display: flex;
  align-items: center;
}

.media-icons a {
  color: #333;
  margin-left: 12px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.media-icons a:hover {
  color: #ff5ca1;
}


/* ===== Responsive Fixes ===== */
@media (max-width: 768px) {
  .menu {
    display: none; /* you can toggle this with JS if you have a mobile menu */
  }

  .menu-btn {
    display: block;
  }
}


/* ===== Home Section ===== */
.home {
  width: 100%;
  height: 100vh;
  background: linear-gradient(to right, #ffe4ee, #fff);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.home-content {
  text-align: center;
}

.text-one {
  font-size: 20px;
  color: #555;
}

.text-two {
  font-size: 42px;
  font-weight: 700;
  color: #ff2e85;
  margin-top: 10px;
}

.text-three {
  font-size: 20px;
  color: #555;
  margin: 8px 0;
}

.text-four {
  font-size: 18px;
  color: #666;
}

.home button {
  background: #ff5ca1;
  color: #fff;
  padding: 12px 28px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  margin-top: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.home button:hover {
  background: #ff2e85;
}

/* ===== About Section ===== */
.about {
  padding: 100px 20px;
  background: #fff;
}

.about .content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.about .left {
  flex: 1;
  text-align: center;
}

.about .left img {
  width: 300px;
  border-radius: 20px;
}

.about .right {
  flex: 1;
  padding: 20px;
}

.about .topic {
  font-size: 22px;
  font-weight: 600;
  color: #ff5ca1;
  margin-bottom: 15px;
}

.about p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.about button a {
  color: #fff;
  text-decoration: none;
}

.about button {
  margin-top: 20px;
  background: #ff5ca1;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.about button:hover {
  background: #ff2e85;
}
.about .about-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row-reverse; /* 👈 reverses image and text */
}

/* ===== Skills Section ===== */
.skills {
  padding: 100px 20px;
  background: #ffeaf3;
}

.skills .title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #ff2e85;
  margin-bottom: 40px;
}

.skills-details {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.skills .text {
  flex: 1;
  padding: 20px;
}

.skills .text .topic {
  font-size: 22px;
  color: #ff5ca1;
  margin-bottom: 10px;
}

.skills .boxes {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.skills .box {
  background: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.skills .box .topic {
  font-weight: 600;
  color: #333;
}

.skills .per {
  font-size: 18px;
  color: #ff5ca1;
  font-weight: 500;
  margin-top: 5px;
}
.skills .skills-details .experience{
  display: flex;
  align-items: center;
  margin: 0 10px;
}
.skills-details .experience .num{
  color:#ff5ca1;
  font-size: 80px;
}
.skills-details .experience .exp{
  color:Black;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0 6px;
}

/* ===== Services Section ===== */
.services {
  padding: 100px 20px;
  background: #fff;
}

.services .title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #ff2e85;
  margin-bottom: 40px;
}

.services .boxes {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.services .box {
  background: #ffeaf3;
  border-radius: 15px;
  padding: 30px;
  transition: 0.3s;
}

.services .box:hover {
  transform: translateY(-5px);
}

.services .icon {
  font-size: 35px;
  color: #ff2e85;
  margin-bottom: 15px;
}

.services .topic {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.services p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact {
  padding: 100px 20px;
  background: #ffeaf3;
  text-align: center;
}

.contact .title {
  font-size: 28px;
  font-weight: 600;
  color: #ff2e85;
  margin-bottom: 20px;
}

.contact p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
  margin: 15px auto;
}

.contact button {
  background: #ff5ca1;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  margin-top: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.contact button:hover {
  background: #ff2e85;
}

/* ===== Modal Styling ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  transition: opacity 0.3s ease;
}

.modal-content {
  background: #fff;
  margin: 8% auto;
  padding: 20px 30px;
  border-radius: 15px;
  max-width: 500px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.close {
  color: #ff2e85;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  cursor: pointer;
}

.close:hover {
  color: #ff5ca1;
}

.decor input, .decor textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.decor button {
  background: #ff5ca1;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
}

.decor button:hover {
  background: #ff2e85;
}

/* ===== Footer ===== */
footer {
  background: #ff2e85;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 15px;
}

/* ===== Scroll Reveal Animation ===== */
section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 950px) {
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    background: #fff;
    width: 60%;
    height: 100%;
    flex-direction: column;
    text-align: center;
    transition: all 0.4s ease;
    padding-top: 100px;
  }

  .navbar.active .menu {
    right: 0;
  }

  .menu li {
    margin: 25px 0;
  }

  .menu-btn {
    display: block;
  }

  .cancel-btn {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
  }

  .skills-details {
    flex-direction: column;
  }

  .about .content {
    flex-direction: column;
  }
}