* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f7f8fc;
  color: #111827;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 25px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================
INNER PAGE UPDATED DESIGN
========================= */

.inner-page {
  padding: 100px 0;
  min-height: 90vh;

  background:
    radial-gradient(circle, #1e56ff 0%, transparent 70%),
    linear-gradient(135deg, #010b2d, #00114d, #011239);

  display: flex;
  align-items: center;

  color: white;

  position: relative;
  overflow: hidden;
}

.inner-page::before {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  background: radial-gradient(circle,
      rgba(37, 99, 235, 0.4) 0%,
      transparent 70%);

  top: -200px;
  right: -200px;

  border-radius: 50%;
}

.inner-page .container {
  position: relative;
  z-index: 2;
}

.inner-page h1 {
  font-size: 60px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.inner-page p {
  font-size: 18px;
  color: #c5d2ff;
  max-width: 700px;
  line-height: 1.8;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.logo-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #246bff, #6f49ff);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  font-weight: 700;
}

.logo p {
  font-size: 13px;
  color: #b7c4ff;
}

nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: #4f8dff;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.quote-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, #5f4dff, #2b8fff);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* =========================================
MENU BUTTON (mobile only — hidden on desktop)
========================================= */

.menu-btn {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
  font-size: 20px;
  z-index: 1001;
  position: relative;
}

/* =========================================
NAV OVERLAY (mobile only — hidden on desktop)
========================================= */

.nav-overlay {
  display: none;
}

/* =========================================
WHY CHOOSE US
========================================= */

.why-choose {
  padding: 30px 0;
  background: #f9fbff;
}

.why-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: start;
}

/* Full-width variant: used when there is no right column
   (e.g. the second Why Choose Us section with no developer panel) */
.why-wrapper-full {
  grid-template-columns: 1fr;
}

.why-wrapper-full .why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.why-left span,
.training-box span,
.testimonial-box span {
  color: #276cff;
  font-weight: 600;
  letter-spacing: 1px;
}

.why-left h2 {
  font-size: 50px;
  margin: 20px 0;
}

.why-left p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.why-card {
  background: white;
  padding: 30px;
  border-radius: 25px;

  display: flex;
  align-items: flex-start;
  gap: 18px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition: 0.4s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.why-card i {
  width: 65px;
  height: 65px;

  border-radius: 18px;

  background: linear-gradient(135deg, #5d4dff, #288fff);

  color: white;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 24px;

  flex-shrink: 0;
}

.why-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.why-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.training-box,
.testimonial-box {
  background: white;
  padding: 40px;
  border-radius: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.training-box h3,
.testimonial-box h3 {
  font-size: 32px;
  margin: 18px 0;
}

.training-box p,
.testimonial-box p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-card {
  background: #f7f8fc;
  padding: 25px;
  border-radius: 20px;
  margin-top: 20px;
}

.testimonial-card i {
  color: #276cff;
  font-size: 24px;
  margin-bottom: 15px;
}

.testimonial-card p {
  margin: 0;
  font-style: italic;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #010b2d, #00114d, #011239);
  min-height: 100vh;
  overflow: hidden;
  padding-top: 140px;
}

.hero-bg {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #1e56ff 0%, transparent 70%);
  right: -150px;
  top: -150px;
  opacity: 0.25;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content span {
  color: #2f8dff;
  letter-spacing: 2px;
  font-weight: 600;
}

.hero-content h1 {
  font-size: 50px;
  line-height: 1.1;
  margin: 25px 0;
  color: white;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #2f8dff, #8f5cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: #c5d2ff;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-btn {
  background: linear-gradient(135deg, #5d4dff, #288fff);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.video-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
}

.play-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 40px;
  position: relative;
  z-index: 2;
}

.shape {
  position: absolute;
  border: 2px solid rgba(59, 130, 246, 0.5);
  border-radius: 40px;
}

.shape1 {
  width: 100%;
  height: 100%;
  top: -30px;
  left: -30px;
}

.shape2 {
  width: 100%;
  height: 100%;
  top: 30px;
  left: 30px;
}

.floating-card {
  position: absolute;
  right: -40px;
  bottom: 60px;
  background: white;
  padding: 25px;
  border-radius: 25px;
  width: 320px;
  display: flex;
  gap: 18px;
  z-index: 3;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
  min-width: 60px;
  width: 60px;
  height: 60px;

  background: linear-gradient(135deg, #5d4dff, #288fff);
  color: white;

  border-radius: 15px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 24px;

  flex-shrink: 0;
}

.floating-card h3 {
  margin-bottom: 10px;
}

.floating-card p {
  color: #666;
  line-height: 1.6;
}

/* SERVICES */

.services {
  margin-top: -80px;
  position: relative;
  z-index: 99;
}

.service-grid {
  background: #fff;
  border-radius: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-card {
  padding: 40px 30px;

  display: flex;
  align-items: flex-start;
  gap: 20px;

  border-right: 1px solid #eee;

  transition: 0.3s ease;

  min-height: 260px;
}

.service-card:hover {
  background: #f9fbff;
}

.service-card:last-child {
  border-right: none;
}

/* ICON */

.service-icon {
  width: 75px;
  height: 75px;
  min-width: 75px;

  border-radius: 20px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 28px;

  flex-shrink: 0;
}

/* COLORS */

.blue {
  background: #e9f1ff;
  color: #276cff;
}

.purple {
  background: #f0e9ff;
  color: #7b4dff;
}

.green {
  background: #e8fff1;
  color: #00b85c;
}

.orange {
  background: #fff3e5;
  color: #ff9800;
}

/* CONTENT */

.service-card h5 {
  margin-bottom: 5px;
  font-size: 14px;
  min-height: 52px;
}

.service-card p {
  color: #666;
  margin-bottom: 18px;
  font-size: 13px;

  min-height: 5px;
}

.service-card a {
  text-decoration: none;
  color: #276cff;
  font-weight: 600;

  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about {
  padding: 10px 0;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-left span,
.portfolio span,
.contact span {
  color: #276cff;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-left h2,
.portfolio h2,
.contact h2 {
  font-size: 50px;
  margin: 20px 0;
}

.about-left p,
.contact p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.counter-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.counter-box {
  background: white;
  padding: 30px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.counter-box i {
  font-size: 28px;
  color: #276cff;
  margin-bottom: 15px;
}

.counter-box h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

.about-right img {
  width: 100%;
  border-radius: 40px;
}

.portfolio {
  padding: 60px 0;
  /* padding-top: 50px; */
}

.portfolio-tabs {
  margin: 35px 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.portfolio-tabs button {
  padding: 12px 22px;
  border-radius: 30px;
  border: none;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-weight: 600;
}

.portfolio-tabs button.active {
  background: #276cff;
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project-content {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-content p {
  color: #666;
  margin-top: 5px;
}

.arrow-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #276cff;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact {
  background: linear-gradient(135deg, #010b2d, #00114d, #011239);
  padding: 120px 0;
  color: white;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

form {
  background: rgba(255, 255, 255, 0.06);
  padding: 40px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

form input,
form textarea {
  width: 100%;
  padding: 18px;
  margin-bottom: 20px;
  border-radius: 15px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
}

form textarea {
  height: 150px;
  resize: none;
}

form button {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #5d4dff, #288fff);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.developer-card {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
}

.developer-card:hover {
  transform: translateY(-10px);
}

.developer-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 5px solid #f3f3f3;
}

.developer-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.developer-card p {
  color: #777;
  margin-bottom: 15px;
}

.dev-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dev-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: 0.3s;
}

.dev-social a:hover {
  background: #2563eb;
  color: #fff;
}

/* =========================
FOOTER CSS
========================= */

.footer {
  background: #020817;
  color: white;
  padding-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  padding-bottom: 60px;
}

.footer-box h2 {
  font-size: 24px;
  margin-bottom: 25px;
  position: relative;
}

.footer-box h2::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -10px;

  width: 60px;
  height: 3px;

  background: linear-gradient(135deg, #246bff, #6f49ff);
  border-radius: 20px;
}

.footer-box p {
  color: #cbd5e1;
  line-height: 1.9;
  font-size: 15px;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 15px;
}

.footer-box ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.3s;
  font-size: 15px;
}

.footer-box ul li a:hover {
  color: #4f8dff;
  padding-left: 8px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 20px;

  color: #4f8dff;
  text-decoration: none;
  font-weight: 600;
}

.footer-contact {
  margin-top: 25px;
}

.footer-contact p {
  margin-bottom: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 25px 0;
}

.footer-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;

  transition: 0.3s;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #246bff, #6f49ff);
  transform: translateY(-5px);
}

/* =========================================
ANIMATIONS
========================================= */

/* FLOATING EFFECT */

@keyframes floatUpDown {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* HERO IMAGE ANIMATION */

.hero-image img {
  animation: floatUpDown 6s ease-in-out infinite;
}

/* SHAPE ROTATION */

@keyframes rotateShape {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.shape1 {
  animation: rotateShape 18s linear infinite;
}

.shape2 {
  animation: rotateShape 25s linear infinite reverse;
}

/* HERO CONTENT FADE */

@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content {
  animation: fadeLeft 1s ease;
}

/* HERO IMAGE FADE */

@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image {
  animation: fadeRight 1.2s ease;
}

/* BUTTON HOVER EFFECT */

.primary-btn,
.quote-btn,
form button {
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
}

.primary-btn::before,
.quote-btn::before,
form button::before {
  content: "";

  position: absolute;
  top: 0;
  left: -100%;

  width: 100%;
  height: 100%;

  background: rgba(255, 255, 255, 0.2);

  transition: 0.5s ease;
}

.primary-btn:hover::before,
.quote-btn:hover::before,
form button:hover::before {
  left: 100%;
}

.primary-btn:hover,
.quote-btn:hover,
form button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

/* SERVICE CARD HOVER */

.service-card {
  transition: 0.4s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* SERVICE ICON ROTATE */

.service-card:hover .service-icon {
  transform: rotate(10deg) scale(1.08);
}

.service-icon {
  transition: 0.4s ease;
}

/* PROJECT CARD ANIMATION */

.project-card {
  transition: 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  transition: 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

/* ARROW BUTTON */

.arrow-btn {
  transition: 0.4s ease;
}

.project-card:hover .arrow-btn {
  transform: rotate(-45deg);
}

/* COUNTER BOX */

.counter-box {
  transition: 0.4s ease;
}

.counter-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* FLOATING CARD */

.floating-card {
  animation: floatUpDown 5s ease-in-out infinite;
}

/* NAV LINKS HOVER */

nav ul li a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -8px;

  width: 0%;
  height: 2px;

  background: #4f8dff;

  transition: 0.4s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* SOCIAL ICON */

.footer-social a {
  transition: 0.4s ease;
}

.footer-social a:hover {
  transform: translateY(-8px) rotate(8deg);
}

/* INPUT FOCUS EFFECT */

form input,
form textarea {
  transition: 0.3s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border: 1px solid #4f8dff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(79, 141, 255, 0.2);
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* HERO BACKGROUND GLOW */

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.4;
  }

  100% {
    transform: scale(1);
    opacity: 0.2;
  }
}

.hero-bg {
  animation: pulseGlow 8s ease-in-out infinite;
}

/* =========================================
RESPONSIVE — SINGLE CONSOLIDATED BREAKPOINT
(previously split into two conflicting
@media(max-width:1100px) blocks; merged here
so the mobile nav toggle behaves reliably)
========================================= */

@media(max-width: 1100px) {

  .why-wrapper {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-wrapper-full .why-grid {
    grid-template-columns: 1fr;
  }

  .why-left h2 {
    font-size: 42px;
  }

  .hero-wrapper,
  .about-wrapper,
  .contact-wrapper,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 52px;
  }

  .services {
    margin-top: 20px;
  }

  .service-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .service-card:nth-child(2) {
    border-right: none;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(2) {
    border-bottom: 1px solid #eee;
  }

  .hero {
    padding-bottom: 120px;
  }

  .floating-card {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 25px;
    z-index: 5;
  }

  .hero-image {
    margin-top: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ---- MOBILE NAV ---- */

  nav {
    display: block;
  }

  nav ul {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: #111827;
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 30px 30px;
    gap: 20px;
    border-radius: 0;
    transition: right 0.4s ease;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  nav ul.show {
    right: 0;
  }

  .menu-btn {
    display: flex;
  }

  .quote-btn {
    display: none;
  }

  /* ---- NAV OVERLAY ---- */

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
  }

  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }

}

@media(max-width:700px) {

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-wrapper {
    flex-direction: column;
    text-align: center;
  }

}

.floating-social {
  position: fixed;
  bottom: 25px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.float-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.whatsapp {
  background: #25d366;
}

.facebook {
  background: #1877f2;
}

.twitter {
  background: #000000;
}

.linkedin {
  background: #0a66c2;
}

@media (max-width: 480px) {
  .float-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* =========================================
TRENDY MICRO-INTERACTIONS — ADDED
(hover background-color shifts, gradient
sweeps, glow pulses, icon pop-ins, etc.)
========================================= */

/* Smooth global background-color transition on anything that changes bg on hover */
a,
button,
.why-card,
.service-card,
.project-card,
.counter-box,
.developer-card,
.dev-social a,
.footer-social a,
.float-icon,
.portfolio-tabs button,
.quote-btn,
.primary-btn,
.arrow-btn,
.logo-icon {
  transition: background-color 0.35s ease, background 0.35s ease,
    color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* NAV LINK HOVER — subtle pill background instead of plain color swap */
nav ul li a {
  padding: 8px 14px;
  border-radius: 30px;
}

nav ul li a:hover,
nav ul li a.active {
  background: rgba(79, 141, 255, 0.14);
}

/* WHY CARD — background tint + icon color-shift on hover */
.why-card:hover {
  background: linear-gradient(135deg, #ffffff, #eef3ff);
}

.why-card:hover i {
  background: linear-gradient(135deg, #288fff, #5d4dff);
  transform: rotate(-8deg) scale(1.1);
}

/* SERVICE CARD — animated gradient background wash on hover */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 141, 255, 0.08), rgba(143, 92, 255, 0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover .service-icon.blue {
  background: #276cff;
  color: #fff;
}

.service-card:hover .service-icon.purple {
  background: #7b4dff;
  color: #fff;
}

.service-card:hover .service-icon.green {
  background: #00b85c;
  color: #fff;
}

.service-card:hover .service-icon.orange {
  background: #ff9800;
  color: #fff;
}

/* COUNTER BOX — background flip on hover */
.counter-box:hover {
  background: linear-gradient(135deg, #276cff, #5d4dff);
}

.counter-box:hover h3,
.counter-box:hover p,
.counter-box:hover i {
  color: #fff;
}

/* PROJECT CARD — background tint sweep */
.project-content {
  transition: background-color 0.35s ease;
}

.project-card:hover .project-content {
  background: #f4f7ff;
}

.arrow-btn:hover {
  background: #1a4fd6;
  box-shadow: 0 8px 20px rgba(39, 108, 255, 0.4);
}

/* PORTFOLIO TABS — animated underline + bg fill */
.portfolio-tabs button {
  position: relative;
  overflow: hidden;
  transition: 0.35s ease;
}

.portfolio-tabs button:hover:not(.active) {
  background: #eef3ff;
  color: #276cff;
  transform: translateY(-3px);
}

/* DEVELOPER CARD — gradient wash + social bg pop */
.developer-card:hover {
  background: linear-gradient(180deg, #ffffff, #f3f6ff);
  box-shadow: 0 20px 40px rgba(39, 108, 255, 0.15);
}

.dev-social a:hover {
  transform: translateY(-4px) scale(1.1);
}

/* FOOTER LINKS — sliding pill background */
.footer-box ul li a {
  display: inline-block;
  padding: 4px 0;
  position: relative;
}

.footer-box ul li a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f8dff;
  transition: transform 0.3s ease;
}

.footer-box ul li a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

/* LOGO ICON — gentle pulse-glow on hover */
.logo-icon:hover {
  background: linear-gradient(135deg, #6f49ff, #246bff);
  box-shadow: 0 0 25px rgba(111, 73, 255, 0.55);
  transform: rotate(-6deg) scale(1.05);
}

/* CTA / PRIMARY BUTTONS — background gradient shift + shine sweep already present,
   layering a subtle background-position animation for a "trendy" moving gradient */
.primary-btn,
.quote-btn,
form button,
.contact-form-box button[type="submit"] {
  background-size: 200% auto;
  background-position: 0% center;
}

.primary-btn:hover,
.quote-btn:hover,
form button:hover,
.contact-form-box button[type="submit"]:hover {
  background-position: 100% center;
}

/* PLAY BUTTON — pulsing ring */
@keyframes ringPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
  }

  100% {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
  }
}

.play-circle {
  animation: ringPulse 2.2s ease-out infinite;
  transition: background-color 0.3s ease;
}

.video-btn:hover .play-circle {
  background: rgba(79, 141, 255, 0.25);
}

/* MENU BUTTON — background fill on hover/open */
.menu-btn:hover {
  background: rgba(79, 141, 255, 0.2);
  border-color: #4f8dff;
}

/* GRADIENT TEXT SHIMMER on hero highlighted word */
@keyframes shimmerText {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-content h1 span {
  background-size: 200% auto;
  animation: shimmerText 4s ease-in-out infinite;
}

/* FLOATING SOCIAL ICONS — bg swap + bounce on hover already partly present, add gentle idle bounce */
@keyframes gentleBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.float-icon:nth-child(1) {
  animation: gentleBounce 3s ease-in-out infinite;
}

.float-icon:nth-child(2) {
  animation: gentleBounce 3s ease-in-out infinite 0.3s;
}

.float-icon:nth-child(3) {
  animation: gentleBounce 3s ease-in-out infinite 0.6s;
}

.float-icon:nth-child(4) {
  animation: gentleBounce 3s ease-in-out infinite 0.9s;
}

.float-icon:hover {
  animation-play-state: paused;
}

/* Respect reduced-motion preference for all the new effects too */
@media (prefers-reduced-motion: reduce) {

  .play-circle,
  .float-icon,
  .hero-content h1 span,
  .logo-icon,
  .why-card,
  .why-card i,
  .service-card::after,
  .counter-box,
  .developer-card,
  .arrow-btn,
  .portfolio-tabs button {
    animation: none !important;
    transition: none !important;
  }
}

.inner-page::before {
  animation: pulseGlowStrong 6s ease-in-out infinite;
}

.inner-page .container {
  animation: fadeLeft 1s ease;
}

@keyframes pulseGlowStrong {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.85;
  }

  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {

  .play-circle,
  .float-icon,
  .hero-content h1 span,
  .logo-icon,
  .why-card,
  .why-card i,
  .service-card::after,
  .counter-box,
  .developer-card,
  .arrow-btn,
  .portfolio-tabs button,
  .inner-page::before,
  .inner-page .container {
    animation: none !important;
    transition: none !important;
  }
}