.hero {
  background-image: url('../assets/images/banner-right-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right 25px top 90px;
  background-color: #01010C;
}

/* Blinking sparkles over banner image (avoid laptop screen area) */
.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.footer .contact-info li {
    font-weight: normal;
    font-size: 15px;
    color: #BDBDD3;
}
.hero-sparkles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #FFD166, 0 0 12px rgba(255, 95, 109, 0.7);
  opacity: 0;
  animation: sparkleBlink 2.4s ease-in-out infinite;
}

/* Keep sparkles on orbit edges only — not on laptop screen */
.hero-sparkles span:nth-child(1)  { top: 18%; right: 8%; animation-delay: 0s; }
.hero-sparkles span:nth-child(2)  { top: 24%; right: 48%; width: 2px; height: 2px; animation-delay: 0.3s; }
.hero-sparkles span:nth-child(3)  { top: 16%; right: 32%; animation-delay: 0.6s; }
.hero-sparkles span:nth-child(4)  { top: 72%; right: 6%; width: 4px; height: 4px; animation-delay: 0.9s; }
.hero-sparkles span:nth-child(5)  { top: 78%; right: 22%; animation-delay: 1.2s; }
.hero-sparkles span:nth-child(6)  { top: 68%; right: 44%; width: 2px; height: 2px; animation-delay: 0.2s; }
.hero-sparkles span:nth-child(7)  { top: 82%; right: 34%; animation-delay: 1.5s; }
.hero-sparkles span:nth-child(8)  { top: 20%; right: 2%; width: 2px; height: 2px; animation-delay: 0.8s; }
.hero-sparkles span:nth-child(9)  { top: 64%; right: 2%; animation-delay: 1.1s; }
.hero-sparkles span:nth-child(10) { top: 14%; right: 18%; width: 3px; height: 3px; animation-delay: 0.4s; }
.hero-sparkles span:nth-child(11) { top: 76%; right: 50%; animation-delay: 1.7s; }
.hero-sparkles span:nth-child(12) { top: 86%; right: 14%; width: 2px; height: 2px; animation-delay: 0.5s; }
.hero-sparkles span:nth-child(13) { top: 12%; right: 42%; animation-delay: 1.9s; }
.hero-sparkles span:nth-child(14) { top: 70%; right: 28%; width: 4px; height: 4px; animation-delay: 0.7s; }
.hero-sparkles span:nth-child(15) { top: 22%; right: 54%; animation-delay: 1.4s; }
.hero-sparkles span:nth-child(16) { top: 80%; right: 40%; width: 2px; height: 2px; animation-delay: 0.1s; }
.hero-sparkles span:nth-child(17) { top: 10%; right: 26%; animation-delay: 1.6s; }
.hero-sparkles span:nth-child(18) { top: 74%; right: 18%; width: 3px; height: 3px; animation-delay: 0.95s; }
.hero-sparkles span:nth-child(19) { top: 26%; right: 0%; animation-delay: 1.3s; }
.hero-sparkles span:nth-child(20) { top: 84%; right: 46%; width: 2px; height: 2px; animation-delay: 2s; }

@keyframes sparkleBlink {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  40% { opacity: 1; transform: scale(1.2); }
  60% { opacity: 0.35; transform: scale(0.9); }
  80% { opacity: 0.9; transform: scale(1.1); }
}

