:root {
  --text-color: #1a1c20;
  --link-color: #4a76ee;
  --background-color: #ffffff;
  --gray-color: #7d7f80;
  --primary-color: #7c3aed;
}

body.dark-mode {
  --text-color: #e4e6eb;
  --link-color: #93a8ff;
  --background-color: #1a1a2e;
  --gray-color: #a0a3a8;
  --primary-color: #a78bfa;
}

body.dark-mode .orbit-icon {
  background: #2a2a40;
}

body.dark-mode hr {
  border-color: #333;
}

/* Light mode (default) */
.logo-dark {
  display: none;
}

.logo-light {
  display: block;
}

/* Dark mode */
body.dark-mode .logo-light {
  display: none;
}

body.dark-mode .logo-dark {
  display: block;
}

.logo img {
  width: 80px;
  height: auto;
  display: block;
}

/* ===================== */
.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #7c3aed;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* Tooltip Arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #7c3aed;
}

/* Show tooltip on hover */
.tooltip-container:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  bottom: 108%;
}

/* ===================== */

/* ========== Animations ========== */

/* Hero entrance */
.hero-section .text {
  animation: fadeSlideUp 0.8s ease-out both;
}

.hero-section .orbit-container {
  animation: fadeSlideUp 0.8s 0.3s ease-out both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar entrance */
nav {
  animation: fadeDown 0.5s ease-out both;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered skill cells */
.cell-hidden {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.cell-visible {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Skill cell hover */
.skills-section .cells .cell {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skills-section .cells .cell:hover {
  transform: scale(1.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Timeline item hover lift */
.timeline-item {
  transition: transform 0.3s ease;
}

/* Social link hover */
.hero-section .social-links .box {
  transition: transform 0.2s ease;
}

/* .hero-section .social-links .box:hover {
    transform: translateX(5px);
} */

/* Contact form inputs focus animation */
.contact-form input,
.contact-form textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(134, 91, 254, 0.15);
}

/* Send button pulse on hover */
.contact-form button {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

/* Footer social icons */
.social-icons a {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

/* Theme toggle spin */
.theme-toggle svg {
  transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
  transform: rotate(30deg);
}

/* ========== End Animations ========== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

main {
  padding: 0 52px;
  max-width: 100%;
  overflow-x: hidden;
}




/* Navbar */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

/* Floating pill style on scroll */
nav.scrolled {
  top: 16px;
  padding: 0 24px;
  height: 64px;
  margin: 0 40px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

body.dark-mode nav.scrolled {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Force dark text inside scrolled pill in both modes */
nav.scrolled .left a,
nav.scrolled .nav-link,
nav.scrolled .theme-toggle {
  color: #1a1c20;
}

nav.scrolled .nav-link:hover,
nav.scrolled .nav-link.active {
  color: #7c3aed;
}

nav.scrolled .left span {
  color: #7c3aed;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-color);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

nav .left a {
  color: var(--text-color);
  font-size: 24px;
  font-weight: 600;
}

nav .left span {
  color: var(--primary-color);
}

nav .right a {
  color: var(--text-color);
  margin: 0 10px;
}

nav .right a:last-child {
  color: var(--background-color);
  background-color: var(--text-color);
  padding: 5px 15px;
  border-radius: 5px;
}

nav .right a span {
  margin-left: 5px;
}

nav .right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--gray-color);
  border-radius: 5px;
  padding: 6px;
  cursor: pointer;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.theme-toggle .icon-moon {
  display: none;
}

body.dark-mode .theme-toggle .icon-sun {
  display: none;
}

body.dark-mode .theme-toggle .icon-moon {
  display: block;
}

/* Section 1: Hero */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  margin: 50px 0;
  margin-bottom: 120px;
  gap: 40px;
}

.hero-section .text {
  flex: 5;
}

.hero-section .text .quote {
  color: var(--gray-color);
}

.hero-section .text h2 {
  font-size: 70px;
}

.hero-section .text h3 {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.typing-cursor {
  animation: blink 0.7s infinite;
  font-weight: 300;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-section .text h4 {
  font-size: 23px;
}

.hero-section .text p {
  margin-bottom: 25px;
}

.hero-section .text hr {
  width: 500px;
  margin-bottom: 25px;
}

.hero-section .text .links {
  margin-top: 25px;
}

.hero-section .social-links .box {
  display: flex;
  margin-bottom: 10px;
}

.hero-section .social-links .box svg {
  margin-right: 10px;
}

.hero-section .social-links .box span a {
  text-decoration: none;
  color: var(--text-color);
}

.hero-section .text .quote-container {
  position: relative;
  padding-left: 20px;
}

/* .hero-section .text .bar {
  width: 4px;
  height: 50px;
  background-color: var(--gray-color);
  position: absolute; 
} */

.hero-section .text .bar {
  width: 4px;
  height: 50px;
  background-color: var(--gray-color);
  position: absolute;
  left: 0;
  top: 5px;
}

.hero-section .text .quote {
  margin-top: 10px;
}


.hero-section .text .links a {
  display: inline-block;
  padding: 5px 10px;
  border: 2px solid var(--link-color);
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: 0.1s;
}

.hero-section .text .links a:hover {
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.hero-section .headshot {
  flex: 2;
  display: flex;
  justify-content: right;
}

.hero-section .headshot img {
  width: 350px;
  border-radius: 50%;
}

/* Section 2: Skills */
.skills-section {
  padding: 0 40px;
  margin-bottom: 170px;
}

.skills-section h2 {
  text-align: center;
  font-size: 35px;
}

.skills-section hr {
  margin-bottom: 25px;
}

.skills-section h3 {
  text-align: center;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-color);
}

.skills-section .text {
  text-align: center;
  margin-bottom: 20px;
}

.skills-section .cells {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.skills-section .cells .html {
  background-color: #e54e27;
}

.skills-section .cells .css {
  background-color: #2750e4;
}

.skills-section .cells .js {
  background-color: #f0dc4e;
}

.skills-section .cells .react {
  background-color: #1f1f1f;
}

.skills-section .cells .tailwind {
  background-color: #242938;
}

.skills-section .cells .node {
  background-color: #242938;
}

.skills-section .cells .express {
  background-color: #242938;
}

.skills-section .cells .mongo {
  background-color: #023430;
}

.skills-section .cells .docker {
  background-color: #2396ed;
}

.skills-section .cells .github {
  background-color: #242938;
}

.skills-section .cells .social {
  background-color: #242938;
}

.skills-section .cells .vscode {
  background-color: #242938;
}

.skills-section .cells .aws {
  background-color: #242938;
}

.skills-section .cells .cloud {
  background-color: #242938;
}


.skills-section .cells .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  width: 50px;
  padding: 5px 5px;
  border: none;
  border-radius: 13px;
  margin: 5px;
}

.skills-section .cells .cell img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 2px;
}

.skills-section .cells .cell span {
  font-size: 18px;
}

/* Section 3: Projects */

.projects-wrapper {
  padding: 0 40px;
  margin-bottom: 70px;
}

.projects-wrapper h2 {
  text-align: center;
  font-size: 35px;
}

.projects-wrapper hr {
  margin-bottom: 25px;
}

.projects-wrapper .text {
  text-align: center;
  margin-bottom: 50px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* Vertical center line */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #c4b5fd, #7c3aed, #4c1d95);
  transform: translateX(-50%);
}

body.dark-mode .timeline::before {
  background: linear-gradient(to bottom, #ddd6fe, #a78bfa, #6d28d9);
  opacity: 0.7;
}

/* Timeline item */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Dot on the line */
.timeline-dot {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 3px solid #7c3aed;
  border-radius: 50%;
  justify-self: center;
  position: relative;
  transition: transform 0.3s ease;
}

body.dark-mode .timeline-dot {
  background: #1a1a2e;
  border-color: #a78bfa;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
}

/* Horizontal connector line from image to dot */
.timeline-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  height: 3px;
  background: #7c3aed;
  transform: translateY(-50%);
  width: 130px;
  z-index: -1;
}

.timeline-item.reverse .timeline-dot::before {
  right: auto;
  left: 100%;
}

body.dark-mode .timeline-dot::before {
  background: #a78bfa;
}

body.dark-mode .timeline-item.reverse .timeline-dot::before {
  background: #c4b5fd;
}

/* Image side */
.timeline-image {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.timeline-item.reverse .timeline-image {
  justify-content: flex-start;
}

.timeline-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.2s ease;
  box-shadow: 0 12px 8px -8px rgba(0, 0, 0, 0.2);
}

.timeline-image img:hover {
  transform: scale(1.07);
}

/* Content side */
.timeline-content {
  padding: 0 30px;
  min-width: 0;
}

.timeline-content h3 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 2px;
}

body.dark-mode .timeline-content h3 {
  color: #a78bfa;
}

.timeline-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #7c3aed;
  opacity: 0.8;
}

body.dark-mode .timeline-subtitle {
  color: #a78bfa;
}

/* Alternate color for second project */
.timeline-item.reverse .timeline-content h3 {
  color: #6d28d9;
}

body.dark-mode .timeline-item.reverse .timeline-content h3 {
  color: #c4b5fd;
}

.timeline-item.reverse .timeline-subtitle {
  color: #6d28d9;
}

body.dark-mode .timeline-item.reverse .timeline-subtitle {
  color: #c4b5fd;
}

.timeline-item.reverse .timeline-dot {
  border-color: #6d28d9;
}

body.dark-mode .timeline-item.reverse .timeline-dot {
  border-color: #c4b5fd;
}

.timeline-content p {
  margin-top: 12px;
  line-height: 1.7;
  font-size: 15px;
  color: var(--text-color);
  text-align: justify;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
  padding: 0;
}

.project-tags li {
  background: #fff;
  color: #000;
  border: 1px solid #e4e6eb;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}

body.dark-mode .project-tags li {
  background: #2a2a40;
  color: #e4e6eb;
}

/* Reverse layout (content left, image right) */
.timeline-item.reverse {
  grid-template-columns: 1fr 150px 1fr;
}

/* Mobile timeline */
@media (max-width: 900px) {
  .timeline::before {
    display: none;
  }

  .timeline-item,
  .timeline-item.reverse {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline-dot {
    display: none;
  }

  .timeline-dot::before,
  .timeline-item.reverse .timeline-dot::before {
    display: none;
  }

  .timeline-image {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 15px;
  }

  .timeline-content {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    min-width: 0;
  }

  .timeline-content h3 {
    font-size: 1.6rem;
  }

  .timeline-image img {
    max-width: 100%;
  }

  .project-tags {
    overflow: hidden;
  }
}

/* Project CSS ======== */


/* ========== Chatgpt CSS ============== */
.orbit-container {
  position: relative;
  width: 380px;
  height: 380px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
}

.profile-img {
  width: 300px;
  border-radius: 50%;
  z-index: 3;
}

/* Ring */
.orbit-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: rotateRing 25s linear infinite;
}

/* Modern glowing circular lines */
.orbit-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite alternate;

  background: repeating-conic-gradient(#61dafb 0deg 10deg,
      transparent 10deg 18deg,
      #38bdf8 18deg 28deg,
      transparent 28deg 36deg,
      #f7df1e 36deg 46deg,
      transparent 46deg 54deg);

  mask: radial-gradient(farthest-side,
      transparent calc(100% - 3px),
      #000 calc(100% - 2px));
  -webkit-mask: radial-gradient(farthest-side,
      transparent calc(100% - 3px),
      #000 calc(100% - 2px));

  filter: blur(0.4px);
  opacity: 0.9;
}

/* Animations */
@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  from {
    opacity: 0.6;
  }

  to {
    opacity: 1;
  }
}

/* Logos */
.orbit-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Circular placement (your existing style) */
.i1 {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.i2 {
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
}

.i3 {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.i4 {
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
}

.i5 {
  top: 12%;
  left: 12%;
}

.i6 {
  top: 12%;
  right: 12%;
}

.i7 {
  bottom: 12%;
  right: 12%;
}

.i8 {
  bottom: 12%;
  left: 12%;
}


/* ============================= */
/* 📱 MOBILE RESPONSIVE DESIGN */
/* ============================= */

/* Tablets */
@media (max-width: 768px) {
  .orbit-container {
    width: 300px;
    height: 300px;
  }

  .profile-img {
    width: 230px;
  }

  .orbit-icon {
    width: 32px;
    height: 32px;
    padding: 5px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .orbit-container {
    width: 280px;
    height: 280px;
  }

  .profile-img {
    width: 194px;
  }

  .orbit-icon {
    width: 26px;
    height: 26px;
    padding: 4px;
  }

  .orbit-ring::before {
    inset: 10px;
  }
}

@media (max-width: 480px) {
  .i1 {
    top: 0;
  }

  .i2 {
    right: 0;
  }

  .i3 {
    bottom: 0;
  }

  .i4 {
    left: 0;
  }

  .i5 {
    top: 15%;
    left: 15%;
  }

  .i6 {
    top: 15%;
    right: 15%;
  }

  .i7 {
    bottom: 15%;
    right: 15%;
  }

  .i8 {
    bottom: 15%;
    left: 15%;
  }
}










/* ========== Chatgpt CSS ============== */


/* ========== Testimonials CSS ========== */

.testimonial-section {
  padding: 80px 40px;
  text-align: center;
  margin-bottom: 70px;
}

.testimonial-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.testimonial-section hr {
  width: 100%;
  /* height: 3px; */
  /* border: none; */
  /* background: #7C3AED; */
  margin-bottom: 25px;
}

.section-text {
  max-width: 700px;
  margin: auto;
  margin-bottom: 55px;
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
}

/*==========================
      Wrapper
===========================*/

.testimonial-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/*==========================
      Card
===========================*/

.testimonial-slider {

  width: 100%;
  max-width: 900px;

  background: #fff;

  border-radius: 22px;

  padding: 45px 15px;

  box-shadow:
    0 15px 40px rgba(0, 0, 0, .09);

  overflow: hidden;

  transition: .4s;
}

.testimonial {

  display: none;

  align-items: center;

  gap: 60px;
}

.testimonial.active {
  display: flex;
}

/*==========================
      Image
===========================*/

.testimonial-image {

  width: 260px;

  min-width: 260px;

  display: flex;

  justify-content: center;
}

.testimonial-image img {

  width: 220px;

  height: 220px;

  object-fit: cover;

  border-radius: 50%;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, .15);

  border: 6px solid #edf6ff;
}

/*==========================
      Text
===========================*/

.testimonial-content {

  flex: 1;

  text-align: left;
}

.testimonial-text {

  font-size: 1.02rem;

  line-height: 1.8;

  color: #333;

  margin-bottom: 45px;
}

.testimonial-content h3 {
  font-size: 1.4rem;
  color: #7C3AED;
  margin-bottom: 4px;
}

.testimonial-content span {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

/*==========================
      Arrows
===========================*/

.testimonial-btn {

  width: 55px;

  height: 55px;

  border: none;

  background: transparent;

  color: #7C3AED;

  font-size: 42px;

  cursor: pointer;

  transition: .3s;
}

.testimonial-btn:hover {

  transform: scale(1.2);

  color: #7C3AED;
}

/*==========================
      Dots
===========================*/

.testimonial-dots {

  display: flex;

  justify-content: center;

  gap: 10px;

  margin-top: 30px;
}

.dot {

  width: 12px;

  height: 12px;

  border-radius: 50%;

  background: #d5d5d5;

  cursor: pointer;

  transition: .3s;
}

.dot.active {

  background: #7C3AED;

  transform: scale(1.2);
}

/*==========================
      Animation
===========================*/

@keyframes fade {

  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.testimonial.active {
  animation: fade .45s ease;
}

/*==========================
      Tablet
===========================*/

@media(max-width:992px) {

  .testimonial-slider {

    padding: 40px;
  }

  .testimonial {

    gap: 35px;
  }

  .testimonial-image {

    min-width: 190px;
  }

  .testimonial-image img {

    width: 170px;

    height: 170px;
  }

  .testimonial-text {

    font-size: 1.05rem;
  }

  .testimonial-content h3 {

    font-size: 1.7rem;
  }

}

/*==========================
      Mobile
===========================*/

@media(max-width:768px) {

  .testimonial-wrapper {

    gap: 10px;
  }

  .testimonial {

    flex-direction: column;

    text-align: center;
  }

  .testimonial-content {

    text-align: center;
  }

  .testimonial-slider {

    padding: 30px 25px;
  }

  .testimonial-image {

    width: auto;

    min-width: auto;
  }

  .testimonial-image img {

    width: 150px;

    height: 150px;
  }

  .testimonial-text {

    font-size: 1rem;

    margin-bottom: 30px;
  }

  .testimonial-content h3 {

    font-size: 1.5rem;
  }

  .testimonial-btn {

    display: none;
  }

}

/*==========================
      Small Mobile
===========================*/

@media(max-width:480px) {

  .testimonial-slider {

    padding: 25px 18px;
  }

  .testimonial-image img {

    width: 130px;

    height: 130px;
  }

  .testimonial-text {

    font-size: .95rem;

    line-height: 1.7;
  }

  .testimonial-content h3 {

    font-size: 1.3rem;
  }

  .testimonial-content span {

    font-size: .9rem;
  }

}

/* =========================
      Dark Mode
========================= */

body.dark-mode .testimonial-slider {
  background: #383a6e;
  box-shadow: 0 15px 40px rgba(64, 61, 61, 0.45);
}

body.dark-mode .testimonial-text {
  color: #e8e8e8;
}

body.dark-mode .testimonial-content h3 {
  color: #7C3AED;
}

body.dark-mode .testimonial-content span {
  color: #bdbdbd;
}

body.dark-mode .dot {
  background: #555;
}

body.dark-mode .dot.active {
  background: #7C3AED;
}

body.dark-mode .testimonial-btn {
  color: #7C3AED;
}

body.dark-mode .testimonial-image img {
  border: 6px solid #2f2f2f;
}

/* ========== Testimonials CSS ========== */



/* Section 4: Contact */
.contact-section {
  padding: 0 50px;
  margin-bottom: 120px;
}

.contact-section h2 {
  text-align: center;
  font-size: 35px;
}

.contact-section hr {
  margin-bottom: 25px;
}

.contact-section .text {
  text-align: center;
  margin-bottom: 40px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--primary-color);
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
  color: var(--gray-color);
  font-size: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray-color);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  background-color: var(--background-color);
  color: var(--text-color);
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
  width: 100%;
}

.contact-form button:hover {
  opacity: 0.85;
}

/* Footer */
footer {
  background-color: #1a1c20;
  color: #e4e6eb;
  padding: 50px 50px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 600;
  color: #e4e6eb;
  text-decoration: none;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-left p {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4,
.footer-socials h4 {
  margin-bottom: 5px;
  font-size: 16px;
}

.footer-links a {
  color: #e4e6eb;
  opacity: 0.7;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #e4e6eb;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.social-icons a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* =====> Media Query <===== */

/* ============================= */
/* 🔥 RESPONSIVE DESIGN */
/* ============================= */

/* Large Tablets */
@media (max-width: 1024px) {
  main {
    padding: 0 30px;
  }

  .hero-section {
    padding: 0 30px;
  }

  .hero-section .text h2 {
    font-size: 38px;
  }

  .hero-section .headshot img {
    width: 300px;
  }

  .skills-section {
    padding: 0 30px;
  }

  .contact-section {
    padding: 0 30px;
  }

  .projects-wrapper {
    padding: 0 30px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  main {
    padding: 0 20px;
  }

  nav {
    padding: 0 20px;
  }

  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 0;
  }

  .hero-section .text hr {
    width: 100%;
  }

  .hero-section .social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-section .social-links .box {
    justify-content: center;
  }

  .hero-section .headshot {
    justify-content: center;
  }

  .hero-section .headshot img {
    width: 250px;
    border-radius: 50%;
  }

  .skills-section {
    padding: 0;
  }

  .skills-section h2 {
    font-size: 30px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-section {
    padding: 0;
  }

  .projects-wrapper {
    padding: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  footer {
    padding: 40px 20px 20px;
  }
}

/* Mobile Devices */
@media (max-width: 600px) {
  main {
    padding: 0 15px;
  }

  nav {
    height: 65px;
  }

  nav .left a {
    font-size: 18px;
  }

  nav .right {
    padding: 4px;
  }

  nav .right svg {
    width: 20px;
    height: 20px;
  }

  .hero-section {
    padding: 0 15px;
  }

  .hero-section .text h2 {
    font-size: 26px;
  }

  .hero-section .text h3 {
    font-size: 16px;
  }

  .hero-section .text p {
    font-size: 14px;
  }

  .hero-section .social-links {
    grid-template-columns: 1fr;
  }

  .hero-section .headshot img {
    width: 220px;
  }

  .skills-section {
    padding: 0 15px;
  }

  .skills-section .cells .cell {
    /* width: 100%; */
    max-width: 35px;
    max-height: 35px;
    margin: 3px;
  }

  .skills-section .cells .cell img {
    /* width: 100%; */
    max-width: 28px;
  }

  .contact-section {
    padding: 0;
  }

  .contact-section h2 {
    font-size: 28px;
  }

  .projects-wrapper {
    padding: 0;
  }

  .projects-wrapper h2 {
    font-size: 28px;
  }

  footer {
    padding: 30px 15px 15px;
  }
}

/* Extra Small Devices */
@media (max-width: 400px) {

  section .section-header {
    font-size: 28px;
  }

  .hero-section {
    margin-bottom: 80px;
  }

  .skills-section {
    margin-bottom: 110px;
  }

  .testimonial-section {
    margin-bottom: 60px;
    margin-top: -10px;
    padding: 0;
  }

  .contact-section {
    margin-bottom: 45px;
  }

  .projects-wrapper {
    margin-bottom: 10px;
  }
  .projects-wrapper .timeline .timeline-item {
    margin-bottom: 60px;
  }

  .projects-wrapper .timeline .timeline-item .timeline-content .timeline-subtitle {
    font-size: 14px;
  }
  .projects-wrapper .timeline .timeline-item .timeline-content .timeline-desc {
    font-size: 14px;
    line-height: 1.2rem;
  }

  .logo-light, .logo-dark {
    margin-top: 18px;
    margin-bottom: 18px;
    width: 80px;
  }

  .hero-section .text h2 {
    font-size: 30px;
  }

  .hero-section .text h3 {
    font-size: 14px;
  }

  .hero-section .text p {
    font-size: 14px;
  }

  .hero-section .headshot img {
    width: 180px;
  }

  .hero-section .typing-text {
    font-size: 18px;
  }

  .hero-section .quote-container .bar {
    height: 95px;
    /* display: none; */
  }

  .skills-section .cells .cell span {
    font-size: 15px;
  }

  .orbit-container {
    width: 280px;
    height: 280px;
  }

  .orbit-icon {
    width: 35px;
    height: 35px;
    padding: 3px;
  }

  .orbit-ring::before {
    inset: 15px;
  }

  .profile-img {
    padding: 15px;
  }
}


.skills-section::before {
  content: "";
  display: block;
  height: 70px;
  margin-top: -110px;
  visibility: hidden;
}

.projects-wrapper::before {
  content: "";
  display: block;
  height: 50px;
  margin-top: -110px;
  visibility: hidden;
}

.contact-section::before {
  content: "";
  display: block;
  height: 90px;
  margin-top: -110px;
  visibility: hidden;
}