/* Importing Google Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  /* Color */
  --white-color: #ffffff;
  --dark-color: #00072d;
  --primary-color: #001c55;
  --secondary-color: #0a2472;
  --third-color: #0e6ba8;
  --Light-Sky-Blue: #a6e1fa;

  /* Font Size */
  --font-size-s: 0.9rem;
  --font-size-n: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;

  /* Font Weight */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Border Radius */
  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;

  /* Site max width */
  --site-max-width: 1300px;
}

html {
  scroll-behavior: smooth;
}

/* Base resets */
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
img {
  width: 100%;
}

.section-content {
  margin: 0 auto;
  padding: 10px 20px;
  max-width: var(--site-max-width);
}

/* Navbar Styling */

.nav-logo .logo-text,
.footer-name,
.hero-image-wrapper,
.tm-title,
#menu-open-button,
#menu-close-button {
  background: linear-gradient(90deg, #0e6ba8, #a6e1fa);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: bold;
  animation: animateGradient 10s ease infinite;
}

@keyframes animateGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

header {
  position: fixed;
  width: 100%;
  z-index: 900;
  padding: 8px 0;
  background: rgba(28, 33, 58, 0.534);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .nav-logo .logo-text {
  color: var(--white-color);
  font-size: var(--font-size-l);
}

header .nav-menu {
  display: flex;
  gap: 5px;
}

.navbar .nav-menu .nav-link {
  padding: 10px 18px;
  color: var(--Light-Sky-Blue);
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-medium);
}

.navbar .nav-menu .nav-link:hover,
.navbar .nav-menu .nav-link:active {
  color: var(--white-color);
}

.navbar :where(#menu-close-button, #menu-open-button) {
  display: none;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--dark-color);
}

.hero-section .section-content {
  display: flex;
  align-items: center;
  min-height: 100vh;
  color: var(--white-color);
  justify-content: space-between;
}

.hero-section .hero-details .title {
  font-size: var(--font-size-xxl);
  color: var(--Light-Sky-Blue);
}

.hero-section .hero-details .subtitle {
  margin-top: 8px;
  max-width: 80%;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description {
  max-width: 80%;
  margin: 5px 0 40px;
  font-size: var(--font-size-m);
}

.hero-section .hero-details .buttons {
  display: flex;
  gap: 15px;
}

.hero-section .hero-details .button {
  padding: 5px 15px;
  border: 2px solid transparent;
  color: var(--Light-Sky-Blue);
  border-radius: var(--border-radius-m);
  background: var(--secondary-color);
  font-weight: var(--font-weight-medium);
  transition: 0.3s ease;
}

/* .hero-section .hero-details .button:hover,
.hero-section .hero-details .download-cv {
  color: var(--white-color);
  border-color: var(--Light-Sky-Blue);
  background: transparent;
} */







/* From Uiverse.io by satyamchaudharydev */ 
.button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color: var(--dark-color);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  /* border: 3px solid #ffffff4d; */
  outline: none;
  overflow: hidden;
  font-size: 15px;
  cursor: pointer;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  border-color: var(--Light-Sky-Blue);
}

.button:hover .icon {
  transform: translate(4px);
}

.button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}













.hero-section .hero-details .download-cv:hover {
  color: var(--Light-Sky-Blue);
  border-color: var(--secondary-color);
  background: var(--secondary-color);
}

.hero-section .hero-image-wrapper {
  max-width: 500px;
  margin-right: 30px;
}

