/* Reset and Base Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #2563eb;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}
/* desktop menu */
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-menu a:hover {
  color: #2563eb;
}

/* Hamburger (hidden on desktop) */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f3f4f6;
  color: #333;
  padding-top: 80px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight {
  color: #2563eb;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #333;
  border: 2px solid #333;
}

.btn-secondary:hover {
  background: #333;
  color: white;
}

/* Hero Avatar */
.hero-avatar {
  width: 380px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  background: #fff;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1f2937;
}

/* About Section */
.about {
  background: #f9fafb;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #4b5563;
  line-height: 1.8;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.skill-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-5px);
}

.skill-item i {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.skill-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f2937;
}

/* Experience Section */
.experience {
  background: #f9fafb;
}

.experience-content {
  max-width: 800px;
  margin: 0 auto;
}

.experience-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.experience-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
}

.experience-duration {
  background: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.experience-description {
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.experience-highlights {
  list-style: none;
}

.experience-highlights li {
  color: #4b5563;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.experience-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image i {
  font-size: 4rem;
  color: white;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.project-content p {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tech {
  margin-bottom: 1rem;
}

.tech-tag {
  background: #e5e7eb;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #1d4ed8;
}

/* Testimonials Section */
.testimonials {
  background: #f9fafb;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
  font-style: italic;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author h4 {
  font-weight: 600;
  color: #1f2937;
}

.testimonial-author span {
  color: #6b7280;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
}

.faq-question i {
  color: #6b7280;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-answer p {
  color: #4b5563;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Contact Section */
.contact {
  background: #f9fafb;
}

.contact-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}


.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #2563eb;
  width: 40px;
}

.contact-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #2563eb;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px; /* 🔥 increase this number for a larger box */
}


.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: 0.3s ease;
  color: white;
  font-size: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 18px rgba(0,0,0,0.35);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-avatar {
    width: 200px;
    height: 200px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .projects-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Fade Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* Default nav links (desktop) */
.nav-links {
  display: flex;
  gap: 25px;
}

/* Mobile Menu */
@media (max-width: 768px) {

.hamburger {
    display: block;
  }

.nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 200px;
    display: none;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 10px 0 0 10px;
  }

.nav-links.active {
    display: flex;
  }
}
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 80px;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
    }

.hero-avatar {
    width: 380px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin-left: auto;

    /* Soft glow */
    box-shadow: 0px 0px 20px rgba(0, 255, 150, 0.4);

    /* Smooth animation */
    transition: 0.4s ease;
}

.hero-avatar:hover {
    box-shadow: 0px 0px 35px rgba(0, 255, 150, 0.8);
    transform: scale(1.03);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {

  /* Make hero mobile layout center aligned */
  .hero-container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center !important;
      text-align: center;
  }

  .hero-image {
      display: flex;
      justify-content: center;
      width: 100%;
  }

  .hero-avatar {
      margin: 0 auto !important;
      width: 220px;   /* mobile size */
      height: 220px;
  }
}
/* Remove green glow / green shadow */
.hero-avatar img {
    filter: none !important;
    box-shadow: none !important;
}
/* ---------- FORCE-REMOVE GREEN GLOW & SHADOWS ---------- */
/* Put this at the very end of styles.css to override everything */

.hero-avatar,
.hero-avatar:hover,
.hero-image,
.hero-image .hero-avatar {
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
}

/* Remove any image-level drop-shadow or filters */
.hero-avatar img,
.hero-avatar img:hover {
  -webkit-filter: none !important;
  filter: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  /* if a drop-shadow() CSS filter was used */
  filter: none !important;
  /* remove SVG/other effects */
  mix-blend-mode: normal !important;
}

/* Remove any pseudo-element shadows applied to avatar */
.hero-avatar::before,
.hero-avatar::after,
.hero-image::before,
.hero-image::after {
  box-shadow: none !important;
  content: none !important;
  background: transparent !important;
}

/* If you still see color, try forcing a clean background on the wrapper */
.hero-avatar {
  background: #ffffff !important;
}
/* ----------- MOBILE MENU FIX ----------- */
@media (max-width: 768px) {

    /* Hide desktop menu */
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #ffffff;
        width: 200px;
        padding: 15px;
        border-radius: 10px;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
        text-align: left;
        z-index: 999;
    }

    /* Show hamburger button */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        font-size: 28px;
        color: #333;
        z-index: 1000;
    }

    /* When menu is active */
    .nav-menu.active {
        display: flex !important;
    }
}
@media (max-width: 768px) {

    /* Hide desktop menu */
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #ffffff;
        width: 200px;
        padding: 15px;
        border-radius: 10px;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
        text-align: left;
        z-index: 999;
    }

    /* Show hamburger button */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        font-size: 28px;
        color: #333;
        z-index: 1000;
    }

    /* When menu is active */
    .nav-menu.active {
        display: flex !important;
    }
}
.menu-toggle {
  display: none;
}
