/******************************************************************
  CLEANED STYLESHEET — only rules that match classes/ids present
  in index.html are kept. Unused legacy sections (old header,
  old hero slider, work gallery, testimonial, blog-details,
  contact-widget, old portfolio filter, call-to-action, slicknav)
  
******************************************************************/
/*------------------------------------------------------------------
[Table of contents]

1.  Template default CSS
2.  Helper Css
3.  Preloder
4.  Counter Section
5.  Team Section
6.  Latest / Tools Section
7.  Footer Style
8.  Breadcrumb
9.  About
10. Services
11. Blog item (reused by Latest/Tools cards)
12. Responsive Media Queries
13. AI Chat widget (#chat-container-unique)
14. Tech tags
15. Bounce text (About section copy animation)
16. Portfolio horizontal-scroll panels (sp-portfolio-wrapper)
17. Presentation / Services solutions component (ssc-stage)
18. Cyber Nav (header/navbar)
19. Hero (ph-hero / ph-intro / ph-achievements / ph-dl-btn)
-------------------------------------------------------------------*/

/*----------------------------------------*/
/* 1. Template default CSS
/*----------------------------------------*/
html,
body {
  height: 100%;
  width: 100%;
  font-family: "Josefin Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
html {
  overflow-x: hidden;
}
/* NOTE: several components below (the portfolio horizontal-scroll panels)
   deliberately use 100vw/300vw widths for the GSAP scroll effect. 100vw
   includes the vertical scrollbar's width, which is *wider* than the
   visible viewport whenever a scrollbar is present — that mismatch is
   what was causing the page to gain a horizontal scrollbar with blank
   space on the right. Clipping it at the html level here fixes it
   without touching the vw-based math the scroll animation relies on.
   IMPORTANT: this clip must stay on html, not body — overflow-x other
   than visible on body breaks position:fixed elements (our navbar) in
   Safari/mobile, causing them to reflow/scroll instead of staying pinned. */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: #111111;
  font-weight: 400;
  font-family: "Play", sans-serif;
}

h1 {
  font-size: 70px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  font-size: 16px;
  font-family: "Josefin Sans", sans-serif;
  color: #adadad;
  font-weight: 400;
  line-height: 26px;
  margin: 0 0 15px 0;
}

img {
  max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
  outline: none;
}

a:hover,
a:focus {
  text-decoration: none;
  outline: none;
  color: #fff;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

/*---------------------
  2. Helper CSS
-----------------------*/
.section-title {
  margin-bottom: 50px;
}
.section-title.center-title {
  text-align: center;
}
.section-title.center-title h2:after {
  right: 0;
  margin: 0 auto;
}
.section-title span {
  color: #ffffff;
  display: block;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-title h2 {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 25px;
}
.section-title h2:after {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 70px;
  background: #00bfe7;
  content: "";
}

.set-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.spad {
  padding-top: 100px;
  padding-bottom: 100px;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white span,
.text-white li,
.text-white a {
  color: #fff;
}

/* buttons */
.primary-btn {
  display: inline-block;
  font-size: 15px;
  font-family: "Play", sans-serif;
  font-weight: 700;
  padding: 14px 32px 12px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}
.primary-btn:hover:before {
  height: 100%;
  width: 100%;
}
.primary-btn:hover:after {
  height: 100%;
  width: 100%;
}
.primary-btn:before {
  position: absolute;
  left: 0;
  top: 0;
  height: 30px;
  width: 30px;
  border-left: 2px solid #00bfe7;
  border-top: 2px solid #00bfe7;
  content: "";
  z-index: -1;
  -webkit-transition: all, 0.7s;
  -o-transition: all, 0.7s;
  transition: all, 0.7s;
}
.primary-btn:after {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 30px;
  width: 30px;
  border-right: 2px solid #00bfe7;
  border-bottom: 2px solid #00bfe7;
  content: "";
  z-index: -1;
  -webkit-transition: all, 0.7s;
  -o-transition: all, 0.7s;
  transition: all, 0.7s;
}

/*---------------------
  3. Preloder
-----------------------*/
#preloder {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.loader {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -13px;
  margin-left: -13px;
  border-radius: 60px;
  animation: loader 0.8s linear infinite;
  -webkit-animation: loader 0.8s linear infinite;
}

@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    border: 4px solid #673ab7;
    border-left-color: transparent;
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
}
@-webkit-keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
  50% {
    -webkit-transform: rotate(180deg);
    border: 4px solid #673ab7;
    border-left-color: transparent;
  }
  100% {
    -webkit-transform: rotate(360deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
}

/*---------------------
  4. Counter
-----------------------*/
.counter {
  background: #100028;
  height: 840px;
  padding-top: 380px;
  overflow: hidden;
}

.counter__content {
  padding: 0px 50px;
}

.counter__item {
  background: #1a083d;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
  height: 255px;
  width: 255px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.counter__item::before {
  position: absolute;
  left: -1px;
  bottom: -2px;
  height: 636px;
  width: 636px;
  border-left: 1px solid #333333;
  border-top: 1px solid #333333;
  content: "";
  z-index: -1;
}
.counter__item.second__item {
  margin-top: -185px;
}
.counter__item.second__item:before {
  left: -316px;
  bottom: -65px;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: none;
  border-top: none;
}
.counter__item.four__item {
  margin-top: -185px;
}
.counter__item.four__item:before {
  left: -380px;
  bottom: -380px;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: none;
  border-top: none;
}
.counter__item.third__item:before {
  left: -65px;
  bottom: -317px;
}

.counter__item__text {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
}
.counter__item__text h2 {
  font-size: 60px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 18px;
}
.counter__item__text p {
  color: #ffffff;
  margin-bottom: 0;
}

/*---------------------
  5. Team (used for both the AI Assistant section and the Contact section wrapper)
-----------------------*/
.team {
  padding-bottom: 90px;
}

.section-title.team__title {
  margin-bottom: 90px;
}

.team__btn {
  position: absolute;
  right: 0;
  bottom: 0;
}

/*---------------------
  6. Latest / Tools
-----------------------*/
.latest {
  background: #100028;
  padding-bottom: 80px;
}

.blog__item.latest__item {
  margin-bottom: 0;
}
.blog__item.latest__item:hover {
  border: 1px solid #222222 !important;
  background-size: cover;
}

.latest__slider.owl-carousel .owl-item .col-lg-4 {
  max-width: 100%;
}
.latest__slider.owl-carousel .owl-dots {
  text-align: center;
  padding-top: 35px;
}
.latest__slider.owl-carousel .owl-dots button {
  height: 8px;
  width: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-right: 10px;
}
.latest__slider.owl-carousel .owl-dots button.active {
  background: #00bfe7;
}
.latest__slider.owl-carousel .owl-dots button:last-child {
  margin-right: 0;
}

/*---------------------
  7. Footer Style
-----------------------*/
.footer {
  background: #0a0119;
}

.footer__top__social {
  text-align: right;
}
.footer__top__social a {
  display: inline-block;
  font-size: 15px;
  color: #ffffff;
  height: 40px;
  width: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  line-height: 44px;
  text-align: center;
  margin-right: 6px;
}
.footer__top__social a:last-child {
  margin-right: 0;
}

.footer__option {
  padding-bottom: 35px;
  padding-top: 75px;
}

.footer__option__item {
  margin-bottom: 35px;
}
.footer__option__item h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 35px;
}
.footer__option__item p {
  font-weight: 300;
  margin-bottom: 20px;
}
.footer__option__item ul li {
  list-style: none;
}
.footer__option__item ul li a {
  color: #adadad;
  font-size: 16px;
  font-weight: 300;
  line-height: 32px;
}

.footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
}

/*---------------------
  8. Breadcrumb (Experience / Portfolio section headers)
-----------------------*/
.breadcrumb-option {
  padding-top: 180px;
}

/*---------------------
  9. About
-----------------------*/
.about {
  background: #100028;
  padding-bottom: 150px;
}

.about__text {
  padding-left: 30px;
}

/*---------------------
  10. Services
-----------------------*/
.services {
  background: #100028;
  padding-bottom: 60px;
  padding-top: 110px;
}

.services__title p {
  margin-bottom: 45px;
}

.services__item {
  margin-bottom: 45px;
}
.services__item:hover .services__item__icon:after {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
}

.services__item h4 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-top: 26px;
  margin-bottom: 18px;
}
.services__item p {
  margin-bottom: 0;
}