.hero-section .hero-image-wrapper .hero-image {
  border-radius: var(--border-radius-circle);
  border: 5px solid transparent;
  background: linear-gradient(var(--dark-color), var(--dark-color)) padding-box,
    linear-gradient(135deg, #00072d, #001c55, #0a2472, #0e6ba8, #001c55)
      border-box;
  background-size: 400% 400%;
  animation: borderGradient 5s ease infinite;
}

/* Animation Keyframes */
@keyframes borderGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Optional overlay
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1100;     
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* When menu is open */
body.show-mobile-menu .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile */
@media screen and (max-width: 900px) {
  :root {
    --font-size-m: 1rem;
    --font-size-l: 1.4rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
  }

  .navbar :where(#menu-close-button, #menu-open-button) {
    display: block;
    font-size: var(--font-size-l);
  }

  .navbar #menu-open-button {
    background-color: var(--dark-color);
    border: none;
    color: var(--white-color);
  }

  .navbar #menu-close-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    position: absolute;
    right: 30px;
    top: 30px;
  }

  .navbar .nav-menu {
    position: fixed;
    left: -320px;
    top: 0;
    width: 300px;
    max-width: 88vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    background-color: #001c55; /* Solid drawer color */
    color: #fff;
    transition: left 0.2s ease;
    z-index: 1200;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.3);
  }

  body.show-mobile-menu .navbar .nav-menu {
    left: 0;
  }

  .navbar .nav-menu .nav-link {
    color: var(--Light-Sky-Blue);
    display: block;
    margin-top: 1px;
    font-size: var(--font-size-m);
  }

  .hero-section .section-content {
    flex-direction: column-reverse;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 30px 20px 20px;
  }

  .hero-section .hero-details :is(.subtitle, .description) {
    max-width: var(--site-max-width);
  }

  .hero-section .hero-details .buttons {
    justify-content: center;
  }

  .hero-section .hero-image-wrapper {
    padding-top: 20%;
    max-width: 80%;
    margin-right: 0;
  }

  /* skills Section Start */
  .skills-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(120px));
    max-width: 90% !important;
    gap: 12px;
  }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
  }

  .ach-container {
  width: 100%!important;
  margin: 0 auto;
  padding: 1%!important;
}

  .ach-section {
    margin-bottom: 0rem!important;
  }
}

/* Desktop reset to horizontal menu if needed */
@media (min-width: 901px) {
  .menu-overlay {
    display: none;
  }
  .navbar .nav-menu {
    position: static;
    left: 0;
    width: auto;
    height: auto;
    padding-top: 0;
    background: transparent;
    z-index: auto;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none;
    max-width: none;
  }
}

.skills {
  text-align: center;
  width: 100%;
  background: var(--dark-color);
}

.skills h2 {
  font-size: var(--font-size-xxl);
  margin-bottom: 40px;
  color: var(--Light-Sky-Blue);
}

.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px));
  gap: 15px;
  max-width: 1270px;
  margin: 0 auto;
}

.skills-card {
  background: rgba(28, 33, 58, 0.534);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: var(--border-radius-s);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
}

/* .skills-card:hover {
  transform: translateY(-5px);
} */

.card-header {
  display: flex;
  align-items: center;   
  gap: 15px;
  padding-bottom: 10px;
}

.card-header .icon {
  font-size: 24px;       
  display: flex;
  align-items: center;
}


.skills-card h3 {
  font-size: var(--font-size-l);
  margin-bottom: 5px;
  color: var(--Light-Sky-Blue);
}

/* .skills-card p {
  font-size: var(--font-size-n);
  color: #a1a1aa;
} */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.skill-icon {
  height: 20px;
  width: 20px;
}

.skills-grid span {
  background: rgba(255, 255, 255, 0.05);
  color: var(--Light-Sky-Blue);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: var(--font-size-m);
  transition: 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.skills-grid span:hover {
  background: var(--Light-Sky-Blue);
  color: var(--dark-color);
  border-color: var(--Light-Sky-Blue);
  transform: translateY(-3px);
}

/* Achievements Section - Adapted to Your CSS (kept structure, used your variables/glass) */
.ach-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-color);
  padding: 4rem 1rem;
  margin-bottom: -4rem;
}

.ach-container {
  width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
}

.ach-header {
  text-align: center;
  margin-bottom: 3rem;
}

.ach-title {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
  color: var(--Light-Sky-Blue);
}

.ach-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.ach-card {
  background: rgba(28, 33, 58, 0.534);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-s);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ach-card-title {
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--Light-Sky-Blue);
}

.ach-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  border-radius: var(--border-radius-circle);
  display: inline-block;
  background: var(--Light-Sky-Blue);
}

