/* ==========================================================================
   PRASINOS TECH INNOVATIONS - TECHNOLOGICAL SOLUTIONS DESIGN SYSTEM
   Standard Minimalist Premium Architecture
   Font Family: Inter, sans-serif (Strict match with ultrasonic-algae-control)

   --------------------------------------------------------------------------
   STANDARD SOLUTION PAGE STRUCTURE (use for ALL solution pages)
   --------------------------------------------------------------------------
   1. <header class="sol-hero sol-hero-PAGENAME">   -> h1.sol-hero-title
                                                   -> p.sol-hero-subtitle
                                                   -> a.sol-btn
   2. <section class="sol-section" id="overview">   -> h2.sol-section-title
                                                   -> div.sol-overview-content > p
   3. <section class="sol-section sol-section-bg">  -> h2.sol-section-title.center
                                                   -> div.sol-benefits-list > .sol-benefit-item
   4. <section class="sol-section" id="applications"> -> div.sol-apps-carousel
                                                    -> div.sol-apps-header (h2.sol-apps-title + arrows); div.sol-apps-viewport > div.sol-apps-track > div.sol-apps-card (img + div.sol-apps-overlay > h3.sol-apps-name); div.sol-apps-progress (JS-built); include ../../includes/solution-page.js
   5. <section class="sol-section sol-section-bg">  -> h2.sol-section-title
                                                   -> p.sol-intro-lead
                                                   -> div.sol-features-grid > .sol-feature-item
   6. <section class="sol-cta-section">             -> div.sol-cta-box > h2.sol-cta-title
                                                     + p.sol-cta-question + p.sol-cta-desc + a.sol-btn

   Page-specific hero background: define ONLY in that page's inline <style>:
     .sol-hero-PAGENAME { background-image: url('...'); }
   (Client requirement: background belongs only to its own page.)
   ========================================================================== */

:root {
  --sol-font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sol-primary: #0d3a4f;
  --sol-primary-dark: #072331;
  --sol-brand-blue: rgb(57, 169, 219);
  --sol-brand-cyan: rgb(14, 165, 233);
  --sol-brand-light-blue: rgb(56, 189, 248);
  --sol-accent-green: rgb(42, 163, 107);
  --sol-title-dark: rgb(28, 31, 35);
  --sol-card-title: rgb(30, 43, 60);
  --sol-text-body: rgb(71, 85, 105);
  --sol-text-muted: rgb(95, 111, 130);
  --sol-bg-white: #ffffff;
  --sol-bg-light: #f8fafc;
  --sol-bg-tint: rgb(230, 247, 251);
  --sol-border: rgba(200, 220, 240, 0.7);
  --sol-border-subtle: #e2e8f0;
  --sol-radius-sm: 8px;
  --sol-radius-md: 12px;
  --sol-radius-lg: 16px;
  --sol-radius-full: 50px;
  --sol-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.04);
  --sol-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --sol-shadow-hover: 0 15px 35px rgba(57, 169, 219, 0.12);
}

/* Global Reset & Base Typography */
.sol-page-wrap,
.sol-page-wrap * {
  box-sizing: border-box;
  font-family: var(--sol-font-main) !important;
}

/* Icon-font exception: NEVER force Inter on icon fonts (footer social icons,
   Font Awesome, Elementor eicons) — they render as "tofu" boxes otherwise. */
.sol-page-wrap i.fab,
.sol-page-wrap i.fas,
.sol-page-wrap i.far,
.sol-page-wrap i.fal,
.sol-page-wrap i.fad,
.sol-page-wrap .fab,
.sol-page-wrap .fas,
.sol-page-wrap .far,
.sol-page-wrap .fal,
.sol-page-wrap .fad,
.sol-page-wrap .eicon {
  font-family: "Font Awesome 5 Brands", "Font Awesome 5 Free", "eicons" !important;
}

.sol-page-wrap .fas,
.sol-page-wrap .far,
.sol-page-wrap .fal,
.sol-page-wrap .fab {
  font-weight: 400;
}

.sol-page-wrap .fas {
  font-weight: 900;
}

