
/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  padding-left: 1.25rem;
}

/* ---------- Theme ---------- */
:root {
  --navy: #063b5c;
  --deep-blue: #073b5a;
  --teal: #098ca3;
  --teal-dark: #007c89;
  --aqua: #dff8fb;
  --blue: #2563eb;
  --water-blue: #5f91e8;
  --lotus: #b72d3b;
  --lotus-dark: #941b24;
  --gold: #f7b84b;
  --orange: #ff6b35;
  --green: #2f9e44;
  --accent: #e03131;
  --ink: #1f2933;
  --dark: #102a43;
  --muted: #5f6b76;
  --white: #ffffff;
  --soft: #f4f8fb;
  --soft-blue: #f4fbff;
  --border: #dfe8ef;
  --shadow: 0 8px 24px rgba(7, 59, 76, 0.08);
  --radius: 18px;
  --container: 1180px;
}

/* ---------- Utility / Shared ---------- */
.top-bar,
.topbar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 10px 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

main,
.section,
.contact-wrap,
.quick-links {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

main {
  padding: 54px 0;
}

.section {
  padding: 58px 0;
}

.section + .section {
  padding-top: 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2,
h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.section-heading p {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Header / Navigation ---------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
}

.logo,
.brand img {
  width: 96px;
  max-width: 170px;
  height: auto;
  background: var(--white);
  border-radius: 12px;
}

.brand-text strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.brand-text span {
  color: var(--muted);
  font-size: 13px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding-left: 0;
}

nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--navy);
  background: #eef5f7;
  font-weight: 700;
  font-size: 14px;
}

nav a:hover,
nav a.active {
  background: var(--aqua);
  color: var(--teal);
}

/* ---------- Hero ---------- */
.hero {
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(6, 59, 92, 0.92), rgba(9, 140, 163, 0.85)),
    url("images/gallerytank.jpg");
  background-size: cover;
  background-position: center;
  padding: 88px 22px;
}

.hero-inner {
  max-width: 960px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--aqua);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

