


.resume-section {
  margin-bottom: 3rem;
}

.resume-section h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  cursor: pointer;
}

.education-item, .experience-item, .certificate-item {
  margin-bottom: 2rem;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.education-date, .experience-date, .certificate-date {
  display: inline-block;
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.certificate-card {
  background: linear-gradient(145deg, #242425, #242425);
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(74, 72, 72, 0.2);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.certificate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

.certificate-icon {
  font-size: 2.5rem;
  color: #4f46e5;
  margin-bottom: 1rem;
}

.certificate-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: #fff;
}

.certificate-info p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #bbb;
}

.view-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.view-btn:hover {
  background: linear-gradient(135deg, #3730a3, #4f46e5);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(79,70,229,0.4);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

.view-btn {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.view-btn:hover {
  background: #3730a3;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}


.resume-download {
  text-align: center;
  margin: 3rem 0;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}
.resume-section {
  margin-bottom: 3rem;
}

.resume-section h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  cursor: pointer;
}

.education-item, .experience-item, .certificate-item {
  margin-bottom: 2rem;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.education-date, .experience-date, .certificate-date {
  display: inline-block;
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.certificate-card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.certificate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

.certificate-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.certificate-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.certificate-info p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.view-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.view-btn:hover {
  background: linear-gradient(135deg, #3730a3, var(--primary));
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(79,70,229,0.4);
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

.view-btn {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.view-btn:hover {
  background: #3730a3;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}


.resume-download {
  text-align: center;
  margin: 3rem 0;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

/* Section Header Icon */
.section-icon {
  margin-right: 0.6rem;
  color: var(--primary);
}

/* Education Card Header with Icon */
.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-icon {
  font-size: 2rem;
  color: var(--primary);
}

style,css/* Global styles that don't fit into specific section files */
.page-content {
  padding: 6rem 5% 3rem;
  min-height: 100vh;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* All of your existing code goes here... */

/* --------------------------------------------------------------------- */
/* RESPONSIVE STYLES                           */
/* --------------------------------------------------------------------- */

@media screen and (max-width: 768px) {
  /* General mobile adjustments */
  
  body {
    font-size: 1rem; /* Adjust base font size for better readability */
  }

  .page-content {
    padding: 6rem 3% 2rem; /* Reduce padding for smaller screens */
  }

  /* Section Title Adjustments */
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .section-title::after {
    width: 60px; /* Make the underline smaller */
  }

  /* Resume Section Adjustments */
  .resume-section h2 {
    font-size: 1.5rem; /* Smaller heading size */
    margin-bottom: 1rem;
  }

  /* Education, Experience, Certificate items */
  .education-item,
  .experience-item,
  .certificate-item {
    padding: 1rem; /* Reduce padding inside the cards */
    margin-bottom: 2.5rem; /* Adjust spacing between cards */
  }

  .education-date,
  .experience-date,
  .certificate-date {
    font-size: 0.8rem; /* Smaller font for dates */
    padding: 0.2rem 0.8rem;
    margin-bottom: 0.5rem;
  }

  /* Certificate Gallery Adjustments */
  .certificate-gallery {
    /* For mobile, certificates should stack in a single column */
    grid-template-columns: 1fr; 
    gap: 3rem;
    margin-top: 2rem;
  }

  .certificate-card {
    padding: 1rem; /* Reduce padding inside the certificate cards */
  }

  .certificate-info h3 {
    font-size: 1.1rem; /* Smaller font for certificate titles */
  }

  .certificate-info p {
    font-size: 0.9rem; /* Smaller font for certificate details */
  }

  /* Download Button */
  .download-btn {
    padding: 0.6rem 1.2rem; /* Make button smaller */
    font-size: 0.9rem;
  }

  /* Modal Adjustments */
  .modal-content {
    max-width: 95%; /* Allow modal image to take up more screen space */
  }

  .close {
    font-size: 30px; /* Make the close button a little smaller */
    top: 10px;
    right: 20px;
  }
  
}