/* -------------------- Base Reset -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

@media (max-width: 480px) {
  html {
    font-size: 90%;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1e1e2f, #2c3e50);
  color: #ffffff;
  overflow-x: hidden;
  padding-top: 80px;
}

/* -------------------- Navbar -------------------- */
.navbar {
  width: 100%;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  left: 0;
  background: #1e1e2f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.navbar .logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #00bcd4;
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
}

/* -------------------- Hero Section -------------------- */

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #0f172a; /* dark background */
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 700px;
}

.tagline {
  font-size: 1.1rem;
  color: #38bdf8; /* sky blue */
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 10px 0;
}

.hero h1 span {
  color: #facc15; /* yellow accent */
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #cbd5e1;
}

.buttons .btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 0 10px;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.btn.primary {
  background-color: #38bdf8;
  color: #0f172a;
  font-weight: bold;
}

.btn.outline {
  border: 2px solid #38bdf8;
  color: #38bdf8;
  background: transparent;
}

.btn:hover {
  transform: scale(1.05);
}

/* -------------------- About Section -------------------- */
.about-section {
  padding: 80px 20px;
  background-color:#2c3e50;
  color: #e6f0f9;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-content {
  text-align: left;
}

.section-subtitle {
  color:#38bdf8;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-content p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-quote {
  margin: 25px 0;
  font-style: italic;
  background-color: #e0f2fe;
  color: #032871;
}

.about-details ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about-details li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.about-details a {
  color: #38bdf8;
  text-decoration: none;
}

.about-details a:hover {
  text-decoration: underline;
}

.interests {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.interests h4 {
  flex-basis: 100%;
  margin-bottom: 10px;
  font-weight: 600;
}

.interests span {
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-img img {
    margin: 0 auto;
  }

  .about-content {
    text-align: center;
  }

  .about-details {
    text-align: center;
  }
}


/* -------------------- Skills Section -------------------- */
.skills-section {
  background: #1e1e2f;
  padding: 60px 20px;
  text-align: center;
  scroll-margin-top: 80px;
}

.skills-section h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 40px;
  font-weight: 700;
  color: #ffffff;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  justify-items: center;
}

.skill-card {
  background: #2c3e50;
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 180px;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.skill-icon {
  width: 120px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill-card h4 {
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
}

.level-label {
  font-size: 14px;
  font-weight: 600;
  color: #aaaaaa;
}

/* -------------------- Education Section -------------------- */
.education-section {
  padding: 80px 20px;
  background: #2c3e50;
  color: #ffffff;
  text-align: center;
}

.education-section h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 40px;
  font-weight: 700;
}

.education-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.education-card {
  background: #1e1e2f;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  width: 300px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  transition: transform 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
}

.edu-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto 15px;
  border-radius: 10px;
}

/* -------------------- Internship Section -------------------- */
.Internship-section {
  padding: 80px 20px;
  background: #1e1e2f;
  color: #ffffff;
  text-align: center;
}

.Internship-section h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 40px;
  font-weight: 700;
}

.Internship-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.Internship-card {
  background: #2c3e50;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  width: 300px;
  text-align: left;
}

.Internship-card h3 {
  color: #00bcd4;
  margin-bottom: 10px;
  font-size: 20px;
}

.Internship-card p {
  margin: 6px 0;
  font-size: 14px;
  color: #dddddd;
}

/* -------------------- Footer -------------------- */
.footer {
  background-color: #0d0d0d;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.footer h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.footer p {
  margin: 10px 0;
}

.social-icons {
  margin: 20px 0;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  margin: 0 10px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #00bcd4;
}

.footer .copyright {
  margin-top: 15px;
  font-size: 14px;
  color: #bbb;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    max-width: 100%;
  }

  .hero-left {
    margin-bottom: 40px;
  }

  .navbar {
    padding: 15px 20px;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 20px;
    background: #2c3e50;
    flex-direction: column;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    display: none;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .education-grid {
    flex-direction: column;
    align-items: center;
  }

  .about-grid {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 28px;
  }
  section {
  margin-bottom: 60px;
}

}
