* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #334464;
  --accent-color: #62aeb0;
  --text-color: #333;
  --light-text-color: whitesmoke;
  --background-light: #f9f7f2;
  --background-white: #fff;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --spacing-small: 15px;
  --spacing-medium: 30px;
  --spacing-large: 50px;
  --font-size-base: 1rem;
  --font-size-h1: 2.2rem;
  --font-size-h2: 2.8rem;
  --font-size-h3: 1.8rem;
  --primary-dark-color: #312f36;
  --primary-dark-color-rgb: 49, 47, 54;
  --accent-color-rgb: 98, 174, 176;
  --light-text-color-rgb: 245, 245, 245;
  --secondary-text-color: #555;
  --info-label-color: #ddd;
  --footer-text-color: #aaa;
  --light-gray: #e0e0e0;
  --button-background-light: #f0f0f0;
}

body {
  font-family: 'Ranade', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

/* Font faces */
@font-face {
  font-family: 'Ranade';
  src: url('../fonts/Ranade-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'Ranade';
  font-weight: bold;
  src: url('../fonts/Ranade-Bold.otf') format('opentype');
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Banner section */
.banner-container {
  width: 100%;
  height: 100vh;
  position: relative;
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/Home.jpg");
  background-size: cover;
  background-position: center;
  background-color: var(--primary-dark-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-pretext {
  color: var(--primary-dark-color);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.banner-text {
  color: var(--primary-dark-color);
  font-size: 4rem;
  margin-bottom: 20px;
}

.name {
  font-size: 4.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.banner-subtext {
  color: var(--primary-dark-color);
  font-size: 3rem;
  overflow: hidden;
  white-space: nowrap;
  border-right: .15em solid var(--primary-dark-color); /* Blinking cursor */
  animation: blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary-dark-color); }
}

/* Banner Buttons */
.banner-buttons {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-text-color);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px var(--shadow-dark);
}

.btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px var(--shadow-dark);
}

.btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}


/* About Me section */
.about-me {
  display: flex;
  width: 100%;
  padding: 80px 0;
  background: url('../images/about.gif') no-repeat center center;
  background-color: var(--primary-color);
  background-size: cover;
}

.text-container {
  flex: 1;
  padding: 0 30px;
  max-width: 800px;
  margin: 0 auto;
}

.about-image-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px auto;
  border: 5px solid var(--accent-color);
  box-shadow: 0 0 0 8px rgba(var(--accent-color-rgb), 0.3);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-container h2 {
  font-size: var(--font-size-h2);
  font-weight: bold;
  color: var(--light-text-color);
  margin-bottom: 30px;
}

.text-container h1 {
  font-size: var(--font-size-h1);
  font-weight: bold;
  color: var(--light-text-color);
  margin-bottom: 20px;
}

.text-container p {
  font-size: 1.1rem;
  color: var(--light-text-color);
  line-height: 1.8;
  margin-bottom: 30px;
}

.personal-info {
  margin-top: 30px;
  color: var(--light-text-color);
  width: 100%;
}

hr {
  border: 0;
  height: 1px;
  background: rgba(var(--light-text-color-rgb), 0.3);
  margin: 20px 0;
}



/* Fix the table layout */
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.info-label {
  font-weight: bold;
  color: var(--info-label-color);
}

.info-value {
  color: var(--light-text-color);
}

/* Interests/Skills Grid */
.interests-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.interest-skill-item {
  background-color: rgba(var(--light-text-color-rgb), 0.1);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  color: var(--light-text-color);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.interest-skill-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.interest-skill-item:hover {
  background-color: rgba(var(--light-text-color-rgb), 0.2);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--shadow-dark);
}


/* Enhanced CV Button Styles */
.cv-button-container {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
}

.cv-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-color); /* Changed to accent color */
  color: var(--light-text-color);
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px var(--shadow-dark);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cv-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  z-index: -1;
}

.cv-button:hover:before {
  width: 100%;
}

.cv-button i {
  margin-right: 12px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cv-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-dark);
}

.cv-button:hover i {
  transform: translateY(-2px);
}



/* Responsive styles for CV button */
@media screen and (max-width: 576px) {
  .cv-button-container {
    justify-content: center;
    box-shadow: var(--accent-color);
  }
  
  .cv-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}



/* Tech Stack section */
.tech-stack {
  padding: 80px 0;
}

.tech-stack-text {
  text-align: center;
  margin-bottom: 40px;
}

.tech-stack-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.tech-stack-text h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin: 40px 0 20px;
}

.border {
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0 auto;
  border: none;
  border-radius: 3px;
}