body.sol-page-wrap {
  font-family: var(--sol-font-main) !important;
  color: var(--sol-text-body);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--sol-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Common Container */
.sol-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.sol-container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Common Section Typography */
.sol-section {
  padding: 85px 0;
  position: relative;
}

.sol-section-bg {
  background-color: var(--sol-bg-light);
}

.sol-section-title {
  font-size: 42px !important;
  font-weight: 800 !important;
  color: var(--sol-brand-blue) !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
  margin: 0 0 32px 0 !important;
  padding: 0 !important;
}

.sol-section-title.center {
  text-align: center;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.sol-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 480px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.sol-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 23, 38, 0.85) 0%, rgba(13, 58, 79, 0.78) 55%, rgba(4, 30, 48, 0.88) 100%);
  z-index: 1;
}

.sol-hero .sol-container {
  z-index: 2;
  position: relative;
  width: 100%;
}

/* Exact match: #nanocav-hero-wrapper .nanocav-hero-title (ultrasonic-algae-control)
   clamp(28px,4.5vw,62px) | weight 700 | line-height 1.15 */
.sol-hero-title {
  font-size: clamp(28px, 4.5vw, 62px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  margin: 0 auto 20px !important;
  letter-spacing: -0.5px !important;
  max-width: 1000px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Exact match: .nanocav-hero-subtitle
   clamp(18px,2.2vw,30px) | weight 400 | ls 0.5px | lh 1.4 | rgba(255,255,255,0.85) */
.sol-hero-subtitle {
  font-size: clamp(18px, 2.2vw, 30px) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 860px;
  margin: 0 auto 36px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
}

/* Exact match: .nanocav-hero-btn
   clamp(13px,1.2vw,16px) | weight 600 | ls 2px | padding 16px 36px | radius 50px */
.sol-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 36px !important;
  border-radius: var(--sol-radius-full) !important;
  font-size: clamp(13px, 1.2vw, 16px) !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, rgb(56, 189, 248), rgb(14, 165, 233)) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4) !important;
  border: none !important;
}

.sol-btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.6) !important;
  background: linear-gradient(135deg, rgb(125, 211, 252), rgb(56, 189, 248)) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   2. OVERVIEW TEXT SECTION
   ========================================================================== */
.sol-overview-content p {
  font-size: 18px !important;
  line-height: 1.75 !important;
  color: var(--sol-text-body) !important;
  margin: 0 0 24px 0 !important;
  text-align: justify;
}

.sol-overview-content p:last-child {
  margin-bottom: 0 !important;
}

/* ==========================================================================
   3. BENEFITS MINIMALIST LIST / CARDS
   ========================================================================== */
.sol-benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sol-benefit-item {
  background: var(--sol-bg-white);
  border: 1px solid var(--sol-border);
  border-radius: var(--sol-radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: var(--sol-shadow-sm);
  transition: all 0.3s ease;
}

.sol-benefit-item:hover {
  transform: translateY(-4px);
  border-color: var(--sol-brand-blue);
  box-shadow: var(--sol-shadow-hover);
}

.sol-benefit-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sol-bg-tint);
  color: var(--sol-brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.sol-benefit-text {
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: var(--sol-text-muted) !important;
  margin: 0 !important;
}

/* ==========================================================================
   4. APPLICATIONS IMAGE CAROUSEL
   Visual match of ozone-system "Application Across Industries" (.iws-*).
   Markup + JS: includes/solution-page.js (auto-inits .sol-apps-carousel).
   ========================================================================== */
.sol-apps-carousel {
  width: 100%;
  padding: 0 6%;
}

.sol-apps-header {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Exact match: .iws-title | 42px | weight 600 | rgb(57,169,219) */
.sol-apps-title {
  font-size: 42px !important;
  font-weight: 600 !important;
  color: var(--sol-brand-blue) !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sol-apps-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sol-apps-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgb(224, 224, 224);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
  text-align: center;
}

.sol-apps-arrow:hover {
  background-color: rgb(74, 74, 74);
  border-color: rgb(74, 74, 74);
}

.sol-apps-arrow:hover svg {
  stroke: rgb(255, 255, 255);
}

.sol-apps-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: rgb(85, 85, 85);
  stroke-width: 2;
  fill: none;
}

.sol-apps-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.sol-apps-arrow.disabled:hover {
  background: transparent;
  border-color: rgb(224, 224, 224);
}

.sol-apps-arrow.disabled:hover svg {
  stroke: rgb(85, 85, 85);
}

.sol-apps-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.sol-apps-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sol-apps-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  width: calc(40% - 7px);
  min-width: calc(40% - 7px);
  max-width: calc(40% - 7px);
  height: 340px;
  flex-grow: 0;
}

