.page-top-space {
  margin-top: 80px;
}

.skills-section,
.technical-skills-section,
.professional-skills-section {
  padding: 80px 0;
  background: #020823;
  position: relative;
}

.technical-skills-section,
.professional-skills-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.skills-title,
.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #38b6ff;
  margin-bottom: 12px;
}

.skills-subtitle,
.section-subtitle {
  font-size: 16px;
  color: #b8c2d3;
  line-height: 1.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Main Skill Cards */
.skill-card,
.soft-skill-card,
.skill-progress-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 182, 255, 0.15);
  backdrop-filter: blur(10px);
}

.skill-card {
  height: 100%;
  border-radius: 22px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 182, 255, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.skill-icon,
.soft-skill-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 182, 255, 0.1);
  border: 1px solid rgba(56, 182, 255, 0.2);
  font-size: 30px;
  box-shadow: 0 0 20px rgba(56, 182, 255, 0.08);
}

.skill-card h3,
.soft-skill-card h4 {
  color: #fff;
  font-weight: 700;
}

.skill-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.skill-card p,
.soft-skill-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #b7c2d3;
  margin-bottom: 0;
}

/* Progress Card */
.skill-progress-card {
  border-radius: 18px;
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease;
}

.skill-progress-card:hover {
  transform: translateY(-4px);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.skill-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.skill-info span {
  font-size: 15px;
  font-weight: 600;
  color: #38b6ff;
}

.progress-bar-wrap {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 30px;
  animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
  from {
    width: 0;
  }
}

/* Soft Skills */
.soft-skill-card {
  height: 100%;
  border-radius: 22px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.soft-skill-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 182, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

/* Tablet */
@media (max-width: 991px) {
  .page-top-space {
    margin-top: 90px;
  }

  .skills-section,
  .technical-skills-section,
  .professional-skills-section {
    padding: 70px 0;
  }

  .skills-title,
  .section-title {
    font-size: 32px;
  }

  .skill-card h3 {
    font-size: 21px;
  }

  .soft-skill-card h4 {
    font-size: 20px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .page-top-space {
    margin-top: 85px;
  }

  .skills-section,
  .technical-skills-section,
  .professional-skills-section {
    padding: 50px 15px;
  }

  .skills-title,
  .section-title {
    font-size: 27px;
  }

  .skills-subtitle,
  .section-subtitle {
    font-size: 14px;
  }

  .skill-card,
  .soft-skill-card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .skill-icon,
  .soft-skill-icon {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .skill-progress-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
}



.page-top-space {
  margin-top: 100px;
}

.skills-section,
.technical-skills-section,
.professional-skills-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #020823, #06113a, #020823);
}

/* New shared layout */
.skills-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.skills-intro {
  position: sticky;
  top: 120px;
}

.skills-title,
.section-title {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: #38b6ff;
  margin-bottom: 18px;
}

.skills-subtitle,
.section-subtitle {
  font-size: 18px;
  color: #b8c2d3;
  line-height: 1.9;
  margin: 0;
  max-width: 100%;
}

/* Right side cards grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* cards */
.skill-card,
.soft-skill-card {
  min-height: 280px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 182, 255, 0.12);
  border-radius: 22px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.skill-card:hover,
.soft-skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 182, 255, 0.35);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

.skill-icon,
.soft-skill-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 182, 255, 0.08);
  border: 1px solid rgba(56, 182, 255, 0.18);
  font-size: 30px;
}

.skill-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.soft-skill-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.skill-card p,
.soft-skill-card p {
  font-size: 15px;
  line-height: 1.9;
  color: #b7c2d3;
  margin-bottom: 0;
}

/* Technical skill progress cards keep your old styling */
.skill-progress-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 182, 255, 0.12);
  border-radius: 18px;
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.skill-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.skill-info span {
  font-size: 15px;
  font-weight: 600;
  color: #38b6ff;
}

.progress-bar-wrap {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 30px;
}

