/* ==========================================================================
   KLYNN - Cleaning Products Website Stylesheet
   Official Brand Theme: Royal Cobalt Blue & Electric Turquoise Teal
   Matching Official Brand Logo
   ========================================================================== */

:root {
  /* Official Brand Palette */
  --brand-blue: #1848B7;        /* Official Royal Blue */
  --brand-blue-bright: #215AD8;
  --brand-blue-dark: #0F338D;   /* Deep Sapphire */
  --brand-blue-deep: #0C2366;
  --brand-blue-light: #EFF6FF;  /* Soft Blue Tint */
  --brand-blue-border: #DBEAFE;

  --brand-teal: #14B8A6;        /* Official Turquoise Teal Accent */
  --brand-teal-bright: #2DD4BF;
  --brand-teal-light: #CCFBF1;

  --whatsapp-green: #25D366;    /* Official WhatsApp Green */

  /* Neutral Backgrounds */
  --bg-page: #F8FAFC;           /* Clean Off-White */
  --bg-surface: #FFFFFF;        /* Pure White Cards */
  --bg-subtle: #F1F5F9;         /* Light Gray/Blue Tint */
  --bg-banner: #EFF6FF;

  /* Text Colors */
  --text-main: #0F172A;         /* Dark Slate */
  --text-muted: #334155;        /* Medium Slate */
  --text-light: #64748B;        /* Muted captions */

  /* Borders & Shadows */
  --border-light: #E2E8F0;
  --border-focus: #1848B7;
  --shadow-sm: 0 2px 4px rgba(15, 51, 141, 0.04);
  --shadow-md: 0 6px 16px rgba(15, 51, 141, 0.08);
  --shadow-lg: 0 14px 32px rgba(15, 51, 141, 0.12);
  --shadow-floating: 0 12px 28px rgba(37, 211, 102, 0.3);

  /* Radius & Spacing */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1140px;
  --header-height: 76px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Core Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Section Standard */
.section {
  padding: 3.5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 2.75rem 0;
  }
}

.section-bg-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Typography & Badges */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
  border: 1px solid var(--brand-blue-border);
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.section-title span.text-primary {
  color: var(--brand-blue);
}

.section-title span.text-teal {
  color: var(--brand-teal);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 400;
}

.urdu-tag-inline {
  display: inline-block;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  border: 1px solid var(--brand-blue-border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-align: center;
  min-height: 46px;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--brand-blue-dark);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #20BD5A;
}

.btn-outline {
  background-color: var(--bg-surface);
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}

.btn-outline:hover {
  background-color: var(--brand-blue-light);
}

.btn-full {
  width: 100%;
}

/* Header Navigation (Logo Banner Style) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: #FFFFFF;
  border-bottom: 2px solid var(--brand-blue-border);
  z-index: 1000;
  transition: box-shadow var(--transition-fast);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Navbar Logo SVG Image */
.brand-logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-blue);
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-blue-border);
}

@media (max-width: 991px) {
  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 1rem;
    border-bottom: 2px solid var(--brand-blue-border);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* Hero Section with Official Banner Theme */
.hero-section {
  padding: 3rem 0 3.5rem 0;
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: var(--brand-blue);
}

.hero-title .urdu-tag {
  display: block;
  font-size: 0.6em;
  font-weight: 700;
  color: var(--brand-teal);
  margin-top: 0.3rem;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-metrics {
  display: flex;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.metric-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
  line-height: 1;
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Official Logo Hero Banner Display Box */
.hero-official-logo-card {
  background: linear-gradient(135deg, #215AD8 0%, #1848B7 50%, #0F338D 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-lg);
  color: #FFFFFF;
  text-align: center;
}

.official-logo-img {
  max-width: 280px;
  height: auto;
  margin: 0 auto 1.25rem auto;
  display: block;
}

.hero-banner-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.range-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  text-align: left;
}

.mini-range-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mini-num {
  color: var(--brand-teal-bright);
  font-weight: 800;
  font-size: 0.75rem;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
}

/* Why Us Section */
.one-window-banner {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.75rem;
  box-shadow: var(--shadow-md);
}

.banner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.banner-title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.banner-title span {
  color: var(--brand-teal-bright);
}

.banner-text {
  font-size: 0.98rem;
  opacity: 0.92;
  line-height: 1.6;
}

.banner-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bullet-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-teal-bright);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .banner-grid {
    grid-template-columns: 1fr;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.feature-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.feature-badge-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Product Catalog Grid (Official Royal Blue & Teal Header Cards) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card-header {
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  background: linear-gradient(135deg, #215AD8 0%, #0F338D 100%);
  color: #FFFFFF;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.product-num-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
}

.product-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background-color: rgba(45, 212, 191, 0.2);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: var(--brand-teal-bright);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.product-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-urdu-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.65rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.5;
  flex-grow: 1;
}

.size-selector-wrapper {
  margin-bottom: 1.1rem;
}

.size-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

.sizes-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.size-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.size-pill.active, .size-pill:hover {
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* Bulk Form & Inquiry */
.bulk-card {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background-color: var(--bg-page);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: var(--bg-surface);
}

.form-products-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.checkbox-card input[type="checkbox"] {
  accent-color: var(--brand-blue);
  width: 15px;
  height: 15px;
}

@media (max-width: 768px) {
  .bulk-card {
    padding: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* Sectors Grid */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.sector-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.85rem;
  text-align: center;
}

.sector-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.35rem;
}

.sector-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Original Feedback Form & Customer Reviews Box */
.feedback-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.feedback-form-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.feedback-form-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.feedback-form-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.submitted-reviews-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.reviews-box-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
  max-height: 440px;
  overflow-y: auto;
}

.no-reviews-placeholder {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
}

.user-review-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}

.user-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.user-review-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-blue-dark);
}

.user-review-rating {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.user-review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.user-review-prod {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.4rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .feedback-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
}

.info-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.15rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-light);
  min-height: 320px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Banner Style matching Logo */
.footer {
  background: linear-gradient(135deg, #1848B7 0%, #0F338D 100%);
  color: #FFFFFF;
  padding: 3.5rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .official-footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.9;
  font-size: 0.9rem;
  margin: 0.5rem 0 1.25rem 0;
  line-height: 1.6;
}

.footer-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-teal-bright);
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  opacity: 0.85;
  font-size: 0.9rem;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating Actions */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-floating);
  z-index: 999;
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-light);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
