/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}


body {
  background: #fff;
  color: #222;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  background: #fff;
}

.logo img {
  height: 42px;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  font-weight: 600;
  color: #111;
}

nav a.active {
  color: #6a1b9a;
}

.quote-btn {
  background: linear-gradient(135deg, #7b2cbf, #f26b8a);
  padding: 10px 22px;
  border-radius: 6px;
  color: #fff;
}
/* HERO */
.about-hero {
  width: 100%;
  height: 280px;

  background: linear-gradient(
    90deg,
    #f0627e 0%,
    #d6538c 50%,
    #8e2f6f 100%
  );

  /* IMPORTANT PART */
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}


.about-hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-hero p {
 color: #fff;
 font-weight: bold;
  font-size: 25px;
  opacity: 0.9;
}

/* CONTENT */
.about-content {
  display: flex;
  gap: 60px;
  padding: 100px 8%;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text .tag {
  font-size: 14px;
  color: #6a1b9a;
  font-weight: 600;
}

.about-text h2 {
  font-size: 36px;
  margin: 15px 0;
}

.about-text p {
  color: #666;
  line-height: 1.7;
}

/* SKILLS */
.skill {
  margin-top: 25px;
}

.skill-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.bar {
  height: 8px;
  background: #eee;
  border-radius: 20px;
  margin-top: 8px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #6a1b9a, #d16cff);
}

/* IMAGE */
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 18px;
}

/* =========================
   WHATSAPP BUTTON (OPTIONAL)
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;

  background: linear-gradient(45deg, #350068, #ff6978);
  color: #fff;

  padding: 12px 18px;
  border-radius: 40px;

  display: flex;
  align-items: center;
  gap: 10px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 9999;

  text-decoration: none;
  font-weight: 600;
  font-size: 14px;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* ICON */
.whatsapp-float img {
  width: 28px;
  height: 28px;
}

/* TEXT */
.whatsapp-float span {
  white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
  }

  .about-hero h1 {
    font-size: 36px;
  }
}
/* ===============================
   GLOBAL RESPONSIVE IMPROVEMENTS
=============================== */

/* Make images never overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent content from touching edges on small screens */
body {
  overflow-x: hidden;
}

/* ===============================
   TABLET (Below 1024px)
=============================== */
@media (max-width: 1024px) {

  .about-content {
    gap: 40px;
    padding: 70px 6%;
  }

  .about-hero h1 {
    font-size: 40px;
  }

  .about-hero p {
    font-size: 20px;
  }
}

/* ===============================
   MOBILE (Below 768px)
=============================== */
@media (max-width: 768px) {

  /* NAVBAR STACK */
  /* ===== NAVBAR SAME AS HOMEPAGE ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  position: relative;
  background: #fff;
}

.logo img {
  height: 42px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #111;
}

.nav-links a.active {
  color: #6a1b9a;
}

/* BUTTON */
.quote-btn {
  background: linear-gradient(135deg, #7b2cbf, #f26b8a);
  padding: 10px 22px;
  border-radius: 6px;
  color: #fff;
}


  nav a {
    margin-left: 0;
    margin: 0 10px;
    font-size: 14px;
  }

  .quote-btn {
    padding: 8px 18px;
    font-size: 14px;
  }

  /* HERO SECTION */
  .about-hero {
    height: auto;
    padding: 60px 20px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  .about-hero h1 {
    font-size: 30px;
  }

  .about-hero p {
    font-size: 16px;
  }

  /* ABOUT CONTENT STACK */
  .about-content {
    flex-direction: column;
    padding: 60px 20px;
    gap: 40px;
    text-align: center;
  }

  .about-text h2 {
    font-size: 26px;
  }

  .about-text p {
    font-size: 15px;
  }

  /* SKILL BARS */
  .skill-head {
    font-size: 13px;
  }

  /* WHATSAPP BUTTON */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .whatsapp-float img {
    width: 22px;
    height: 22px;
  }
}

/* ===============================
   SMALL PHONES (Below 480px)
=============================== */
@media (max-width: 480px) {

  .about-hero h1 {
    font-size: 24px;
  }

  .about-hero p {
    font-size: 14px;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .navbar {
    padding: 15px 5%;
  }

  nav a {
    display: inline-block;
    margin: 5px 8px;
  }
}
/* ===== MOBILE NAV MENU SYSTEM ===== */

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #111;
}

/* MOBILE MENU */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  nav {
    display: none; /* hide old nav if still applied */
  }

  .nav-links {
    position: absolute;
    top: 75px;
    right: 0;
    background: #fff;
    width: 220px;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: 0.3s ease;
  }

  .nav-links.show {
    transform: translateX(0);
  }

  .nav-links li {
    margin-bottom: 15px;
  }
}
