* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 15px 30px;
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

/* Logo */
.logo {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  animation: fadeInLeft 1s ease;
}

.logo small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  color: #f4b400;
}

/* Nav links */
.nav-links {
  z-index: 999;
  transition: transform 0.4s ease, opacity 0.4s ease;
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  position: relative;
}

/* Hover animation */
.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #f4b400;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Menu icon */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: 0.4s;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: 0.4s ease;
  }

  .nav-links.show {
    transform: translateY(0);
    opacity: 1;
  }

  .menu-icon {
    display: flex;
  }
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Hero Section with Profile */
.hero {
  width: 100%;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111; /* dark background */
  color: #fff;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
}

.hero-image img {
  width: 300px;
  border-radius: 10px;
  border: 3px solid #2ecc71; /* elegant green border */
  animation: fadeInLeft 1s ease;
}

.hero-text {
  max-width: 600px;
  animation: fadeInRight 1s ease;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #2ecc71; /* green title for style */
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #ddd;
}

.hero-text .btn {
  text-decoration: none;
  padding: 12px 30px;
  background: #2ecc71; /* green button */
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.3s;
}

.hero-text .btn:hover {
  background: #3EB489; /* hover lighter green */
  color: #fff;
}

/* Animations */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-image img {
    width: 200px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }
}


.hero-image img {
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.5);
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}



.menu-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links li a:focus,
.hero-text .btn:focus {
  outline: 2px solid #2ecc71;
  outline-offset: 2px;
}


/* About Section */
.about {
  padding: 80px 20px;
  background: #f8f8f8;
  color: #111;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.about-image img {
  width: 250px; /* adjust size as needed */
  height: 250px; /* make height equal to width for a perfect circle */
  border-radius: 50%; /* makes it circular */
  border: 3px solid #2ecc71;
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.2);
  animation: fadeInLeft 1s ease;
  object-fit: cover; /* ensures the image fits nicely in the circle */
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

  
.about-image img:hover {
  transform: scale(1.05);
}

.about-text {
  max-width: 600px;
  animation: fadeInRight 1s ease;
}

.about-text h2 {
  font-size: 36px;
  color: #2ecc71;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
}

.about-text .skills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.about-text .skills li {
  background: #2ecc71;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  transition: background 0.3s;
}

.about-text .skills li:hover {
  background: #3EB489;
}

.about-text .btn {
  text-decoration: none;
  padding: 12px 30px;
  background: #2ecc71;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.3s;
}

.about-text .btn:hover {
  background: #3EB489;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-image img {
    width: 250px;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 16px;
  }
}


/* ABOUT SECTION */
.about {
  padding: 100px 20px;
  background: #fff;
}

.about-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

/* Image side */
.about-image {
  width: 280px;
  height: 280px;
  margin: auto;
  border-radius: 50%;
  border: 4px solid #2ecc71;
  overflow: hidden;
  animation: scaleIn 1s ease;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text side */
.about-tag {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 3px;
  color: #2ecc71;
  font-weight: 600;
}

.about-right h2 {
  font-size: 38px;
  margin: 15px 0;
  color: #111;
}

.about-right p {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Skills */
.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.about-skills span {
  padding: 8px 16px;
  border: 1px solid #2ecc71;
  border-radius: 20px;
  font-size: 14px;
  color: #2ecc71;
  transition: 0.3s;
}

.about-skills span:hover {
  background: #2ecc71;
  color: #fff;
}

/* Animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-right h2 {
    font-size: 30px;
  }
}


/* Testimonials Section */
.testimonials {
  padding: 80px 20px;
  background: #111;
  color: #fff;
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 50px;
  color: #2ecc71;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.testimonial-card {
  background: #1a1a1a;
  padding: 30px 25px;
  border-radius: 15px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeUp 1s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(46, 204, 113, 0.25);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2ecc71;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 20px;
}

.testimonial-card h4 {
  font-size: 18px;
  color: #2ecc71;
  margin-bottom: 5px;
}

.testimonial-card span {
  font-size: 14px;
  color: #aaa;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
}

/* Section title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 40px 0 20px;
  color: #333;
  font-family: 'Arial', sans-serif;
}

/* Gallery container */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px 50px;
}

/* Each gallery item */
.gallery-item {
  overflow: hidden;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}

/* Images styling - fully visible now */
.gallery-item img {
  width: 100%;
  height: auto;        /* Let height adjust automatically */
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effects */
.gallery-item:hover img {
  transform: scale(1.05);  /* Slight zoom on hover */
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Optional: subtle overlay on hover */
.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

.contact {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.contact p {
  font-size: 16px;
  margin-bottom: 30px;
}

form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

input, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
}

input:focus, textarea:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #45a049;
  transform: translateY(-3px);
}

.form-message {
  margin-top: 15px;
  font-weight: bold;
  color: green;
}

.social-media {
  text-align: center;
  margin: 50px 0;
}

.social-media h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons a {
  font-size: 2rem;
  color: #111;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.3);
  color: #ff6f61; /* your hover color */
}