@media (max-width: 992px) {
  .hero-sparkles {
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sparkles span {
    animation: none !important;
    opacity: 0.55;
  }
}

/* Footer left alignment */
.footer,
.footer-grid,
.footer-about,
.footer-about p,
.footer h4,
.footer ul,
.footer li,
.footer .contact-info,
.footer-bottom {
  text-align: left !important;
}

.footer .social-links {
  justify-content: flex-start;
}

.footer-logo {
  display: block;
  margin-left: 0;
  margin-right: auto;
}

.m-0{
	margin:0px !important;
}
.p-0{
	margin:0px !important;
}
.about-content .section-heading {
  margin-bottom: 0px;
}
.about-content .section-tag {
  margin-bottom: 10px;
}
.stylePart {
  background: linear-gradient(90deg,#FF5F6D,#FF9F43,#FFD166);
    background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-main-section {
  background: #0D0D14;
  margin-top: -50px;
}

/* Homepage hero entrance — CSS (reliable on mobile; AOS was leaving opacity:0) */
.hero-animate {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hero-delay, 0s);
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Safety: never leave hero text invisible */
.hero .hero-content {
  opacity: 1;
  visibility: visible;
}

/* Scroll entrance animations (AOS) — keep page banners static */
.page-banner [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

[data-aos] {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========== About Us page ========== */
.page-banner {
  position: relative;
  padding: 160px 0 90px;
  background-color: #01010C;
  background-image:
    linear-gradient(180deg, rgba(1, 1, 12, 0.72) 0%, rgba(1, 1, 12, 0.82) 55%, rgba(9, 9, 11, 0.94) 100%),
    url('../assets/images/page-banner-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  overflow: hidden;
}

.page-banner-content {
  max-width: 820px;
  margin: 0 auto;
}

.page-banner h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  margin: 0 0 22px;
  color: #fff;
}

.page-banner p {
  color: var(--text-light, #C7C7D1);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 640px;
}

.about-page-story {
  background: #0D0D14;
}

.about-page-story .about-content p {
  margin-bottom: 18px;
}

.about-mission-section,
.about-values-section {
  padding: 90px 0;
}

.about-mission-section {
  background: #09090B;
}

.about-values-section {
  background: #0D0D14;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.about-mission-card {
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 40px 32px;
  transition: 0.35s ease;
}

.about-mission-card:hover {
  border-color: rgba(255, 95, 109, 0.35);
  transform: translateY(-6px);
}

.about-mission-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  margin: 18px 0 14px;
}

.about-mission-card p {
  color: #C7C7D1;
  line-height: 1.7;
  margin: 0;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.about-value-item {
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 32px 24px;
  transition: 0.35s ease;
}

.about-value-item:hover {
  border-color: rgba(255, 158, 67, 0.35);
  transform: translateY(-6px);
}

.about-value-item .icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 95, 109, 0.12);
  color: #FF8A3D;
  font-size: 22px;
  margin-bottom: 18px;
}

.about-value-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  margin: 0 0 10px;
}

.about-value-item p {
  color: #C7C7D1;
  line-height: 1.65;
  margin: 0;
  font-size: 15px;
}

.about-stats {
  margin-top: 0;
  padding: 40px 0 70px;
}

.about-image-band {
  padding: 40px 0 100px;
  background: #09090B;
}

.about-image-band-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about-image-band-media img {
  width: 100%;
  display: block;
  border-radius: 28px;
}

.about-image-band-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  margin: 0 0 20px;
}

.about-image-band-content h2 span {
  background: linear-gradient(90deg, #FF5F6D, #FF9F43, #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-image-band-content p {
  color: #C7C7D1;
  line-height: 1.75;
  margin: 0 0 28px;
}

.header nav ul li a.active {
  color: #FF8A3D;
}

@media (max-width: 992px) {
  .about-mission-grid,
  .about-values-grid,
  .about-image-band-inner {
    grid-template-columns: 1fr;
  }

  .page-banner {
    padding: 140px 0 70px;
  }
}

@media (max-width: 768px) {
  .about-values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Header Services submenu ========== */
.header nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.header nav > ul {
  align-items: stretch;
  height: 100%;
}

.header nav > ul > li {
  display: flex;
  align-items: center;
}

.header nav ul li.has-submenu {
  position: relative;
  z-index: 1001;
}

.header nav ul li.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.submenu-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.header nav ul li.has-submenu:hover > a .submenu-arrow,
.header nav ul li.has-submenu:focus-within > a .submenu-arrow {
  transform: rotate(180deg);
}

/* Bridge from nav item down to header bottom line */
.header nav ul li.has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 250px;
  height: 28px;
  z-index: 998;
  display: none;
}

.header nav ul li.has-submenu:hover::after,
.header nav ul li.has-submenu:focus-within::after {
  display: block;
}

.header nav ul.submenu {
  position: absolute;
  top: calc(100% + 20px); /* align to header bottom border (header padding) */
  left: 0;
  transform: translateY(4px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  padding: 12px;
  margin: 0;
  list-style: none;
  background: rgba(20, 20, 31, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 1000;
}

.header.scrolled nav ul.submenu {
  top: calc(100% + 16px);
}

.header nav ul li.has-submenu:hover > .submenu,
.header nav ul li.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header nav ul.submenu li {
  display: block;
  width: 100%;
  margin: 0;
}

.header nav ul.submenu li a {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  color: #C7C7D1;
  font-size: 14px;
  white-space: normal;
  line-height: 1.35;
  transition: 0.2s ease;
}

.header nav ul.submenu li a::after {
  display: none;
}

.header nav ul.submenu li a:hover {
  color: #fff;
  background: rgba(255, 95, 109, 0.12);
}

.header-btn .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-btn .btn-primary .fa-whatsapp {
  font-size: 18px;
}

/* ========== Services listing / detail ========== */
.services-page-section {
  padding-top: 40px;
}

.service-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  color: #8E8E9A;
  font-size: 14px;
}

.service-detail-breadcrumb a {
  color: #C7C7D1;
  text-decoration: none;
}

.service-detail-breadcrumb a:hover {
  color: #FF8A3D;
}

.service-detail-section {
  padding: 80px 0;
  background: #0D0D14;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.service-detail-image {
  border-radius: 28px;
  overflow: hidden;
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 36px;
}

.service-detail-image img {
  width: 100%;
  display: block;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  padding: 0;
}

.service-detail-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 18px;
  line-height: 1.2;
}

.service-detail-content h2 span {
  background: linear-gradient(90deg, #FF5F6D, #FF9F43, #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-detail-content > p {
  color: #C7C7D1;
  line-height: 1.75;
  margin: 0 0 28px;
}

.service-detail-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  margin: 0 0 18px;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.service-detail-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #C7C7D1;
  line-height: 1.6;
}

.service-side-card {
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 22px;
}

.service-side-card .service-icon {
  margin-bottom: 16px;
}

.service-side-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  margin: 0 0 16px;
}

.service-side-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.service-side-card ul li {
  position: relative;
  padding: 8px 0 8px 18px;
  color: #C7C7D1;
  font-size: 14px;
}

.service-side-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #FF8A3D;
}

.service-side-card .btn-primary {
  width: 100%;
  justify-content: center;
}

.service-side-nav h4 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0 0 14px;
  font-size: 18px;
}

