/**
 * Zeon Infotech — Texon-inspired corporate theme
 * Reference: https://preview.sprukomarket.com/html/corporate/texon/dist/html/index.html
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Space+Grotesk:wght@400..700&display=swap");

:root {
  --primary-rgb: 43, 77, 246;
  --secondary-rgb: 4, 13, 174;
  --dark-rgb: 0, 0, 51;
  --primary: rgb(var(--primary-rgb));
  --primary-hover: rgba(var(--primary-rgb), 0.85);
  --secondary: rgb(var(--secondary-rgb));
  --dark: rgb(var(--dark-rgb));
  --primary-light: rgba(var(--primary-rgb), 0.1);
  --primary05: rgba(var(--primary-rgb), 0.5);
  --body-bg: #f5f6f7;
  --surface: #ffffff;
  --border: #e9e8ec;
  --text: #041335;
  --text-muted: #96a1ba;
  --sub-text: #3b4a47;
  --gradient-banner: linear-gradient(to top, rgb(var(--secondary-rgb)) 0%, rgb(var(--dark-rgb)) 100%);
  --gradient-btn: linear-gradient(45deg, rgb(var(--secondary-rgb)), var(--primary));
  --gradient-marquee: linear-gradient(45deg, var(--primary), rgb(var(--secondary-rgb)));
  --shadow: 0 4px 24px rgba(4, 19, 53, 0.08);
  --shadow-lg: 0 20px 50px rgba(43, 77, 246, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --font-body: "Inter", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
  --zeon-primary: var(--primary);
  --zeon-primary-dark: var(--dark);
  --zeon-accent: var(--primary);
  --zeon-gradient: var(--gradient-banner);
  --zeon-gradient-soft: var(--gradient-btn);
  --zeon-text: var(--text);
  --zeon-text-muted: var(--text-muted);
  --zeon-bg: var(--body-bg);
  --zeon-card-bg: var(--surface);
  --zeon-shadow: var(--shadow);
  --zeon-shadow-hover: var(--shadow-lg);
  --zeon-radius: var(--radius-lg);
  --zeon-radius-sm: var(--radius);
}

body {
  font-family: var(--font-body);
  background: var(--body-bg);
  color: var(--text);
}

h1, h2, h3, h4, h5, h6,
.hero-title, .section-title {
  font-family: var(--font-heading);
}

/* —— TOP BAR —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  width: 100%;
}
.site-header .navbar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}
.texon-topbar {
  background: var(--gradient-btn);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.texon-topbar a {
  color: #fff !important;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.35rem;
}

/* —— HEADER —— */
.site-header::before { display: none; }
.site-header .navbar {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  padding: 0.75rem 0;
}
.site-header .navbar.scrolled {
  box-shadow: var(--shadow);
}
.site-header .navbar-brand {
  padding: 0;
  margin-right: 1.5rem;
}
.site-header .navbar-brand img {
  display: none;
}

/* —— ZEON BRAND LOGO —— */
.zeon-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.zeon-logo:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
.zeon-logo__mark {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.zeon-logo:hover .zeon-logo__mark {
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.45);
  transform: rotate(-3deg);
}
.zeon-logo__mark svg {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
}
.zeon-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.zeon-logo__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.zeon-logo__tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 2px;
}
.zeon-logo--footer .zeon-logo__name {
  color: #fff;
}
.zeon-logo--footer .zeon-logo__tag {
  color: rgba(255, 255, 255, 0.65);
}
.zeon-logo--footer .zeon-logo__mark {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
@media (max-width: 400px) {
  .zeon-logo__tag { letter-spacing: 0.12em; font-size: 0.6rem; }
  .zeon-logo__name { font-size: 1.2rem; }
  .zeon-logo__mark { width: 40px; height: 40px; }
}

.site-header .nav-link,
.header-nav .navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-header .nav-link:hover,
.header-nav .navbar-nav .nav-link:hover {
  color: var(--primary) !important;
}
.site-header .nav-link.active {
  color: var(--primary) !important;
}
.site-header .nav-link::after {
  background: var(--primary) !important;
}
.header-nav .btn-enquire {
  background: var(--gradient-btn) !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
}
@media (max-width: 991px) {
  .header-nav .navbar-collapse {
    background: var(--surface) !important;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .header-nav .navbar-nav .nav-link {
    color: var(--text) !important;
    border-bottom-color: var(--border);
  }
  .header-nav .navbar-nav.ms-auto {
    border-top-color: var(--border);
  }
  .site-header .navbar-toggler { filter: none; border-color: var(--border); }
}

/* —— BUTTONS —— */
.btn-texon,
.hero-cta, .home-features-cta, .overview-cta,
.spotlight-cta, .product-card-cta, .service-card-cta,
.contact-form .btn-submit, .career-form .btn-submit,
.home-form .btn-submit, .btn-danger, .btn-enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  background: var(--gradient-btn) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}
.btn-texon:hover, .hero-cta:hover, .btn-enquire:hover,
.btn-submit:hover, .overview-cta:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.4);
  opacity: 0.95;
}
.btn-texon-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  background: transparent !important;
  color: #fff !important;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-texon-outline:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-color: #fff;
}

