/* =================================================================
   United IT Solution — Master Stylesheet
   Har line k saath Roman-Urdu comment likha gaya hai taake aap
   samajh saken k har rule kis ke liye hai aur keya kaam karta hai.
   ================================================================= */

/* ---------- 1) CSS RESET (default browser styles hataana) ---------- */
*,                                     /* har element pe apply */
*::before,
*::after {
  box-sizing: border-box;              /* padding+border width me count ho */
  margin: 0;                           /* default margin zero */
  padding: 0;  
  max-width: 100%;                        /* default padding zero */
}

html { scroll-behavior: smooth; }      /* anchor links pe smooth scroll */

img, svg, video {
  display: block;                      /* inline gap hataane k liye block */
  max-width: 100%;                     /* container se bahar na jae */
  height: auto;                        /* aspect ratio maintain rahe */
}

a { color: inherit; text-decoration: none; } /* link default style off */
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }               /* bullets nahi chahiye */

/* ---------- 2) DESIGN TOKENS (colors, spacing, shadows) ---------- */
:root {
  /* brand colors — United IT Solution ka theme */
  --brand-navy: #0b1e3f;               /* dark navy — headings, header */
  --brand-navy-2: #122b57;             /* halka navy — gradients k liye */
  --brand-red: #e11d2a;                /* signature RED — CTA, accents */
  --brand-red-2: #ff3d4c;              /* light red — gradient end */
  --brand-gold: #f5b301;               /* highlight gold accent */

  /* neutrals — background, text, border */
  --bg: #ffffff;                       /* page background safaid */
  --bg-soft: #f6f8fb;                  /* section alternate light gray */
  --text: #1a2436;                     /* body text dark */
  --text-muted: #5b6b82;               /* secondary text halka */
  --border: #e5eaf1;                   /* subtle border gray */

  /* typography */
  --font-body: 'Poppins', system-ui, sans-serif;  /* main font */
  --fs-h1: clamp(2.2rem, 5vw, 4rem);   /* hero heading responsive */
  --fs-h2: clamp(1.8rem, 3.5vw, 2.75rem); /* section heading */
  --fs-h3: 1.35rem;                    /* card heading */

  /* spacing scale */
  --sp-xs: .5rem;
  --sp-sm: 1rem;
  --sp-md: 1.75rem;
  --sp-lg: 3rem;
  --sp-xl: 5rem;

  /* radius & shadows */
  --radius: 14px;                      /* cards ka rounded corner */
  --radius-pill: 999px;                /* pill button */
  --shadow-sm: 0 4px 14px rgba(11,30,63,.08);
  --shadow-md: 0 12px 30px rgba(11,30,63,.14);
  --shadow-red: 0 12px 34px rgba(225,29,42,.35); /* red glow hover */

  /* motion — ek jaisa timing sab jagah */
  --ease: cubic-bezier(.22,1,.36,1);
  --dur: 450ms;

  /* container width */
  --container: 1200px;
}

/* ---------- 3) BASE TYPOGRAPHY ---------- */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important; /* Yeh sab se zaroori hai horizontal scroll rokne k liye */
}

h1, h2, h3, h4 {
  font-weight: 800;                    /* thick bold headings */
  color: var(--brand-navy);            /* navy heading color */
  line-height: 1.15;                   /* compact heading spacing */
}

p { color: var(--text-muted); }         /* paragraphs halka gray */

/* .accent-red — jis word ko red highlight karna ho */
.accent-red { color: var(--brand-red); }

/* ---------- 4) LAYOUT HELPERS ---------- */
.container {                           /* har section ka centered wrapper */
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;                 /* horizontally center */
  padding-inline: 1.25rem;             /* mobile side padding */
}

.section {                             /* har section ka vertical padding */
  padding-block: var(--sp-xl);         /* upar neeche bara space */
}
.section.soft { background: var(--bg-soft); } /* alternating gray section */

/* section header (heading + subheading center) */
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--sp-lg);         /* neeche gap */
}
.section-head .eyebrow {                /* chhota red label upar */
  display: inline-block;
  color: var(--brand-red);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .85rem;
  margin-bottom: .75rem;
}
.section-head h2 { font-size: var(--fs-h2); }
.section-head p  { margin-top: .75rem; font-size: 1.05rem; }

