/* ===========================
   TEKTON Global Ltd – style.css
   Mobile-first, Bootstrap-enhanced
   =========================== */

:root {
  --navy:      #0a1628;
  --navy-mid:  #0d2045;
  --blue:      #1565c0;
  --blue-light:#1e88e5;
  --accent:    #2196f3;
  --accent2:   #42a5f5;
  --white:     #ffffff;
  --off-white: #f4f7fc;
  --text-dark: #1a2236;
  --text-muted:#6b7a99;
  --border:    #dde4f0;
  --shadow:    0 4px 24px rgba(10,22,40,0.10);
  --shadow-md: 0 8px 40px rgba(10,22,40,0.14);
  --radius:    10px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  margin: 0;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; }

/* ---- NAVBAR ---- */
#mainNav {
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s;
  padding: 14px 0;
}
#mainNav.scrolled {
  background: var(--navy) !important;
  box-shadow: 0 2px 20px rgba(10,22,40,0.4);
}
.navbar-brand { font-family: 'Montserrat', sans-serif; text-decoration: none; }

/* Logo */
.logo-box {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-radius: 4px;
  padding: 3px 7px;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
}
.logo-box.sm { font-size: 0.85rem; padding: 2px 5px; }
.logo-te   { color: var(--navy); }
.logo-kton { color: var(--accent); }
.logo-sub  { color: var(--white); font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; line-height: 1.1; }

.nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s;
  padding: 8px 14px !important;
  border-radius: 6px;
}
.nav-link:hover, .nav-link.active { color: var(--white) !important; }
.nav-link.active { background: rgba(255,255,255,0.1); }

.btn-primary-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 9px 22px !important;
  font-size: 0.875rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); }

/* ---- HERO ---- */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, #0b2d5a 70%, #0d3a78 100%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(21,101,192,0.25) 0%, transparent 70%);
}
.hero-content { padding-top: 100px; padding-bottom: 60px; }
.hero-tagline {
  color: var(--accent2);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero-title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
}
.text-accent { color: var(--accent) !important; }
.hero-desc { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 560px; }

.btn-hero-primary {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 12px 28px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-hero-primary:hover { background: var(--blue-light); border-color: var(--blue-light); color: #fff; transform: translateY(-2px); }
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  padding: 12px 28px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ---- PILLARS BAR ---- */
.pillars-bar {
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
}
.pillar-item { padding: 8px; }
.pillar-item i {
  font-size: 1.6rem;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.pillar-item p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-dark);
}

/* ---- SECTION TITLES ---- */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
}
.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- INDUSTRIES ---- */
.industries-section { background: var(--off-white); }
.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 3px solid transparent;
  height: 100%;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}
.industry-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--blue) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.industry-icon i { font-size: 1.3rem; color: var(--white); }
.industry-card h6 { font-weight: 700; font-size: 0.85rem; margin: 0; color: var(--text-dark); }

/* ---- ABOUT SNIPPET ---- */
.about-snippet { background: var(--navy); }
.about-card { background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); }
.about-card .section-title { color: var(--white); }
.text-light-muted { color: rgba(255,255,255,0.7); }
.mv-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.mv-icon { font-size: 1.6rem; color: var(--accent); margin-bottom: 8px; }
.mv-card h6 { font-weight: 700; color: var(--white); }
.mv-card p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin: 0; }

/* ---- WHY CHOOSE US ---- */
.why-section { background: var(--off-white); }
.why-item { padding: 20px 10px; }
.why-item i { font-size: 2rem; color: var(--accent); display: block; margin-bottom: 10px; }
.why-item p { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.85rem; margin: 0; }

/* ---- SUSTAINABILITY ---- */
.sustain-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
}
.sustain-card i { font-size: 1.8rem; color: var(--accent); display: block; margin-bottom: 8px; }
.sustain-card h6 { font-weight: 700; font-size: 0.875rem; }
.sustain-card p { color: var(--text-muted); font-size: 0.825rem; margin: 0; }

/* ---- CTA ---- */
.cta-section { background: var(--off-white); }
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--accent);
}
.footer-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-left: 16px;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--white); }

/* ---- PAGE HEADER ---- */
.page-header {
  min-height: 240px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(33,150,243,0.2) 0%, transparent 60%);
}
.page-header-overlay {
  position: absolute; inset: 0;
  background: rgba(10,22,40,0.35);
}
.page-header-title {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 8px;
}
.breadcrumb { background: transparent; padding: 0; }
.breadcrumb-item a { color: var(--accent2); text-decoration: none; }
.breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- ABOUT PAGE CARDS ---- */
.stat-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius);
  color: var(--white);
  height: 100%;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent2);
  margin-bottom: 4px;
}
.stat-box p { margin: 0; font-size: 0.875rem; color: rgba(255,255,255,0.8); }

