:root {
  --primary: #2a2f45;
  --accent: #46a6ff;
  --accent-soft: #edf5ff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-main: #ffffff;
  --bg-alt: #f7f9fc;
  --bg-footer: #0b1220;
  --border-light: #e5e7eb;
}

/* RESET */
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui; background: var(--bg-main); color: var(--text-main); line-height: 1.6; }

/* CONTAINER */
.container { max-width: 1200px; margin: auto; padding: 0 20px; }

/* HEADER */
/*.header { background: white; border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 100; }*/
/* HEADER – modern soft contrast */
.header {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f9fbff 100%
  );
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 18px 0; }

/* LOGO */
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-icon { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #7cbcff); transition: all 0.3s ease; object-fit: contain;}
.logo:hover .logo-icon { width: auto; padding: 0 10px; font-size: 1.1rem; background: none; color: var(--primary); content: "JSK Infotech Limited"; }
/* LOGO */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, max-width 0.25s ease;
}

/* Reveal text on hover (desktop) */
.logo-link:hover .logo-text {
  opacity: 1;
  max-width: 260px;
}

/* Mobile: always show text */
@media (max-width: 768px) {
  .logo-text {
    opacity: 1;
    max-width: 260px;
  }
}

/* Text logo styling */
.text-logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-decoration: none;
}

.text-logo:hover {
  color: var(--accent);
}



/* NAVIGATION */
nav { display: flex; gap: 22px; }
nav a { text-decoration: none; color: var(--text-muted); font-weight: 500; }
nav a:hover { color: var(--primary); }
nav .cta { background: var(--primary); color: white; padding: 8px 14px; border-radius: 6px; }

/* HAMBURGER */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; width: 28px; height: 22px; }
.menu-toggle .bar { display: block; width: 100%; height: 3px; background: var(--primary); border-radius: 2px; margin: 4px 0; transition: all 0.3s ease; }
.menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile { display: none; flex-direction: column; background: white; border-top: 1px solid var(--border-light); }
.nav-mobile a { padding: 16px 20px; border-bottom: 1px solid var(--border-light); text-decoration: none; color: var(--text-main); font-weight: 500; }
.nav-mobile .cta { background: var(--accent); color: white; margin: 16px; text-align: center; border-radius: 8px; }

.nav-mobile.show { display: flex; }
.no-scroll { overflow: hidden; }

/* HERO */
.hero { background: linear-gradient(180deg, var(--accent-soft), white); padding: 100px 0 80px; text-align: center; }
.hero h1 { font-size: 2.6rem; max-width: 760px; margin: auto; }
.hero-tagline { font-size: 1.15rem; color: var(--text-muted); max-width: 680px; margin: 16px auto 36px; line-height: 1.5; font-weight: 500; position: relative; }
.hero-tagline::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent); border-radius: 2px; margin: 8px auto 0; }
.hero .btn { background: var(--accent); color: white; padding: 14px 26px; border-radius: 8px; text-decoration: none; font-weight: 600; }

/* SECTIONS */
.section-gap { padding: 80px 0; }
section { position: relative; }
.section-alt { background: var(--bg-alt); }
section:not(.hero)::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80%; height: 1px; background: linear-gradient(to right, transparent, var(--border-light), transparent); }

/* TITLES */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.2rem; }
.section-title p { max-width: 640px; margin: auto; color: var(--text-muted); }

/* GRID & CARD */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.card { background: white; border: 1px solid var(--border-light); border-radius: 14px; padding: 34px; transition: all 0.25s ease; }
.card:hover { box-shadow: 0 18px 36px rgba(0,0,0,0.08); transform: translateY(-6px); }
.card h3 { margin-top: 0; }

/* CUSTOMERS */
.customer-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.customer-card { background: white; border: 1px solid var(--border-light); border-radius: 12px; padding: 22px; text-align: center; font-weight: 600; transition: transform 0.2s ease, box-shadow 0.2s ease; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease}
.customer-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.customer-card.visible {opacity: 1; transform: translateY(0);}


/* FOOTER */
.footer { background: var(--bg-footer); color: #cbd5e1; padding: 70px 0; text-align: center; margin-top: 80px; }

/* RESPONSIVE */
@media(max-width:768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 2.1rem; }
  .customer-track { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 10px; }
  .customer-card { min-width: 180px; flex-shrink: 0; }
}

/* CONTACT HERO */
.contact-hero {
  padding: 1px 0 10px;
  background: linear-gradient(180deg, var(--accent-soft), white);
}

.contact-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-intro {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* CONTACT CARD */
.contact-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

/* FORM GROUP */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  font-size: 1rem;
}

/* PRIMARY BUTTON */
.btn-primary {
  width: 100%;
  background: var(--accent);
  color: white;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* FORM NOTE */
.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* DESKTOP ENHANCEMENTS */
@media (min-width: 768px) {
  .contact-hero h1 {
    font-size: 2.4rem;
  }

  .contact-card {
    padding: 36px;
  }
}
