/* ==========================================================================
   File: style.css
   WETCO Synergies (Pvt.) Ltd. — Core Stylesheet
   Contains: CSS Reset, Brand Variables, Typography, Utility Classes,
   Buttons, Section Layout, Back-to-Top, Loader
   ========================================================================== */

/* -----------------------------------------
   1. GOOGLE FONTS
----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

/* -----------------------------------------
   2. CSS RESET
----------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* -----------------------------------------
   3. WETCO BRAND VARIABLES
   Colors taken directly from the WETCO logo:
   deep engineering navy + refrigerant lime green
----------------------------------------- */
:root {
  /* Brand core */
  --color-navy: #0d2438;
  --color-navy-deep: #081726;
  --color-navy-soft: #14314c;
  --color-lime: #6cc90e;
  --color-lime-dark: #56a30c;
  --color-lime-light: #8fe62f;

  /* Neutrals */
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7f9;
  --color-bg-dark: #0a1b2a;
  --color-text: #1c2b38;
  --color-text-muted: #5b6b78;
  --color-text-light: #ffffff;
  --color-border: #e3e9ed;

  /* Feedback */
  --color-success: #2e9e4f;
  --color-danger: #d8453b;

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --section-padding-mobile: 60px;
  --container-width: 1240px;

  /* Radius & Shadow */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 16px rgba(13, 36, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(13, 36, 56, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 36, 56, 0.16);
  --shadow-lime: 0 12px 28px rgba(108, 201, 14, 0.30);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-mid: 0.4s ease;
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -----------------------------------------
   4. TYPOGRAPHY
----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* -----------------------------------------
   5. CONTAINER & SECTION LAYOUT
----------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: var(--section-padding);
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-dark {
  background-color: var(--color-navy);
  color: var(--color-text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-text-light);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

/* -----------------------------------------
   6. SECTION HEADER (eyebrow + title + subtitle)
----------------------------------------- */
.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-lime-dark);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background-color: var(--color-lime);
  display: inline-block;
}

.section-header.center .eyebrow::before {
  display: none;
}

.section-header h2 {
  margin-bottom: 18px;
}

.section-header p {
  font-size: 1.05rem;
}

/* -----------------------------------------
   7. BUTTONS
----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-lime);
  color: var(--color-navy-deep);
  box-shadow: var(--shadow-lime);
}

.btn-primary:hover {
  background-color: var(--color-lime-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(108, 201, 14, 0.38);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--color-lime);
  color: var(--color-lime);
  transform: translateY(-3px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border);
}

.btn-outline-dark:hover {
  border-color: var(--color-navy);
  background-color: var(--color-navy);
  color: var(--color-text-light);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* -----------------------------------------
   8. TAG / BADGE
----------------------------------------- */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: rgba(108, 201, 14, 0.12);
  color: var(--color-lime-dark);
}

/* -----------------------------------------
   9. PAGE HERO BANNER (for interior pages)
----------------------------------------- */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, var(--color-navy-deep) 0%, var(--color-navy) 60%, var(--color-navy-soft) 100%);
  padding-top: 190px;
  padding-bottom: 90px;
  overflow: hidden;
  isolation: isolate;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(108, 201, 14, 0.16), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(108, 201, 14, 0.10), transparent 45%);
  z-index: -1;
}

.page-banner .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-lime);
}

.breadcrumb .sep {
  color: var(--color-lime);
}

.page-banner h1 {
  color: var(--color-text-light);
  max-width: 720px;
}

.page-banner .tag {
  background-color: rgba(108, 201, 14, 0.16);
  color: var(--color-lime);
}

/* -----------------------------------------
   10. GRID UTILITIES
----------------------------------------- */
.grid {
  display: grid;
  gap: 32px;
}

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* -----------------------------------------
   11. PRELOADER
----------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--color-navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-mark {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(108, 201, 14, 0.2);
  border-top-color: var(--color-lime);
  border-radius: 50%;
  animation: preloader-spin 0.9s linear infinite;
}

.preloader-text {
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

/* -----------------------------------------
   12. BACK TO TOP BUTTON
----------------------------------------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: var(--color-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-mid);
  z-index: 400;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-lime);
  color: var(--color-navy-deep);
}

/* -----------------------------------------
   13. DIVIDERS
----------------------------------------- */
.divider-line {
  height: 1px;
  width: 100%;
  background-color: var(--color-border);
  border: none;
}

/* -----------------------------------------
   14. STAT BLOCK (shared across About / Home)
----------------------------------------- */
.stat-block {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-lime);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.section:not(.section-dark) .stat-label {
  color: var(--color-text-muted);
}

.section:not(.section-dark) .stat-number {
  color: var(--color-navy);
}

.section:not(.section-dark) .stat-number .accent {
  color: var(--color-lime-dark);
}

/* -----------------------------------------
   15. FORM ELEMENTS (shared)
----------------------------------------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
  background-color: var(--color-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-lime);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.show {
  display: block;
}

.form-feedback.success {
  background-color: rgba(46, 158, 79, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(46, 158, 79, 0.25);
}

.form-feedback.error {
  background-color: rgba(216, 69, 59, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(216, 69, 59, 0.25);
}

/* -----------------------------------------
   16. SCROLLBAR (subtle brand touch)
----------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--color-navy-soft);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-lime-dark);
}
