body {
  background-color: #f8f9fa;
}

.card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
}

.btn-primary {
  background-color: #0056b3;
  border-color: #0056b3;
}

.btn-primary:hover {
  background-color: #004494;
  border-color: #004494;
}

#answer {
  border-left: 4px solid #0056b3;
}

textarea.form-control:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.bg-light {
  background-color: #f8f9fa !important;
}

.profile-section {
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  margin-bottom: 24px;
  padding: 32px;
  height: 100%;
}

.profile-info {
  padding: 0;
}

.profile-name {
  font-size: 26px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 8px;
}

.profile-headline {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 16px;
  line-height: 1.4;
}

.profile-location {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}

.contact-info {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.contact-item {
  color: #0a66c2;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-item:hover {
  text-decoration: underline;
  color: #0a66c2;
}

.about-section {
  margin-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 16px;
}

.loader {
  display: none;
  margin: 20px auto;
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #3498db;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.answer-content {
  white-space: pre-line;
  line-height: 1.6;
}

#answer p {
  margin-bottom: 1rem;
}

#answer ul,
#answer ol {
  margin-left: 20px;
  margin-bottom: 1rem;
}

.qa-section {
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  padding: 24px;
  height: 100%;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

body {
  background-color: #f3f2ef;
}

.about-section ul {
  padding-left: 20px;
  margin-top: 16px;
}

.about-section li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Hero Section */
.hero-section {
  background-color: #f8f9fa;
  padding: 80px 0;
  margin-bottom: 40px;
}

.profile-image-container {
  text-align: center;
}

.profile-image {
  border: 5px solid white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Section Containers */
.section-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  padding: 32px;
  height: 100%;
}

.section-header {
  font-size: 26px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

/* Timeline for Experience */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e0e0e0;
}

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

.timeline-badge {
  position: absolute;
  left: -30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #0056b3;
  color: white;
  text-align: center;
  line-height: 20px;
  font-size: 10px;
}

.timeline-content {
  padding-bottom: 20px;
}

.timeline-content h4 {
  font-weight: 600;
  margin-bottom: 5px;
}

.timeline-content h5 {
  color: #0056b3;
  font-size: 16px;
  margin-bottom: 5px;
}

/* Skills Section */
.skill-category {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.skill-category h4 {
  margin-bottom: 15px;
  color: #0056b3;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background-color: #f0f2f5;
  color: rgba(0, 0, 0, 0.8);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
}

/* Project Cards */
.project-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.project-card h4 {
  color: #0056b3;
  margin-bottom: 10px;
}

.project-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  background-color: #e6f0f9;
  color: #0056b3;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 12px;
}

/* Contact Section */
.contact-info-card,
.contact-form-card {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.contact-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-list i {
  color: #0056b3;
  width: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f2f5;
  color: #0056b3;
  text-decoration: none;
  transition: all 0.2s;
}

.social-icon:hover {
  background-color: #0056b3;
  color: white;
}

/* Footer */
.footer {
  margin-top: 60px;
}

/* Navbar */
.navbar {
  padding: 12px 0;
}

.navbar-brand {
  color: #0056b3;
}

.nav-link {
  font-weight: 500;
  padding: 8px 16px !important;
}

.nav-link:hover {
  color: #0056b3 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .timeline {
    padding-left: 25px;
  }
}

/* Enhanced About Section */
.subsection-title {
  font-size: 18px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.8);
  margin-top: 20px;
  margin-bottom: 15px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background-color: #f0f7ff;
  border-radius: 8px;
  transition: all 0.2s;
}

.expertise-item:hover {
  background-color: #e1efff;
  transform: translateY(-2px);
}

.expertise-item i {
  color: #0056b3;
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.expertise-item span {
  font-weight: 500;
  font-size: 14px;
}

/* Education Section */
.education-item {
  position: relative;
  padding-left: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-left: 2px solid #e0e0e0;
}

.education-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.education-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #0056b3;
}

