
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

/* =========================================================
   GLOBAL / PERFORMANCE FRIENDLY RESET
========================================================= */
:root {
  --accent: #e6a817;
  --accent-light: #f5c842;
  --accent-dark: #c48e0e;
  --ink: #1a1500;
  --muted: #5c5233;
  --surface: #fffdf5;
  --soft: #fefbf0;
  --line: rgba(180, 150, 50, 0.15);
  --shadow: 0 18px 45px rgba(120, 90, 10, 0.10);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: #f5edcc;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: #111827;
}

/* =========================================================
   EXISTING NAVBAR - KEPT UNCHANGED
========================================================= */
/* NAVBAR WRAPPER */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
  padding: 2px 0;
  background: rgba(230, 197, 100, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(180, 140, 30, 0.18);
  transition: 0.3s ease-in-out;
}
.nav-container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- LOGO LEFT ---------------- */
.logo a {
  display: block;
  width: 150px; /* adjust logo width */
  height: 75px; /* adjust logo height */
  background: url("/Image/logo.png") no-repeat center/contain;
  text-indent: -9999px; /* hide text if any */
}

/* ---------------- CENTER MENU ---------------- */
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 16px;
  color: #1a1500;
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 4px;
  transition: 0.3s ease;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom: 2px solid #8b6914;
}

/* ---------------- RIGHT WHATSAPP NUMBER ---------------- */

/* ---------------- MOBILE RESPONSIVE ---------------- */
.hamburger {
  width: 28px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #1a1500;
}

.navbar.scrolled .hamburger span {
  background: #111;
}

.mobile-menu {
  display: none;
  width: 100%;
  background: white;
  padding: 20px 0;
  list-style: none;
}

.mobile-menu li {
  padding: 12px 20px;
}

.mobile-menu a {
  color: #111;
  font-size: 17px;
  text-decoration: none;
}

.whatsapp-mobile {
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
  margin: 10px 0 0 20px;
}
/* LAZY MODE BUTTON */
.lazy-toggle {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  background: #f59e0b;
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 9999;
  transition: 0.3s ease;
}
.lazy-toggle:hover {
  background: #000;
  color: #fff;
}

/* SHOW ON MOBILE */
@media (max-width: 1000px) {
  .nav-links,
  .whatsapp-number {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
    position: relative;
    z-index: 10001;
    flex-shrink: 0;
    cursor: pointer;
    pointer-events: auto;
  }

  .hamburger span {
    display: block;
    transition: transform .25s ease, opacity .2s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 10000;
    display: none !important;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    margin: 0;
    padding: 12px 0 20px;
    box-shadow: 0 12px 25px rgba(0,0,0,.15);
  }

  .mobile-menu.active {
    display: block !important;
  }

  .mobile-menu li {
    display: block;
  }

  .mobile-menu a {
    display: block;
  }
}
whatsapp-mobile {
  background-color: #f59e0b;
  color: black !important;
  font-weight: 600;
  border: 1px solid #f59e0b;
  padding: 10px 15px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 10px;
}

.whatsapp-number {
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
  padding: 8px 16px;
  border-radius: 6px;
  color: black;
  font-weight: 600;
  text-decoration: none;
}



/* =========================================================
   IT SERVICES HERO - REDESIGNED
========================================================= */
.it-services {
  position: relative;
  width: 100%;
  min-height: 560px;
  margin-top: 65px;
  padding: 120px 20px 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #1a1500;
  background:
    radial-gradient(ellipse at 18% 18%, rgba(255, 250, 190, 0.85), transparent 30%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 205, 35, 0.35), transparent 35%),
    linear-gradient(135deg, #f4e7b2 0%, #ffad00 48%, #e6a817 100%);
}

.it-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 180, .35), transparent 28%),
    radial-gradient(circle at 85% 70%, rgba(255, 205, 40, .25), transparent 30%);
  pointer-events: none;
}

