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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
}


/* =========================
   NAVBAR (PRO STYLE)
========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 40px;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid #eee;

  z-index: 1000;
}

.logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  position: relative;
  transition: 0.3s;
}

/* underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #111;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #111;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Contact button */
.nav-btn {
  padding: 8px 16px;
  border: 1px solid #111;
  border-radius: 20px;
  transition: 0.3s;
}

.nav-btn:hover {
  background: #111;
  color: #fff;
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 120px 10%;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.5px;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  min-height: 90vh;
  background: #fff;
}

/* LEFT SIDE */
.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 42px;
  font-weight: 700;
  color: #111;
}

.hero-left h1 span {
  color: #2563eb;
}

.hero-left h2 {
  font-size: 22px;
  font-weight: 500;
  margin-top: 10px;
  color: #444;
}

.hero-left p {
  margin-top: 15px;
  color: #666;
  line-height: 1.6;
  max-width: 500px;
}

/* BUTTONS */
.hero-buttons {
  margin-top: 25px;
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 18px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.btn-outline {
  padding: 10px 18px;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  border-radius: 6px;
}

/* RIGHT SIDE */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-card {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  background: #fafafa;
}

.hero-card h3 {
  margin-bottom: 10px;
}
/* buttons */
.btn {
  padding: 10px 18px;
  border-radius: 25px;
  border: 1px solid #111;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  color: #111;
}

.btn:hover {
  background: #111;
  color: #fff;
}

.outline {
  border: 1px solid #ccc;
}

.outline:hover {
  border-color: #111;
}

.about-section {
  padding: 60px 20px;
  background: #fff;
}

.container {
  max-width: 800px;
  margin: auto;
}

.about-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}

.about-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

/* =========================
   EDUCATION CARD
========================= */
.education-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.container {
  max-width: 850px;
  margin: auto;
}

.education-section h2 {
  font-size: 28px;
  margin-bottom: 25px;
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}

.edu-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
}

.edu-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.edu-card h4 {
  font-size: 16px;
  color: #2563eb;
  margin-bottom: 5px;
}

.edu-location,
.edu-duration {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.edu-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
}

/* =========================
   PROJECT SECTION
========================= */

#projects {
  padding: 60px 20px;
  background: #f9f9f9;
}

#projects h2 {
  font-size: 28px;
  margin-bottom: 25px;
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}

#projects .edu-card {
  transition: 0.3s ease;
}

#projects .edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

#projects h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #111;
}

#projects h4 {
  font-size: 17px;
  color: #2563eb;
  margin-top: 20px;
  margin-bottom: 10px;
}

#projects p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}

/* GitHub button */
#projects .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #111;
  color: #111;
  transition: 0.3s ease;
}

#projects .btn:hover {
  background: #111;
  color: #fff;
}

/* =========================
   PROJECTS
========================= */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}

/* highlight style for Projects */
.highlight-projects {
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
}

/* small animated dot */
.highlight-projects .dot {
  width: 6px;
  height: 6px;
  background: #2563eb;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.project-section {
  padding: 60px 20px;
  background: #f9f9f9;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1000px;
  margin: auto;
}

.section-title {
  font-size: 28px;
  margin-bottom: 10px;
  color: #111;
}

.project-intro {
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.project-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.project-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
}

.project-box h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.project-box ul {
  padding-left: 20px;
}

.project-description p {
  margin-bottom: 15px;
  color: #444;
  line-height: 1.7;
}

.project-links a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 15px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

.project-links a:hover {
  background: #1e40af;
}


/* =========================
   CONTACT
========================= */
.contact-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}


/* Section Title */
.section h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #111;
}

/* Description */
.section-desc {
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* CONTACT ICON GRID */
.contact-icons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ICON BOX */
.icon-box {
  width: 140px;
  height: 140px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: #111;

  border: 1px solid #e5e5e5;
  border-radius: 14px;

  background: #fff;

  transition: all 0.25s ease;
}

/* ICON IMAGE */
.icon-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

/* TEXT */
.icon-box span {
  font-size: 14px;
  font-weight: 600;
}

/* HOVER EFFECT */
.icon-box:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  color: #2563eb;
}

/* OPTIONAL: smooth icon hover effect */
.icon-box:hover img {
  transform: scale(1.1);
  transition: 0.2s ease;
}


/* SAME STYLE AS ABOUT/EDUCATION */
.highlight-contact {
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
}

/* animated dot (same feel as other sections) */
.highlight-contact .dot {
  width: 6px;
  height: 6px;
  background: #2563eb;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s infinite;
}

/* shared animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid #eee;
  color: #777;
  font-size: 14px;
}


.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.skill {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  transition: 0.3s;
}

.skill img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.skill:hover {
  transform: scale(1.1);
  border-color: #2563eb;
}

.footer {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 25px 20px;
  text-align: center;
  margin-top: 40px;
}

.footer p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
}

.footer-sub {
  font-size: 13px;
  color: #888;
}



/* smooth highlight animation when clicked */
.section-active {
  animation: glowSection 0.6s ease;
}

@keyframes glowSection {
  0% {
    transform: scale(1);
    background-color: transparent;
  }
  30% {
    background-color: rgba(37, 99, 235, 0.08);
    transform: scale(1.01);
  }
  100% {
    background-color: transparent;
    transform: scale(1);
  }
}

.nav-links a {
  transition: 0.3s ease;
}

.nav-links a:active {
  transform: scale(0.95);
}



/* NAVBAR MOBILE FIX */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

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

  .hero-left h1 {
    font-size: 28px;
  }

  .skills-row {
    justify-content: center;
  }

  .edu-card {
    margin: 10px;
  }
}