/* ---------- 5) BUTTONS ---------- */
.btn {                                  /* base button — sab variants isse inherit */
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease),
              color var(--dur) var(--ease);
  will-change: transform;               /* perf hint */
}
.btn .arrow {                           /* button arrow icon */
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); } /* hover pe arrow slide */

.btn-red {                              /* primary RED gradient CTA */
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2));
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-red:hover {                        /* hover pe uth k thora bara */
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.06);
}

.btn-ghost {                            /* transparent border button */
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.85);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--brand-navy);
}

.btn-navy {                             /* solid navy button */
  background: var(--brand-navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--brand-red);
  transform: translateY(-2px);
}

/* ---------- 6) HEADER / NAVIGATION ---------- */
.site-topbar {                          /* upar ki thin bar — phone/email */
  background: var(--brand-navy);
  color: #dfe6f2;
  font-size: .85rem;
}
/* ---------- 4) TOPBAR RESPONSIVE ALIGNMENT FIX ---------- */
.site-topbar .inner {
  display: flex !important;
  flex-direction: row !important;      /* Badi screen par ek line me rakhne k liye */
  flex-wrap: wrap !important;          /* Agar space kam ho to automatically niche line me shift ho jae */
  align-items: center !important;
  justify-content: space-between !important; /* Large screen par right aur left corners pe rhengi */
  gap: 0.75rem !important;
  padding-block: 0.6rem !important;
  width: 100% !important;
}

/* Topbar contacts — phone/email inline; mobile pe stack (phone upar, email neechay) */
.site-topbar .topbar-contacts {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .35rem .6rem;                  /* row-gap • column-gap */
}
.site-topbar .tb-item {
  display: inline-flex; align-items: center; gap: .35rem;  /* icon+text ek saath */
  white-space: nowrap;                /* icon aur text kabhi alag na hon */
}
.site-topbar .tb-ico { font-size: 1rem; line-height: 1; }

/* Jab screen choti ho (Mobile/Tablet) — phone upar, email (icon+text) neechay */
@media (max-width: 400px) {
  .site-topbar .inner {
    justify-content: center !important;
    text-align: center !important;
    flex-direction: column !important;
  }
  .site-topbar .topbar-contacts {
    flex-direction: column !important;   /* phone upar, email neechay */
    align-items: center !important;
    gap: .35rem !important;
  }
  .site-topbar .tb-sep { display: none !important; }   /* mobile pe bullet chhupao */
}

.site-topbar a { color: #fff; }         /* topbar links white */
.site-topbar .socials a {               /* social icons circular */
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  margin-left: .35rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.site-topbar .socials a:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.site-header {                          /* main sticky header */
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);    /* frosted-glass look */
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); } /* scroll pe shadow */

.nav {                                  /* header content flex row */
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .1rem;
  
}
.logo {                                 /* logo wrapper */
  display: flex; align-items: center; gap: .6rem;
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 1.2rem;
 .site-logo{
   width:180px;
    height:auto;
    display:block;
    object-fit:contain;
}
}
.logo-mark {                            /* red square logo mark */
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 900;
  box-shadow: var(--shadow-red);
}
.logo small { display: block; color: var(--text-muted); font-weight: 500; font-size: .72rem; }

.nav-links {                            /* main menu */
  display: flex; gap: 1.75rem; align-items: center;
}
.nav-links a {                          /* each menu link */
  font-weight: 500;
  color: var(--brand-navy);
  position: relative;
  padding-block: .5rem;
  transition: color var(--dur) var(--ease);
}
.nav-links a::after {                   /* red underline on hover */
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-red); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { margin-left: .5rem; }        /* header get-quote button */

.menu-toggle {                          /* mobile hamburger button */
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  color: var(--brand-navy);
}
.menu-toggle span {                     /* hamburger lines */
  display: block; width: 22px; height: 2px;
  background: currentColor; margin: 5px auto;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7) HERO SLIDER ---------- */
