section {
  max-width: 100%;
  overflow-x: hidden;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 4rem;
}
.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
}

body.dark .card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  margin-top: auto;
}

/* Particle Background */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.particle {
  position: absolute;
  background-color: rgb(var(--violet-rgb) / 0.6);
  border-radius: 50%;
  box-shadow: 0 0 12px rgb(var(--violet-rgb) / 0.8);
  animation: float 12s infinite linear;
  opacity: 0.9;
}
.particle:hover {
  transform: scale(1.4);
  opacity: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.site-nav__inner {
  width: min(var(--site-width), calc(100% - var(--site-gutter) * 2));
  min-height: var(--nav-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0 clamp(0.5rem, 2.4vw, 2rem);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--text);
  font: 700 clamp(1.05rem, 2vw, 1.32rem)/1 var(--font-heading);
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__brand:hover {
  color: var(--text);
}

.site-nav__brand-accent {
  color: var(--accent);
}

.site-nav__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-right: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: rgb(var(--violet-rgb) / 15%);
  color: var(--accent);
}

.site-nav__mark svg,
.site-nav__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem clamp(0.15rem, 1.2vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links a:not(.site-button) {
  display: block;
  padding: 0.6rem 0.35rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current] {
  color: var(--accent);
}

.site-nav__links a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-nav__icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  cursor: pointer;
}

.site-nav__icon:hover {
  color: var(--accent);
}

.site-nav__icon[hidden],
.site-nav__menu-toggle,
.site-nav__mobile-hire,
.site-nav__moon,
:root[data-theme="light"] .site-nav__sun {
  display: none;
}

:root[data-theme="light"] .site-nav__moon {
  display: block;
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.site-button--primary {
  color: #fff;
  background: var(--primary);
}

.site-button--primary:hover,
.site-nav__links .site-button--primary:hover {
  color: #fff;
  background: var(--primary-hover);
}

.site-button--outline {
  background: var(--glass);
  border-color: var(--border);
  color: var(--text);
}

.site-button--outline:hover {
  border-color: var(--accent);
  color: var(--text);
}

.site-nav :focus-visible,
.site-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .site-nav__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: var(--nav-height) auto;
  }

  .site-nav__actions {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav__menu-toggle:not([hidden]) {
    display: inline-grid;
    grid-column: 3;
    grid-row: 1;
  }

  .site-nav__links {
    grid-column: 1 / -1;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: flex-start;
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    padding: 0.5rem 0.25rem 1rem;
  }

  .site-nav__menu-toggle:not([hidden])[aria-expanded="false"] + .site-nav__links {
    display: none;
  }

  .site-nav__links a:not(.site-button) {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 479px) {
  .site-nav__hire {
    display: none;
  }

  .site-nav__mobile-hire {
    display: block;
    padding-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-button {
    transition: none;
  }
}

/* Shared footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--section-bg);
  color: var(--muted);
}

.site-footer__inner {
  width: min(var(--site-width), calc(100% - var(--site-gutter) * 2));
  margin-inline: auto;
  padding-top: clamp(2.5rem, 5.5vw, 4.5rem);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.85rem clamp(1rem, 3vw, 2.4rem);
  padding-bottom: 2.2rem;
}

.site-footer h2,
.site-footer__brand {
  color: var(--text);
  font-weight: 700;
}

.site-footer h2 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: 0.65rem;
  font: 700 1.55rem/1.2 var(--font-heading);
  letter-spacing: -0.045em;
  text-decoration: none;
}

.site-footer__brand span,
.site-footer__contact i {
  color: var(--accent);
}

.site-footer__identity p,
.site-footer li,
.site-footer__copyright {
  font-size: 0.88rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.site-footer__identity p {
  margin: 0.5rem 0 0;
}

.site-footer__identity .site-footer__tagline {
  color: var(--text);
  font-weight: 600;
}

.site-footer ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: rgb(var(--violet-rgb) / 8%);
  color: var(--accent);
}

.site-footer__social i,
.site-footer__social svg {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.site-footer__social a:hover {
  border-color: var(--accent);
  background: rgb(var(--violet-rgb) / 18%);
}

@media (prefers-reduced-motion: no-preference) {
  .site-footer__social a {
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
  }

  .site-footer__social a:hover {
    transform: translateY(-2px);
  }
}

.site-footer__contact li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
}

.site-footer__contact i {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1rem;
}

.site-footer__copyright {
  margin: 0;
  padding-block: 1rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.3rem;
  color: inherit;
  text-decoration: none; /* no underline */
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent);
  transform: translateY(-4px) scale(1.1);
}
/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-color);
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.mr {
  margin-top: 30px;
}

