/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --------------------------------------
   BASE — MOBILE FIRST
-------------------------------------- */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;

  line-height: 1.7;
  text-align: center;
  /* padding-bottom: 4rem; */
}

/* Smooth transitions */
a, button {
  transition: 0.25s ease;
}

/* Images */
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #25d366;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  z-index: 999;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background-color: #1ebe5b;
}
.rouge{font-size: 30px;
color: coral;


}
/* Layout */
.section {
  padding: 60px 20px;
}

/* .section-alt {
  background: linear-gradient(180deg, #d3bdff 0%, #fff 100%);
} */

.container {
  max-width: 1100px;
  margin: 0 auto;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: #111;
}

/* Profile Image */
.profile {
  width: 150px;
  height: 150px;
  margin: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

/* --------------------------------------
   NAVBAR
-------------------------------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
background: linear-gradient(180deg, #d3bdff 0%, #fff 100%);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
}

.nav-links {
  display: none; /* hidden on mobile */
  list-style: none;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: #111827;
  font-weight: 500;
}

.nav-links a:hover {
  color: #007bff;
}

/* --------------------------------------
   HERO SECTION
-------------------------------------- */
main {
  padding: 12em 0;
  background-image: url(glowingsun.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  position: relative;
}

fieldset {
  position: absolute;
  border-radius: 12px;
  padding: 30px 20px;
  color: white;
  font-size: 2rem;
  max-width: 90%;
  margin: auto;
  font-weight: 900;
  top: 1.5em;
  left: 50%;
  transform: translateX(-50%);
  /* background: rgba(0, 0, 0, 0.35); */
  backdrop-filter: blur(4px);
}

.hero {
  padding: 2rem 1.2rem;
  text-align: center;
}

.hero h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

#aboutParagraph {
  font-size: 1.15rem;
  color: #374151;
  margin-bottom: 1.4rem;
  padding: 0 10px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.btn-primary {
  background: #007bff;
  color: #fff;
}

.btn-primary:hover {
  background: #0056b3;
}

.btn-secondary {
  border: 1px solid #111827;
  color: #111827;
}

.btn-secondary:hover {
  background: #111827;
  color: #fff;
}

/* --------------------------------------
   SKILLS
-------------------------------------- */
.skills-grid {
  display: grid;
  gap: 1.2rem;
}

.skill-card {
  /* background: #ffffff; */
  padding: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(119, 118, 118, 0.08);
  transition: transform 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
}

/* --------------------------------------
   PROJECTS[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
-------------------------------------- */
.projects-grid {
  display: grid;
  gap: 1.6rem;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.project-content {
  padding: 1.2rem;
}

.project-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.7rem 1.2rem;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

.project-btn:hover {
  background: #0056b3;
}
/* load            more */
/* styles.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* /////////////////////////////////////////////////////////////////////////////// */

.wrapper {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 16px;
}

h1 {
  margin-bottom: 24px;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-align: left;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.item {
  background: #15171f;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid #232634;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* visible state */
.item.visible {
  opacity: 1;
  transform: translateY(0);
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid #3b82f6;
  background: #111827;
  color: #e5e7eb;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.load-more-btn:hover {
  background: #1d283a;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
}

.load-more-btn:active {
  transform: translateY(1px);
}

.load-more-btn:disabled {
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
}

/* --------------------------------------
   CONTACT
-------------------------------------- */
.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

/* --------------------------------------
   FOOTER
-------------------------------------- */
.footer {
  padding: 2rem 1.2rem;
  background: #111827;
  color: #e5e7eb;
  text-align: center;
  position: relative;
  bottom: -62px;
}

.footer-links {
 
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
@media (max-width: 376px) {
.footer {
  padding: 2rem 1.2rem;
  background: #111827;
  color: #e5e7eb;
  text-align: center;
  position: relative;
  bottom: -62px;
}

h2{margin: 30px 0;}

}
/* --------------------------------------
   BREAKPOINTS
-------------------------------------- */

/* Tablet */
@media (min-width: 600px) {
  .nav-links {
    display: flex;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Laptop */
@media (min-width: 768px) {
  .hero {
    text-align: left;
    align-items: center;
    gap: 2rem;
  }

  #aboutParagraph {
    font-size: 1.3rem;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-content {
    max-width: 750px;
    margin: auto;
  }

  #aboutParagraph {
    font-size: 1.5rem;
  }
}