.vmgv-section { background: var(--navy); }
.vmgv-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  height: 100%;
}
.vmgv-icon { font-size: 1.8rem; color: var(--accent); margin-bottom: 12px; }
.vmgv-card h5 { font-weight: 800; }
.vmgv-card p { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin: 0; }

.objective-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  height: 100%;
}
.obj-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--accent);
  opacity: 0.2;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.objective-card h6 { font-weight: 800; font-size: 0.9rem; margin-bottom: 8px; }
.objective-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.services-section { background: var(--off-white); }
.service-pill {
  background: var(--white);
  border-radius: 50px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-dark);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  height: 100%;
  transition: all 0.2s;
}
.service-pill i { color: var(--accent); }
.service-pill:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.service-pill:hover i { color: var(--white); }

/* ---- CONTACT PAGE ---- */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-input {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.contact-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(33,150,243,0.12);
  background: var(--white);
  outline: none;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-left: 4px solid var(--accent);
}
.ci-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon i { color: var(--white); font-size: 1rem; }
.contact-info-card h6 { font-weight: 800; font-size: 0.875rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ============================
   DIRECTORS PAGE — PDF STYLE
   ============================ */
.directors-table-section { background: var(--off-white); }

.doc-frame {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.doc-header { margin-bottom: 24px; }
.doc-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.doc-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.doc-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--navy) 100%);
  border-radius: 2px;
}

/* Column headers */
.dir-col-headers {
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}
.dcol-num   { width: 56px; flex-shrink: 0; text-align: center; }
.dcol-designation { flex: 1; padding-left: 8px; }
.dcol-photo { width: 180px; flex-shrink: 0; text-align: center; }

/* Each director row */
.director-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1.5px solid var(--border);
  padding: 0;
  transition: background 0.15s;
}
.director-row:hover { background: #f8fbff; }
.director-row.last { border-bottom: none; }

.dir-sl {
  width: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--accent);
  border-right: 1.5px solid var(--border);
  padding: 24px 8px;
  background: var(--off-white);
}

.dir-body {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

/* LEFT col: designation info */
.dir-designation-col {
  flex: 1;
  padding: 24px 20px;
  border-right: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dir-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 4px;
  width: fit-content;
}
.dir-badge.managing { background: linear-gradient(90deg, var(--blue) 0%, var(--accent) 100%); }
.dir-badge.director { background: rgba(21,101,192,0.12); color: var(--blue); border: 1.5px solid var(--blue); }

.dir-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.3;
}

.dir-detail-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.dir-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 3px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.dir-meta i { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* RIGHT col: single photo */
.dir-photo-col {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
}

.dir-photo-wrapper {
  width: 120px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid var(--border);
  box-shadow: 0 4px 16px rgba(10,22,40,0.12);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dir-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.dir-photo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--navy);
  margin: 8px 0 2px;
  line-height: 1.3;
}
.dir-photo-designation {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.doc-footer { border-top: 1.5px solid var(--border); }

/* ---- MOBILE OVERRIDES for Directors ---- */
@media (max-width: 767.98px) {
  .doc-frame { padding: 16px 10px; }

  .director-row { flex-direction: column; }

  .dir-sl { width: 100%; border-right: none; border-bottom: 1.5px solid var(--border); padding: 8px; flex-direction: row; gap: 8px; font-size: 0.85rem; }

  .dir-body { flex-direction: column; }

  .dir-designation-col { border-right: none; border-bottom: 1.5px solid var(--border); padding: 16px 14px; }

  .dir-photo-col {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 14px;
  }
  .dir-photo-wrapper { width: 100px; height: 125px; }
  .dir-photo-name { font-size: 0.82rem; }
  .dir-photo-designation { font-size: 0.75rem; }

  .dcol-photo { width: 110px; }
}

@media (max-width: 480px) {
  .dir-photo-col { flex-direction: column; }
}

/* ---- GENERAL UTILITIES ---- */
.form-label { font-weight: 600; font-size: 0.875rem; color: var(--text-dark); }

/* ---- SCROLL ANIMATION ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ---- NAVBAR MOBILE MENU ---- */
@media (max-width: 991.98px) {
  #mainNav {
    background: var(--navy) !important;
  }

  #mainNav .navbar-collapse.show,
  #mainNav .navbar-collapse.collapsing {
    background: var(--navy) !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 16px 20px;
    margin: 0;
    z-index: 1000;
  }
}