.it-services::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  top: -180px;
  border: 1px solid rgba(150,110,20,.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(180,140,30,.06),
    0 0 0 90px rgba(180,140,30,.04);
  animation: heroFloat 8s ease-in-out infinite;
}

.it-container {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.small-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(100, 70, 10, .4);
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  color: #5c3d00;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  animation: heroReveal .8s both;
}

.small-heading::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b6914;
  box-shadow: 0 0 14px #c48e0e;
}

.main-heading {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.5px;
  animation: heroReveal .9s .08s both;
}

.it-desc {
  max-width: 760px;
  margin: 0;
  color: rgba(60, 45, 0, .82);
  font-size: 17px;
  line-height: 1.8;
  animation: heroReveal 1s .16s both;
}

.it-desc strong {
  color: #8b6914;
}

/* =========================================================
   SERVICES SECTION
========================================================= */
.services-section {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 95px 20px 105px;
  text-align: center;
  background: linear-gradient(180deg, #f5edcc 0%, #f0e4b8 100%);
}

.services-section::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -140px;
  top: 80px;
  border-radius: 50%;
  background: rgba(245,158,11,.08);
  filter: blur(2px);
  pointer-events: none;
}

.services-section h2,
.why-title {
  position: relative;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.8px;
}

.services-section > p,
.why-subtitle {
  position: relative;
  max-width: 720px;
  margin: 0 auto 52px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.service-box {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(200, 170, 60, 0.18);
  border-radius: 20px;
  background: #fdf6e0;
  box-shadow: 0 10px 30px rgba(120, 90, 10, .08);
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.2,.75,.25,1),
    box-shadow .35s ease,
    border-color .35s ease;
}

.service-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}

.service-box::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -95px;
  top: -95px;
  border-radius: 50%;
  background: rgba(245,158,11,.08);
  z-index: -1;
  transition: transform .5s ease;
}

.service-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-box:hover {
  transform: translateY(-6px);
  border-color: rgba(245,158,11,.38);
  box-shadow: 0 20px 45px rgba(15,23,42,.12);
}

.service-box:hover::before {
  transform: scaleX(1);
}

.service-box:hover::after {
  transform: scale(1.35);
}

/* ---- Card Title ---- */
.service-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 750;
}

.service-box h3 i {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(245,158,11,.13);
  color: var(--accent-dark);
  font-size: 15px;
  transition: transform .35s ease, background .35s ease;
}

.service-box:hover h3 i {
  transform: rotate(-5deg) scale(1.08);
  background: var(--accent);
  color: #111827;
}

/* ---- Description ---- */
.service-box p.description {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---- Section Labels (Key Features, Benefits, Technologies) ---- */
.section-title {
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

/* ---- Feature Items ---- */
.features-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}

.features-row .feature-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3e4c5e;
  font-size: 12px;
  line-height: 1.4;
}

.features-row .feature-item i {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 11px;
}

/* ---- Tech Tags ---- */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 16px;
}

.tech {
  padding: 4px 10px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  transition: .25s ease;
}

.tech:hover {
  border-color: rgba(245,158,11,.35);
  background: #fff7e6;
  color: var(--accent-dark);
  transform: translateY(-2px);
}

/* ---- CTA Button ---- */
.consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 18px;
  margin-top: auto;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(245,158,11,.18);
  transition: transform .25s ease, box-shadow .25s ease;
  align-self: flex-start;
}

.consult-btn::after {
  content: "→";
  font-size: 16px;
  transition: transform .25s ease;
}

.consult-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 28px rgba(245,158,11,.28);
}

.consult-btn:hover::after {
  transform: translateX(4px);
}

