/* Header */
.site-header {
  background: rgba(0, 0, 0, 0.5);
  padding: 18px 0;
  text-align: center;
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.site-header h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 1px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 15px ;
  text-align: center;
  font-size: 14px;
  color: white;
}

body {
  font-family: Arial, sans-serif;
  background: #eef2f7;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  background-image: url("assets/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.main-content > * {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 700px;
  margin: 50px auto;
  text-align: center;
}

.phases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card:hover {
  background: #007bff;
  color: white;
}

button {
  padding: 10px 30px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}


/* Chatbot styles */
.chat-container {
  max-width: 450px;
  height: 90vh;
  margin: 20px auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.chat-header {
  background: #007bff;
  color: white;
  padding: 15px;
  text-align: center;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  background: #ddd;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: #007bff;
  border-radius: 4px;
  transition: width 0.3s;
}

.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}

.bot-msg, .user-msg {
  max-width: 80%;
  padding: 10px 14px;
  margin: 8px 0;
  border-radius: 12px;
  font-size: 14px;
}

.bot-msg {
  background: #f1f1f1;
  align-self: flex-start;
}

.user-msg {
  background: #007bff;
  color: white;
  align-self: flex-end;
  margin-left: auto;
}

.chat-options {
  padding: 10px;
  border-top: 1px solid #ddd;
}

.chat-options button {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #f4f4f4;
  font-size: 14px;
}

.chat-options button:hover {
  background: #007bff;
  color: white;
}

/* Results page */

/* Center title */
.results-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: white;
}

.results-container {
  max-width: 1150px;
  margin: 40px auto;
  padding: 30px;
}

.results-container h2 {
  margin-bottom: 30px;
  font-size: 26px;
}

.career-premium-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.career-premium-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.left-image img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.career-premium-card:hover .left-image img {
  transform: scale(1.25) rotate(0deg);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

.career-premium-card:hover {
  outline: 2px solid rgba(255,255,255,0.2);
}


/* Career Card */
.career-premium-card {
  display: flex;
  gap: 32px;
  padding: 28px;
  margin-bottom: 40px;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

/* Left Image Section */
.left-image {
  width: 230px;
  height: 280px;
  border-radius: 26px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-image img {
  width: 230px;
  height: auto;
}

/* Right Content */
.right-content {
  flex: 1;
}

.right-content h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

/* Success Percentage */
.percentage {
  margin-bottom: 16px;
}

.percentage span {
  font-size: 14px;
  opacity: 0.9;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  margin: 6px 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #e0e0ff);
  border-radius: 10px;
}

/* Skills */
.skills {
  margin-top: 10px;
}

.skills ul {
  padding-left: 18px;
}

.skills li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Roadmap (Diamond Style) */
.roadmap {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}

.roadmap-step {
  width: 90px;
  height: 90px;
  background: rgba(255,255,255,0.22);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-step span {
  transform: rotate(-45deg);
  font-size: 12px;
  text-align: center;
  padding: 6px;
}

/* Floating Bot Icon */
.floating-bot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #2fc2d5;
  color: white;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* Chat Box */
.floating-bot-box {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 360px;
  height: 480px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(33, 221, 225, 0.3);
  overflow: hidden;
  z-index: 1000;
}

/* Header */
.bot-header {
  height: 45px;
  background: #2576ad;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 15px;
}

/* Close button */
.bot-header span {
  cursor: pointer;
}

/* Iframe */
.floating-bot-box iframe {
  width: 100%;
  height: calc(100% - 45px);
  border: none;
}

/* Try Again Button */
.try-btn {
  margin-top: 20px;
  padding: 10px 28px;
  font-size: 15px;
  cursor: pointer;
  align: center;
}

.try-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .career-premium-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .left-image {
    width: 100%;
    height: 220px;
  }

  .roadmap {
    justify-content: center;
    flex-wrap: wrap;
  }
}