.service-side-nav ul {
  margin: 0;
}

.service-side-nav ul li {
  padding: 0;
}

.service-side-nav ul li::before {
  display: none;
}

.service-side-nav ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #C7C7D1;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

.service-side-nav ul li a:hover,
.service-side-nav ul li a.active {
  color: #fff;
  background: rgba(255, 95, 109, 0.12);
}

.service-side-nav ul li a i {
  font-size: 12px;
  opacity: 0.7;
}

.service-process-section .icon {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #FF8A3D;
}

@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .header nav ul.submenu {
    left: 0;
    transform: translateY(6px);
  }

  .header nav ul li.has-submenu:hover > .submenu,
  .header nav ul li.has-submenu:focus-within > .submenu {
    transform: translateY(0);
  }
}

/* ========== Technologies page ========== */
.technologies-page-section {
  padding-top: 30px;
  padding-bottom: 40px;
}

.tech-group-block {
  margin-bottom: 70px;
}

.tech-group-heading {
  text-align: center;
  margin-bottom: 0;
}

.tech-group-heading h2 {
  margin-bottom: 0;
}

.tech-card {
  padding: 28px 18px;
}

.tech-card img {
  max-width: 72px;
  width: 72px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
}

.technologies-page-section .tech-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
  width: 100%;
}

