.skills-section {
  padding: 40px 20px;
}
.skills-card {
  background-color: var(--sections);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px var(--shadows);
  text-align: center;
}
.skills-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}
.skills-icons {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.skill-item {
  text-align: center;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.skill-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}
.skill-item p {
  font-size: 14px;
  color: var(--text);
  margin-top: 5px;
}
.skill-item:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px var(--shadows);
}
.skill-item:hover img {
  transform: scale(1.2);
}
.skills-description {
  font-size: 16px;
  color: var(--text-highlight);
  line-height: 1.6;
  margin-top: 20px;
}
/* Additional CSS for the new elements */

/* General Page Styles */
body {
  font-family: 'Poppins', sans-serif;
}

/* Theme Toggle Enhancement */
.theme-toggle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--sections);
  border: 2px solid var(--headers);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadows);
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadows);
}

.theme-toggle i {
  position: absolute;
  font-size: 1.2rem;
  color: var(--headers);
  transition: all 0.3s ease;
}

.icon-sun {
  opacity: 1;
  transform: translateY(0);
}

.icon-moon {
  opacity: 0;
  transform: translateY(20px);
}

.dark-mode .icon-sun {
  opacity: 0;
  transform: translateY(-20px);
}

.dark-mode .icon-moon {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.skills-hero {
  text-align: center;
  padding: 80px 20px 40px;
  background-color: var(--sections);
  border-radius: 0 0 30% 30% / 15%;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px var(--shadows);
  position: relative;
}

.skills-hero h1 {
  color: var(--headers);
  font-weight: 700;
  margin-bottom: 15px;
}

.skills-hero .lead {
  color: var(--text-highlight);
  max-width: 700px;
  margin: 0 auto 20px;
}

.skills-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto;
  max-width: 300px;
}

.skills-divider span {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.skills-divider i {
  font-size: 24px;
  color: var(--accent);
  margin: 0 15px;
}

/* Card Header Icon */
.card-header-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--headers), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -55px auto 20px;
  box-shadow: 0 5px 15px var(--shadows);
}

.card-header-icon i {
  font-size: 30px;
  color: rgb(0, 89, 3);
}

/* Skills Meta */
.skills-meta {
  margin-bottom: 20px;
}

.experience-badge {
  background-color: var(--hover-bg);
  color: var(--headers);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.experience-badge i {
  margin-right: 5px;
}

/* Skill Icon Wrapper */
.skill-icon-wrapper {
  background-color: white;
  border-radius: 12px;
  padding: 10px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 5px 15px var(--shadows);
  transition: all 0.3s ease;
}

.dark-mode .skill-icon-wrapper {
  background-color: #2a2a2a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skill-item:hover .skill-icon-wrapper {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadows);
}

/* Card Footer */
.card-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}

.btn-projects {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-projects:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadows);
}

/* Skills List */
.skills-list {
  padding-left: 0;
  list-style-type: none;
}

.skills-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.skills-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Additional Skills Section */
.additional-skills {
  text-align: center;
}

.additional-skills-title {
  color: var(--headers);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.additional-skills-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

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

.additional-skill-item {
  background-color: var(--sections);
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 5px 15px var(--shadows);
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
}

.additional-skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadows);
  border-color: var(--accent);
}

.additional-skill-item i {
  font-size: 30px;
  color: var(--accent);
  margin-bottom: 15px;
}

.additional-skill-item h4 {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 10px;
}

.additional-skill-item p {
  color: var(--text-highlight);
  font-size: 14px;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 0;
  background-color: var(--hover-bg);
}

.section-title {
  color: var(--headers);
  margin-bottom: 40px;
}

.testimonial-card {
  background-color: var(--sections);
  border-radius: 12px;
  padding: 30px;
  margin: 0 auto;
  max-width: 800px;
  box-shadow: 0 5px 20px var(--shadows);
}

.testimonial-quote {
  position: relative;
  padding: 20px 40px;
}

.testimonial-quote i.fa-quote-left {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  opacity: 0.3;
  font-size: 24px;
}

.testimonial-quote i.fa-quote-right {
  position: absolute;
  bottom: 0;
  right: 0;
  color: var(--accent);
  opacity: 0.3;
  font-size: 24px;
}

.testimonial-quote p {
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--hover-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.author-avatar i {
  font-size: 25px;
  color: var(--accent);
}

.author-info h4 {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 5px;
}

.author-info p {
  color: var(--text-highlight);
  font-size: 14px;
  margin: 0;
}

/* Enhanced Footer */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-branding h4 {
  color: var(--headers);
  margin-bottom: 15px;
}

.footer-branding p {
  color: var(--text-highlight);
  line-height: 1.6;
}

.footer-links h5, .footer-contact h5 {
  color: var(--headers);
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-highlight);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-contact p {
  color: var(--text-highlight);
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--card-border);
}

/* Responsive adjustments for additional sections */
@media (max-width: 768px) {
  .skills-hero {
    padding: 60px 20px 30px;
  }
  
  .additional-skills-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .card-header-icon {
    margin-top: -35px;
  }
}