.hero {                                 /* hero section wrapper */
  position: relative;
  height: min(88vh, 780px);
  min-height: 520px;
  overflow: hidden;
  color: #fff;
}
.hero-slide {                           /* har slide absolute stack */
  position: absolute; inset: 0;
  opacity: 0;                           /* default hidden */
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }      /* active slide dikhta hai */
.hero-slide .bg {                       /* background image layer */
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide.active .bg {                /* ken-burns zoom active pe */
  animation: kenBurns 9s ease-in-out infinite alternate;
}
.hero-slide::after {                    /* dark overlay for readability */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg,
              rgba(11,30,63,.85) 0%,
              rgba(11,30,63,.55) 50%,
              rgba(225,29,42,.35) 100%);
}
.hero-content {                         /* text container center-left */
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center;
  max-width: 780px;
  padding-block: var(--sp-lg);
}
.hero-eyebrow {                         /* upar chhota red badge */
  display: inline-flex; align-items: center; gap: .5rem;
  align-self: flex-start;
  background: rgba(225,29,42,.15);
  border: 1px solid rgba(225,29,42,.4);
  color: #fff;
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  font-size: var(--fs-h1);
  margin-block: 1rem 1.25rem;
}
.hero h1 .accent { color: var(--brand-red-2); } /* highlight word */
.hero p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* slider dots (bottom center) */
.hero-dots {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .6rem; z-index: 3;
}
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.hero-dots button.active {
  background: var(--brand-red);
  transform: scale(1.3);
}

/* slider prev/next arrows */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  transition: background var(--dur) var(--ease);
  z-index: 3;
}
.hero-arrow:hover { background: var(--brand-red); border-color: var(--brand-red); }
.hero-arrow.prev { left: 1.25rem; }
.hero-arrow.next { right: 1.25rem; }

/* ---------- 8) FEATURE STRIP (icons row) ---------- */
.feature-strip {
  background: var(--brand-navy);
  color: #fff;
}
.feature-strip .grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;                             /* thin divider effect */
  background: rgba(255,255,255,.08);
}
.feature-item {
  background: var(--brand-navy);
  padding: 1.75rem;
  display: flex; align-items: center; gap: 1rem;
  transition: background var(--dur) var(--ease);
}
.feature-item:hover { background: var(--brand-navy-2); }
.feature-item .ico {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2));
  flex-shrink: 0;
}
.feature-item h4 { color: #fff; font-size: 1rem; margin-bottom: .15rem; }
.feature-item p { color: rgba(255,255,255,.7); font-size: .85rem; margin: 0; }

/* ---------- 9) SERVICE CARDS GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;                    /* portrait card */
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-red);
}
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;                    /* image container fill kare */
  transition: transform 800ms var(--ease);
}
.service-card:hover img { transform: scale(1.12); }
.service-card .over {                   /* text overlay bottom */
  position: absolute; inset: 0;
  background: linear-gradient(to top,
              rgba(11,30,63,.92) 0%,
              rgba(11,30,63,.25) 55%,
              transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
  transition: background var(--dur) var(--ease);
}
.service-card:hover .over {
  background: linear-gradient(to top,
              rgba(225,29,42,.92) 0%,
              rgba(225,29,42,.3) 55%,
              transparent 100%);
}
.service-card h3 { color: #fff; margin-bottom: .35rem; font-size: 1.3rem; }
.service-card p  { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: .85rem; }
.service-card .learn {                  /* Learn more link */
  display: inline-flex; align-items: center; gap: .35rem;
  color: #fff; font-weight: 600; font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.6);
  padding-bottom: 2px; width: fit-content;
  transition: gap var(--dur) var(--ease);
}
.service-card:hover .learn { gap: .75rem; }

/* ---------- 10) ABOUT / SPLIT SECTION ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split .media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split .media img { aspect-ratio: 4/3; object-fit: cover; }
.split .media::before {                 /* decorative red block */
  content: "";
  position: absolute; left: -20px; top: -20px;
  width: 90px; height: 90px;
  border: 4px solid var(--brand-red);
  border-radius: var(--radius);
  z-index: -1;
}
.split h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.split ul.check li {                    /* check list */
  display: flex; gap: .6rem; padding: .4rem 0;
  color: var(--text);
}
.split ul.check li::before {
  content: "✓";
  color: #fff;
  background: var(--brand-red);
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: .75rem;
  flex-shrink: 0;
}

/* ---------- 11) STATS COUNTER ---------- */
.stats {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-2));
  color: #fff;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; text-align: center;
}
.stat .num {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--brand-red-2);
  line-height: 1;
}
.stat p { color: rgba(255,255,255,.8); margin-top: .5rem; }

