/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 80px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hero-logo img {
  height: 40px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #808000;
}

/* ===== HAMBURGER BUTTON ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #000;
  cursor: pointer;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 60px 100px;
  text-align: center;
}

.about h3 {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #808000;
}

.about h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Layout */
.about-container {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: left;
}

/* Profile Image */
.about-img img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #808000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* About Content */
.about-content {
  flex: 1;
  min-width: 350px;
}

.about-content h2 {
  font-size: 26px;
  margin-bottom: 15px;
}

.about-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 16px;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.info-grid div {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-grid a {
  color: #808000;
  text-decoration: none;
}

/* ===== BUTTON ===== */
.resume-btn-container {
  margin-top: 20px;
}

.resume-btn-container .btn {
  display: inline-block;
  background-color: #4f6364;
  color: #fff;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
}

.resume-btn-container .btn:hover {
  background-color: #808000;
  color: #000;
  transform: translateY(-2px);
}
/* ===== Skills Section ===== */
.skills {
  text-align: center;
  padding: 70px 20px;
  background: #f9fafc;
}

.skills h3 {
  font-size: 18px;
  color: #808000;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.skills h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
}

.subheading {
  font-size: 22px;
  margin: 40px 0 20px;
  color: #808000;
  font-weight: 600;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.skill-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.skill-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  object-fit: contain;
}

.skill-card h4 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

.stars {
  color: #fbc02d;
  font-size: 18px;
}

/* ===== UPDATED FOOTER (Same as Projects Page) ===== */
.footer {
  background: #2b3035;
  color: #dcdcdc;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left .social-logos,
.footer-right .social-logos {
  display: flex;
  gap: 12px;
}

.footer-left .social-logos a,
.footer-right .social-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #444;
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
  text-decoration: none !important; /* Removes underline */
  color: #fff;
}

.footer-left .social-logos a:hover {
  transform: scale(1.1);
  background: #808000;
}
.footer-right .social-logos a:hover {
  transform: scale(1.1);
  background: #808000;
}

.footer-right .social-logos a img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-center p {
  margin: 3px 0;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #aaa;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  header {
    padding: 15px 40px;
  }

  .about {
    padding: 60px 30px;
  }

  .about-container {
    gap: 30px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
    z-index: 200;
  }

  nav {
    position: fixed;
    top: 65px;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #fff;
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    display: flex;
    justify-content: center;
    padding-top: 50px;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
  }

  .about {
    padding: 50px 25px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    width: 220px;
    height: 220px;
  }

  .about-content {
    text-align: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }

  .about {
    padding: 40px 20px;
  }

  .about h2 {
    font-size: 22px;
  }

  .about-content p {
    font-size: 15px;
  }

  .about-img img {
    width: 180px;
    height: 180px;
  }

  .resume-btn-container .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .footer-left .social-logos a,
  .footer-right .social-logos a {
    width: 40px;
    height: 40px;
    font-size: 16px;
    
  }

  .footer-center p {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* ===== ACCESSIBILITY & SMOOTH SCROLL ===== */
nav ul li a:focus,
.resume-btn-container .btn:focus,
.footer-left .social-logos a:focus,
.footer-right .social-logos a:focus {
  outline: 2px solid #808000;
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

/* ===== ABOUT SECTION FIXED LAYOUT ===== */
.about-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.about-img {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
}

.about-img img {
  width: 100%;
  max-width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #808000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-content {
  flex: 1;
  min-width: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

@media (max-width: 1200px) {
  .about-container {
    gap: 30px;
    flex-wrap: wrap;
  }
}
