/* =================================================================
   site.css  —  Exotechnic Corporation website
================================================================= */

/* ---- VARIABLES ---- */
:root {
  --bs-blue: #0d6efd;
  --bs-orange: #fd7e14;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-900: #212529;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  display: block;
  background-color: #f1f1f1;
  color: #7c7c7c;
  line-height: 1.65;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0; }
p { margin-top: 0; margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: #fd7e14; }
a:hover { color: #e06800; text-decoration: none; }

/* ---- NAVBAR ---- */
.navbar {
  background-color: #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  border: none;
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.75;
}
.logo span { color: #fd7e14; }
.logo:hover { color: #fff; text-decoration: none; opacity: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fd7e14; font-weight: 600; }
.btn-contact {
  font-family: 'Orbitron', sans-serif;
  background-color: #fd7e14;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-contact:hover { opacity: 0.88; color: #fff; text-decoration: none; }

/* ---- Mobile nav toggle (hamburger) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ccc;
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-toggle:hover span { background: #fff; }
.nav-cta-mobile { display: none; }

/* ---- LAYOUT UTILITIES ---- */
.section-white { background-color: #fff; }
.section-light { background-color: #f1f1f1; }
.section-dark { background-color: #1a1a1a; }
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fd7e14;
  margin-bottom: 14px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fd7e14;
  text-decoration: none;
}
.link-arrow:hover { opacity: 0.8; color: #fd7e14; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  background-color: #0d1117;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,10,18,0.68);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { font-size: 0.8rem; margin-bottom: 20px; }
.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.06;
  max-width: 780px;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 36px;
}

/* ---- STAT BADGES ---- */
.stat-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
  text-align: center;
  padding: 8px;
}
.stat-badge .stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-badge .stat-lbl {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
  margin-top: 4px;
}

/* ---- TWO-COL ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.two-col-img {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}
.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.two-col-text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.two-col-text h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}
.two-col-text p {
  font-size: 0.9375rem;
  color: #7c7c7c;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ---- DARK TWO-COL ---- */
.dark-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.dark-text {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dark-text h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
  max-width: 420px;
}
.dark-text p {
  font-size: 0.9375rem;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 18px;
}
.dark-text .eyebrow { color: #fd7e14; }

/* ---- ACCORDION (light default) ---- */
.accordion-item { border-bottom: 1px solid #e2e2e2; }
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.9375rem;
  user-select: none;
}
.accordion-icon {
  font-size: 1.4rem;
  color: #fd7e14;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding-bottom: 18px;
  font-size: 0.875rem;
  color: #7c7c7c;
  line-height: 1.7;
}
.accordion-item.open .accordion-body { display: block; }

/* ---- ACCORDION (dark variant — inside .dark-text) ---- */
.dark-text .accordion-item { border-bottom: 1px solid #2e2e2e; }
.dark-text .accordion-header {
  color: #fff;
  font-size: 0.9rem;
  padding: 16px 0;
}
.dark-text .accordion-body { padding-bottom: 16px; color: #aaa; }
.dark-text .accordion-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dark-text .accordion-body ul li {
  font-size: 0.875rem;
  color: #aaa;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.dark-text .accordion-body ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #fd7e14;
  font-weight: 700;
}
.dark-text .accordion-body p {
  font-size: 0.875rem;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background-color: #1a1a1a;
  padding: 88px 40px;
  text-align: center;
}
.cta-banner h2 {
  font-size: 3.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner h2 em { font-style: italic; }
.cta-banner .cta-sub {
  font-size: 1rem;
  color: #999;
  margin-bottom: 44px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.btn-orange {
  display: inline-block;
  background-color: #fd7e14;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-orange:hover { opacity: 0.88; color: #fff; text-decoration: none; }

/* ---- FOOTER ---- */
footer {
  background-color: #1a1a1a;
  padding: 56px 0 0;
  border-top: 1px solid #2a2a2a;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.footer-col h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col ul a {
  font-size: 0.8125rem;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: #fff; }
.footer-divider { border-color: #2e2e2e; margin-bottom: 40px; }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-brand .brand-name span { color: #fd7e14; }
.footer-brand p {
  font-size: 0.8125rem;
  color: #888;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 20px;
}
.partner-logos { display: flex; gap: 10px; }
.partner-logo {
  background: #2a2a2a;
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 0.01em;
}
.footer-address {
  font-size: 0.8125rem;
  color: #888;
  line-height: 1.85;
  text-align: right;
}
.footer-address .addr-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 4px;
}
.footer-copyright {
  border-top: 1px solid #2e2e2e;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copyright p { font-size: 0.75rem; color: #555; }

/* =================================================================
   ABOUT / INDEX PAGE STYLES
================================================================= */

.services { padding: 72px 0; background: #f1f1f1; }
.services-header { margin-bottom: 40px; }
.services-header h2 { font-size: 1.875rem; font-weight: 700; color: #1a1a1a; letter-spacing: -0.015em; margin-bottom: 12px; }
.services-header p { font-size: 0.9375rem; color: #7c7c7c; max-width: 640px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border-radius: 8px; padding: 32px 28px; }
.service-card .icon-wrap {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card h3 { font-size: 0.9375rem; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; letter-spacing: -0.01em; line-height: 1.3; }
.service-card p { font-size: 0.8125rem; color: #7c7c7c; line-height: 1.7; }
.service-card.highlight { background: #1a1a1a; border: 1px solid #fd7e14; }
.service-card.highlight h3 { color: #fff; }
.service-card.highlight p { color: #aaa; }

.founder-photo-wrap { position: relative; min-height: 580px; overflow: hidden; }
.founder-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: absolute;
  top: 0; left: 0;
}

.approach-quote { padding: 80px 0; background: #1a1a1a; }
.approach-quote .container { text-align: center; max-width: 860px; }
.approach-quote blockquote {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  font-style: italic;
}
.approach-quote blockquote em { color: #fd7e14; font-style: italic; }
.approach-quote p { font-size: 0.9375rem; color: #888; line-height: 1.7; max-width: 680px; margin: 0 auto; }

.contact { padding: 72px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left h2 { font-size: 1.875rem; font-weight: 700; color: #1a1a1a; line-height: 1.22; margin-bottom: 22px; letter-spacing: -0.015em; }
.contact-left p { font-size: 0.9375rem; color: #7c7c7c; line-height: 1.7; margin-bottom: 14px; }
.contact-right { background: #f8f8f8; border-radius: 12px; padding: 48px 40px; }
.contact-right h3 { font-size: 1.3rem; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; letter-spacing: -0.01em; }
.contact-right p { font-size: 0.9rem; color: #7c7c7c; line-height: 1.7; margin-bottom: 28px; }
.contact-right .reg-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 10px; }
.contact-right .reg-list li { font-size: 0.875rem; color: #7c7c7c; padding-left: 18px; position: relative; }
.contact-right .reg-list li::before { content: "›"; position: absolute; left: 0; color: #fd7e14; font-weight: 700; }

/* =================================================================
   CONTACT FORM PAGE STYLES
================================================================= */

.form-section { background: #fff; padding: 64px 0 80px; }
.form-wrap { max-width: 680px; margin: 0 auto; }
.form-wrap .section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fd7e14;
  margin-bottom: 12px;
}
.form-wrap h2 { font-size: 2rem; font-weight: 700; color: #1a1a1a; letter-spacing: -0.02em; margin-bottom: 10px; }
.form-wrap .form-intro { font-size: 0.9375rem; color: #7c7c7c; line-height: 1.7; margin-bottom: 40px; }

.field { margin-bottom: 24px; }
.field label { display: block; font-size: 0.8125rem; font-weight: 600; color: #1a1a1a; margin-bottom: 7px; letter-spacing: 0.01em; }
.field label .required { color: #fd7e14; margin-left: 2px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #fafafa;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.5;
}
.field input:focus,
.field textarea:focus {
  border-color: #fd7e14;
  box-shadow: 0 0 0 3px rgba(253,126,20,0.12);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 160px; }
.field .field-error,
.field .field-validation-error { font-size: 0.78rem; color: #dc3545; margin-top: 5px; display: block; }
.field .field-validation-valid { display: none; }

/* ASP.NET MVC validation classes */
.input-validation-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220,53,69,0.1) !important;
}
.field-validation-error { font-size: 0.78rem; color: #dc3545; margin-top: 5px; display: block; }
.field-validation-valid { display: none; }

.form-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn-send {
  background-color: #fd7e14;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 36px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}
.btn-send:hover { opacity: 0.88; }
.btn-cancel {
  background: transparent;
  color: #7c7c7c;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 5px;
  border: 1.5px solid #d8d8d8;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.btn-cancel:hover { border-color: #aaa; color: #1a1a1a; text-decoration: none; }

.send-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 28px;
}
.send-success .section-eyebrow { color: #15803d; margin-bottom: 6px; }
.send-success .success-note { font-size: 0.9375rem; line-height: 1.6; color: #15803d; }

.send-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.captcha-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha-question {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  background: #f1f1f1;
  border-radius: 6px;
  padding: 10px 18px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.captcha-input { width: 90px !important; text-align: center; font-weight: 700; font-size: 1rem !important; }
.captcha-hint { font-size: 0.8rem; color: #aaa; font-style: italic; }

/* =================================================================
   RESPONSIVE — TABLET (≤ 1024px)
================================================================= */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .navbar-inner { padding: 0 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.78rem; }
  .hero { padding: 72px 0 56px; }
  .hero h1 { font-size: 2.75rem; }
  .two-col,
  .dark-two-col { grid-template-columns: 1fr 1fr; }
  .two-col-text { padding: 40px 32px; }
  .dark-text { padding: 48px 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 48px; }
  .approach-quote blockquote { font-size: 1.4rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .cta-banner h2 { font-size: 2.5rem; }
}

/* =================================================================
   RESPONSIVE — MOBILE (≤ 768px)
================================================================= */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .navbar-inner { padding: 0 20px; }
  .navbar { height: 60px; }
  .nav-toggle { display: flex; }
  .btn-contact { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid #2e2e2e;
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
    z-index: 999;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 0.625rem 1.25rem; font-size: 0.9rem; }
  .nav-links.open .nav-cta-mobile { display: block; border-top: 1px solid #2e2e2e; margin-top: 4px; padding-top: 4px; }
  .nav-links.open .nav-cta-mobile a { color: #fd7e14; font-weight: 600; }
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: 2.25rem; letter-spacing: -0.02em; margin-bottom: 20px; max-width: 100%; }
  .hero p { font-size: 0.9375rem; margin-bottom: 28px; }
  .stat-badges { gap: 12px; }
  .stat-badge { width: 78px; height: 78px; }
  .two-col,
  .dark-two-col { grid-template-columns: 1fr; }
  .two-col-img { min-height: 280px; position: relative; }
  .two-col-text { padding: 32px 20px; }
  .dark-text { padding: 36px 20px; }
  .dark-text h2 { font-size: 1.75rem; max-width: 100%; }
  .dark-two-col .two-col-img { order: 2; min-height: 260px; }
  .dark-two-col .dark-text { order: 1; }
  .dark-two-col .founder-photo-wrap { order: -1; min-height: 320px; }
  .services { padding: 44px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-card { padding: 24px 20px; }
  .approach-quote { padding: 52px 0; }
  .approach-quote blockquote { font-size: 1.25rem; }
  .contact { padding: 44px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-section { padding: 44px 0 56px; }
  .cta-banner { padding: 56px 20px; }
  .cta-banner h2 { font-size: 2rem; margin-bottom: 16px; }
  footer { padding: 44px 0 0; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 36px; }
  .footer-bottom { flex-direction: column; gap: 28px; }
  .footer-address { text-align: left; }
  .footer-copyright { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* =================================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
================================================================= */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.875rem; }
  .stat-badge { width: 64px; height: 64px; }
  .stat-badge .stat-num { font-size: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .btn-send, .btn-cancel { width: 100%; text-align: center; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cta-banner h2 { font-size: 1.625rem; }
  .btn-orange { padding: 12px 28px; font-size: 0.9375rem; }
}