/* ---------- Buttons ---------- */
.button-row,
.btn-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn,
.button,
.small-btn,
button {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.btn,
.button,
button {
  padding: 14px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.button:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  background: var(--gold);
  color: #3b2502;
}

.btn-secondary,
.btn.secondary {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
}

button,
.button {
  background: var(--lotus);
  color: var(--white);
}

button:hover,
.button:hover {
  background: var(--lotus-dark);
}

.small-btn {
  background: var(--navy);
  color: var(--white);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
}

/* ---------- Cards / Grids ---------- */
.grid,
.feature-grid,
.product-grid,
.trust-grid,
.steps,
.policy-list,
.quick-links {
  display: grid;
  gap: 18px;
}

.grid,
.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid {
  grid-template-columns: repeat(6, 1fr);
  margin-top: -82px;
  position: relative;
  z-index: 2;
}

.policy-list,
.quick-links {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.info-card,
.product-card,
.trust-card,
.policy,
.deal-card,
.qr-box,
.qr-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card,
.info-card {
  border-radius: 20px;
  padding: 26px;
}

.card h2,
.card h3,
.info-card h3,
.product-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.card p,
.card li,
.info-card p,
.product-card p {
  color: var(--muted);
}

.card ul {
  margin-top: 10px;
}

.trust-card,
.policy {
  border-radius: 16px;
  padding: 18px 12px;
  text-align: center;
  color: var(--navy);
  font-weight: 800;
}

/* ---------- Product Cards ---------- */
.product-card {
  border-radius: 18px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--border);
}

.product-image {
  min-height: 150px;
  background: linear-gradient(135deg, var(--aqua), #f7e5e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 3rem;
}

.card-body,
.product-body {
  padding: 20px;
}

.tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9f7f4;
  color: #087f6b;
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin-bottom: 14px;
  color: #10202b;
  font-size: 20px;
  font-weight: 900;
}

/* ---------- Promo / Deal / Steps ---------- */
.promo {
  background: var(--navy);
  color: var(--white);
  border-radius: 26px;
  padding: 42px;
  box-shadow: 0 16px 35px rgba(7, 59, 76, 0.24);
}

.promo .section-heading h2,
.promo .section-heading p,
.promo h2 {
  color: var(--white);
}

.promo h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.promo strong,
.step strong {
  color: var(--gold);
}

.promo-box,
.step {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 22px;
}

.deal-card {
  color: var(--navy);
  padding: 26px;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.deal-card h2 {
  color: var(--orange);
  font-size: 34px;
}

.deal-card p {
  color: #23343d;
  font-size: 16px;
  margin-bottom: 18px;
}

.deal-card ul {
  line-height: 1.8;
  font-weight: 700;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  counter-reset: step;
  padding-left: 0;
}

.step strong {
  display: block;
  font-size: 42px;
  margin-bottom: 8px;
}

.steps li {
  position: relative;
  background: var(--white);
  margin-bottom: 14px;
  padding: 18px 18px 18px 58px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  line-height: 1.6;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------- Care / QR ---------- */
.care-section,
.care-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.qr-box,
.qr-placeholder {
  border-radius: 22px;
  padding: 30px;
  text-align: center;
}

.qr-placeholder {
  min-height: 280px;
  border: 3px dashed #cbdbe3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.qr-box .qr-placeholder {
  width: 210px;
  height: 210px;
  min-height: 0;
  margin: 0 auto 16px;
  border: 12px solid var(--white);
  outline: 1px solid #ccdbe2;
  background: repeating-linear-gradient(45deg, var(--navy) 0 8px, var(--white) 8px 16px);
}

.care-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.care-table th,
.care-table td {
  padding: 14px;
  border-bottom: 1px solid #e9ecef;
  text-align: left;
  vertical-align: top;
}

.care-table th {
  background: var(--dark);
  color: var(--white);
}

/* ---------- Alerts ---------- */
.alert,
.warning {
  padding: 18px;
  border-radius: 12px;
  margin: 22px 0;
  line-height: 1.6;
}

.alert {
  background: #fff4e6;
  border-left: 6px solid var(--gold);
}

.warning {
  background: #fff5f5;
  border-left: 6px solid var(--accent);
}

/* ---------- Contact ---------- */
.contact-wrap {
  margin-block: 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.info-item {
  margin-bottom: 18px;
  line-height: 1.5;
}

.info-item strong,
label {
  color: var(--deep-blue);
  font-weight: 700;
}

.info-item strong {
  display: block;
  margin-bottom: 4px;
}

.info-item a {
  color: var(--lotus);
  font-weight: 700;
}

form {
  display: grid;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.note {
  color: #52606d;
  font-size: 0.95rem;
  line-height: 1.5;
}

.quick-links {
  margin-bottom: 40px;
}

.quick-links .card {
  text-align: center;
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 32px 22px;
}

footer a {
  color: var(--aqua);
  font-weight: 800;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    justify-content: flex-start;
  }

  .care-section,
  .care-wrap,
  .contact-wrap,
  .promo {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .feature-grid,
  .product-grid,
  .grid,
  .steps,
  .policy-list,
  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .nav-wrap {
    width: 100%;
    padding: 12px 14px;
    overflow-x: hidden;
  }

  .brand {
    width: 100%;
    gap: 10px;
  }

  .brand img {
    width: 70px;
    flex-shrink: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text span {
    display: block;
    font-size: 18px;
    line-height: 1.25;
    word-break: normal;
  }

  nav {
    width: 100%;
  }

  nav ul {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  nav a {
    width: 100%;
    text-align: center;
    padding: 10px 8px;
    font-size: 15px;
  }
}
/* ---------- Cart ---------- */
.cart-title {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: 95px 1fr 90px 95px 90px;
  gap: 14px;
  align-items: center;
}

.cart-item img {
  width: 95px;
  height: 95px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--border);
}

.cart-item h3 {
  color: var(--navy);
  margin-bottom: 4px;
}

.qty-control label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.qty-control input {
  max-width: 80px;
  text-align: center;
}

.remove-btn,
.clear-cart {
  background: #eef5f7;
  color: var(--navy);
  padding: 10px 12px;
  box-shadow: none;
}

.remove-btn:hover,
.clear-cart:hover {
  background: #dbeafe;
  box-shadow: none;
}

.cart-summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: 120px;
}

.cart-summary-card h2 {
  font-size: 1.6rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.summary-row.discount strong {
  color: var(--green);
}

.summary-row.total {
  font-size: 1.25rem;
  border-bottom: 0;
}

.summary-detail {
  padding: 8px 0 12px;
}

.discount-list {
  color: var(--green);
  font-weight: 800;
  padding-left: 1.1rem;
}

.checkout-btn {
  width: 100%;
  margin: 16px 0 10px;
}

.empty-cart {
  text-align: center;
}

.cart-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
  opacity: 0;
  transform: translateY(14px);
  transition: 0.2s ease;
  z-index: 999;
  pointer-events: none;
  font-weight: 800;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-card {
    position: static;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item img {
    width: 80px;
    height: 80px;
  }
}