.sol-apps-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}

.sol-apps-card:hover .sol-apps-img {
  transform: scale(1.05);
}

.sol-apps-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Exact match: .iws-card-title | 22px | weight 600 | white */
.sol-apps-name {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: rgb(255, 255, 255) !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sol-apps-progress {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.sol-apps-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(209, 209, 209);
  border: none;
  padding: 0;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s;
}

.sol-apps-dot.active {
  background: rgb(74, 74, 74);
  width: 24px;
  border-radius: 4px;
}

.sol-apps-dot:hover {
  background: rgb(136, 136, 136);
}

/* ==========================================================================
   5. WHY CHOOSE SECTION
   ========================================================================== */
/* Exact match: .eng-perf-subtitle | 20px | lh 1.6 | rgb(95,111,130) */
.sol-intro-lead {
  font-size: 20px !important;
  line-height: 1.6 !important;
  color: var(--sol-text-muted) !important;
  margin: 0 0 36px 0 !important;
  text-align: justify;
}

.sol-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sol-feature-item {
  background: var(--sol-bg-white);
  border: 1px solid var(--sol-border);
  border-radius: var(--sol-radius-md);
  padding: 24px 26px;
  box-shadow: var(--sol-shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--sol-brand-blue);
}

.sol-feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sol-shadow-hover);
  border-left-color: var(--sol-accent-green);
}

.sol-feature-bullet {
  font-size: 18px;
  color: var(--sol-brand-blue);
  line-height: 1;
  margin-top: 3px;
  flex-shrink: 0;
}

.sol-feature-text {
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: var(--sol-text-muted) !important;
  margin: 0 !important;
}

/* ==========================================================================
   6. CALL TO ACTION BOX (Minimalist, High-End Ambient)
   ========================================================================== */
.sol-cta-section {
  padding: 80px 0 100px;
}

.sol-cta-box {
  background: linear-gradient(135deg, #092535 0%, #0d3a4f 60%, #175375 100%);
  color: #ffffff;
  border-radius: var(--sol-radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(9, 37, 53, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.sol-cta-box::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  pointer-events: none;
}

.sol-cta-title {
  font-size: clamp(28px, 3.8vw, 42px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.2 !important;
}

/* Match reference heading style (.frs-heading: 22px | weight 600 | line-height 1.3) */
.sol-cta-question {
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 600 !important;
  color: #7dd3fc !important;
  margin: 0 auto 20px !important;
  line-height: 1.3 !important;
}

.sol-cta-desc {
  font-size: clamp(16px, 1.8vw, 18px) !important;
  line-height: 1.65 !important;
  color: #e0f2fe !important;
  max-width: 820px;
  margin: 0 auto 36px !important;
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .sol-benefits-list {
    grid-template-columns: 1fr;
  }
  .sol-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sol-hero {
    padding: 60px 16px;
    min-height: 380px;
  }
  .sol-section-title {
    font-size: 28px !important;
    margin-bottom: 24px !important;
  }
  .sol-section {
    padding: 60px 0;
  }
  .sol-overview-content p,
  .sol-intro-lead {
    font-size: 16px !important;
  }
  .sol-benefit-text,
  .sol-feature-text {
    font-size: 15px !important;
  }
  .sol-apps-title {
    font-size: 28px !important;
  }
  .sol-apps-card {
    width: calc(80% - 8px) !important;
    min-width: calc(80% - 8px) !important;
    max-width: calc(80% - 8px) !important;
    height: 300px !important;
  }
  .sol-apps-name {
    font-size: 20px !important;
  }
  .sol-apps-arrows {
    display: none;
  }
  .sol-cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .sol-section-title {
    font-size: 24px !important;
  }
  .sol-btn {
    width: 100%;
  }
}
