/* ==========================================================
   Optimus Molds - Theme v2: Clean, minimal, teal (layout redesign)
   Loaded AFTER styles.css. Presentation only - no PHP/data changes.
   ========================================================== */

:root {
  --brand: #0d9488;
  --brand-dark: #0f766e;
  --brand-soft: #f0fdfa;
  --ink: #0f2a28;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --page: #ffffff;
  --alt: #f6f9f9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 42, 40, 0.08);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Manrope', 'Inter', system-ui, Arial, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--page);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
p { color: var(--muted); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
.container { max-width: 1200px; margin-left: auto; margin-right: auto; }
.pt-100 { padding-top: 96px; }
.pb-70 { padding-bottom: 72px; }
.ptb-100 { padding-top: 96px; padding-bottom: 96px; }

/* ---------- Buttons (pill, flat) ---------- */
.side-nav.inner-btn a,
.quote-btn.side-nav.inner-btn a,
a.quote-button,
.btn-form,
.search-area button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  box-shadow: none !important;
  transition: background .2s ease, transform .2s ease;
}
.side-nav.inner-btn a:hover,
.quote-btn.side-nav.inner-btn a:hover,
a.quote-button:hover,
.btn-form:hover,
.search-area button:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-1px);
}
.side-nav.inner-btn a span,
a.quote-button span { display: none !important; }