/* =========================================================
   WHY CHOOSE
========================================================= */
.why-choose {
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px 105px;
  text-align: center;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(255, 235, 120, 0.75) 0%, transparent 65%),
    radial-gradient(circle at 10% 40%, rgba(251, 191, 36, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 90% 65%, rgba(245, 158, 11, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, #fce997 0%, #fbdc70 35%, #fad34d 70%, #f8c634 100%);
}

.why-subtitle {
  margin-bottom: 45px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.why-box {
  position: relative;
  padding: 32px 24px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(180, 110, 10, 0.16), 0 6px 16px rgba(245, 158, 11, 0.1);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .65s ease,
    transform .65s cubic-bezier(.2,.75,.25,1),
    box-shadow .3s ease,
    border-color .3s ease;
}

.why-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-box::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -70px;
  width: 160px;
  height: 160px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(245,158,11,.08);
  transition: transform .4s ease;
}

.why-box:hover {
  transform: translateY(-7px);
  border-color: rgba(245,158,11,.3);
  box-shadow: 0 20px 45px rgba(15,23,42,.12);
}

.why-box:hover::after {
  transform: translateX(-50%) scale(1.3);
}

.why-box i {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(245,158,11,.12);
  color: var(--accent-dark);
  font-size: 27px;
  transition: transform .35s ease;
}

.why-box:hover i {
  transform: translateY(-4px) rotate(-5deg);
}

.why-box h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.why-box p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* =========================================================
   CTA
========================================================= */
.learning-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 90px 20px;
  background:
    radial-gradient(circle at 15% 50%, rgba(255,255,255,.20), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.13), transparent 25%),
    linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #111827;
  text-align: center;
}

.learning-cta::before,
.learning-cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 50%;
  pointer-events: none;
}

.learning-cta::before {
  width: 330px;
  height: 330px;
  left: -170px;
  top: -180px;
}

.learning-cta::after {
  width: 260px;
  height: 260px;
  right: -130px;
  bottom: -150px;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

.learning-cta h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.8px;
}

.learning-cta p {
  max-width: 700px;
  margin: 0 auto 34px;
  font-size: 16px;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-btn {
  min-width: 190px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.call-btn {
  background: #111827;
  color: #fff;
  border: 2px solid #111827;
}

.callback-btn {
  background: #fff;
  color: #111827;
  border: 2px solid #fff;
}

.call-btn:hover,
.callback-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(17,24,39,.18);
}

.call-btn:hover {
  background: transparent;
  color: #111827;
}

.callback-btn:hover {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

/* =========================================================
   EXISTING FOOTER - KEPT UNCHANGED
========================================================= */
/* FOOTER BASE */
.footer {
  background: #f5f0dc;
  padding: 60px 20px 20px;
  color: #1a1500;
}

.footer-container {
  max-width: 1400px;
  margin: auto;

  /* FIXED COLUMN GAP */
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  column-gap: 70px; /* increased spacing */
  row-gap: 50px; /* clean spacing on mobile */
}

/* ADD INTERNAL PADDING FOR EACH COLUMN */
.footer-col {
  padding-right: 20px;
}

/* LOGO TEXT STYLE */
.footer-logo a {
  display: block;
  width: 200px; /* adjust logo width */
  height: 75px; /* adjust logo height */
  background: url("/Image/logo.png") no-repeat center/contain;
  text-indent: -9999px; /* hide text if any */
}

.footer-logo-text .word2 {
  color: #f59e0b;
}

/* ABOUT */
.footer-about {
  margin: 15px 0 25px;
  font-size: 16px;
  line-height: 1.6;
}

/* HEADINGS */
.footer-col h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #000;
  font-weight: 700;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #111827;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-col ul li a:hover {
  color: #f59e0b;
  margin-left: 5px;
}

/* SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: #111827;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 16px;
  transition: 0.3s ease-in-out;
}

.social-link:hover {
  background: #f59e0b;
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* BOTTOM BAR */
.footer-bottom {
  text-align: center;
  margin-top: 35px;
  padding-top: 15px;
  border-top: 1px solid #d1d5db;
}

/* RESPONSIVE FIX */
@media (max-width: 950px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}


/* =========================================================
   FLOATING CONTACT BUTTON - SMOOTHED
========================================================= */
.floating-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.main-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #4caf50;
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.20);
  transition: transform .3s ease, box-shadow .3s ease;
}