/* ---------- 12) WHY CHOOSE US CARDS ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-red);
}
.why-card .ico {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(225,29,42,.1), rgba(225,29,42,.02));
  color: var(--brand-red);
  margin: 0 auto 1.25rem;
  transition: transform var(--dur) var(--ease);
}
.why-card:hover .ico {
  transform: rotate(-8deg) scale(1.08);
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2));
  color: #fff;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.why-card p  { font-size: .92rem; }

/* ---------- 13) BRAND MARQUEE ---------- */
.marquee {
  overflow: hidden;
  padding-block: 2rem;
  background: #fff;
  border-block: 1px solid var(--border);
}
.marquee-track {
  display: flex; gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite; /* infinite scroll */
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-size: 1.4rem; font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: .7;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.marquee-item:hover { color: var(--brand-red); opacity: 1; }

/* ---------- 14) TESTIMONIALS ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card::before {                   /* big red quote mark */
  content: "\201C";
  position: absolute; top: -10px; right: 20px;
  font-size: 5rem; line-height: 1;
  color: var(--brand-red); opacity: .2;
  font-family: Georgia, serif;
}
.testi-stars { color: var(--brand-gold); margin-bottom: .75rem; }
.testi-card blockquote { color: var(--text); font-style: italic; margin-bottom: 1rem; }
.testi-user { display: flex; align-items: center; gap: .75rem; }
.testi-user .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.testi-user strong { color: var(--brand-navy); display: block; }
.testi-user small  { color: var(--text-muted); }

/* ---------- 15) PAGE HEADER (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: 6rem 4rem;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-2) 60%, var(--brand-red) 140%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {                     /* decorative red glow blob */
  content: ""; position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(225,29,42,.55), transparent 70%);
  border-radius: 50%;
  animation: floatY 6s ease-in-out infinite;
}
.page-hero h1 { color: #fff; font-size: var(--fs-h1); position: relative; }
.page-hero .breadcrumb {
  position: relative;
  margin-top: .75rem;
  color: rgba(255,255,255,.8);
}
.page-hero .breadcrumb a { color: var(--brand-red-2); }

/* ---------- 16) SERVICE DETAIL PAGE ---------- */
.service-detail .lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.service-detail h2 { font-size: 1.8rem; margin: 2rem 0 1rem; }
.service-detail h3 { font-size: 1.25rem; margin: 1.25rem 0 .5rem; color: var(--brand-red); }
.service-detail img.cover {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}
.service-detail ul.dot li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
}
.service-detail ul.dot li::before {
  content: "";
  position: absolute; left: 0; top: .6rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-red);
}
.sidebar-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 { margin-bottom: 1rem; color: var(--brand-navy); }
.sidebar-card ul li {
  border-bottom: 1px solid var(--border);
  padding: .6rem 0;
}
.sidebar-card ul li a {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text); font-weight: 500;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.sidebar-card ul li a:hover { color: var(--brand-red); padding-left: .35rem; }
.sidebar-card ul li:last-child { border: 0; }

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