/* Tech Stack Slider */
.tech-stack-slider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  height: 200px;
}

.slider-items,
.slider-items-frameworks {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease-in-out;
}

.slider-item,
.slider-item-frameworks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 20px;
  position: relative; /* Added for tooltip positioning */
}

.slider-item img,
.slider-item-frameworks img {
  max-width: 80px;
  max-height: 80px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.slider-item:hover img,
.slider-item-frameworks:hover img {
  transform: scale(1.1);
}

.slider-item p,
.slider-item-frameworks p {
  font-size: 1.2rem;
  color: var(--primary-color);
  text-align: center;
}

/* Skill Level Indicator */
.skill-level-indicator {
  width: 100%;
  height: 5px;
  background-color: var(--light-gray);
  border-radius: 2.5px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.skill-level-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--accent-color);
  border-radius: 2.5px;
}

.slider-item[data-level="expert"] .skill-level-indicator::before,
.slider-item-frameworks[data-level="expert"] .skill-level-indicator::before {
  width: 100%;
}

.slider-item[data-level="advanced"] .skill-level-indicator::before,
.slider-item-frameworks[data-level="advanced"] .skill-level-indicator::before {
  width: 75%;
}

.slider-item[data-level="intermediate"] .skill-level-indicator::before,
.slider-item-frameworks[data-level="intermediate"] .skill-level-indicator::before {
  width: 50%;
}

.slider-item[data-level="beginner"] .skill-level-indicator::before,
.slider-item-frameworks[data-level="beginner"] .skill-level-indicator::before {
  width: 25%;
}