.services__item__icon {
  position: relative;
  height: 70px;
  width: 70px;
  line-height: 70px;
  text-align: center;
}
.services__item__icon:after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #00bfe7;
  content: "";
  -webkit-transition: all, 0.5s;
  -o-transition: all, 0.5s;
  transition: all, 0.5s;
}

/*---------------------
  11. Blog item (base rules — reused via "blog__item latest__item" on Tools cards)
-----------------------*/
.blog__item {
  border: 1px solid #222222;
  padding: 40px 48px 35px 30px;
  position: relative;
  z-index: 1;
  margin-bottom: 45px;
}
.blog__item:hover {
  border: 1px solid transparent !important;
  background-size: cover;
}
.blog__item:hover ul li {
  color: #ffffff;
}
.blog__item:hover p {
  color: #ffffff;
}
.blog__item h4 {
  color: #ffffff;
  font-weight: 700;
  line-height: 31px;
  margin-bottom: 18px;
}
.blog__item ul {
  margin-bottom: 20px;
}
.blog__item ul li {
  color: #777777;
  list-style: none;
  font-size: 14px;
  font-weight: 300;
  margin-right: 25px;
  position: relative;
  display: inline-block;
}
.blog__item ul li:after {
  position: absolute;
  right: -16px;
  top: 0px;
  content: "/";
}
.blog__item ul li:last-child {
  margin-right: 0;
}
.blog__item ul li:last-child:after {
  display: none;
}
.blog__item p {
  font-weight: 300;
  line-height: 29px;
  margin-bottom: 22px;
}
.blog__item a {
  font-size: 16px;
  color: #ffffff;
}
.blog__item a span {
  font-size: 16px;
  color: #ffffff;
  opacity: 0.5;
  position: relative;
  top: 4px;
  margin-left: 5px;
}

/*--------------------------------- 12. Responsive Media Queries -----------------------------*/
@media only screen and (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* Medium Device = 1200px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .counter__item::before {
    display: none;
  }

  .counter__content {
    padding: 0px 145px 0 50px;
  }

  .counter__item.second__item {
    margin-top: -210px;
  }

  .counter__item.four__item {
    margin-top: -210px;
  }
}

/* Tablet Device = 768px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .services__title {
    margin-bottom: 50px;
  }

  .counter__item {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
        transform: rotate(0);
    margin-bottom: 30px;
    width: auto;
  }

  .counter__item::before {
    display: none;
  }

  .counter__content {
    padding: 0;
  }

  .counter__item.second__item {
    margin-top: 0;
  }

  .counter__item.four__item {
    margin-top: 0;
  }

  .counter__item__text {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
        transform: rotate(0);
  }

  .counter {
    height: auto;
    padding-top: 100px;
    padding-bottom: 70px;
  }

  .team__btn {
    position: relative;
    padding-top: 50px;
  }

  .about__text {
    padding-left: 0;
  }
}

/* Wide Mobile = 480px */
@media only screen and (max-width: 767px) {
  .services__title {
    margin-bottom: 50px;
  }

  .counter__item {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
        transform: rotate(0);
    margin-bottom: 30px;
    width: auto;
  }

  .counter__item::before {
    display: none;
  }

  .counter__content {
    padding: 0;
  }

  .counter__item.second__item {
    margin-top: 0;
  }

  .counter__item.four__item {
    margin-top: 0;
  }

  .counter__item__text {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
        transform: rotate(0);
  }

  .counter {
    height: auto;
    padding-top: 100px;
    padding-bottom: 70px;
  }

  .team__btn {
    position: relative;
    padding-top: 50px;
  }

  .about__text {
    padding-left: 0;
  }

  .footer__top__social {
    text-align: left;
    padding-top: 30px;
  }

  .team .p-0 {
    padding: 0 15px !important;
  }
}

/*---------------------
  13. AI Chat widget (#chat-container-unique)
-----------------------*/
#chat-container-unique {
  --dark-background: #0D0D1A;
  --text-color: #E6E6E6;
  --subtle-text: #6A6A80;
  --accent-color: #00FFFF;
  --bot-bubble-bg: #2D2D44;
  --user-bubble-bg: #1A1A2E;
  --input-bg: #1A1A2E;
  --border-radius: 20px;
  margin-bottom: 30px;
  margin-top: -50px;
  background-color: transparent;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  width: 90%;
  max-width: 800px;
  height: 60vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1000;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

#chat-container-unique .chat-messages::-webkit-scrollbar {
  display: none;
}