.ach-platforms-icon {
  background: var(--secondary-color); /* Adapted to your blue theme */
}

.ach-certs-icon {
  background: var(--third-color); /* Adapted to your blue theme */
}

.ach-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ach-list-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  text-decoration: none;
  color: var(--white-color);
  transition: transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  font-size: var(--font-size-n);
}

.ach-list-item:hover {
  transform: scale(1.02);
  background: var(--Light-Sky-Blue);
  color: var(--dark-color);
}

.ach-item-icon {
  font-size: 0.75rem;
  margin-right: 0.75rem;
  color: var(--Light-Sky-Blue);
}

.ach-count {
  margin-left: auto;
  font-size: var(--font-size-s);
  opacity: 0.75;
  color: #a1a1aa;
}

.ach-certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ach-cert-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  text-decoration: none;
  color: var(--white-color);
  transition: transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  font-size: var(--font-size-n);
}

.ach-cert-item:hover {
  transform: scale(1.02);
  background: var(--Light-Sky-Blue);
  color: var(--dark-color);
}

.ach-cert-icon {
  font-size: 1.25rem;
  margin-right: 0.75rem;
  color: #22c55e;
}

.ach-footer-note {
  text-align: center;
  margin-top: 2rem;
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-semibold);
  color: var(--Light-Sky-Blue);
}

@media (max-width: 768px) {
  .ach-grid {
    grid-template-columns: 1fr;
  }

  .ach-title {
    font-size: var(--font-size-xl);
  }

  .section-content {
    padding: 10px 15px;
  }
}

/* Fade-in animation */
.ach-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ach-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Experience Section */

.experience {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-color);
    padding: 4rem 1rem;
}

.exp-container {
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.exp-header {
    text-align: center;
    margin-bottom: 3rem;
}

.exp-title, .ach-title {
    font-size: var(--font-size-xxl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
    color: var(--Light-Sky-Blue);
    background: linear-gradient(90deg, #0e6ba8, #a6e1fa);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animateGradient 10s ease infinite;
}

.exp-timeline {
    position: relative;
    padding-left: 50px;
}

/* Timeline Line */
.exp-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        var(--third-color) 0%, 
        var(--Light-Sky-Blue) 50%, 
        var(--third-color) 100%);
}

.exp-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.exp-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Dot */
.exp-item::before {
    content: '';
    position: absolute;
    left: -42px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--Light-Sky-Blue);
    border: 3px solid var(--dark-color);
    box-shadow: 0 0 12px rgba(166, 225, 250, 0.4);
    z-index: 2;
}

.exp-card {
    background: rgba(28, 33, 58, 0.534);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-s);
    padding: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.exp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 12px rgba(166, 225, 250, 0.15);
    border-color: rgba(166, 225, 250, 0.5);
}

.exp-header-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.exp-company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.exp-company-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: var(--border-radius-s);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.exp-company-details h3 {
    font-size: var(--font-size-l);
    color: var(--white-color);
    margin-bottom: 0.25rem;
    font-weight: var(--font-weight-semibold);
}

.exp-job-title {
    font-size: var(--font-size-m);
    color: var(--Light-Sky-Blue);
    font-weight: var(--font-weight-medium);
}

.exp-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-s);
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.exp-duration-icon {
    font-size: 1rem;
}

.exp-duration-badge {
    background: var(--third-color);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

.exp-achievements {
    margin-top: 1rem;
}

.exp-achievements-title {
    font-size: var(--font-size-m);
    color: var(--Light-Sky-Blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-weight-medium);
}

.exp-achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exp-achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--third-color);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.exp-achievement-item:hover {
    transform: translateX(5px);
    background: rgba(166, 225, 250, 0.1);
}