/* ---------- 17) CONTACT FORM ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem; align-items: start;
}
.info-card {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-2));
  color: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.info-card::after {                     /* subtle red ring decoration */
  content: "";
  position: absolute; right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  border: 40px solid rgba(225,29,42,.15);
  border-radius: 50%;
}
.info-card h2 { color: #fff; margin-bottom: 1rem; }
.info-card p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.info-list li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.info-list li:last-child { border: 0; }
.info-list .ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(225,29,42,.2);
  color: var(--brand-red-2);
  flex-shrink: 0;
}
.info-list strong { color: #fff; display: block; }
.info-list small  { color: rgba(255,255,255,.7); }

form.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-weight: 600; margin-bottom: .35rem;
  color: var(--brand-navy); font-size: .9rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(225,29,42,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-msg {                              /* success/error message */
  margin-top: 1rem; padding: .85rem 1rem;
  border-radius: 10px; font-weight: 600;
  display: none;
}
.form-msg.ok  { display: block; background: #e8f9ee; color: #0f7a3a; }
.form-msg.err { display: block; background: #fde8ea; color: #a4111d; }

/* ---------- 18) FOOTER ---------- */
.site-footer {
  background: #050e21;
  color: rgba(255,255,255,.75);
  padding-block: 4rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid a  { color: rgba(255,255,255,.7); transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.footer-grid a:hover { color: var(--brand-red-2); padding-left: 4px; }
.footer-grid li { padding: .3rem 0; }
.footer-brand p { color: rgba(255,255,255,.65); margin-block: 1rem; }
.footer-socials { display: flex; gap: .5rem; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-socials a:hover {
  background: var(--brand-red);
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* Back to top floating button */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-red); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-red);
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 50;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- 19) SCROLL-REVEAL BASE ---------- */
.reveal {                                /* JS observer se .in add hoti hai */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }

/* ---------- 20) KEYFRAMES ---------- */
/* kenBurns: hero image slow zoom+pan (cinematic) */
@keyframes kenBurns {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.15) translate(-2%,-1%); }
}
/* floatY: elements up-down floating */
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}
/* marquee: brand strip infinite scroll (track 2x duplicate hota hai) */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* pulseRing: red button pe attention pulse */
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(225,29,42,.55); }
  70%  { box-shadow: 0 0 0 20px rgba(225,29,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,29,42,0); }
}

/* =================================================================
   21) RESPONSIVE BREAKPOINTS
   Mobile-first nahi hai — desktop styles upar hain aur yahan
   chhoti screens k liye override kar rahe hain.
   ================================================================= */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .feature-strip .grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .site-logo{
    width:0px;
}
}

/* Mobile Menu Overlay Setup (<= 850px) */
@media (max-width: 780px) {
  
  /* Main navigation panel ko full width aur dark background bana rahe hain */
  .nav-links {
    position: fixed !important;
    top: 70px !important;              /* Header ke bilkul neeche se shuru hoga */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;             /* Poori screen ki width cover karega */
    height: calc(100vh - 70px) !important; /* Baqi bachi hui poori screen vertical cover karega */
    background: #0d1b2a !important;     /* Fancy Wheel jaisa sleek dark navy background */
    
    /* Layout ko tight aur straight column me lane k liye */
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;    /* Links full width stretch hongi */
    justify-content: flex-start !important;
    
    padding: 2rem 1.5rem !important;
    gap: 0 !important;                  /* Borders automatic control karenge padding ko */
    
    /* Smooth opacity + vertical slide animation */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-20px) !important; 
    transition: all 0.35s ease-in-out !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
  }

  /* Jab JavaScript menu open karegi */
  .nav-links.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important; /* Smoothly apni jagah par fit baithega */
  }
  
  /* Ek-ek menu link ko full layout barabar dene k liye */
  .nav-links a {
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    color: #ffffff !important;          /* Dark bg par white text */
    width: 100% !important;
    padding: 1.2rem 1rem !important;    /* Clickable area bada aur door-door */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; /* Halka white line separator */
    text-align: left !important;
    display: block !important;
    transition: background 0.2s ease !important;
    box-sizing: border-box !important;
  }

  /* Hover ya active link effect */
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ff3b30 !important;          /* United IT ka Red brand color broad karne k liye */
  }

  /* Get a Quote button ko mobile menu k andar styling */
  .nav-links .nav-cta {
    background: #ff3b30 !important;
    color: #ffffff !important;
    text-align: center !important;
    border-radius: 4px !important;
    margin-top: 2rem !important;
    border-bottom: none !important;
    padding: 1rem !important;
  }
  
  /* Desktop layout settings ko override karne k liye display blocks */
  .nav-cta { display: block !important; }
  .menu-toggle { display: block !important; }
}