#chat-container-unique .chat-messages {
  flex-grow: 1;
  padding: 20px 25px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  scroll-behavior: smooth;
  background: transparent;
}

#chat-container-unique .message {
  max-width: 75%;
  padding: 12px 18px;
  border-radius: var(--border-radius);
  line-height: 1.5;
  word-wrap: break-word;
  position: relative;
  font-size: 0.9em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#chat-container-unique .message.user {
  align-self: flex-end;
  background-color: var(--user-bubble-bg);
  color: var(--text-color);
  border-top-left-radius: 5px;
}

#chat-container-unique .message.bot {
  align-self: flex-start;
  background-color: var(--bot-bubble-bg);
  color: var(--text-color);
  border-top-right-radius: 5px;
}

#chat-container-unique .message-timestamp {
  font-size: 0.7em;
  color: var(--subtle-text);
  margin-top: 5px;
  display: block;
}

#chat-container-unique .message.user .message-timestamp {
  text-align: left;
}

#chat-container-unique .message.bot .message-timestamp {
  text-align: right;
}

#chat-container-unique .input-area-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 15px 25px;
  box-sizing: border-box;
  background: transparent;
}

#chat-container-unique .input-box {
  display: flex;
  align-items: center;
  background-color: var(--input-bg);
  border-radius: 50px;
  width: 100%;
  max-width: 75%;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#chat-container-unique .input-box:focus-within {
  box-shadow: 0 0 10px var(--accent-color);
}

#chat-container-unique #chatInput {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  padding: 12px 18px;
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9em;
}

#chat-container-unique #chatInput::placeholder {
  color: var(--subtle-text);
}

#chat-container-unique .chat-messages::-webkit-scrollbar {
  width: 6px;
}

#chat-container-unique .chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

#chat-container-unique .chat-messages::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

#chat-container-unique .chat-messages::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 600px) {
  #chat-container-unique {
      width: 100%;
      height: 100vh;
      max-height: 100vh;
  }
}

/*---------------------
  14. Tech tags (Tools cards)
-----------------------*/
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tech-tag {
  --bg: #262626;
  --accent: #007bff;
  --bar-w: 6px;
  --offset: 88%;

  font-family: 'Play', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #fff;
  padding: 4px 10px;
  min-width: 60px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  text-align: center;

  background: linear-gradient(
    -45deg,
    var(--bg) 0 calc(var(--offset) - (var(--bar-w) / 2)),
    var(--accent) calc(var(--offset) - (var(--bar-w) / 2)) calc(var(--offset) + (var(--bar-w) / 2)),
    var(--bg) calc(var(--offset) + (var(--bar-w) / 2)) 100%
  );
}

.tech-tag__label {
  position: relative;
  z-index: 2;
  display: inline-block;
  white-space: nowrap;
  padding: 0 4px;
}

/*---------------------
  15. Bounce text (About section copy animation)
-----------------------*/
.bounce-text-container {
  padding: 20px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  font-size: 1.05rem;
}

.bounce-text-container p {
  margin-bottom: 1.2rem;
  letter-spacing: 0.3px;
  word-spacing: 0.5px;
}

.bounce-word {
  font-weight: 600;
  color: #0056b3;
}

.bounce-word[data-delay] {
  display: inline-block;
}

/* ================================================================
   PORTFOLIO BASE
   ================================================================ */

   #sp-portfolio-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

#sp-portfolio-wrapper .portfolio-pin-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#sp-portfolio-wrapper .horizontal-scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: 400vw;
    height: 100%;
    will-change: transform;
}

#sp-portfolio-wrapper .panel {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

#sp-portfolio-wrapper .theme-blue,
#sp-portfolio-wrapper .theme-purple,
#sp-portfolio-wrapper .theme-pink {
    background: #100028;
}


/* ================================================================
   NORMAL PORTFOLIO PANELS
   ================================================================ */

#sp-portfolio-wrapper .case-content {
    padding: 2rem 1rem;
    z-index: 10;
    min-width: 0;
}

#sp-portfolio-wrapper .eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 700;
    display: block;
}

#sp-portfolio-wrapper .case-title {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

#sp-portfolio-wrapper .case-desc {
    font-size: clamp(0.9rem, 1.15vw, 1.15rem);
    line-height: 1.65;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 90%;
}

#sp-portfolio-wrapper .tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    max-width: 100%;
}

#sp-portfolio-wrapper .tool-pill {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.55rem 1rem;
    border-radius: 50px;
    font-size: clamp(0.68rem, 0.85vw, 0.85rem);
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    white-space: nowrap;
}

#sp-portfolio-wrapper .visual-col {
    padding: 2rem 1rem;
    position: relative;
    min-width: 0;
}

#sp-portfolio-wrapper .product-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    background: rgba(255,255,255,0.05);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}

#sp-portfolio-wrapper .product-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease-in-out,
        visibility 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#sp-portfolio-wrapper .product-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

#sp-portfolio-wrapper .panel-media {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}

#sp-portfolio-wrapper .carousel-dots {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

#sp-portfolio-wrapper .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    border: none;
    padding: 0;
}

#sp-portfolio-wrapper .carousel-dot.active {
    background: #fff;
}


/* ================================================================
   SOLUTIONS COMPONENT
   ================================================================ */

.ssc-stage,
.ssc-stage *,
.ssc-stage *::before,
.ssc-stage *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ssc-stage {

    --ssc-accent: #818cf8;
    --ssc-bg: #100028;
    --ssc-text: #ffffff;
    --ssc-muted: rgba(255,255,255,0.55);
    --ssc-chip-bg: rgba(255,255,255,0.04);
    --ssc-chip-border: rgba(255,255,255,0.09);
    --ssc-track-bg: rgba(255,255,255,0.07);
    --ssc-dot-idle: rgba(255,255,255,0.18);

    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #fff;
}


/* Glow */

.ssc-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}


/* ================================================================
   SHELL
   ================================================================ */

.ssc-shell {

    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1320px;

    height: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    grid-template-rows: 1fr auto;

    grid-template-areas:
        "ssc-text ssc-svg"
        "ssc-dots ssc-dots";

    padding:
        clamp(18px, 2.5vw, 40px)
        clamp(20px, 4vw, 64px);

    align-items: center;
}


/* ================================================================
   LEFT TEXT AREA
   ================================================================ */