.exp-achievement-icon {
    color: var(--Light-Sky-Blue);
    font-size: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.exp-achievement-text {
    font-size: var(--font-size-n);
    color: var(--white-color);
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .experience {
        padding: 2rem 1rem;
    }

    .exp-timeline {
        padding-left: 30px;
    }

    .exp-timeline::before {
        left: 16px;
    }

    .exp-item::before {
        left: -34px;
        width: 12px;
        height: 12px;
    }

    .exp-header-wrapper {
        flex-direction: column;
    }

    .exp-company-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .exp-duration {
        width: 100%;
        justify-content: center;
    }

    .exp-card {
        padding: 2rem;
    }
}


/* start education style */

/* ===== Education Section ===== */
.education {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark-color);
  padding: 4rem 1rem;
}

.edu-container {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.edu-header {
  text-align: center;
  margin-bottom: 3rem;
}

.edu-title {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-bold);
  background: linear-gradient(90deg, var(--third-color), var(--Light-Sky-Blue));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: animateGradient 10s ease infinite;
}

.edu-subtitle {
  color: #a1a1aa;
  font-size: var(--font-size-m);
  margin-top: 0.25rem;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.edu-card {
  position: relative;
  overflow: hidden;
  background: rgba(28, 33, 58, 0.534);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-s);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-color: rgba(166, 225, 250, 0.5);
}

/* Decorative corner circles (subtle) */
.edu-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
  filter: saturate(1.2);
}

.decor-top {
  width: 160px;
  height: 160px;
  top: -40px;
  right: -40px;
  background: radial-gradient(80px 80px at 30% 30%, rgba(166, 225, 250, 0.45), transparent 70%);
}

.decor-bottom {
  width: 160px;
  height: 160px;
  left: -40px;
  bottom: -40px;
  background: radial-gradient(80px 80px at 70% 70%, rgba(166, 225, 250, 0.25), transparent 70%);
}

.edu-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.edu-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white-color);
  background: var(--secondary-color);
  box-shadow: 0 6px 18px rgba(10, 36, 114, 0.35);
}

.edu-icon-uni {
  background: var(--secondary-color);
}

.edu-icon-diploma {
  background: var(--third-color);
}

.edu-icon-school {
  background: #123c7a;
}

.edu-school {
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-semibold);
  color: var(--white-color);
  line-height: 1.25;
}

.edu-degree {
  display: inline-block;
  font-size: var(--font-size-s);
  color: var(--Light-Sky-Blue);
  font-weight: var(--font-weight-medium);
  padding-top: 5px;
}

.edu-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0.5rem;
  color: #a1a1aa;
  font-size: var(--font-size-s);
}

.edu-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.edu-duration {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.edu-gpa {
  color: var(--white-color);
  font-size: var(--font-size-n);
  margin-top: 0.25rem;
}

.edu-divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  margin: 1rem 0;
}

/* One-line coursework (paragraph style) */
.edu-key-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-m);
  color: var(--Light-Sky-Blue);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
}

.edu-key-icon {
  font-size: 1rem;
}

.edu-key-text {
  color: #a1a1aa;
  font-size: var(--font-size-n);
  line-height: 1.6;
  margin: 0;
}

/* Reveal animation */
.edu-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.edu-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width:1100px){ .edu-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:768px){
  .education{padding:2.5rem 1rem;}
  .edu-title{font-size:var(--font-size-xl);}
  .edu-grid{grid-template-columns:1fr; gap:1rem;}
  .edu-card{padding:1.25rem;}
}

/* Footer (uses your variables and scale) */
.site-footer{
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 60%),
    var(--dark-color);
  padding: 18px 0 28px;
  color: var(--white-color);
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

/* Left block */
.footer-heading{
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-semibold);
  opacity: .9;
  margin-bottom: 8px;
}

.footer-links{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}

.f-link{
  display:inline-flex;
  align-items:center;
  gap:3px;
  color:#cbd5e1;
  font-size: calc(var(--font-size-n) * .95);
  transition: color .2s ease, opacity .2s ease;
  opacity: .95;
}

.f-link:hover{ color: var(--white-color); opacity: 1; }

/* tiny bullet-like icon to mimic screenshot */
.f-ico{
  width:10px; height:10px; border-radius:3px;
  background: linear-gradient(180deg, var(--Light-Sky-Blue), var(--third-color));
  box-shadow: 0 0 6px rgba(166,225,250,.45);
}