/* Small mobile (<= 480px) */
@media (max-width: 480px) {
  .section { padding-block: 3rem; }
  .btn { padding: .8rem 1.4rem; font-size: .9rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-card, form.contact-form { padding: 1.5rem; }
  .site-logo{
    width:110px;
}
}

/* Reduced motion — user ne motion off kiya to animations rok den */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- FLOATING BUTTONS STYLING ---------- */
/* WhatsApp Layout */
.whatsapp-sticky {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  width: 60px !important;
  height: 60px !important;
  background-color: #25d366 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
  z-index: 999999 !important;
}
.whatsapp-sticky img { width: 34px !important; height: 34px !important; }

/* Orange Scroll To Top Button (Aapki image jaisa) */
.scroll-to-top-btn {
  position: fixed !important;
  bottom: 30px !important;
  right: 100px !important;             /* WhatsApp ke bilkul left side me */
  width: 50px !important;
  height: 50px !important;
  background-color: #e11d2a !important; /* Premium Yellow/Orange */
  color: white !important;           /* Black Arrow text */
  border: none !important;
  border-radius: 50% !important;
  font-size: 24px !important;
  font-weight: bold !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
  z-index: 999999 !important;
  cursor: pointer !important;
  
  /* Initial state: Hidden */
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease-in-out !important;
}

/* Scroll karne par dynamic toggle class */
.scroll-to-top-btn.visible {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ---------- MOBILE & TABLET RESPONSIVE SIZES FOR FLOATING BUTTONS ---------- */
@media (max-width: 850px) {
  
  /* 1. Orange Scroll To Top Button Tablet/Mobile par chota karne k liye */
  .scroll-to-top-btn {
    bottom: 5px !important;            /* Screen ke neeche se gap thoda kam */
    right: 75px !important;             /* WhatsApp chota hone se iski position left shift ki */
    width: 32px !important;             /* Size 50px se 42px kar diya */
    height: 32px !important;
    font-size: 18px !important;         /* Arrow sign (↑) thoda chota */
    box-shadow: 0 3px 8px rgba(0,0,0,0.2) !important;
  }

  /* 2. WhatsApp Button Tablet/Mobile par chota karne k liye */
  .whatsapp-sticky {
    bottom: 5px !important;            /* Niche se gap lock kiya */
    right: 20px !important;             /* Corner se thoda paas */
    width: 40px !important;             /* Size 60px se 48px kar diya */
    height: 40px !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2) !important;
  }

  /* WhatsApp ke andar majood logo icon ka size */
  .whatsapp-sticky img {
    width: 26px !important;             /* Logo icon chota kiya */
    height: 26px !important;
  }
}
/* ---------- DYNAMIC FOOTER LOGO TEXT STYLING (UPDATED) ---------- */
.footer-logo-text {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  margin-bottom: 20px !important;
}

/* Dono spans ko horizontal line me jodney k liye wrapper */
.footer-logo-text .logo-row {
  display: flex !important;
  align-items: baseline !important; /* Text bases ko barabar align rakhega */
  gap: 2px !important;               /* U aur nited k darmiyan professional gap */
}

/* 'U' letter style matching navbar logo mark */
.footer-logo-text .logo-u {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  color: #ff3b30 !important;          /* United Red */
  line-height: 1 !important;
}

/* Main text layout */
.footer-logo-text .logo-text-main {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;          /* Pure White */
  letter-spacing: 0.5px !important;
}

/* 'IT' highlights in Red */
.footer-logo-text .logo-red-it {
  color: #ff3b30 !important;
}

/* Location text layout */
.footer-logo-text .logo-subtext {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  letter-spacing: 2px !important;
  margin-top: 5px !important;
}


 /* ---------- UNIVERSAL SLIDER ARROWS HIDE (< 850px) ---------- */
@media (max-width: 850px) {
  
  /* 1. Swiper Carousel Controls */
  .swiper-button-next, 
  .swiper-button-prev,
  .swiper-navigation,
  
  /* 2. Slick Carousel Controls */
  .slick-next, 
  .slick-prev,
  .slick-arrow,
  
  /* 3. Owl Carousel Controls */
  .owl-next, 
  .owl-prev,
  .owl-nav,
  
  /* 4. Bootstrap or Generic Slider Controls */
  .carousel-control-next,
  .carousel-control-prev,
  .slider-arrow,
  .slider-btn,
  .slider-nav,
  .next-arrow,
  .prev-arrow,
  
  /* 5. Direct Tag targets inside any banner wrapper */
  .hero a[class*="arrow"],
  .hero button[class*="arrow"],
  .slider a[class*="arrow"],
  .slider button[class*="arrow"],
  .banner a[class*="arrow"],
  .banner button[class*="arrow"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}
/* =================================================================
   Blog styles (added for blog.html + blog post pages)
   ================================================================= */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:1.75rem;
  margin-top:2rem;
}
.blog-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 24px rgba(0,0,0,.06);
  transition:transform .3s ease, box-shadow .3s ease;
  display:flex;
  flex-direction:column;
}
.blog-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(0,0,0,.12);
}
.blog-card img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}
.blog-card-body{ padding:1.25rem 1.25rem 1.5rem; display:flex; flex-direction:column; gap:.6rem; }
.blog-card-body h3{ font-size:1.15rem; line-height:1.35; margin:.25rem 0; }
.blog-card-body h3 a{ color:inherit; text-decoration:none; }
.blog-card-body h3 a:hover{ color:var(--brand-red,#e11d2a); }
.blog-card-body p{ color:#555; font-size:.95rem; line-height:1.55; margin:0; }
.blog-card-body small{ color:#888; font-size:.8rem; margin-top:auto; }
.blog-tag{
  display:inline-block;
  background:rgba(225,29,42,.1);
  color:var(--brand-red,#e11d2a);
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:.3rem .7rem;
  border-radius:999px;
  align-self:flex-start;
}

/* Single blog post article */
.blog-article{
  max-width:780px;
  margin:0 auto;
  font-size:1.05rem;
  line-height:1.75;
  color:#2c2c33;
}
.blog-article .blog-cover{
  width:100%;
  height:auto;
  max-height:420px;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:1.5rem;
}
.blog-article .post-meta{
  color:#777;
  font-size:.9rem;
  margin-bottom:1.5rem;
}
.blog-article h2{
  font-size:1.55rem;
  margin:2.25rem 0 .75rem;
  color:var(--brand-navy,#0b1e3a);
}
.blog-article h3{ font-size:1.2rem; margin:1.5rem 0 .5rem; }
.blog-article p{ margin:0 0 1rem; }
.blog-article ul, .blog-article ol{ margin:0 0 1.25rem 1.5rem; }
.blog-article ul li, .blog-article ol li{ margin:.35rem 0; }
.blog-article a{ color:var(--brand-red,#e11d2a); text-decoration:underline; }
.blog-article a:hover{ text-decoration:none; }

/* Back-to-top base state (works with main.js .show / .visible) */
.to-top{
  position:fixed; right:20px; bottom:20px; z-index:999;
  display:none; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:50%;
  background:var(--brand-red,#e11d2a); color:#fff; border:none;
  font-size:1.4rem; cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.2);
  transition:transform .2s ease, opacity .2s ease;
}
.to-top.show, .to-top.visible{ display:flex !important; }
.to-top:hover{ transform:translateY(-3px); }

@media (max-width: 700px){
  .blog-card img{ height:180px; }
  .blog-article{ font-size:1rem; }
}

/* --- Website ke bilkul niche yeh code paste karein --- */

@media (max-width: 400px) {
    /* 1. Agar dono links ek div ke andar hain to unhe ek ke niche ek karne ke liye */
    .header-contact {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Center alignment ke liye */
        gap: 8px !important;            /* Dono ke beech ka gap */
    }

    /* 2. Agar wo alag alag bina div ke hain to unhe alag line par torhne ke liye */
    .phone-link, .email-link {
        display: block !important;
        text-align: center !important;
        margin-bottom: 6px !important;
    }
}