.ssc-col-text {

    grid-area: ssc-text;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding-right: clamp(12px, 2vw, 32px);

    min-width: 0;
    min-height: 0;
}


/* ================================================================
   WHEEL
   ================================================================ */

.ssc-wheel {

    display: flex;

    align-items: flex-end;

    gap: clamp(10px, 2vw, 24px);

    margin-bottom: clamp(14px, 2vh, 24px);

    margin-right: clamp(-50px, -4vw, -20px);

    min-height: clamp(48px, 5vw, 72px);

    overflow: visible;
}

.ssc-wheel-btn {

    appearance: none;
    -webkit-appearance: none;

    border: none;
    background: none;

    color: #fff;

    cursor: pointer;

    padding: 0;

    display: inline-flex;

    flex-direction: column;

    gap: 6px;

    min-width: 0;
    max-width: 100%;
}

.ssc-wheel-label {

    display: block;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    line-height: 1;

    transition:
        font-size 0.42s ease,
        letter-spacing 0.42s ease,
        color 0.3s ease,
        opacity 0.4s ease;
}


/* Previous */

.ssc-wheel-btn.ssc-wh-prev {

    opacity: 0.28;

    transform:
        translateY(-55%)
        scale(0.8);

    filter: saturate(0.6);

    align-items: flex-start;
}

.ssc-wheel-btn.ssc-wh-prev .ssc-wheel-label {
    font-size: clamp(0.62rem, 0.8vw, 0.85rem);
    color: rgba(255,255,255,0.5);
}


/* Active */

.ssc-wheel-btn.ssc-wh-active {

    opacity: 1;

    transform:
        translateY(0)
        scale(1);

    align-items: flex-start;

    min-width: 0;
}

.ssc-wheel-btn.ssc-wh-active .ssc-wheel-label {

    /*
       This is intentionally viewport responsive.
       It prevents the solution title from becoming too tall
       on smaller screens.
    */

    font-size: clamp(1.65rem, 3vw, 3.3rem);

    letter-spacing: -0.04em;

    color: #fff;

}


/* Next */

.ssc-wheel-btn.ssc-wh-next {

    opacity: 0.38;

    transform:
        translateY(-55%)
        scale(0.82);

    filter: saturate(0.6);

    align-items: flex-start;
}

.ssc-wheel-btn.ssc-wh-next .ssc-wheel-label {
    font-size: clamp(0.62rem, 0.8vw, 0.85rem);
    color: rgba(255,255,255,0.5);
}


/* Wheel track */

.ssc-wheel-track {

    width: 100%;
    height: 2px;

    border-radius: 999px;

    background: var(--ssc-track-bg);

    overflow: hidden;
}

.ssc-wheel-fill {

    display: block;

    height: 100%;
    width: 0%;

    border-radius: 999px;

    background: var(--ssc-accent);

    box-shadow:
        0 0 8px var(--ssc-accent);
}


/* ================================================================
   SOLUTION CONTENT
   ================================================================ */

   .ssc-panels-wrap {
    position: relative;
    width: 100%;
    min-height: clamp(190px, 28vw, 340px);
    min-width: 0;
    overflow: hidden;
}

.ssc-panel {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(12px, 1.4vw, 20px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate3d(0, 14px, 0);
    filter: blur(2px);

    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s ease,
        visibility 0s linear 0.55s;

    will-change: opacity, transform, filter;
}

.ssc-panel.ssc-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translate3d(0, 0, 0);
    filter: blur(0);

    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.65s ease,
        visibility 0s linear 0s;
}


.ssc-panel.ssc-active .ssc-rise {
  animation:
      sscContentRise
      0.7s
      cubic-bezier(0.22, 1, 0.36, 1)
      both;

  animation-delay: var(--ssc-delay, 0s);
}

@keyframes sscContentRise {

  from {
      opacity: 0;
      transform: translate3d(0, 8px, 0);
  }

  to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
  }

}

/* Copy */

.ssc-copy {

    font-size: clamp(0.78rem, 0.95vw, 1.02rem);

    color: var(--ssc-muted);

    line-height: 1.7;

    max-width: 44ch;

}


/* Chips */

.ssc-chips {

    display: flex;

    flex-wrap: wrap;

    gap: clamp(6px, 0.7vw, 10px);

    max-width: 100%;
}

.ssc-chip {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding:
        clamp(0.32rem, 0.4vw, 0.48rem)
        clamp(0.55rem, 0.65vw, 0.8rem);

    border-radius: 999px;

    font-size: clamp(0.58rem, 0.68vw, 0.7rem);

    font-weight: 600;

    letter-spacing: 0.035em;

    color: rgba(255,255,255,0.65);

    background: var(--ssc-chip-bg);

    border: 1px solid var(--ssc-chip-border);

    white-space: nowrap;

    flex-shrink: 0;
}

.ssc-chip-dot {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--ssc-accent);

    box-shadow:
        0 0 7px var(--ssc-accent);

    flex-shrink: 0;
}


/* Metrics */

.ssc-metrics {

    display: flex;

    gap: clamp(10px, 2vw, 28px);

    flex-wrap: wrap;

    min-width: 0;
}

.ssc-metric {

    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 62px;
}

.ssc-metric-icon {

    display: flex;

    align-items: center;

    width: 16px;
    height: 16px;

    color: var(--ssc-accent);

    margin-bottom: 2px;

    flex-shrink: 0;
}

.ssc-metric-icon svg {

    width: 100%;
    height: 100%;
}

.ssc-metric-val {

    font-size: clamp(0.95rem, 1.4vw, 1.4rem);

    font-weight: 700;

    color: #fff;

    line-height: 1;

    letter-spacing: -0.02em;

    white-space: nowrap;
}

.ssc-metric-unit {

    font-size: 0.65em;

    font-weight: 500;

    opacity: 0.75;

    margin-left: 1px;
}

.ssc-metric-lbl {

    font-size: clamp(0.56rem, 0.65vw, 0.68rem);

    color: var(--ssc-muted);

    letter-spacing: 0.03em;

    white-space: nowrap;
}


/* ================================================================
   SVG
   ================================================================ */

.ssc-col-svg {

    grid-area: ssc-svg;

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 0;
    min-height: 0;

}

.ssc-svg-wrap {

    position: relative;

    width: min(100%, 420px);

    aspect-ratio: 340 / 300;

    max-width: 100%;
}

.ssc-svg-panel {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

}

.ssc-svg-panel.ssc-active {

    opacity: 1;
    visibility: visible;

}