/* ---------- Header: announcement / logo row / nav row ---------- */
.header-sec { display: flex; flex-direction: column; background: #fff; }
#top-bar { order: 0; background: var(--ink); font-family: var(--font-body); font-size: 13px; padding: 8px 20px; }
.header-outter { order: 1; background: #fff !important; border: 0; }
.top-bar-outter { order: 2; background: #fff !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.header-outter:before, .header-outter:after,
.header:before, .header:after,
.logo:before, .logo:after { display: none !important; content: none !important; }

.header { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 18px 0; background: transparent !important; }
.logo { background: transparent !important; padding: 0 !important; clip-path: none !important; }
.logo img { max-height: 54px; width: auto; }
.contact-info { display: flex; align-items: center; gap: 26px; margin-left: auto; background: transparent !important; }
.contact-info p { margin: 0; display: flex; align-items: center; gap: 8px; }
.contact-info p a, .contact-info .cf_email { color: var(--ink) !important; font-size: 14px; font-weight: 500; }
.contact-info p img { width: 20px; height: 20px; }
.search-area { display: flex; }
.search-area input {
  background: var(--alt); border: 1px solid var(--line); border-radius: 999px 0 0 999px;
  padding: 10px 18px; font-size: 14px; color: var(--text); min-width: 160px;
}
.search-area input:focus { outline: none; border-color: var(--brand); background: #fff; }
.search-area button { border-radius: 0 999px 999px 0 !important; padding: 10px 20px; }

.top-bar { display: flex !important; align-items: center; justify-content: flex-start !important; gap: 6px; padding: 0 !important; }
.top-bar a:not(.quote-btn a) {
  color: var(--ink); font-weight: 500; font-size: 15px; padding: 16px 16px;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.top-bar > a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.top-bar .quote-btn { margin-left: auto; }
.top-bar .quote-btn a { padding: 10px 24px; }

/* ---------- Hero ---------- */
.hero_section { height: auto !important; min-height: 0; background: var(--ink); position: relative; }
.form-banner-slider, .form-banner-slider .swiper-slide { height: auto !important; min-height: 620px; }
.form-banner-slider .swiper-slide { position: relative; display: flex; align-items: center; }
.form-banner-slider .swiper-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,42,40,.92) 0%, rgba(15,42,40,.7) 48%, rgba(15,42,40,.35) 100%);
  z-index: 0;
}
.hero_section .container {
  position: relative; z-index: 1; width: 100%; max-width: 1200px !important;
  display: grid !important; grid-template-columns: minmax(0,1fr) 440px; gap: 64px; align-items: center;
  padding: 80px 20px !important; background: transparent !important;
}
.hero_section .col-1, .hero_section .col-2 { min-width: 0; width: auto !important; max-width: none !important; float: none; padding: 0; background: transparent !important; }
.hero_section h1 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; color: #fff; margin: 0 0 20px; overflow-wrap: break-word; }
.hero_section .col-1 p { color: #cfe6e3; font-size: 18px; max-width: 520px; margin-bottom: 30px; }
.hero_section .batch { margin-top: 28px; display: flex; gap: 14px; }
.hero_section .batch img { height: 56px; width: auto; opacity: .95; }
.form-box {
  background: #fff !important; border: 0 !important; border-radius: var(--radius) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.28) !important; padding: 32px !important; width: 100%; max-width: 440px; margin-left: auto; box-sizing: border-box;
}
.form-box:before, .form-box:after { display: none !important; }
.form-box .form-head { font-size: 22px; color: var(--ink) !important; margin: 0 0 18px; font-weight: 700; }
.form-box input, .form-box textarea, .form-box select {
  width: 100%; background: var(--alt) !important; border: 1px solid var(--line) !important; border-radius: var(--radius-sm) !important;
  color: var(--text) !important; padding: 12px 14px; margin-bottom: 12px; box-sizing: border-box;
}
.form-box input:focus, .form-box textarea:focus { outline: none; border-color: var(--brand) !important; background: #fff !important; }
.form-box .btn-form { width: 100%; }
.form-banner-btn { color: #fff !important; }

/* ---------- Stats band (overlaps hero) ---------- */
.count-sec { position: relative; z-index: 2; margin-top: -56px !important; margin-bottom: 0 !important; padding: 0 20px !important; background: transparent !important; }
.count-sec .counters {
  max-width: 1200px; margin: 0 auto; gap: 0; flex-wrap: nowrap;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.count-sec .counter-box {
  flex: 1; width: auto !important; max-width: none !important; height: auto !important; padding: 30px 20px !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
  border-right: 1px solid var(--line) !important;
}
.count-sec .counter-box:last-child { border-right: 0 !important; }
.count-number { font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--brand) !important; margin: 0; }
.counter-box p { margin: 4px 0 0; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* ---------- Section titles ---------- */
.section-title { text-align: left; margin-bottom: 48px; }
.section-title .sub-title, .section-title .light-title {
  display: inline-block; color: var(--brand) !important; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px;
}
.section-title .light-title { display: none; }
.section-title h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; margin: 0; }

/* ---------- About ---------- */
.about-area { background: #fff; }
.about-area .about-content p { font-size: 17px; }
.about-area .about-content ul { list-style: none; padding: 0; margin: 22px 0 30px; }
.about-area .about-content ul li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.about-area .about-content ul li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-soft); border: 2px solid var(--brand);
}
.about-shape, .about-year { display: none !important; }
.about-img-wrap { position: relative; }
.about-img-wrap img, .about-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-count .counter-box { box-shadow: none !important; border: 1px solid var(--line) !important; }

/* ---------- Services: clean 3-column card grid ---------- */
.service-area { background: var(--alt); }
.service-area .services-row { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0 !important; }
.service-area .service-box { width: auto !important; max-width: none !important; padding: 0 !important; flex: none; }
.service-item {
  height: 100%; background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px !important; box-shadow: none !important; overflow: hidden; position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-item:hover { transform: translateY(-6px); box-shadow: var(--shadow) !important; border-color: var(--brand); }
.service-item::before, .service-item::after { display: none !important; }
.service-item .animated-img { display: none !important; }
.service-item > img:not(.animated-img) { width: 60px; height: 60px; padding: 14px; background: var(--brand-soft); border-radius: 16px; margin-bottom: 20px; }
.service-item i { display: none; }
.service-item h3 { font-size: 21px; font-weight: 700; margin: 0 0 12px; }
.service-item h3 a { color: var(--ink) !important; }
.service-item h3 a:hover { color: var(--brand) !important; }
.service-item p { color: var(--muted) !important; margin-bottom: 18px; }
a.service-link { color: var(--brand) !important; font-weight: 600; }
a.service-link::after { content: "  \2192"; }

/* ---------- How it works: numbered steps ---------- */
.how-to-work { background: #fff !important; background-image: none !important; padding: 96px 0; }
.how-to-work h2 { text-align: center; color: var(--ink) !important; font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; margin-bottom: 56px; }
.work-steps { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.work-step { text-align: center; position: relative; counter-increment: step; padding: 0 12px; }
.work-step::before {
  content: counter(step); position: absolute; top: -14px; left: 50%; transform: translateX(28px); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head);
}
.work-step img { width: 96px; height: 96px; object-fit: contain; padding: 18px; background: var(--brand-soft); border-radius: 50%; margin: 0 auto 18px; }
.work-step h3 { color: var(--ink) !important; font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.work-step p { color: var(--muted) !important; font-size: 15px; }
.work-steps + .side-nav, .how-to-work .side-nav { text-align: center; margin-top: 44px; }

/* ---------- Industries: pill tabs + rounded image ---------- */
.industries-section { background: var(--alt) !important; background-image: none !important; padding: 96px 0; }
.industries-section .section-title { text-align: center; }
.industries-section .solid-text { display: block; font-family: var(--font-head); font-size: clamp(28px,3.2vw,42px); font-weight: 800; color: var(--ink) !important; -webkit-text-stroke: 0 !important; letter-spacing: -0.02em; text-transform: none; }
.industries-section .light-title { display: none !important; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.tab {
  background: #fff !important; color: var(--ink) !important; border: 1px solid var(--line) !important; border-radius: 999px !important;
  padding: 10px 24px; font-weight: 600; font-size: 14px; letter-spacing: .04em; transition: all .2s ease;
}
.tab:hover { border-color: var(--brand) !important; color: var(--brand) !important; }
.tab.active { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.industry-image-container { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.industry-image { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: 0; }
.industry-info-box {
  position: absolute; left: 28px; bottom: 28px; max-width: 420px; background: rgba(255,255,255,.96) !important;
  border-radius: var(--radius-sm); padding: 22px 24px !important; box-shadow: var(--shadow);
}
.industry-info-box p { color: var(--text) !important; margin: 0 0 8px; }
.info-label { color: var(--brand) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }

/* ---------- Materials ---------- */
.materials-section { background: #fff !important; background-image: none !important; padding: 96px 0; }
.materials-hero { background: transparent !important; text-align: center; padding: 0 20px 40px !important; height: auto !important; }
.materials-title { color: var(--ink) !important; font-size: clamp(28px,3.2vw,42px); font-weight: 800; }
.material-card {
  background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: none !important; transition: box-shadow .25s ease, transform .25s ease;
}
.material-card:hover { box-shadow: var(--shadow) !important; transform: translateY(-4px); }
.material-card img { width: 100%; height: 200px; object-fit: cover; }
.material-card .card-text { padding: 20px 22px 24px; background: #fff !important; }
.material-card .card-text h3 { color: var(--ink) !important; font-size: 19px; margin: 0 0 6px; }
.material-card .card-text a { color: var(--muted) !important; font-size: 15px; }

/* ---------- Footer CTA band ---------- */
.quote-section {
  background: var(--brand-soft) !important; background-image: none !important; color: var(--ink) !important; padding: 80px 20px !important;
}
.quote-container { max-width: 1200px !important; gap: 64px !important; }
.quote-image-wrapper { position: relative; flex: 0 0 38%; }
.blue-corner { display: none !important; }
.quote-image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-description { color: var(--brand-dark) !important; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin-bottom: 10px; }
.quote-heading { color: var(--ink) !important; font-size: clamp(28px,3.4vw,44px); font-weight: 800; margin-bottom: 26px; }
.quote-heading span { color: var(--brand) !important; }
.quote-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.quote-contact p { color: var(--muted) !important; margin: 0; font-size: 14px; }
.quote-contact strong { color: var(--ink) !important; font-size: 22px; font-family: var(--font-head); }

/* ---------- Footer ---------- */
footer { background: #fff !important; border-top: 1px solid var(--line); color: var(--muted); }
footer p { color: var(--muted) !important; }
footer h3, footer h4 { color: var(--ink) !important; font-size: 17px; font-weight: 700; margin-bottom: 18px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; }
footer a { color: var(--text) !important; }
footer a:hover { color: var(--brand) !important; }
footer .footer-logo img { max-height: 52px; width: auto; margin-bottom: 14px; }

/* ---------- Inner pages / generic components ---------- */
.card, .blog-card, .project-card, .gallery-item { border-radius: var(--radius); }
input:focus, textarea:focus, select:focus { outline-color: var(--brand); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
::selection { background: rgba(13,148,136,.25); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero_section .container { grid-template-columns: 1fr; gap: 32px; padding: 56px 20px !important; }
  .form-box { margin: 0; max-width: none; }
  .service-area .services-row { grid-template-columns: repeat(2, 1fr); }
  .work-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .count-sec .counters { flex-wrap: wrap; }
  .count-sec .counter-box { flex: 1 1 50%; border-bottom: 1px solid var(--line) !important; }
  .contact-info { display: none; }
  .quote-container { flex-direction: column; }
  .quote-image-wrapper { flex: none; width: 100%; }
}
@media (max-width: 600px) {
  .service-area .services-row { grid-template-columns: 1fr; }
  .work-steps { grid-template-columns: 1fr; }
  .pt-100, .ptb-100, .how-to-work, .industries-section, .materials-section { padding-top: 64px; padding-bottom: 56px; }
  .industry-info-box { position: static; max-width: none; border-radius: 0; }
}

/* ---------- Fixes from visual review ---------- */
button, input, select, textarea { font-family: var(--font-body); }
.section-title { text-align: center !important; }
.about-area .section-title { text-align: left !important; }
.section-title .light-title, .light-title, .light-center-text { display: none !important; }
.service-area .section-title h2, .service-area .section-title h2 span { color: var(--ink) !important; }
.section-title:before, .section-title:after { display: none !important; content: none !important; }
.service-item { text-align: left !important; }
.service-item h3, .service-item p, .service-item .service-link { text-align: left !important; }

.industry-info-box { left: 28px !important; right: auto !important; bottom: 28px !important; top: auto !important; transform: none !important; width: auto !important; max-width: 420px; }
.industry-info-box:before, .industry-info-box:after { display: none !important; }

.materials-hero { position: static !important; }
.materials-title:before, .materials-title:after, .materials-hero:before, .materials-hero:after { display: none !important; content: none !important; }
.materials-section .container, .materials-section .swiper, .materials-slider { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; padding-left: 20px !important; padding-right: 20px !important; }
.material-card { border-left: 1px solid var(--line) !important; }
.material-card:before, .material-card:after { display: none !important; }
.sub-title:before, .sub-title:after, .service-area .sub-title:before, .about-area .sub-title:before { display: none !important; content: none !important; }
.tab { font-family: var(--font-body) !important; }
.industry-info-box, .industry-info-box p { text-align: left !important; }
.industry-info-box { background: #fff !important; }
.materials-title { position: static !important; transform: none !important; margin: 0 !important; }
.materials-section .swiper, .materials-slider { width: 100% !important; max-width: 1200px !important; margin-top: 0 !important; }
.materials-hero { margin-bottom: 0 !important; }
.quote-description { text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; line-height: 1.6; }

/* ---------- Phone tweaks ---------- */
@media (max-width: 767px) {
  .header { flex-wrap: wrap; gap: 14px; padding: 14px 0; }
  .search-area, .search-area form { width: 100%; }
  .search-area input { flex: 1; min-width: 0; }
  .top-bar { flex-wrap: wrap !important; justify-content: center !important; gap: 0; padding: 6px 0 !important; }
  .top-bar > a { padding: 10px 12px !important; font-size: 14px; border-bottom: 0 !important; }
  .top-bar .quote-btn { margin: 6px 0 8px; width: 100%; text-align: center; }
  .top-bar .quote-btn a { width: 100%; }
  .hero_section .container { padding: 44px 16px !important; }
  .form-banner-slider, .form-banner-slider .swiper-slide { min-height: 0; }
  .count-sec { margin-top: -28px !important; }
  .count-number { font-size: 30px; }
  .about-area .container, .service-area .container { padding-left: 16px; padding-right: 16px; }
  .quote-section { padding: 56px 16px !important; }
}
@media (max-width: 991px) {
  .hero_section .col-2, .hero_section .form-div, .form-div { position: static !important; transform: none !important; top: auto !important; right: auto !important; left: auto !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
  .hero_section .col-1 { width: 100% !important; }
  .form-banner-slider .swiper-slide { height: auto !important; }
  .hero_section .container { height: auto !important; }
}
@media (max-width: 767px) {
  .hero_section .side-nav.inner-btn { text-align: left !important; justify-content: flex-start !important; }
  .hero_section .container { padding-bottom: 64px !important; }
}