.tech-card-page {
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.tech-card-page p {
  color: #C7C7D1;
  font-size: 14px;
  line-height: 1.6;
  margin: 14px 0 0;
}

.tech-why-section {
  padding-top: 40px;
}

@media (max-width: 1200px) {
  .tech-stack .tech-grid,
  .technologies-page-section .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .technologies-page-section .tech-grid,
  .tech-stack .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .technologies-page-section .tech-grid,
  .tech-stack .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Blog pages ========== */
.blog-section {
  padding: 40px 0 90px;
  background: #09090B;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-card {
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 95, 109, 0.35);
}

.blog-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.45s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #FF8A3D;
  font-size: 13px;
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.blog-card-body h3 a {
  color: #fff;
  text-decoration: none;
}

.blog-card-body h3 a:hover {
  color: #FF8A3D;
}

.blog-card-body p {
  color: #C7C7D1;
  line-height: 1.65;
  font-size: 14px;
  margin: 0 0 18px;
}

.blog-read-more {
  color: #FF8A3D;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  color: #C7C7D1;
  font-size: 14px;
  margin-top: 8px;
}

.blog-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-detail-section {
  padding: 70px 0 90px;
  background: #0D0D14;
}

.blog-detail-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 36px;
  align-items: start;
}

.blog-detail-image {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-detail-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-detail-content p {
  color: #C7C7D1;
  line-height: 1.8;
  margin: 0 0 20px;
  font-size: 16px;
}

.blog-detail-cta {
  margin-top: 36px;
  padding: 28px;
  border-radius: 20px;
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-detail-cta h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0 0 10px;
}

.blog-detail-cta p {
  margin-bottom: 18px;
}

/* ========== Contact page ========== */
.contact-section {
  padding: 40px 0 100px;
  background: #09090B;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.contact-info-panel h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  margin: 0 0 18px;
}

.contact-info-panel h2 span {
  background: linear-gradient(90deg, #FF5F6D, #FF9F43, #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info-panel > p {
  color: #C7C7D1;
  line-height: 1.75;
  margin: 0 0 30px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 18px;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 95, 109, 0.12);
  color: #FF8A3D;
  flex-shrink: 0;
}

.contact-info-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
}

.contact-info-list p {
  margin: 0;
  color: #C7C7D1;
  font-size: 14px;
}

.contact-form-panel {
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 32px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #C7C7D1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #0D0D14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #fff;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 95, 109, 0.55);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn-primary {
  border: none;
  cursor: pointer;
}

.contact-alert {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-alert-success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #7DFFB3;
}

.contact-alert-error {
  background: rgba(255, 95, 109, 0.12);
  border: 1px solid rgba(255, 95, 109, 0.35);
  color: #FFB4BA;
}