.ssc-svg-art {

    width: 100%;
    height: auto;

    max-width: 100%;

    filter:
        drop-shadow(0 8px 32px rgba(0,0,0,0.6));
}


/* ================================================================
   DOTS
   ================================================================ */

.ssc-dots {

    grid-area: ssc-dots;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    padding: 8px 0;
}

.ssc-dot {

    appearance: none;
    -webkit-appearance: none;

    border: none;

    cursor: pointer;

    padding: 0;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--ssc-dot-idle);

    flex-shrink: 0;
}

.ssc-dot.ssc-active {

    width: 28px;

    border-radius: 999px;

    background: var(--ssc-accent);

    box-shadow:
        0 0 10px var(--ssc-accent);
}


/* ================================================================
   TABLETS
   ================================================================ */

@media (max-width: 991.98px) {

    #sp-portfolio-wrapper .case-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    #sp-portfolio-wrapper .case-desc {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .ssc-shell {
        padding-left: 28px;
        padding-right: 28px;
    }

    .ssc-wheel-btn.ssc-wh-active .ssc-wheel-label {
        font-size: clamp(1.7rem, 4vw, 2.8rem);
    }

}
#sp-portfolio-wrapper .progress-wrap {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 18px;
  height: 4px;
  opacity: 0.6;
  z-index: 50;
  pointer-events: none;
}

#sp-portfolio-wrapper .progress-bg {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
}

#sp-portfolio-wrapper .progress-fg {
  height: 100%;
  width: 0%;
  background: linear-gradient(
      90deg,
      #60a5fa,
      #a78bfa,
      #f472b6
  );
  border-radius: 999px;
  transition: none;
  will-change: width;
}

@media (max-width: 767.98px) {
  #sp-portfolio-wrapper .progress-wrap {
      left: 1rem;
      right: 1rem;
      bottom: 10px;
      height: 3px;
  }
}

/* ================================================================
   MOBILE
   IMPORTANT:
   NO INTERNAL SCROLLING
   ================================================================ */

@media (max-width: 767.98px) {

    /*
       Every portfolio panel remains exactly one viewport high.
       This prevents nested vertical scrolling.
    */

    #sp-portfolio-wrapper .panel {

        width: 100vw;

        height: 100dvh;
        min-height: 100dvh;

        overflow: hidden;
    }


    /*
       Normal panels become compact stacked layouts.
    */

    #sp-portfolio-wrapper .panel .row {

        height: 100%;

        flex-direction: column;

        justify-content: center;
    }


    #sp-portfolio-wrapper .case-content {

        width: 100%;

        height: auto;

        flex: 0 0 auto;

        padding:
            clamp(58px, 10vh, 76px)
            1rem
            0.4rem;

        justify-content: center !important;

        min-height: 0;
    }


    #sp-portfolio-wrapper .visual-col {

        width: 100%;

        height: auto;

        flex: 1 1 auto;

        min-height: 0;

        padding:
            0.4rem
            1rem
            clamp(42px, 7vh, 58px);

        justify-content: center !important;
    }


    #sp-portfolio-wrapper .case-title {

        font-size: clamp(
            1.45rem,
            7vw,
            2rem
        );

        margin-bottom: 0.55rem;
    }


    #sp-portfolio-wrapper .eyebrow {

        font-size: clamp(
            0.58rem,
            2.2vw,
            0.75rem
        );

        margin-bottom: 0.45rem;

        letter-spacing: 1.3px;
    }


    #sp-portfolio-wrapper .case-desc {

        font-size: clamp(
            0.72rem,
            3.2vw,
            0.9rem
        );

        line-height: 1.45;

        margin-bottom: 0.7rem;

        display: -webkit-box;

        -webkit-line-clamp: 3;

        -webkit-box-orient: vertical;

        overflow: hidden;
    }


    #sp-portfolio-wrapper .tools {

        gap: 5px;

        max-width: 100%;
    }


    #sp-portfolio-wrapper .tool-pill {

        padding:
            0.32rem
            0.6rem;

        font-size:
            clamp(
                0.55rem,
                2vw,
                0.68rem
            );
    }


    #sp-portfolio-wrapper .product-carousel {

        width: min(
            92vw,
            420px
        );

        max-height: 42vh;

        aspect-ratio: 16 / 9;

        border-radius: 1rem;
    }


    #sp-portfolio-wrapper .product-slide {

        padding: 0.55rem;
    }


    #sp-portfolio-wrapper .carousel-dots {

        bottom: -24px;

        gap: 7px;
    }


    #sp-portfolio-wrapper .carousel-dot {

        width: 7px;
        height: 7px;
    }


    /* ============================================================
       SOLUTIONS MOBILE
       ============================================================ */

    .ssc-stage {

        width: 100%;

        height: 100%;

        min-height: 0;

        overflow: hidden;

        align-items: center;

        justify-content: center;
    }


    /*
       One fixed screen.
       No auto height.
       No internal scroll.
    */

    .ssc-shell {

        width: 100%;

        height: 100%;

        min-height: 0;

        display: grid;

        grid-template-columns: 1fr;

        grid-template-rows:
            auto
            minmax(100px, 30%)
            minmax(0, 1fr)
            auto;

        grid-template-areas:

            "ssc-title"
            "ssc-svg"
            "ssc-text"
            "ssc-dots";

        padding:
            clamp(52px, 8vh, 70px)
            clamp(14px, 5vw, 22px)
            clamp(12px, 3vh, 24px);

        align-items: center;

        overflow: hidden;
    }


    .ssc-col-text {

        display: contents;
    }


    /*
       Wheel is now centered naturally inside its own grid row
       instead of being pushed down with arbitrary margins.
    */

    .ssc-wheel {

        grid-area: ssc-title;

        width: 100%;

        min-height: 0;

        margin: 0;

        padding: 0;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 0;

        overflow: hidden;
    }


    /*
       Only active item on mobile.
    */

    .ssc-wheel-btn.ssc-wh-prev,
    .ssc-wheel-btn.ssc-wh-next {

        display: none;
    }


    .ssc-wheel-btn.ssc-wh-active {

        width: 100%;

        max-width: 100%;

        display: flex;

        align-items: center;

        justify-content: center;

        transform: none;

        flex: 0 1 auto;
    }


    .ssc-wheel-btn.ssc-wh-active .ssc-wheel-label {

        width: 100%;

        max-width: 100%;

        overflow: hidden;

        text-overflow: ellipsis;

        text-align: center;

        white-space: nowrap;

        font-size: clamp(
            1.35rem,
            7vw,
            2.4rem
        );

        letter-spacing: -0.035em;

        line-height: 1;

    }


    .ssc-wheel-btn.ssc-wh-active .ssc-wheel-track {

        width: 42px;

        margin-top: 5px;

        align-self: center;

    }


    /*
       SVG gets less vertical space on mobile,
       but remains centered.
    */

    .ssc-col-svg {

        grid-area: ssc-svg;

        width: 100%;

        height: 100%;

        min-height: 0;

        padding: 0;

        margin: 0;

        justify-content: center;

        align-items: center;

    }


    .ssc-svg-wrap {

        width: min(
            72vw,
            235px
        );

        max-width: 100%;

        max-height: 100%;

    }


    /*
       Text area has remaining space.
       It does NOT create a scrollbar.
    */

    .ssc-panels-wrap {

        grid-area: ssc-text;

        width: 100%;

        height: 100%;

        min-height: 0;

        max-height: 100%;

        overflow: hidden;
    }


    .ssc-panel {

        position: absolute;

        inset: 0;

        width: 100%;

        height: 100%;

        display: none;

        flex-direction: column;

        justify-content: center;

        gap: clamp(
            8px,
            1.3vh,
            14px
        );

        overflow: hidden;
    }


    .ssc-panel.ssc-active {

        display: flex;

        opacity: 1;

        visibility: visible;

        transform: none;
    }


    .ssc-copy {

        width: 100%;

        max-width: 100%;

        font-size: clamp(
            0.67rem,
            2.8vw,
            0.85rem
        );

        line-height: 1.42;

        display: -webkit-box;

        -webkit-line-clamp: 4;

        -webkit-box-orient: vertical;

        overflow: hidden;
    }


    .ssc-chips {

        width: 100%;

        gap: 5px;

        justify-content: center;

        align-content: flex-start;

        max-height: 54px;

        overflow: hidden;
    }


    .ssc-chip {

        padding:
            0.27rem
            0.48rem;

        font-size: clamp(
            0.5rem,
            2vw,
            0.62rem
        );

        gap: 4px;

        line-height: 1;
    }


    .ssc-chip-dot {

        width: 4px;
        height: 4px;
    }


    .ssc-metrics {

        width: 100%;

        justify-content: center;

        align-items: flex-start;

        gap: clamp(
            10px,
            4vw,
            20px
        );

        flex-wrap: nowrap;

        overflow: hidden;
    }


    .ssc-metric {

        min-width: 0;

        flex: 0 1 auto;
    }


    .ssc-metric-icon {

        width: 13px;
        height: 13px;
    }


    .ssc-metric-val {

        font-size: clamp(
            0.75rem,
            3.5vw,
            1rem
        );
    }


    .ssc-metric-lbl {

        font-size: clamp(
            0.45rem,
            1.8vw,
            0.58rem
        );

        max-width: 80px;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    .ssc-dots {

        grid-area: ssc-dots;

        width: 100%;

        padding: 0;

        margin: 0;

        gap: 7px;
    }


    .ssc-dot {

        width: 5px;
        height: 5px;
    }


    .ssc-dot.ssc-active {

        width: 22px;
    }

}