/* Icon-based badges (used when no logo image is available) */
.icon-badge {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.slider-item:hover .icon-badge,
.slider-item-frameworks:hover .icon-badge {
  transform: scale(1.1);
}

/* Tooltip Styles */
.tooltip {
  position: absolute;
  bottom: calc(100% + 10px); /* Position above the item */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent transparent;
}

.slider-item:hover .tooltip,
.slider-item-frameworks:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Project Filters */
.project-filters {
  text-align: center;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: var(--button-background-light);
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: var(--light-gray);
}

.filter-btn.active {
  background-color: var(--accent-color);
  color: var(--light-text-color);
}


/*To make website responsive*/
/* Responsive styles */
@media screen and (max-width: 1200px) {
  .slider-item,
  .slider-item-frameworks {
    min-width: 180px;
  }
}

@media screen and (max-width: 992px) {
  .banner-pretext {
    font-size: 2rem;
  }
  
  .banner-text {
    font-size: 3.5rem;
  }
  
  .name {
    font-size: 3.5rem;
  }
  
  .banner-subtext {
    font-size: 2.5rem;
  }
  
  .slider-item,
  .slider-item-frameworks {
    min-width: 160px;
  }
  
  .slider-item img,
  .slider-item-frameworks img {
    max-width: 70px;
    max-height: 70px;
  }
  
  .info-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .banner-pretext {
    font-size: 1.8rem;
  }
  
  .banner-text {
    font-size: 2.8rem;
  }
  
  .name {
    font-size: 2.8rem;
  }
  
  .banner-subtext {
    font-size: 2rem;
  }
  
  .about-me {
    padding: 60px 0;
  }
  
  .text-container h2 {
    font-size: 2rem;
  }
  
  .text-container h1 {
    font-size: 1.8rem;
  }
  
  .info-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  
  .info-label {
    margin-top: 10px;
  }
  
  .info-value {
    margin-bottom: 10px;
  }
  
  .slider-item,
  .slider-item-frameworks {
    min-width: 140px;
  }
  
  .slider-item img,
  .slider-item-frameworks img {
    max-width: 60px;
    max-height: 60px;
  }
}

@media screen and (max-width: 576px) {
  .banner-pretext {
    font-size: 1.5rem;
  }
  
  .banner-text {
    font-size: 2.2rem;
  }
  
  .name {
    font-size: 2.2rem;
  }
  
  .banner-subtext {
    font-size: 1.5rem;
  }
  
  .text-container {
    padding: 0 15px;
  }
  
  .text-container h2 {
    font-size: 1.8rem;
  }
  
  .text-container h1 {
    font-size: 1.5rem;
  }
  
  .tech-stack-text h2 {
    font-size: 2rem;
  }
  
  .tech-stack-text h3 {
    font-size: 1.4rem;
  }
  
  .slider-item,
  .slider-item-frameworks {
    min-width: 120px;
  }
  
  .slider-item img,
  .slider-item-frameworks img {
    max-width: 50px;
    max-height: 50px;
  }
  
  .slider-item p,
  .slider-item-frameworks p {
    font-size: 1rem;
  }
  
  .info-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  
  .info-label {
    margin-top: 10px;
  }
  
  .info-value {
    margin-bottom: 10px;
  }
  
  .cv-button-container {
    justify-content: center;
    box-shadow: var(--accent-color);
  }
}



/* Projects Section */
.projects-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.projects-header {
  text-align: center;
  margin-bottom: 50px;
}

.projects-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.projects-header p {
  font-size: 1.1rem;
  color: var(--secondary-text-color);
  max-width: 700px;
  margin: 20px auto 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background-color: var(--background-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-medium);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--primary-color-rgb), 0.7);
  color: var(--light-text-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-overlay p {
  font-size: 1rem;
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.project-info p {
  color: var(--secondary-text-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.view-project-btn {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.view-project-btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.view-project-btn:hover {
  color: var(--accent-color);
}

/* Project placeholder images (no screenshot yet) */
.project-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.placeholder-icon {
  font-size: 4rem;
  color: rgba(var(--light-text-color-rgb), 0.85);
  transition: transform 0.5s ease;
}

.project-card:hover .placeholder-icon {
  transform: scale(1.1);
}

/* Project tech/role meta and multi-link support */
.project-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
  margin-bottom: 15px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@import url("project-details.css");

/* Responsive styles for projects section */
@media screen and (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .projects-section {
    padding: 60px 0;
  }
  
  .projects-header h2 {
    font-size: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media screen and (max-width: 576px) {
  .projects-header h2 {
    font-size: 1.8rem;
  }
  
  .projects-header p {
    font-size: 1rem;
  }
  
  .project-info {
    padding: 20px;
  }
  
  .project-info h3 {
    font-size: 1.2rem;
  }
}

/* Education Section */
.education-section {
  padding: 80px 0;
  background-color: var(--background-white);
}

.education-header {
  text-align: center;
  margin-bottom: 60px;
}

.education-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.education-timeline {
  max-width: 1000px;
  margin: 0 auto;
}

.education-card {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  background-color: var(--background-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-medium);
}

.education-year {
  flex: 0 0 150px;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-weight: bold;
  text-align: center;
}

.education-year span {
  font-size: 1.1rem;
}

.education-content {
  flex: 1;
  padding: 25px;
  position: relative;
}

.education-badge {
  position: absolute;
  top: -10px;
  left: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text-color);
  font-size: 1.2rem;
  box-shadow: 0 3px 8px var(--shadow-dark);
}

.education-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.education-institution {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.education-description {
  color: var(--secondary-text-color);
  line-height: 1.6;
}

/* Responsive styles for education section */
@media screen and (max-width: 768px) {
  .education-section {
    padding: 60px 0;
  }
  
  .education-header h2 {
    font-size: 2rem;
  }
  
  .education-card {
    flex-direction: column;
  }
  
  .education-year {
    flex: 0 0 auto;
    width: 100%;
    padding: 15px;
  }
  
  .education-badge {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .education-content {
    padding-top: 35px;
  }
  
  .education-content h3 {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .education-institution {
    font-size: 1rem;
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .education-header h2 {
    font-size: 1.8rem;
  }
  
  .education-content h3 {
    font-size: 1.2rem;
  }
  
  .education-content {
    padding: 30px 15px 20px;
  }
}

/* Experience Section */
.experience-section {
  padding: 80px 0;
  background-color: var(--background-white);
}

.experience-header {
  text-align: center;
  margin-bottom: 60px;
}

.experience-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.experience-timeline {
  max-width: 1000px;
  margin: 0 auto;
}

.experience-card {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  background-color: var(--background-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-medium);
}

.experience-year {
  flex: 0 0 150px;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-weight: bold;
  text-align: center;
}

.experience-year span {
  font-size: 1.1rem;
}

.experience-content {
  flex: 1;
  padding: 25px;
  position: relative;
}

.experience-badge {
  position: absolute;
  top: -10px;
  left: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text-color);
  font-size: 1.2rem;
  box-shadow: 0 3px 8px var(--shadow-dark);
}

.experience-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.experience-company {
  font-size: 1.1rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.experience-description {
  color: var(--secondary-text-color);
  line-height: 1.6;
}

/* Responsive styles for experience section */
@media screen and (max-width: 768px) {
  .experience-section {
    padding: 60px 0;
  }
  
  .experience-header h2 {
    font-size: 2rem;
  }
  
  .experience-card {
    flex-direction: column;
  }
  
  .experience-year {
    flex: 0 0 auto;
    width: 100%;
    padding: 15px;
  }
  
  .experience-badge {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .experience-content {
    padding-top: 35px;
  }
  
  .experience-content h3 {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .experience-company {
    font-size: 1rem;
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .experience-header h2 {
    font-size: 1.8rem;
  }
  
  .experience-content h3 {
    font-size: 1.2rem;
  }
  
  .experience-content {
    padding: 30px 15px 20px;
  }
}

/* Achievements & Certifications Section (shared "credential card" style) */
.achievements-section {
  padding: 80px 0;
  background-color: var(--background-white);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.credential-card {
  background-color: var(--background-white);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-medium);
}

.credential-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.credential-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.credential-meta {
  font-size: 0.95rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.credential-card p:not(.credential-meta) {
  color: var(--secondary-text-color);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .achievements-section {
    padding: 60px 0;
  }
}

/* Chat Section */
.chat-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.chat-header {
  text-align: center;
  margin-bottom: 50px;
}

.chat-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.chat-header p {
  font-size: 1.1rem;
  color: var(--secondary-text-color);
  max-width: 700px;
  margin: 20px auto 0;
}

.chat-interface {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--background-white);
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-medium);
  display: flex;
  flex-direction: column;
  height: 600px; /* Fixed height for chat window */
  overflow: hidden;
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
}

.message {
  margin-bottom: 15px;
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  line-height: 1.5;
}

.message.user-message {
  background-color: var(--accent-color);
  color: var(--light-text-color);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.message.bot-message {
  background-color: var(--light-gray);
  color: var(--text-color);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.message p {
  margin: 0;
  font-size: 1rem;
}

.chat-input {
  display: flex;
  padding: 20px;
  border-top: 1px solid var(--light-gray);
}

.chat-input input {
  flex-grow: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
  margin-right: 10px;
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-input input:focus {
  border-color: var(--accent-color);
}

.chat-input .btn {
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input .btn i {
  margin-left: 8px;
}

/* Responsive styles for chat section */
@media screen and (max-width: 768px) {
  .chat-section {
    padding: 60px 0;
  }
  
  .chat-header h2 {
    font-size: 2rem;
  }
  
  .chat-interface {
    height: 500px;
  }
  
  .message {
    max-width: 90%;
  }
}

@media screen and (max-width: 576px) {
  .chat-section {
    padding: 40px 0;
  }
  
  .chat-header h2 {
    font-size: 1.8rem;
  }
  
  .chat-header p {
    font-size: 1rem;
  }
  
  .chat-interface {
    height: 400px;
  }
  
  .chat-input {
    flex-direction: column;
    padding: 15px;
  }
  
  .chat-input input {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .chat-input .btn {
    width: 100%;
  }
}

/* Problem Solving Section */
.problem-solving-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.problem-solving-header {
  text-align: center;
  margin-bottom: 50px;
}

.problem-solving-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.problem-solving-header p {
  font-size: 1.1rem;
  color: var(--secondary-text-color);
  max-width: 700px;
  margin: 20px auto 0;
}

.problem-solving-content {
  max-width: 1000px;
  margin: 0 auto;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.platform-card {
  background-color: var(--background-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-medium);
}

.platform-icon {
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-light);
}

.platform-icon img {
  height: 60px;
  width: auto;
}

.platform-stats {
  padding: 25px;
  flex: 1;
}

.platform-stats h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--secondary-text-color);
  font-weight: 500;
}

.stat-value {
  color: var(--primary-color);
  font-weight: 600;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.platform-link i {
  margin-left: 8px;
  font-size: 0.9rem;
}

.platform-link:hover {
  color: var(--accent-color);
}

.problem-solving-skills {
  background-color: var(--background-white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-light);
}

.problem-solving-skills h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.skill-item {
  margin-bottom: 5px;
}

.skill-name {
  font-size: 1rem;
  color: var(--secondary-text-color);
  margin-bottom: 8px;
  font-weight: 500;
}

.skill-bar {
  height: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background-color: var(--accent-color);
  border-radius: 5px;
}

/* Responsive styles for problem solving section */
@media screen and (max-width: 992px) {
  .platform-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .problem-solving-section {
    padding: 60px 0;
  }
  
  .problem-solving-header h2 {
    font-size: 2rem;
  }
  
  .platform-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .problem-solving-header h2 {
    font-size: 1.8rem;
  }
  
  .problem-solving-header p {
    font-size: 1rem;
  }
  
  .platform-stats h3 {
    font-size: 1.2rem;
  }
  
  .stat-item {
    flex-direction: column;
    margin-bottom: 15px;
  }
  
  .stat-value {
    margin-top: 5px;
  }
}