/* ========================
   Base Styles & Animation
======================== */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #fafafa;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================
   Header Section
======================== */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 120px;
  height: auto;
}

.header-text h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #1a1a1a;
}

.header-text p {
  margin: 4px 0 0;
  color: #555;
}

/* Navbar Links */
.navbar {
  display: flex;
  gap: 25px;
}

.navbar a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar a:hover {
  color: #007bff;
  transform: translateY(-2px);
}

/* Hamburger Icon */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ========================
   About Section
======================== */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-text {
  max-width: 600px;
  text-align: center;
}

.about-text h2 {
  color: #333;
  margin-bottom: 10px;
}
/* ========================
   Skills Section
======================== */
.skills {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}

.skills h2 {
  margin-bottom: 10px;
  color: #333;
}

.skills p {
  color: #555;
  margin-bottom: 30px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.skill-card {
  background-color: #f1f4f9;
  color: #222;
  font-weight: 600;
  padding: 15px 10px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.skill-card:hover {
  background-color: #007bff;
  color: #fff;
  transform: translateY(-5px);
}

/* added below for video */
/* Container for video + grid */
.skills-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Video styling */
.skills-video {
  flex: 1;
  min-width: 280px;
  max-width: 300px;
  display: flex;
  justify-content: center;
}

.skills-video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Skills grid */
.skills-grid {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Skill card styling (optional refine) */
.skill-card {
  background: #f8faff;
  border-radius: 12px;
  padding: 25px 10px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ✅ Mobile Responsive Fix */
@media (max-width: 768px) {
  .skills-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .skills-video {
    max-width: 250px;
    margin-bottom: 10px;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    width: 100%;
    padding: 0 10px;
  }

  .skill-card {
    padding: 20px 5px;
  }
}

/*added above for video in skill section */


/*added separetely*/
.skill-card {
  background-color: #f1f4f9;
  color: #222;
  font-weight: 600;
  padding: 20px 10px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.skill-card i {
  font-size: 40px;
}
.skill-card img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.skill-card:hover img {
  transform: scale(1.2);
  
}

.skill-card:hover {
  background-color: #007bff;
  color: #fff;
  transform: translateY(-5px);
}

.skill-card:hover i {
  color: #fff !important;
}
.skill-card:hover i {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

/*added above separetly*/


/* ========================
   Projects Section
======================== */
.projects {
  text-align: center;
  padding: 60px 20px;
}

.projects h2 {
  margin-bottom: 10px;
  color: #333;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.video-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 15px;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

.video-card p {
  margin-top: 10px;
  color: #444;
  font-weight: 500;
}

/* ========================
   Footer
======================== */
footer {
  text-align: center;
  padding: 30px 10px;
  background-color: #fff;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #eee;
}

/* ========================
   Responsive Styles
======================== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
  }

  .menu-icon {
    display: block;
    align-self: flex-end;
    margin-top: -10px;
  }

  .navbar {
    display: none;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-top: 10px;
  }

  .navbar.active {
    display: flex;
  }

  .header-left {
    flex-direction: row;
    justify-content: center;
  }

  .logo {
    width: 85px;
  }

  .header-text h1 {
    font-size: 1.3rem;
  }

  .header-text p {
    font-size: 0.9rem;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .profile-img {
    width: 140px;
    height: 140px;
  }

  .video-card iframe {
    height: 180px;
  }
}

/*download excel files */
#downloads {
  padding: 40px 20px;
  background-color: #f9fafb;
  text-align: center;
}

#downloads h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #333;
}

#downloads p {
  color: #555;
  margin-bottom: 20px;
}

.download-list {
  list-style: none;
  padding: 0;
}

.download-list li {
  margin: 10px 0;
}

.download-list a {
  text-decoration: none;
  color: #0070f3;
  font-weight: 500;
  transition: color 0.2s;
}

.download-list a:hover {
  color: #0051a8;
}


/* download excel above*/