/* ================================================================
   VERY SMALL PHONES
   ================================================================ */

@media (max-width: 400px) {

    .ssc-shell {

        padding-left: 12px;
        padding-right: 12px;

        padding-top: 48px;
        padding-bottom: 8px;
    }


    .ssc-wheel-btn.ssc-wh-active .ssc-wheel-label {

        font-size: clamp(
            1.2rem,
            7vw,
            1.8rem
        );
    }


    .ssc-svg-wrap {

        width: min(
            64vw,
            200px
        );
    }


    .ssc-copy {

        font-size:
            clamp(
                0.62rem,
                2.7vw,
                0.75rem
            );

        -webkit-line-clamp: 4;
    }


    .ssc-chip {

        padding:
            0.23rem
            0.38rem;

        font-size:
            0.48rem;
    }


    .ssc-metric-val {

        font-size:
            clamp(
                0.68rem,
                3vw,
                0.85rem
            );
    }

}


/* ================================================================
   REDUCED MOTION
   ================================================================ */

@media (prefers-reduced-motion: reduce) {

    .ssc-stage *,
    .ssc-stage *::before,
    .ssc-stage *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}

/* =======================================================================
   18. Cyber Nav (header/navbar)
   ======================================================================= */

.cyber-nav-container {
  font-family: 'Inter', sans-serif;
  color: #fff;
  box-sizing: border-box;
  --cyber-g1: #8e44ad;
  --cyber-g2: #6366f1;
  --cyber-g3: #60a5fa;
  --cyber-g4: #e879f9;
  --cyber-deep: #07060f;
  --cyber-txt: rgba(255,255,255,0.62);
  --cyber-txt-hi: #ffffff;
  --cyber-border: rgba(255,255,255,0.08);
  --cyber-border-accent: rgba(167,139,250,0.35);
}

.cyber-nav-container *,
.cyber-nav-container *::before,
.cyber-nav-container *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.cyber-nav-container a {
  text-decoration: none;
  color: inherit;
}

.cyber-nav-wrap {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
}

.cyber-nav-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 18px 0;
  transition: padding 0.38s ease, background 0.38s ease;
}

.cyber-nav-header::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(5,4,14,0.82) 0%, rgba(5,4,14,0.3) 55%, transparent 100%);
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  transition: opacity 0.38s ease;
}

.cyber-nav-header.cyber-nav-scrolled {
  padding: 10px 0;
  background: rgba(10,5,28,0.74);
  backdrop-filter: blur(26px) saturate(200%);
  -webkit-backdrop-filter: blur(26px) saturate(200%);
}
.cyber-nav-header.cyber-nav-scrolled::before { opacity: 0; }

.cyber-nav-header.cyber-nav-scrolled::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(142,68,173,0.85) 18%,
    rgba(96,165,250,0.85) 50%,
    rgba(232,121,249,0.7) 82%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: cyber-nav-hline 7s linear infinite;
}

@keyframes cyber-nav-hline {
  0%   { background-position: 0%   0; }
  100% { background-position: 200% 0; }
}

.cyber-nav-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 56px;
}

