/* ===== Profile Container ===== */
.profile-container {
  width: 100%;
  margin: 50px 0 0 0;
  background: rgba(219, 231, 255, 0.3);
  backdrop-filter: blur(2px);
  padding: 50px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.profile-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;

  max-width: 1200px;
  width: 100%;
  margin: 0 auto;

  gap: 60px;
}

.profile-image {
  flex: 0 0 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 30px; */
}

.profile-image img {
  width: 70%;
  max-width: 350px;
  height: auto;
  object-fit: contain;
}

.profile-info {
  flex: 0 0 45%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-info h1 {
  color: #333;
  font-size: 32px;
  margin: 0 0 30px 0;
  border-bottom: 3px solid #2b7cff;
  padding-bottom: 15px;
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-group p {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.info-group strong {
  color: #2b7cff;
  font-weight: 600;
}

.philosophy-content-inline {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(173, 216, 230, 0.5);
  text-align: center;
}

.philosophy-content-inline p {
  color: #4d6da3;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

/* PDF viewer modal */
.pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.pdf-modal.open {
  display: flex;
}
.pdf-modal-content {
  position: relative;
  width: 90%;
  height: 90%;
}
.pdf-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.pdf-close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.pdf-link{
  text-decoration: underline;
  color: #555;
  /* background-color: #63C1E5;
  color: white;
  padding: 5px 7px;
  border-radius: 5px; */
}


/* ===== Education Section ===== */
.education-section {
  width: 85%;
  margin: 50px auto;
  text-align: center;
}

.education-section h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.education-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5794ca 0%, #2d71ac 100%);
  
}

.edu-cards {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.edu-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 350px;
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 5px solid #20A8DC;
}

.edu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(43,124,255,0.15);
}

.edu-card h3 {
  color: #1e5ed6;
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 15px;
}

.edu-card p {
  color: #666;
  margin: 10px 0;
  line-height: 1.6;
}


/* ===== Experience Section ===== */
.experience-section {
  width: 85%;
  margin: 50px auto;
  text-align: center;
}

.experience-section h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.experience-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5d8fe0 0%, #2b7cff 100%);
  
}

.timeline {
  position: relative;
  padding: 20px 0;
  margin-top: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #5d8fe0 0%, #2b7cff 100%);
  
}

.timeline-item {
  margin-bottom: 40px;
  display: flex;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-marker {
  width: 10%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
}

.timeline-marker::after {
  content: "";
  width: 20px;
  height: 20px;
  background: #2b7cff;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #2b7cff;
}

.timeline-content h3 {
  color: #1e5ed6;
  margin: 0 0 10px 0;
  font-size: 18px;
}

.timeline-content p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}


/* ===== Skills Section ===== */
.skills-section {
  width: 85%;
  margin: 50px auto;
  text-align: center;
}

.skills-section h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.skills-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2b7cff 0%, #1e5ed6 100%);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.skill-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(43,124,255,0.12);
  border-top: 4px solid #2b7cff;
}

.skill-item h3 {
  color: #333;
  font-size: 18px;
  margin: 0 0 15px 0;
}

.skill-item p {
  color: #666;
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
}


/* ===== Philosophy Section ===== */
.philosophy-section {
  width: 85%;
  margin: 50px auto;
  text-align: center;
}

.philosophy-section h2 {
  color: #333;
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.philosophy-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5d8fe0 0%, #2b7cff 100%);
}

.philosophy-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  line-height: 1.8;
  text-align: left;
}

.philosophy-content p {
  color: #555;
  font-size: 15px;
  margin: 0 0 20px 0;
  text-align: justify;
}

.philosophy-content p:last-child {
  margin-bottom: 0;
}


/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;

    gap: 0px;
  }

  .profile-image {
    flex: 1;
    order: -1;
  }

  .profile-info {
    flex: 1;
    padding: 20px;
  }

  .edu-cards {
    flex-direction: column;
  }

  .edu-card {
    max-width: 100%;
  }

  .timeline::before {
    left: 0;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
  }

  .timeline-marker {
    width: 100%;
    justify-content: flex-start;
    padding-left: 10px;
    padding-bottom: 10px;
  }

  .timeline-content {
    width: 100%;
    margin-left: 30px;
  }
}