.main-btn::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(76,175,80,.45);
  border-radius: 50%;
  animation: pulse 2.2s infinite;
}

.main-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
}

.floating-btn.active .main-btn {
  transform: rotate(90deg);
}

.child-btns {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.floating-btn.active .child-btns {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.child-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #f59e0b;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
  transition: transform .25s ease, background .25s ease;
}

.child-btn:hover {
  background: #d97706;
  transform: translateX(-4px);
}

.child-btn i {
  margin: 0;
}

/* =========================================================
   REVEAL HELPERS
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 20px); }
}

@keyframes pulse {
  0% { transform: scale(.95); opacity: .8; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .services-grid { gap: 22px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .services-section,
  .why-choose { padding-left: 18px; padding-right: 18px; }

  .service-box { padding: 27px; }
  .features-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .it-services {
    min-height: 500px;
    margin-top: 65px;
    padding: 95px 20px 75px;
  }

  .main-heading {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .it-desc { font-size: 15px; }

  .services-section {
    padding-top: 70px;
    padding-bottom: 75px;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .services-section > p,
  .why-subtitle {
    margin-bottom: 35px;
  }

  .service-box h3 { font-size: 20px; }

  .why-choose {
    padding-bottom: 75px;
  }

  .learning-cta {
    padding: 70px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: min(100%, 360px);
  }

  .floating-btn {
    right: 15px;
    bottom: 15px;
  }
}

@media (max-width: 480px) {
  .main-heading { font-size: 29px; }
  .small-heading { font-size: 11px; }
  .service-box { padding: 23px 20px; border-radius: 18px; }
  .service-box h3 { font-size: 18px; }
  .service-box h3 i { width: 42px; height: 42px; font-size: 18px; }
  .services-section h2,
  .why-title { font-size: 29px; }
  .learning-cta h2 { font-size: 29px; }
  .main-btn { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Small click feedback for interactive buttons */
.consult-btn.clicked,
.cta-btn.clicked {
  animation: buttonPress .35s ease;
}

@keyframes buttonPress {
  0% { transform: scale(1); }
  50% { transform: scale(.97); }
  100% { transform: scale(1); }
}


/* =========================================================
   ENHANCED HERO ANIMATION
   Noticeable but smooth / lightweight
========================================================= */
.it-services {
  isolation: isolate;
  background-position: center;
  animation: heroBackgroundZoom 12s ease-in-out infinite alternate;
}

.it-services::before {
  z-index: 0;
  background:
    radial-gradient(circle at 18% 35%, rgba(245,158,11,.34), transparent 25%),
    radial-gradient(circle at 82% 65%, rgba(251,191,36,.20), transparent 28%),
    linear-gradient(115deg, rgba(8,12,20,.90), rgba(15,23,42,.48), rgba(8,12,20,.76));
  background-size: 140% 140%;
  animation: heroGlowMove 7s ease-in-out infinite alternate;
}

.it-services::after {
  z-index: 1;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -220px;
  border: 1px solid rgba(251,191,36,.30);
  box-shadow:
    0 0 0 35px rgba(251,191,36,.045),
    0 0 0 75px rgba(251,191,36,.025),
    0 0 80px rgba(245,158,11,.10);
  animation: heroOrb 9s ease-in-out infinite;
}

.it-container {
  z-index: 3;
}

/* Animated light sweep across hero */
.it-services .it-container::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -180px;
  width: 90px;
  height: 700px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.12),
    transparent
  );
  transform: rotate(18deg);
  pointer-events: none;
  animation: heroLightSweep 5.5s ease-in-out infinite;
}

