/* ============================================================
   TECHWYZER IT SERVICES LLP — Global Stylesheet
   Theme: Slate + Coral | Fonts: DM Sans + Plus Jakarta Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,300&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── Variables ── */
:root {
  --coral:       #FB923C;
  --coral-dark:  #EA580C;
  --coral-light: #FED7AA;
  --slate:       #1E293B;
  --slate-deep:  #0F172A;
  --slate-mid:   #334155;
  --slate-muted: #64748B;
  --slate-light: #94A3B8;
  --surface:     #F8FAFC;
  --surface2:    #F1F5F9;
  --border:      #E2E8F0;
  --white:       #FFFFFF;

  --font-display: 'DM Sans', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --shadow-sm:  0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:  0 4px 16px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg:  0 16px 48px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
  --shadow-xl:  0 32px 80px rgba(15,23,42,0.16);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:  1200px;
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--slate);
}
h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; font-family: var(--font-body); letter-spacing: -0.02em; }
p  { font-size: 16px; font-weight: 300; color: var(--slate-muted); line-height: 1.8; }

.gradient-text {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
}
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 14px;
}
.section-header { margin-bottom: 56px; }
.section-header p {
  font-size: 17px;
  max-width: 540px;
  margin-top: 14px;
  line-height: 1.8;
}
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 14px auto 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(234,88,12,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(234,88,12,0.4);
  color: white;
  opacity: 0.95;
}
.btn-outline {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--coral);
  color: var(--coral-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--slate-muted);
  padding: 14px 8px;
}
.btn-ghost:hover { color: var(--coral-dark); }
.btn-ghost::after { content: ' →'; }
.btn-white {
  background: white;
  color: var(--slate);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--coral-dark); }
.btn-lg { padding: 16px 40px; font-size: 15px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(251,146,60,0.1);
  border: 1px solid rgba(251,146,60,0.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--coral-light);
}
.card-surface { background: var(--surface); border-color: transparent; }
.card-surface:hover { background: white; border-color: var(--coral-light); }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}
.divider-coral {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--coral-dark));
  border-radius: 2px;
  margin: 16px 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 200;
  color: var(--slate);
  letter-spacing: -0.5px;
  line-height: 1;
}
.nav-logo-name strong {
  font-weight: 800;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo-tag {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--slate-light);
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--slate);
  background: var(--surface);
}
.nav-cta {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: white !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(234,88,12,0.35);
  color: white !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 5% 24px;
  border-top: 1px solid var(--border);
  background: white;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: 12px 16px;
  font-size: 15px;
  border-radius: var(--radius-md);
}
.nav-mobile .nav-cta {
  margin: 8px 0 0;
  text-align: center;
  display: block;
  padding: 13px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--slate-deep);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,146,60,0.04), transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-name {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 200;
  color: white;
  letter-spacing: -0.5px;
  line-height: 1;
}
.footer-logo-name strong {
  font-weight: 800;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-logo-tag {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
}
.footer-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  margin-bottom: 11px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--coral); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.footer-contact-item span {
  font-size: 14px;
  opacity: 0.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
}
.footer-bottom a {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }

/* ── Social icons ── */
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-link:hover {
  background: rgba(251,146,60,0.15);
  border-color: rgba(251,146,60,0.3);
  color: var(--coral);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--slate-deep) 0%, var(--slate) 70%, #2D3F5A 100%);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(251,146,60,0.08), transparent 60%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--coral);
  opacity: 0.8;
  margin-bottom: 16px;
}
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  max-width: 580px;
  line-height: 1.75;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 28px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb span { opacity: 0.4; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --max-width: 100%; }
  .section { padding: 72px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  h1 { font-size: clamp(32px, 8vw, 52px); }
  h2 { font-size: clamp(24px, 6vw, 36px); }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 28px; font-size: 14px; }
}