@media (max-width: 992px) {
  .blog-grid,
  .blog-detail-grid,
  .contact-grid,
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #C7C7D1;
  background: #14141F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.blog-pagination a:hover,
.blog-pagination span.current {
  color: #fff;
  background: linear-gradient(90deg, #FF5F6D, #FF8A3D);
  border-color: transparent;
}

.cms-page-section {
  padding: 140px 0 100px;
  background: #09090B;
}

.cms-page-content {
  margin: 0 auto;
  border-radius: 24px;
  padding: 40px;
  color: #C7C7D1;
  line-height: 1.8;
}

.cms-page-title {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin: 0 0 24px;
}

.cms-page-content h1,
.cms-page-content h2,
.cms-page-content h3 {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  margin: 28px 0 14px;
}

.cms-page-content h1.cms-page-title {
  margin-top: 0;
}

.cms-page-content p {
  margin: 0 0 16px;
}

.cms-page-content ul {
  margin: 0 0 16px 20px;
}

/* Admin DataTables dark polish */
.dataTables_wrapper {
  color: #c7c7d1;
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: #10131a;
  border: 1px solid #2a3040;
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #c7c7d1 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: linear-gradient(90deg, #ff5f6d, #ff8a3d) !important;
  border: none !important;
  color: #fff !important;
}
table.dataTable tbody tr {
  background: transparent !important;
}
table.dataTable.no-footer {
  border-bottom: 1px solid #2a3040 !important;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== Mobile menu toggle ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(20, 20, 31, 0.85);
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: 0.25s ease;
}

.header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header nav .mobile-nav-cta {
  display: none !important;
}

.header nav .mobile-all-services {
  display: none;
}

.nav-overlay {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

/* ========== Site-wide responsive ========== */
@media (max-width: 1200px) {
  nav ul {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(36px, 5vw, 48px);
    line-height: 1.1;
  }

  .header-btn .btn-primary {
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .cursor-glow {
    display: none !important;
  }

  .header {
    padding: 14px 0;
  }

  .header .container {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
  }

  .logo {
    grid-column: 2;
    justify-self: center;
    text-align: center;
  }

  .logo img {
    height: 48px;
  }

  .menu-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .header-btn {
    display: none;
  }

  /* Mobile heading size cap (match homepage hero H1) */
  h1,
  h2,
  .hero h1,
  .page-banner h1,
  .section-heading h2,
  .cms-page-title,
  .cms-page-content h1,
  .cms-page-content h2,
  .contact-info-panel h2,
  .about-image-band-content h2,
  .service-detail-content h2,
  .cta-box h2,
  .cta-banner h2,
  .cta-banner .cta-text h2,
  .experience-card h2,
  .tech-group-heading h2,
  .about-content h2 {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.15 !important;
  }

  .mobile-all-services {
    display: block !important;
  }

  .header nav .mobile-all-services {
    display: block !important;
  }

  .header nav .mobile-all-services a {
    font-weight: 600;
    color: #FF8A3D !important;
  }

  .header .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 86vw);
    height: 100vh;
    height: 100dvh;
    padding: 90px 22px 32px;
    background: rgba(11, 11, 18, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    transform: translateX(105%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 1001;
    align-items: flex-start;
  }

  .header.nav-open .site-nav {
    transform: translateX(0);
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-overlay[hidden] {
    display: none !important;
  }

  .mobile-nav-cta {
    display: block !important;
    margin-top: 18px;
    padding-top: 8px;
  }

  .header nav .mobile-nav-cta {
    display: block !important;
  }

  .mobile-nav-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .mobile-nav-cta .btn-primary::after {
    display: none;
  }

  .header nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    height: auto;
  }

  .header nav > ul > li {
    display: block;
    width: 100%;
  }

  .header nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 16px;
  }

  .header nav > ul > li > a::after {
    display: none;
  }

  .header nav ul li.has-submenu {
    flex-direction: column;
    align-items: stretch;
  }

  .header nav ul li.has-submenu::after {
    display: none !important;
  }

  .header nav ul.submenu {
    position: static;
    width: 100%;
    max-width: none;
    min-width: 0;
    transform: none !important;
    margin: 0 0 8px;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
  }

  .header nav ul li.has-submenu.open > .submenu {
    display: flex;
  }

  .header nav ul li.has-submenu.open > a .submenu-arrow {
    transform: rotate(180deg);
  }

  /* Hero */
  .hero {
    padding: 130px 0 36px;
    background-size: min(420px, 72vw);
    background-position: right -20px top 70px;
    min-height: auto;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero p {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-sparkles {
    opacity: 0.55;
  }

  /* Sections */
  .about-section,
  .services-section,
  .why-us,
  .process-section,
  .tech-stack,
  .projects-section,
  .testimonials-section,
  .blog-section {
    padding-left: 0;
    padding-right: 0;
  }

  .about-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    overflow: visible;
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }

  .experience-card,
  .floating-card {
    position: static;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 16px;
  }

  .floating-card {
    display: flex;
    justify-content: flex-start;
  }

  .experience-card h2 {
    font-size: 36px;
  }

  .section-heading h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .why-wrapper {
    gap: 28px;
  }

  .why-card {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .why-card .icon {
    margin-left: auto;
    margin-right: auto;
  }

  .service-card .service-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .service-card > h3,
  .service-card > p {
    text-align: center;
  }

  .service-card > ul,
  .service-card > a {
    text-align: left;
  }

  .process-section {
    padding: 60px 0;
  }

  .timeline {
    margin-top: 50px;
    gap: 36px;
  }

  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .timeline-item .step-number {
    margin: 0 0 -32px;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
  }

  .timeline-item .step-card {
    width: 100%;
    padding-top: 48px;
    text-align: center;
  }

  .step-number {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }

  .tech-stack {
    padding: 60px 0;
  }

  .page-banner {
    padding: 130px 0 60px;
  }

  .page-banner h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .cms-page-section {
    padding: 120px 0 70px;
  }

  .cms-page-content {
    padding: 28px 18px;
  }

  .footer {
    padding: 60px 0 30px;
    margin-top: 0 !important;
  }

  /* CTA + footer overlap fix on mobile */
  .footer-cta {
    padding: 40px 0 24px;
    overflow: visible;
    position: relative;
    z-index: 2;
  }

  .cta-banner {
    padding: 0;
    overflow: visible;
  }

  .cta-banner[data-aos],
  .cta-banner [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .cta-banner .cta-content {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    min-height: auto !important;
    padding: 28px 18px !important;
    text-align: center;
    border-radius: 16px;
  }

  .cta-banner .cta-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    flex: 0 0 64px !important;
  }

  .cta-banner .cta-text {
    width: 100%;
    text-align: center;
  }

  .cta-banner .cta-text p br {
    display: none;
  }

  .cta-banner .cta-buttons {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    flex-direction: column;
    gap: 12px;
  }

  .cta-banner .cta-buttons a,
  .cta-banner .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 14px 20px;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1320px, 92%);
  }

  .about-images {
    margin: 0;
  }

  .experience-card,
  .floating-card {
    position: static;
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .floating-card {
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
  }

  /* What We Do — center icon + text only */
  .service-card .service-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .service-card > h3,
  .service-card > p {
    text-align: center;
  }

  .service-card > ul,
  .service-card > a {
    text-align: left;
  }

  /* Why Choose Us — center cards */
  .why-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .why-card .icon {
    margin-left: auto;
    margin-right: auto;
  }

  /* Our Process — center + number half-overlap */
  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .timeline-item .step-number {
    margin: 0 0 -32px;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
  }

  .timeline-item .step-card {
    width: 100%;
    padding-top: 48px;
    text-align: center;
  }

  .hero {
    padding: 120px 0 28px;
    background-image: none;
  }

  .hero-sparkles {
    display: none;
  }

  .hero-badge {
    font-size: 12px;
    padding: 10px 14px;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .stats-main-section {
    padding: 10px 0 20px;
  }

  .fph-stats-section {
    padding: 10px 0;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 60px 0;
  }

  .service-card {
    padding: 28px 22px;
  }

  .service-card .service-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .service-card > h3,
  .service-card > p {
    text-align: center;
  }

  .service-card > ul,
  .service-card > a {
    text-align: left;
  }

  .why-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .why-card .icon {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-box {
    padding: 40px 22px !important;
  }

  .cta-box h2 {
    font-size: clamp(26px, 6vw, 36px);
  }

  .cta-banner .cta-buttons {
    flex-direction: column;
  }

  .cta-banner .cta-buttons a {
    width: 100%;
    justify-content: center;
  }

  .blog-card-body {
    padding: 20px;
  }

  .contact-form-panel,
  .contact-info-list li {
    padding: 22px 16px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 36px;
  }

  .footer .social-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 650px) {
  .fph-stats-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 18px !important;
  }

  .fph-stat-item {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .header .container {
    grid-template-columns: 40px 1fr 40px;
  }

  .logo img {
    height: 42px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .header.nav-open .site-nav {
    width: 100%;
  }

  .section-tag {
    font-size: 12px;
    padding: 8px 14px;
  }

  .why-card h3,
  .service-card h3,
  .tech-card h4 {
    font-size: 20px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .timeline-item .step-number {
    width: 64px;
    height: 64px;
    font-size: 22px;
    margin: 0 0 -28px;
  }

  .timeline-item .step-card {
    padding-top: 42px;
  }

  .page-banner {
    padding: 115px 0 48px;
  }

  .page-banner p {
    font-size: 15px;
  }

  .cms-page-section {
    padding: 110px 0 50px;
  }

  .blog-pagination a,
  .blog-pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
  }
}