/* Make the small heading visibly pulse */
.small-heading {
  position: relative;
  box-shadow: 0 0 0 rgba(245,158,11,0);
  animation:
    heroReveal .8s both,
    badgeGlow 2.8s 1s ease-in-out infinite;
}

.small-heading::before {
  animation: badgeDot 1.6s ease-in-out infinite;
}

/* Stronger heading entrance */
.main-heading {
  text-shadow: 0 8px 35px rgba(0,0,0,.25);
  animation: heroTitleReveal 1.1s .15s cubic-bezier(.16,1,.3,1) both;
}

.main-heading strong,
.main-heading span {
  position: relative;
}

/* Description gets a subtle delayed reveal */
.it-desc {
  animation: heroDescReveal 1s .42s cubic-bezier(.16,1,.3,1) both;
}

/* Floating accent particles */
.it-services .hero-particle {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 16px rgba(251,191,36,.85);
  pointer-events: none;
}

.it-services .hero-particle.p1 {
  left: 12%;
  top: 28%;
  animation: particleFloat1 5s ease-in-out infinite;
}

.it-services .hero-particle.p2 {
  left: 72%;
  top: 25%;
  width: 5px;
  height: 5px;
  animation: particleFloat2 6s 1s ease-in-out infinite;
}

.it-services .hero-particle.p3 {
  left: 61%;
  bottom: 18%;
  width: 6px;
  height: 6px;
  animation: particleFloat3 5.5s .5s ease-in-out infinite;
}

@keyframes heroBackgroundZoom {
  0% {
    background-size: 100% auto;
  }
  100% {
    background-size: 108% auto;
  }
}

@keyframes heroGlowMove {
  0% {
    background-position: 0% 50%;
    opacity: .82;
  }
  100% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

@keyframes heroOrb {
  0%, 100% {
    transform: translate3d(0,0,0) rotate(0deg);
  }
  50% {
    transform: translate3d(-35px,35px,0) rotate(8deg);
  }
}

@keyframes heroLightSweep {
  0% {
    left: -180px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  55% {
    left: 110%;
    opacity: .8;
  }
  70%, 100% {
    left: 110%;
    opacity: 0;
  }
}

@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translate3d(0,35px,0) scale(.97);
    filter: blur(8px);
  }
  70% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroDescReveal {
  0% {
    opacity: 0;
    transform: translate3d(0,25px,0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0,0,0);
  }
}

@keyframes badgeGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(245,158,11,0);
  }
  50% {
    box-shadow: 0 0 25px rgba(245,158,11,.18);
  }
}

@keyframes badgeDot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px var(--accent);
  }
  50% {
    transform: scale(1.5);
    box-shadow: 0 0 20px var(--accent);
  }
}

@keyframes particleFloat1 {
  0%, 100% { transform: translate(0,0); opacity: .45; }
  50% { transform: translate(35px,-28px); opacity: 1; }
}

@keyframes particleFloat2 {
  0%, 100% { transform: translate(0,0); opacity: .35; }
  50% { transform: translate(-25px,35px); opacity: 1; }
}

@keyframes particleFloat3 {
  0%, 100% { transform: translate(0,0); opacity: .4; }
  50% { transform: translate(28px,-20px); opacity: 1; }
}

@media (max-width: 768px) {
  .it-services {
    animation-duration: 16s;
  }

  .it-services::after {
    width: 360px;
    height: 360px;
    right: -180px;
    top: -150px;
  }

  .it-services .hero-particle.p1 {
    left: 8%;
  }

  .it-services .hero-particle.p2 {
    left: 82%;
  }

  .it-services .it-container::before {
    animation-duration: 7s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .it-services,
  .it-services::before,
  .it-services::after,
  .it-services .it-container::before,
  .small-heading,
  .small-heading::before,
  .main-heading,
  .it-desc,
  .it-services .hero-particle {
    animation: none !important;
  }
}