/* Right block */
.footer-right{ text-align:right; }
.footer-name{
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-bold);
  margin: 0 0 4px 0;
}
.footer-role{
  font-size: calc(var(--font-size-n) * .95);
  color:#9aa4b2;
  margin:0;
}

/* Divider like a thin hairline */
.footer-divider{
  height:1px;
  margin: 14px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}

/* Bottom credits */
.footer-bottom{
  text-align:center;
}

.footer-made,
.footer-copy{
  margin: 4px 0;
  font-size: calc(var(--font-size-m) * .9);
  color:#9aa4b2;
}

.footer-made .heart{ color:#ef5555; }

/* Responsive */
@media (max-width: 700px) {
  .footer-heading {
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-right {
    text-align: center;
  }
}


/* === Testimonials (glass + marquee) === */
.testimonials {
  background: var(--dark-color);
  /* padding: 4.5rem 0; */
}

.testimonials .section-content {
  position: relative;
  /* overflow-x: hidden;           */
}

.tm-head {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 20px;
}

.tm-kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--Light-Sky-Blue);
  font-size: var(--font-size-s);
  background: rgba(28,33,58,.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tm-title {
  margin-top: .6rem;
  font-size: var(--font-size-xxl);
  color: var(--Light-Sky-Blue);
}

.tm-sub {
  color: #cbd5e1;
  opacity: .85;
  font-size: var(--font-size-m);
}

/* soft glow behind heading */
.tm-blur {
  position: absolute;
  left: 50%;
  top: -20px;
  width: 540px;
  height: 320px;
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(90px);
  background:
    radial-gradient(60% 60% at 45% 40%, rgba(166,225,250,.35), transparent 70%),
    radial-gradient(60% 60% at 55% 70%, rgba(14,107,168,.35), transparent 70%);
  z-index: 0;
}

.tm-rows {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

/* marquee shells */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: tm-scroll 40s linear infinite;
  will-change: transform;
}

.tm-row-bottom .marquee-track {
  animation-direction: reverse;
  animation-duration: 55s;
}

/* pause on hover (desktop) */
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes tm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }  /* assumes track is duplicated in JS */
}

/* cards */
.tm-card {
  min-width: 360px;
  max-width: 380px;
  padding: 18px;
  color: var(--white-color);
  background: rgba(28, 33, 58, 0.534);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--border-radius-s);
  box-shadow: 0 4px 30px rgba(0,0,0,.2);
}

.tm-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tm-avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--third-color), var(--Light-Sky-Blue));
  box-shadow: 0 0 12px rgba(166,225,250,.25);
}

.tm-name { font-weight: var(--font-weight-semibold); color: var(--white-color); }
.tm-handle { font-size: var(--font-size-s); color: #94a3b8; }

.tm-text {
  color: #cbd5e1;
  font-size: var(--font-size-m);
  line-height: 1.5;
}

/* === Mobile refinements (≤700px) === */
@media (max-width: 700px) {
  .tm-head { margin-bottom: 1.4rem; }
  .tm-title { font-size: var(--font-size-xl); line-height: 1.2; }
  .tm-sub { font-size: var(--font-size-n); }

  /* soften background glow so it doesn't overlap */
  .tm-blur {
    width: 320px;
    height: 200px;
    top: -10px;
    filter: blur(70px);
  }

  /* tighter rows and smoother scroll on small screens */
  .tm-rows { gap: 14px; }
  .marquee {
    padding-inline: 6px;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
  .marquee-track { gap: 12px; animation-duration: 32s; }
  .tm-row-bottom .marquee-track { animation-duration: 40s; }

  /* card width + text wrapping */
  .tm-card {
    min-width: 280px;          /* was 360px, caused overflow on small phones */
    max-width: 300px;
    padding: 14px;
  }
  .tm-user { gap: 10px; margin-bottom: 8px; }
  .tm-avatar { width: 36px; height: 36px; }
  .tm-name { font-size: var(--font-size-m); }
  .tm-handle { font-size: var(--font-size-s); }
  .tm-text {
    font-size: var(--font-size-n);
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