.education-year {
  display: inline-block;
  background-color: #0056b3;
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.education-degree {
  margin: 0 0 5px 0;
  font-weight: 600;
  font-size: 17px;
}

.education-school {
  color: #666;
  font-size: 15px;
  margin-bottom: 8px;
}

.education-details {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
  line-height: 1.4;
}

/* Certification Section */
.certification-list {
  margin-top: 20px;
}

.certification-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.certification-item:last-child {
  border-bottom: none;
}

.certification-badge {
  width: 40px;
  height: 40px;
  background-color: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-badge i {
  color: #0056b3;
  font-size: 18px;
}

.certification-details h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
}

.certification-date {
  font-size: 13px;
  color: #777;
}

/* Media Queries for About Section */
@media (max-width: 767px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* Standalone Education Section */
.education-card {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
  border-top: 3px solid #0056b3;
  transition: transform 0.2s;
}

.education-card:hover {
  transform: translateY(-5px);
}

.education-card .education-year {
  position: absolute;
  top: 0;
  right: 24px;
  transform: translateY(-50%);
  background-color: #0056b3;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.education-card .education-degree {
  margin: 10px 0 8px 0;
  font-weight: 600;
  font-size: 18px;
  color: #333;
}

.education-card .education-school {
  font-size: 16px;
  color: #0056b3;
  margin-bottom: 15px;
  font-weight: 500;
}

/* Certification Cards */
.certification-card {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s;
}

.certification-card:hover {
  transform: translateY(-5px);
}

.certification-card .certification-badge {
  width: 60px;
  height: 60px;
  background-color: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.certification-card .certification-badge i {
  color: #0056b3;
  font-size: 28px;
}

.certification-card .certification-details h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
}

.certification-card .certification-details p {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.certification-description {
  font-size: 14px;
  color: #555;
  display: block;
  margin-top: 8px;
}

/* Ongoing Education */
.ongoing-education {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #0056b3;
}

.ongoing-education-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.ongoing-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.ongoing-item i {
  color: #0056b3;
  font-size: 18px;
}

.ongoing-item span {
  font-size: 15px;
}

/* Achievement List in About Section */
.achievement-list {
  padding-left: 20px;
  margin: 15px 0;
}

.achievement-list li {
  margin-bottom: 10px;
  line-height: 1.5;
  position: relative;
}

/* Engineering Excellence Section Styles */
.metrics-card {
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
  transition: transform 0.2s;
}

.metrics-card:hover {
  transform: translateY(-5px);
}

.metrics-title {
  font-size: 20px;
  font-weight: 600;
  color: #0056b3;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f7ff;
}

/* DORA Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.metric-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  position: relative;
  border-left: 3px solid #0056b3;
}

.metric-name {
  font-weight: 600;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.metric-value {
  font-weight: 700;
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
}

.metric-improvement {
  font-size: 13px;
  color: #38b000;
  font-weight: 500;
}

/* OKR Items */
.okr-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.okr-item {
  display: flex;
  gap: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  align-items: center;
}

.okr-icon {
  min-width: 40px;
  height: 40px;
  background-color: #e6f0f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0056b3;
}

.okr-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.okr-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

/* Philosophy Section */
.philosophy-content {
  margin-top: 15px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.philosophy-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.philosophy-icon {
  min-width: 38px;
  height: 38px;
  background-color: #e6f0f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0056b3;
  margin-top: 2px;
}

.philosophy-text {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

/* Media Queries for Engineering Excellence Section */
@media (max-width: 992px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Certification Status Badge */
.certification-status {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 8px;
}

.certification-status.in-progress {
  background-color: rgba(38, 194, 129, 0.2);
  color: #26c281;
  border: 1px solid rgba(38, 194, 129, 0.4);
}

.certification-status.completed {
  background-color: rgba(46, 134, 222, 0.2);
  color: #2e86de;
  border: 1px solid rgba(46, 134, 222, 0.4);
}

.certification-description {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #555;
}
