/* === Base Reset & Fonts === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4f4f9;
  color: #333;
  scroll-behavior: smooth;
}

.container {
  width: 85%;
  margin: 0 auto;
  padding: 40px 0;
}

h2 {
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 1px;
  position: relative;
}
h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: #00d1ff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1f4037;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #99f2c8;
}

/* === Section Spacing === */
section {
  scroll-margin-top: 100px;
  padding: 60px 0;
}
.hero-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
}

.hero-text {
  max-width: 500px;
  text-align: left;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #00d1ff;
}

.hero-text h2 {
  font-size: 1.8rem;
  margin-top: 10px;
  color: #ffffff;
}

.hero-text p {
  margin: 20px 0;
  font-size: 1.1rem;
  color: #c2c2d1;
}

.hero-text span {
  font-weight: bold;
  color: #99f2c8;
}

.hero-graphic img {
  width: 320px;
  max-width: 100%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }
}


/* === Banner Section === */
#banner {
  padding-top: 100px;
  background: linear-gradient(120deg, #1e1e2f, #0d0d16);
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #00d1ff;
}

.banner-content p {
  font-size: 1.3rem;
  color: #c2c2d1;
  margin-bottom: 25px;
}

.btn-download {
  background-color: #388e3c;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background-color: #2c6b29;
}

/* === Skills Section === */
#skills {
  background-color: #f9f9fc;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.skill {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.skill:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.skill .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
}

.skill .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skill p {
  font-weight: 600;
  font-size: 1rem;
  color: #1f4037;
  margin: 0;
}


/* === Projects Section === */
#projects {
  background-color: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card .icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.project-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #1f4037;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.project-card .btn {
  margin-top: 10px;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  background: #1f4037;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

.project-card .btn:hover {
  background: #388e3c;
}


/* === Education Section === */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.education-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.education-card .icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.education-card h3 {
  font-size: 1.2rem;
  color: #ff5e62;
  margin-bottom: 10px;
}

.education-card p {
  font-size: 0.95rem;
  margin: 5px 0;
  line-height: 1.5;
}

/* === Services Section === */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #1f4037;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: '#333';
}


/* === Contact Section === */
#contact {
  text-align: center;
}

.contact-subtext {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}

#contact form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

#contact input,
#contact textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

#contact input {
  flex: 1;
  min-width: 250px;
}

#contact textarea {
  resize: vertical;
  min-height: 150px;
}

#contact button {
  background-color: #1f4037;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact button:hover {
  background-color: #388e3c;
}

.note-to-recruiters {
  font-size: 0.95rem;
  color: #444;
  margin-top: 20px;
  font-style: italic;
}




footer {
  background-color: #2d3e50;
  color: white;
  padding: 25px 0;
  text-align: center;
}

footer p {
  margin: 0 0 15px;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2);
}


/* === AOS animation support === */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* === Responsive Fixes === */

@media (max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.4rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