.cyber-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.cyber-nav-logo-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 20px 0 12px;
  height: 42px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  background: linear-gradient(105deg,
    rgba(142,68,173,0.18) 0%,
    rgba(99,102,241,0.12) 55%,
    rgba(96,165,250,0.08) 100%
  );
  border: 1px solid rgba(167,139,250,0.22);
  gap: 10px;
  transition: background 0.3s ease;
}
.cyber-nav-logo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: linear-gradient(105deg, rgba(142,68,173,0.3), rgba(96,165,250,0.15));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cyber-nav-logo:hover .cyber-nav-logo-frame::before { opacity: 1; }

.cyber-nav-logo-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--cyber-g1), var(--cyber-g2) 52%, var(--cyber-g3));
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.cyber-nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.cyber-nav-logo-text strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #fff;
}
.cyber-nav-logo-text span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(167,139,250,0.88);
}

.cyber-nav-shell {
  justify-self: center;
  display: flex;
  align-items: stretch;
  position: relative;
  height: 42px;
}

.cyber-nav-shell ul {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
}

.cyber-nav-shell ul li {
  display: flex;
  align-items: stretch;
  position: relative;
}

.cyber-nav-shell ul li a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 18px;
  position: relative;
  color: var(--cyber-txt);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.25s ease;
  white-space: nowrap;
  transform: skewX(-12deg);
}

.cyber-nav-shell ul li a .cyber-nav-idx,
.cyber-nav-shell ul li a .cyber-nav-lbl {
  transform: skewX(12deg);
  display: block;
}

.cyber-nav-shell ul li a .cyber-nav-idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: rgba(167,139,250,0.45);
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
}

.cyber-nav-shell ul li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.0);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.25s ease;
  pointer-events: none;
}

.cyber-nav-shell ul li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--cyber-g1), var(--cyber-g3), var(--cyber-g4));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
  opacity: 0.9;
}

.cyber-nav-shell ul li a:hover { color: #fff; }
.cyber-nav-shell ul li a:hover .cyber-nav-idx { color: rgba(167,139,250,0.8); }

.cyber-nav-shell ul li:hover::before {
  background: rgba(255,255,255,0.04);
}
.cyber-nav-shell ul li:hover::after,
.cyber-nav-shell ul li.cyber-nav-active::after {
  transform: scaleX(1);
}

.cyber-nav-shell ul li.cyber-nav-active a { color: #fff; }
.cyber-nav-shell ul li.cyber-nav-active a .cyber-nav-idx { color: rgba(167,139,250,0.85); }
.cyber-nav-shell ul li.cyber-nav-active::before {
  background: rgba(142,68,173,0.1);
}

.cyber-nav-shell ul li.cyber-nav-active a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) skewX(12deg);
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyber-g2), var(--cyber-g3));
  opacity: 0.6;
}

.cyber-nav-shell ul li + li > a::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(12deg);
  pointer-events: none;
}

.cyber-nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.cyber-nav-social {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cyber-nav-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  background: rgba(255,255,255,0.035);
  border: 0;
  outline: 1px solid rgba(255,255,255,0.08);
  outline-offset: -1px;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease, outline-color 0.22s ease;
  position: relative;
}

.cyber-nav-social a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.cyber-nav-social a.cyber-nav-s-li:hover { background: rgba(10,102,194,0.32); outline-color: rgba(96,165,250,0.4); }
.cyber-nav-social a.cyber-nav-s-gh:hover { background: rgba(255,255,255,0.09); outline-color: rgba(255,255,255,0.22); }
.cyber-nav-social a.cyber-nav-s-mail:hover { background: rgba(232,121,249,0.22); outline-color: rgba(232,121,249,0.4); }

.cyber-nav-social a.cyber-nav-s-mail { position: relative; }
.cyber-nav-social a.cyber-nav-s-mail .cyber-nav-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: #12101e;
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 0;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  padding: 5px 11px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cyber-nav-social a.cyber-nav-s-mail:hover .cyber-nav-tip,
.cyber-nav-social a.cyber-nav-s-mail.cyber-nav-copied .cyber-nav-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.cyber-nav-social a.cyber-nav-s-mail.cyber-nav-copied .cyber-nav-tip { color: #4ade80; }

.cyber-nav-sep {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
}

.cyber-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  white-space: nowrap;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  background: linear-gradient(105deg, var(--cyber-g1) 0%, var(--cyber-g2) 48%, var(--cyber-g3) 100%);
  transition: filter 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.cyber-nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 28%, rgba(255,255,255,0.22) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}
.cyber-nav-cta:hover::before { transform: translateX(130%); }

.cyber-nav-cta i { font-size: 10px; transition: transform 0.24s ease; }
.cyber-nav-cta:hover {
  filter: brightness(1.12) saturate(1.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(99,102,241,0.42);
}
.cyber-nav-cta:hover i { transform: translateX(3px); }

.cyber-nav-burger {
  display: none;
  width: 42px;
  height: 38px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  background: rgba(255,255,255,0.04);
  border: none;
  outline: 1px solid rgba(255,255,255,0.12);
  outline-offset: -1px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background 0.25s ease, outline-color 0.25s ease;
}
.cyber-nav-burger:hover {
  background: rgba(142,68,173,0.2);
  outline-color: rgba(167,139,250,0.4);
}
.cyber-nav-burger span {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: #fff;
  transition: transform 0.28s ease, opacity 0.28s ease, width 0.28s ease;
}
.cyber-nav-burger span:nth-child(1) { width: 18px; }
.cyber-nav-burger span:nth-child(2) { width: 12px; }
.cyber-nav-burger span:nth-child(3) { width: 18px; }
.cyber-nav-burger.cyber-nav-is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 18px; }
.cyber-nav-burger.cyber-nav-is-open span:nth-child(2) { opacity: 0; width: 0; }
.cyber-nav-burger.cyber-nav-is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 18px; }

.cyber-nav-mobile {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 16px;
  right: 16px;
  background: rgba(9,6,22,0.97);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(167,139,250,0.2);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.42s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.65);
}
.cyber-nav-mobile.cyber-nav-is-open {
  /* cap relative to actual viewport height too, so short/landscape
     phones don't clip the last nav links or the footer social row */
  max-height: min(540px, calc(100dvh - 90px));
  opacity: 1;
  overflow-y: auto;
}

.cyber-nav-mobile-glow {
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--cyber-g1) 25%, var(--cyber-g3) 55%, var(--cyber-g4) 82%, transparent);
  background-size: 200% 100%;
  animation: cyber-nav-hline 5s linear infinite;
}