/* —— SECTION HEADINGS —— */
.heading-section { margin-bottom: 3rem; }
.heading-section.text-center { text-align: center; }
.heading-subtitle {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px dashed var(--primary05);
  border-radius: var(--radius-pill);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-spacer { padding: 5rem 0; }
.section-spacer-sm { padding: 3.5rem 0; }
.bg-white-section { background: var(--surface); }
.bg-gray-section { background: var(--body-bg); }

/* —— HERO (Texon banner) —— */
.texon-hero {
  background: var(--gradient-banner);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 0;
}
.texon-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(var(--primary-rgb), 0.25), transparent 60%);
  pointer-events: none;
}
.texon-hero .container { position: relative; z-index: 1; }
.texon-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.texon-hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-align: center;
}
.texon-hero h1 span { color: rgba(255,255,255,0.85); }
.texon-hero .lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.7;
}
.texon-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.texon-hero-clients {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}
.texon-hero-clients .avatars {
  display: flex;
}
.texon-hero-clients .avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  object-fit: cover;
}
.texon-hero-clients .avatars img:first-child { margin-left: 0; }
.texon-hero-image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 60px rgba(0,0,0,0.3);
}
.texon-hero-image img { width: 100%; display: block; }

/* Marquee */
.texon-marquee {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  margin-top: -1px;
}
.marquee-row {
  padding: 1.25rem 0;
  width: 105%;
  margin-left: -2.5%;
  transform: rotate(-2deg);
  background: var(--gradient-marquee);
  overflow: hidden;
}
.marquee-row--alt {
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  transform: rotate(2deg);
  background: #fff;
  z-index: 0;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: texonMarquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.marquee-row--alt .marquee-item { color: var(--primary); }
.marquee-item i { font-size: 0.75rem; opacity: 0.8; }
@keyframes texonMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* —— FEATURE CARDS —— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.3);
}
.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.feature-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* —— ABOUT BLOCK —— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; display: block; }
.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-weight: 500;
  color: var(--sub-text);
}
.about-list li i {
  color: var(--primary);
  font-size: 1.1rem;
}
.stat-box {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 1.5rem 2rem;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}
.stat-box strong {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-box span { color: var(--text-muted); font-weight: 600; }

/* —— SERVICE CARDS —— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-texon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.service-texon-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-texon-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-texon-card p {
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.service-texon-card a {
  color: var(--primary) !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-texon-card a:hover { gap: 0.6rem; }

/* —— STATS ROW —— */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item {
  padding: 2rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* —— PROCESS —— */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.process-card::before {
  content: attr(data-step);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
}
.process-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-right: 3rem;
}
.process-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.process-card a {
  color: var(--primary) !important;
  font-weight: 600;
  text-decoration: none;
}

/* —— TESTIMONIALS —— */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-texon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.25s;
}
.testimonial-texon:hover { box-shadow: var(--shadow-lg); }
.testimonial-texon .quote {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-texon .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-texon .author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-texon .author-name {
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.testimonial-texon .author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* —— CTA / NEWSLETTER —— */
.texon-cta {
  background: var(--gradient-banner);
  padding: 4rem 0;
  color: #fff;
  text-align: center;
}
.texon-cta h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}
.texon-cta p {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.texon-cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
  justify-content: center;
}
.texon-cta-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
}
.texon-cta-form .form-control {
  border: none;
  border-radius: var(--radius-pill);
  background: #fff;
}

.home-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* —— INNER PAGE HEROES —— */
.home-hero, .contact-hero, .career-hero, .product-hero,
.clients-hero, .services-hero, .tech-hero, .about-hero {
  background: var(--gradient-banner);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.home-hero::before, .contact-hero::before, .career-hero::before,
.product-hero::before, .clients-hero::before, .services-hero::before,
.tech-hero::before, .about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 70% 30%, rgba(var(--primary-rgb), 0.2), transparent);
  pointer-events: none;
}
.home-hero .container, .contact-hero .container { position: relative; z-index: 1; }
.home-hero h1, .contact-hero h1, .career-hero h1, .product-hero h1,
.clients-hero h1, .services-hero h1, .tech-hero h1, .about-hero h1,
.home-hero .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.home-hero .lead, .contact-hero .lead, .career-hero .lead,
.product-hero .lead, .clients-hero .lead, .services-hero .lead,
.tech-hero .lead, .about-hero .lead {
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto;
}

/* —— SHARED CARDS (inner pages) —— */
.card, .contact-card, .career-benefit-card, .product-card,
.spotlight-card, .service-card, .home-testimonial-card,
.contact-form-panel, .career-form-panel, .home-form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-card-icon, .career-benefit-icon, .service-card-icon {
  background: var(--gradient-btn) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  border-radius: var(--radius);
}
input.form-control:focus, select.form-control:focus, textarea.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

/* —— FOOTER —— */
.site-footer {
  background: var(--dark) !important;
}
.footer-top {
  background: rgba(255,255,255,0.05) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-image: none;
}
.footer-col nav a:hover, .footer-contact a:hover {
  color: rgba(var(--primary-rgb), 1) !important;
}
.footer-contact p i { color: var(--primary) !important; }

/* —— RESPONSIVE —— */
@media (max-width: 991px) {
  .feature-grid, .process-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .about-grid, .services-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .about-image { order: -1; }
}
@media (max-width: 576px) {
  .stats-row { grid-template-columns: 1fr; }
  .texon-hero-actions { flex-direction: column; align-items: center; }
}

/* —— GLOBAL ATTRACTIVE IMAGES —— */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.texon-hero-image img {
  width: 100%;
  min-height: 320px;
  max-height: 480px;
  object-fit: cover;
  object-position: center 20%;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.about-image:hover img { transform: scale(1.03); }
.testimonial-texon .author img,
.texon-hero-clients .avatars img {
  object-fit: cover;
}
.home-map iframe {
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}
.home-map:hover iframe { filter: grayscale(0%); }