/* Accent Color */
.text-accent {
  color: var(--primary-color);
}

/* Buttons */
.btn-accent {
  background: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  box-shadow: 0 6px 15px rgb(var(--violet-rgb) / 0.5);
  transition: all 0.3s ease;
}
.btn-accent:hover {
  background: var(--primary-hover);
  box-shadow: 0 10px 20px rgb(var(--violet-rgb) / 0.7);
  transform: translateY(-3px);
}

.btn-outline-accent {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  box-shadow: 0 6px 15px rgb(var(--violet-rgb) / 0.3);
  transition: all 0.3s ease;
}
.btn-outline-accent:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 10px 20px rgb(var(--violet-rgb) / 0.7);
  transform: translateY(-3px);
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1.5rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}
.social-icons a:hover {
  color: var(--accent);
  transform: translateY(-4px) scale(1.1);
}

/* Hero Image */
.hero-img {
  width: 100%;             
  max-width: 420px;         
  height: auto;            
  display: block;          
  margin: 0 auto;           
  
  border-radius: 50%;
  border: 5px solid var(--accent);
  box-shadow: 0 10px 30px rgb(var(--violet-rgb) / 0.3);

  transition: transform 0.3s ease, margin 0.3s ease;
}

.hero-img:hover {
  transform: scale(1.05);
}

/* Dark Mode */
body.dark .hero-section {
  margin-top: 30px;
  background: var(--bg-primary);
  color: var(--text-color);
}
body.dark .mr {
  margin-top: 30px;
}
@media (min-width: 992px) {
  .hero-img {
    margin-left: 50px;   
    margin-right: 0;
  }
}


body.dark .text-muted {
  color: #fff;
}

body.dark .text-center p {
  color: #fff !important;
}

/* Timeline Section */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 3px;
  background: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 1rem 2rem;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 15px;
  right: -10px;
  background: var(--primary-color);
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.right::before {
  left: -10px;
  right: auto;
}

.timeline-content {
  background: var(--bg-secondary-card);
  color: var(--bg-secondary-card-text);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgb(var(--violet-rgb) / 0.3);
}

/* Dark Mode */
body.dark .timeline::after {
  background: var(--secondary-color);
}

body.dark .timeline-item::before {
  border: 3px solid var(--bg-primary);
}
@media (max-width: 768px) {
  .timeline::after {
    left: 8px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 2.5rem;
    padding-right: 1rem;
    text-align: left !important;
  }
  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }
  .timeline-item::before {
    left: 0;
    right: auto;
  }
}

/* CTA Section */
.cta-section {
  background: rgb(var(--violet-rgb) / 0.05);
  padding: 6rem 0;
  background-color: #ffffff;
  /* border-radius: 20px;
  box-shadow: 0 10px 25px rgb(var(--violet-rgb) / 0.1); */
  transition: all 0.4s ease;
  margin-bottom: 90px;
}

body.dark .cta-section {
  background: rgb(var(--violet-rgb) / 0.1);
  background-color: var(--section-bg);
}

/* CTA Title */
.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

body.dark .cta-title {
  color: #fff;
}

/* CTA Subtitle */
.cta-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

body.dark .cta-subtitle {
  color: #d1d5db;
}

/* CTA Buttons */
.btn-accent {
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  box-shadow: 0 6px 15px rgb(var(--violet-rgb) / 0.4);
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 18px rgb(var(--violet-rgb) / 0.6);
}

.btn-outline-accent {
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-accent:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgb(var(--violet-rgb) / 0.6);
}

.btn-outline-accente {
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 0.5rem;
  padding: 0.4rem 0.5rem;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-outline-accente:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgb(var(--violet-rgb) / 0.6);
}
body.dark .btn-outline-accente {
  border: 2px solid #fff;
  color: #fff;
}

.viewall {
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-outline-accentee {
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 0.5rem;
  padding: 0.4rem 0.5rem;
  font-weight: 600;
  width: 20%;
  transition: all 0.3s ease;
}
@media (max-width: 991px) {
  .btn-outline-accentee {
    border-radius: 0.5rem;
    padding: 0.4rem 0.5rem;
    font-weight: 600;
    width: 40%;
    transition: all 0.3s ease;
  }
}

.btn-outline-accentee:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgb(var(--violet-rgb) / 0.6);
}
body.dark .btn-outline-accentee {
  border: 2px solid #fff;
  color: #fff;
}