.cyber-nav-mobile-body { padding: 16px 20px 20px; }

.cyber-nav-mobile-nav { list-style: none; }
.cyber-nav-mobile-nav li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.22s ease, padding-left 0.22s ease;
  position: relative;
}
.cyber-nav-mobile-nav li:last-child a { border-bottom: none; }
.cyber-nav-mobile-nav li a .cyber-nav-idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(167,139,250,0.55);
  min-width: 20px;
}

.cyber-nav-mobile-nav li.cyber-nav-active a {
  color: #fff;
  padding-left: 10px;
}
.cyber-nav-mobile-nav li.cyber-nav-active a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 50%;
  background: linear-gradient(180deg, var(--cyber-g1), var(--cyber-g3));
  border-radius: 2px;
}
.cyber-nav-mobile-nav li.cyber-nav-active a .cyber-nav-idx { color: #c4b5fd; }
.cyber-nav-mobile-nav li a:hover { color: #fff; padding-left: 10px; }

.cyber-nav-mobile-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cyber-nav-mobile-social { display: flex; gap: 8px; }
.cyber-nav-mobile-social a {
  width: 38px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  background: rgba(255,255,255,0.04);
  outline: 1px solid rgba(255,255,255,0.1);
  outline-offset: -1px;
  transition: color 0.22s, background 0.22s, transform 0.22s;
}
.cyber-nav-mobile-social a:hover {
  color: #fff;
  background: rgba(142,68,173,0.32);
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .cyber-nav-shell, .cyber-nav-sep, .cyber-nav-social, .cyber-nav-cta { display: none !important; }
  .cyber-nav-burger { display: inline-flex; }
  .cyber-nav-mobile { display: block; }
  .cyber-nav-header-inner { grid-template-columns: 1fr auto; min-height: 50px; }
}

@media (max-width: 575.98px) {
  .cyber-nav-wrap { width: calc(100% - 28px); }
  .cyber-nav-mobile { left: 10px; right: 10px; }
}

/* ==========================================================================
   19. Hero (ph-hero / ph-intro / ph-achievements / ph-dl-btn)
   ========================================================================== */

.ph-hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.ph-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(8, 8, 14, 0.82) 0%,
        rgba(8, 8, 14, 0.55) 45%,
        rgba(8, 8, 14, 0.35) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.ph-hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.ph-hero-row {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 40px;
}

.ph-intro {
    padding: 40px 0;
    margin-left: 80px;
}

.ph-intro-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a78bfa;
    margin-bottom: 18px;
}

.ph-intro-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #8e44ad, #60a5fa);
    border-radius: 2px;
}

.ph-intro-title {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 22px;
    letter-spacing: -0.02em;
    min-height: 1.3em;
}

.ph-intro-gradient {
    background: linear-gradient(120deg, #60a5fa 0%, #a78bfa 45%, #e879f9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ph-intro-shine 4s linear infinite;
    white-space: nowrap;
    display: inline-block;
}

@keyframes ph-intro-shine {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.ph-intro-cursor {
    display: inline-block;
    color: #a78bfa;
    -webkit-text-fill-color: #a78bfa;
    font-weight: 300;
    margin-left: 2px;
    animation: ph-intro-blink 0.9s step-end infinite;
}

@keyframes ph-intro-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

.ph-intro-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    max-width: 440px;
    margin: 0 0 28px;
    font-weight: 300;
}

.ph-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

@media (max-width: 991.98px) {
    .ph-intro {
        margin-left: 0;
        text-align: center;
        padding-bottom: 10px;
    }

    .ph-intro-eyebrow {
        justify-content: center;
    }

    /* was nowrap — on narrow screens a long typed phrase (e.g.
       "Full Stack Development") is wider than the viewport itself
       and was pushing the page into horizontal overflow */
    .ph-intro-gradient {
        white-space: normal;
    }

    .ph-intro-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .ph-intro-actions {
        justify-content: center;
    }
}

.ph-achievements {
    position: relative;
    padding: 20px 0;
}

.ph-achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    margin-bottom: 50px;
    padding: 40px 0;
}

.ph-achievements-grid::before,
.ph-achievements-grid::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(167, 139, 250, 0.3) 10%,
        rgba(96, 165, 250, 0.7) 50%,
        rgba(167, 139, 250, 0.3) 90%,
        transparent 100%);
    opacity: 0;
    animation: ph-glow-pulse 5s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(167, 139, 250, 0.6),
                0 0 50px rgba(96, 165, 250, 0.4);
}

.ph-achievements-grid::before {
    left: 33.333%;
    animation-delay: 0s;
}

.ph-achievements-grid::after {
    left: 66.666%;
    animation-delay: 2.5s;
}

@keyframes ph-glow-pulse {
    0%, 100% { opacity: 0; }
    15%, 35% { opacity: 1; }
    45%, 65% { opacity: 0.4; }
    75% { opacity: 0.7; }
}

.ph-achievement-cell {
    padding: 24px 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
}

.ph-achievement-cell:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-4px);
}

.ph-achievement-label {
    font-size: 3rem;
    font-weight: 200;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #e879f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -1px;
    line-height: 1;
}

.ph-achievement-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: capitalize;
    letter-spacing: 0.5px;
    font-weight: 400;
    line-height: 1.4;
}

.ph-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 28px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  background: rgba(142, 68, 173, 0.18);
  transition: all 0.28s ease;
}

.ph-dl-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, #6366f1, #60a5fa);
  opacity: 0.65;
  pointer-events: none;
}

.ph-dl-btn::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #8e44ad, #60a5fa, #e879f9);
  transform: scaleX(1);
  transform-origin: center;
  opacity: 0.85;
  pointer-events: none;
}

.ph-dl-btn:hover {
  background: rgba(142, 68, 173, 0.16);
  border-color: rgba(167, 139, 250, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.18);
  color: #fff;
  text-decoration: none;
}

.ph-dl-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.ph-dl-btn:hover svg {
  transform: translateY(1px);
}

.ph-dl-btn-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}

.ph-dl-idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.5px;
  color: rgba(167, 139, 250, 0.8);
  text-transform: uppercase;
}

.ph-dl-lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
}

/* =======================================================================
   End of cleaned stylesheet
   ======================================================================= */

   @media (max-width: 767.98px) {
    .about .about__text > .d-flex.align-items-baseline.align-items-center {
        flex-wrap: wrap;
        gap: 6px 4px;
        width: 100%;
        max-width: 100%;
    }
}