/* ============================================================
   Oasis Texfab India Pvt. Ltd. — main stylesheet
   Palette taken from company logo: navy + green
   ============================================================ */
:root {
  --navy: #1c3f94;
  --navy-dark: #142c68;
  --green: #4a9d2f;
  --green-dark: #3a7d24;
  --ink: #1a1a2e;
  --grey: #5b6270;
  --grey-light: #f4f6fa;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 44, 104, 0.10);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #d7deee;
  font-size: 0.8rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 34px; flex-wrap: wrap; gap: 4px;
}
.topbar a { color: #ffffff; font-weight: 500; }
.topbar .sep { margin: 0 8px; opacity: 0.4; }

/* ---------- Header / nav ---------- */
header.site {
  background: var(--white);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: 52px; object-fit: contain; }
.logo .word { line-height: 1.15; }
.logo .word .l1 {
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.5px;
}
.logo .word .l1 .oasis { color: var(--green); }
.logo .word .l1 .texfab { color: var(--navy); }
.logo .word .l2 {
  font-size: 0.62rem; letter-spacing: 2.5px; color: var(--grey);
  text-transform: uppercase;
}
nav.main { display: flex; align-items: center; gap: 30px; }
nav.main a {
  font-weight: 500; font-size: 0.95rem; color: var(--ink);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a.active { color: var(--navy); border-bottom-color: var(--green); }
nav.main a.btn-contact {
  background: var(--navy); color: #fff; padding: 10px 22px;
  border-radius: 50px; border: none;
}
nav.main a.btn-contact:hover { background: var(--green); color: #fff; }

/* dropdown submenu */
.dropdown { position: relative; display: flex; align-items: center; align-self: stretch; }
.dropdown > a .caret { font-size: 0.6em; margin-left: 4px; vertical-align: middle; }
.drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; min-width: 230px; border-radius: 10px; padding: 10px 0;
  box-shadow: 0 14px 36px rgba(20,44,104,0.16); display: none; z-index: 60;
}
.dropdown:hover .drop-menu, .dropdown:focus-within .drop-menu { display: block; }
.drop-menu a {
  display: block; padding: 10px 22px; font-size: 0.88rem;
  border-bottom: none; white-space: nowrap;
}
.drop-menu a:hover { background: var(--grey-light); color: var(--navy); border-bottom-color: transparent; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.6rem; color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  min-height: 520px; display: flex; align-items: center;
}
.hero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,20,50,0.82) 0%, rgba(10,20,50,0.45) 55%, rgba(10,20,50,0.25) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.15;
  max-width: 640px;
}
.hero p.sub {
  margin-top: 18px; font-size: 1.1rem; max-width: 560px; color: #e6ebf5;
}
.hero .cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem; transition: all .2s ease;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }

/* ---------- Section scaffolding ---------- */
section { padding: 76px 0; }
section.tint { background: var(--grey-light); }
.overline {
  color: var(--green); font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; font-size: 0.78rem; margin-bottom: 10px;
}
h2.sec {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; color: var(--navy-dark);
  line-height: 1.2; margin-bottom: 16px;
}
p.lead { color: var(--grey); max-width: 760px; }
.center { text-align: center; }
.center p.lead { margin: 0 auto; }
.mt { margin-top: 36px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(20,44,104,0.16); }
.card .thumb { height: 210px; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card .thumb.contain { background: var(--grey-light); }
.card .thumb.contain img { object-fit: contain; padding: 14px; }
.card:hover .thumb img { transform: scale(1.06); }
.card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card h3 { color: var(--navy-dark); font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--grey); font-size: 0.9rem; flex: 1; }
.card .more {
  margin-top: 16px; font-weight: 600; font-size: 0.88rem; color: var(--green);
}
.card .more:hover { color: var(--navy); }

/* industry tiles */
.tile {
  background: #fff; border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow); text-align: center;
}
.tile .ic {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(74,157,47,0.12); display: flex; align-items: center; justify-content: center;
}
.tile .ic svg { width: 30px; height: 30px; stroke: var(--green); }
.tile h3 { color: var(--navy-dark); font-size: 1.02rem; margin-bottom: 6px; }
.tile p { color: var(--grey); font-size: 0.85rem; }

/* ---------- Stats band ---------- */
.stats { background: var(--navy-dark); color: #fff; padding: 64px 0; }
.stats .grid { text-align: center; }
.stats .num {
  font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; color: var(--green);
}
.stats .num .unit { font-size: 0.5em; color: #fff; font-weight: 600; }
.stats .lbl { color: #c6d0e6; font-size: 0.92rem; margin-top: 4px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split ul.ticks { margin: 18px 0 0; list-style: none; }
.split ul.ticks li {
  padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--grey);
  font-size: 0.95rem;
}
.split ul.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img {
  width: 100%; height: 190px; object-fit: cover; border-radius: 8px;
  transition: transform .3s ease;
}
.gallery img:hover { transform: scale(1.03); }

/* ---------- Spec tables ---------- */
table.spec {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  font-size: 0.92rem;
}
table.spec th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 13px 18px; font-weight: 600;
}
table.spec td { padding: 12px 18px; border-bottom: 1px solid #eef1f7; color: var(--ink); }
table.spec tr:last-child td { border-bottom: none; }
table.spec tr:nth-child(even) td { background: #f8fafd; }

/* product detail sections */
.pline { padding: 70px 0; }
.pline:nth-child(even) { background: var(--grey-light); }
.pline .head { margin-bottom: 34px; }
.pline .caps {
  display: inline-block; background: rgba(74,157,47,0.12); color: var(--green-dark);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 40px; margin-bottom: 12px;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.badge {
  background: #fff; border: 1px solid #dfe5f0; color: var(--navy-dark);
  font-size: 0.8rem; font-weight: 500; padding: 5px 14px; border-radius: 40px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; text-align: center; padding: 70px 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: #c6d0e6; max-width: 620px; margin: 0 auto 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; }
.info-list { list-style: none; }
.info-list li {
  display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #eef1f7;
}
.info-list .k { min-width: 150px; font-weight: 600; color: var(--navy-dark); font-size: 0.92rem; }
.info-list .v { color: var(--grey); font-size: 0.95rem; }
.info-list .v a { font-weight: 600; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 13px 28px; border-radius: 50px;
  font-weight: 600;
}
.wa-btn:hover { background: #1eb958; color: #fff; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-dark); color: #b9c4dc; padding: 56px 0 0;
  font-size: 0.9rem;
}
footer.site .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px;
}
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
footer.site a { color: #b9c4dc; display: block; margin-bottom: 8px; }
footer.site a:hover { color: #fff; }
footer.site .brand { color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; }
footer.site .brand .oasis { color: var(--green); }
footer.site .bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0;
  text-align: center; font-size: 0.8rem; color: #8895b5;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; padding: 90px 0 70px;
  background: var(--navy-dark);
}
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.25; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: #c6d0e6; margin-top: 10px; max-width: 640px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 24px; gap: 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08); align-items: flex-start;
  }
  nav.main.open { display: flex; }
  .nav-toggle { display: block; }
  .dropdown { flex-direction: column; align-items: flex-start; align-self: auto; }
  .drop-menu {
    position: static; transform: none; display: block; box-shadow: none;
    padding: 4px 0 0 16px; min-width: 0;
  }
  .grid.c4, .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  .hero { min-height: 440px; }
  .topbar .container { justify-content: center; }
}
