/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background-color: #111;
  line-height: 1.6;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Buttons */
.btn {
  display: inline-block;
  padding-left: 0.6rem;
    padding-right: 0.6rem;
  background-color: #69bd45;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #57a638;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #69bd45;
  color: #69bd45;
}

.btn-outline:hover {
  background-color: #69bd45;
  color: #000;
}

/* ========== HEADER & NAV ========== */
header {
  background-color: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Nav container */
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  flex-wrap: wrap;
}

/* Logo + Hero wrapper */
.logo-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo {
  max-width: 30%;
}

/* Hero content inline */
.hero-inline {
  display: flex;
  flex-direction: column;
}

.headline {
  font-size: 1.5rem;
  background: linear-gradient(45deg, #69bd45, #a6e263);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.subtext {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 0.6rem;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: 0.6rem;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2rem;
  padding-top: 10px;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #69bd45;
}

/* ========== PORTFOLIO SECTION ========== */
#portfolio {
  padding: 4rem 5%;
  background-color: #111;
  text-align: center;
}

#portfolio h2 {
  font-size: 2rem;
  color: #69bd45;
  margin-bottom: 2rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Portfolio Items */
.portfolio-item {
  background-color: #1b1b1b;
  padding: 0.8rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.portfolio-item img:hover {
  transform: scale(1.05);
}

  /* Lightbox Overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
    cursor: zoom-out;
}

/* Enlarged Image */
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

/* Lightbox Fade-In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== ABOUT SECTION ========== */
#about {
  padding: 4rem 5%;
  background-color: #181818;
  text-align: center;
}

#about h2 {
  color: #69bd45;
  font-size: 2rem;
  margin-bottom: 1rem;
}

#about p {
  max-width: 700px;
  margin: 0 auto;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.7;
}
/* ========== SKILLS SECTION ========== */
#skills {
  padding: 4rem 5%;
  background-color: #181818;
  color: #fff;
  text-align: left; /* Left align text */
  max-width: 700px;
  margin: 0 auto; /* Centers the whole block */
}

#skills h2 {
  font-size: 2rem;
  color: #69bd45;
  margin-bottom: 1rem;
  text-align: center;
}

.skills-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.skills-list li {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  padding-left: 1.2rem;
  position: relative;
}

/* Custom bullet using green accent */
.skills-list li::before {
  content: "•";
  color: #69bd45;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Contact Section */
#contact {
  background: #111; /* dark background to make green pop */
  padding: 80px 20px;
  text-align: center;
  border-top: 3px solid #69bd45;
  border-bottom: 3px solid #69bd45;
}

#contact .section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #69bd45;
  background: linear-gradient(135deg, #69bd45, #3a7d24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#contact .contact-text {
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 40px;
}

/* Form Container */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #111;
  color: #fff;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #69bd45;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  background: #69bd45;
  color: #fff;
  padding: 12px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form .btn:hover {
  background: #57a63a;
}

.form-status {
  margin-top: 15px;
  font-size: 1rem;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  color: #69bd45;
}

.form-status.error {
  display: block;
  color: #ff4b4b;
}

/* Inputs & Textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #333;
  border-radius: 10px;
  background: #222;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #69bd45;
  outline: none;
  box-shadow: 0 0 10px #69bd45;
}

/* Textarea Height */
.contact-form textarea {
  resize: none;
  height: 140px;
}

/* Button Styling */
.contact-form .btn {
  background: #69bd45;
  color: #fff;
  padding: 14px 25px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(105, 189, 69, 0.3);
}

.contact-form .btn:hover {
  background: #57a63b;
  box-shadow: 0 6px 20px rgba(105, 189, 69, 0.5);
  transform: translateY(-2px);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 20px;
}

.social-links a {
  color: #69bd45;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  #contact {
    padding: 4rem 5%;
  }

  .contact-form {
    width: 100%;
  }

  .social-links {
    flex-direction: column;
    gap: 0.8rem;
  }
}
@media (min-width: 768px) {
  .skills-list {
    columns: 2;
    column-gap: 3rem;
  }
}

/* ========== FOOTER ========== */
footer {
  background-color: #000;
  padding: 1.5rem 5%;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #222;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  /* Stack logo + hero vertically */
  .logo-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    }
    .logo {
      max-width: 100%;
    }
    }

  /* Smaller headline & text */
  .headline {
    font-size: 1.3rem;
  }

  .subtext {
    font-size: 0.85rem;
  }

  /* Portfolio grid adjusts */
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }


}