/* Large tablet */
@media (max-width: 1199px) {
  .skills-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

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

  .skills-title,
  .section-title {
    font-size: 42px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .page-top-space {
    margin-top: 90px;
  }

  .skills-section,
  .technical-skills-section,
  .professional-skills-section {
    padding: 70px 0;
  }

  .skills-layout {
    grid-template-columns: 1fr;
  }

  .skills-intro {
    position: static;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 24px;
  }

  .skills-subtitle,
  .section-subtitle {
    max-width: 100%;
  }

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

/* Mobile */
@media (max-width: 767px) {
  .page-top-space {
    margin-top: 85px;
  }

  .skills-section,
  .technical-skills-section,
  .professional-skills-section {
    padding: 50px 15px;
  }

  .skills-title,
  .section-title {
    font-size: 30px;
    line-height: 1.2;
  }

  .skills-subtitle,
  .section-subtitle {
    font-size: 14px;
    line-height: 1.8;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .skill-card,
  .soft-skill-card {
    min-height: auto;
    padding: 22px 16px;
    border-radius: 18px;
  }

  .skill-icon,
  .soft-skill-icon {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .skill-card h3,
  .soft-skill-card h4 {
    font-size: 20px;
  }

  .skill-card p,
  .soft-skill-card p {
    font-size: 14px;
    line-height: 1.7;
  }

  .skill-progress-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .skill-info h4 {
    font-size: 16px;
  }

  .skill-info span {
    font-size: 14px;
  }
}

/* Small mobile */
@media (max-width: 480px) {

  .skills-title,
  .section-title {
    font-size: 26px;
  }

  .skills-subtitle,
  .section-subtitle {
    font-size: 13px;
  }

  .skill-card h3,
  .soft-skill-card h4 {
    font-size: 18px;
  }

  .skill-card p,
  .soft-skill-card p {
    font-size: 13px;
  }

  .progress-bar-wrap {
    height: 8px;
  }
}

.technical-skills-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #020823, #06113a, #020823);
  overflow: hidden;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #38b6ff;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: #b8c2d3;
  line-height: 1.9;
  max-width: 700px;
  margin: 0 auto;
}

.marquee-block {
  margin-bottom: 10px;
}

.marquee-heading {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  padding-left: 6px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
}

.marquee-left .marquee-track {
  animation: scrollLeft 28s linear infinite;
}

.marquee-right .marquee-track {
  animation: scrollRight 28s linear infinite;
}

.tech-item {
  min-width: 210px;
  height: 90px;
  padding: 20px 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 182, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 182, 255, 0.35);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

.tech-item i {
  font-size: 34px;
  color: #38b6ff;
  min-width: 36px;
  text-align: center;
}

.tech-item span {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Tablet */
@media (max-width: 991px) {
  .technical-skills-section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .marquee-heading {
    font-size: 22px;
    text-align: center;
    padding-left: 0;
  }

  .tech-item {
    min-width: 180px;
    height: 82px;
    padding: 18px 20px;
  }

  .tech-item i {
    font-size: 30px;
  }

  .tech-item span {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .technical-skills-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 27px;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.8;
    padding: 0 12px;
  }

  .marquee-heading {
    font-size: 20px;
    text-align: center;
    margin-bottom: 16px;
  }

  .marquee-track {
    gap: 14px;
  }

  .tech-item {
    min-width: 150px;
    height: 72px;
    padding: 14px 16px;
    border-radius: 16px;
    gap: 10px;
  }

  .tech-item i {
    font-size: 24px;
    min-width: 26px;
  }

  .tech-item span {
    font-size: 14px;
  }

  .marquee-left .marquee-track,
  .marquee-right .marquee-track {
    animation-duration: 20s;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  .marquee-heading {
    font-size: 18px;
  }

  .tech-item {
    min-width: 135px;
    height: 66px;
    padding: 12px 14px;
  }

  .tech-item span {
    font-size: 13px;
  }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.technical-skills-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #020823, #06113a, #020823);
  overflow: hidden;
}

.marquee-block {
  margin-bottom: 24px;
}

.marquee-heading {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  padding-left: 6px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
}

.marquee-skills .marquee-track {
  animation: skillsMove 28s linear infinite;
}

.marquee-tools .marquee-track {
  animation: toolsMove 28s linear infinite;
}

.tech-item {
  min-width: 210px;
  height: 90px;
  padding: 20px 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 182, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 182, 255, 0.35);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

.tech-item i {
  font-size: 34px;
  color: #38b6ff;
  min-width: 36px;
  text-align: center;
}

.tech-item span {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

@keyframes skillsMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes toolsMove {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@media (max-width: 991px) {
  .technical-skills-section {
    padding: 70px 0;
  }

  .marquee-heading {
    font-size: 22px;
    text-align: center;
    padding-left: 0;
  }

  .tech-item {
    min-width: 180px;
    height: 82px;
    padding: 18px 20px;
  }

  .tech-item i {
    font-size: 30px;
  }

  .tech-item span {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .technical-skills-section {
    padding: 50px 0;
  }

  .marquee-heading {
    font-size: 20px;
    text-align: center;
    margin-bottom: 16px;
  }

  .marquee-track {
    gap: 14px;
  }

  .tech-item {
    min-width: 150px;
    height: 72px;
    padding: 14px 16px;
    border-radius: 16px;
    gap: 10px;
  }

  .tech-item i {
    font-size: 24px;
    min-width: 26px;
  }

  .tech-item span {
    font-size: 14px;
  }

  .marquee-skills .marquee-track,
  .marquee-tools .marquee-track {
    animation-duration: 20s;
  }
}

@media (max-width: 480px) {
  .marquee-heading {
    font-size: 18px;
  }

  .tech-item {
    min-width: 135px;
    height: 66px;
    padding: 12px 14px;
  }

  .tech-item span {
    font-size: 13px;
  }
}