/* ===============================
   SOLUTIONS HERO
================================ */

.sol-hero-section {
  background: #001F3F; 
  background-image: url("../img/solutions/solution_bg.png");
  padding: clamp(4rem, 5vw, 7rem) 1.2rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sol-hero-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.sol-hero-tag {
  display: inline-block;
  padding: 0.4rem 1.4rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  font-size: 0.75rem;   
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  color: #ffff;
}

.sol-hero-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 600;
  color: #ffff;
}

.sol-hero-title span {
  color: #2f80ed;
}

.sol-hero-desc {
  margin: 1.2rem auto 2rem;
  max-width: 640px;
  font-size: 0.95rem;
  opacity: 0.85;
  color: #ffff;
}

.sol-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sol-btn-primary {
  background: #ffffff;
  color: #1072BB;
  padding: 0.8rem 1.3rem;
  border-radius: 8px;
  font-size: 0.80rem;
  font-weight: 500;
  text-decoration: none;
  font-family: var(--body-font);
  transition: all 0.3s ease;
}

.sol-btn-outline {
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 0.8rem 1.3rem;
  border-radius: 8px;
  font-size: 0.80rem;
  text-decoration: none;
  font-family: var(--body-font);
  font-weight: 500;
  transition: all 0.3s ease;
}

.sol-btn-primary:hover,
.sol-btn-outline:hover {
  transform: translateY(-2px);
}

/* ===============================
   SOLUTION METRICS (PREMIUM REVAMP)
================================ */

.sol-metrics-section {
  position: relative;
  background: #061e38;
  padding: 3.5rem 1.5rem 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sol-metrics-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(47, 128, 237, 0.2), transparent 70%);
  pointer-events: none;
}

.sol-metrics-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .sol-metrics-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .sol-metrics-container {
    grid-template-columns: 1fr;
  }
}

.sol-metric-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 185px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.sol-metric-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sol-metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.sol-metric-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(147, 197, 253, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.35s ease;
}

.sol-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.35s ease;
}

.sol-metric-value {
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #ffffff 30%, #bfdbfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.sol-metric-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  transition: color 0.35s ease;
}

/* HOVER & ACTIVE STATES - Static Card Design */
.sol-metric-card:hover,
.sol-metric-card.is-active {
  transform: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.sol-metric-card:hover::after,
.sol-metric-card.is-active::after {
  opacity: 0;
}

.sol-metric-card:hover .sol-metric-icon,
.sol-metric-card.is-active .sol-metric-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  border-color: rgba(255, 255, 255, 0.15);
  transform: none;
  box-shadow: none;
}

.sol-metric-card:hover .sol-metric-badge,
.sol-metric-card.is-active .sol-metric-badge {
  background: rgba(37, 99, 235, 0.22);
  color: #93c5fd;
}

.sol-hero-wrapper,
.sol-metrics-container {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.sol-hero-wrapper.visible,
.sol-metrics-container.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Tablet View */
@media (min-width: 600px) and (max-width: 1024px) {

  .sol-metrics-container{
    grid-template-columns: repeat(2,1fr);
  }

  .sol-challenge-card{
    height: 80%;
    margin-bottom: -62px;
  }

}

/* Section 2 */

/* ===============================
   WATER CHALLENGES
================================ */

.sol-challenges-section {
  padding: clamp(3rem, 2vw, 6rem) 1.2rem;
  background: #ffffff;
}

.sol-challenges-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.sol-challenges-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sol-challenges-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #ff6b6b;
  color: #ff6b6b;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.sol-challenges-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #0a2540;
}

.sol-challenges-header h2 span {
  color: #ff6b6b;
}


/* GRID */

.sol-challenges-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}


/* CARD */

.sol-challenge-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  min-height: 350px;
  transition: transform 0.4s ease;
}

.sol-challenge-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* CONTENT */

.sol-challenge-content {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  color: #ffffff;
  z-index: 2;
}
/* Default Bluish Overlay */
.sol-challenge-overlay {
  position: absolute;
  inset: 0;
  background-image:  url(../img/solutions/overlay.png);;
  background-position: cover;
  transition: opacity 0.4s ease;
}

.sol-challenge-content h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #ffff;
}

.sol-challenge-content p {
  font-size: 0.8rem;
  opacity: 0.85;
  color: #ffff;
}


/* HOVER EFFECT */

.sol-challenge-card:hover .sol-challenge-overlay {
  opacity: 0;
}

.sol-challenge-card:hover {
  transform: translateY(-6px);
}


/* MOBILE SAFE */

@media (max-width: 576px) {
  .sol-challenge-content {
    bottom: 1rem;
  }

  .sol-challenge-content h3 {
    font-size: 0.95rem;
  }

  .sol-challenge-content p {
    font-size: 0.75rem;
  }
}

/* Hover Effects */
.sol-challenge-card:hover .overlay {
  opacity: 0;
}

.sol-challenge-card:hover img {
  transform: scale(1.05);
}


/* Tablet */
@media (max-width: 992px) {
  .sol-challenges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .sol-challenges-grid {
    grid-template-columns: 1fr;
  }

  .sol-challenge-card {
    border-radius: 12px;
    height: 280px;
    min-height: 260px;
  }

  .sol-challenge-content {
    padding-right: 0.5rem;
  }
}

/* Section 3 */

/* ===============================
   SOLUTION EXPLAIN SECTION
================================ */

.sol-explain-section {
  padding: clamp(3rem, 6vw, 6rem) 1.2rem;
  background: #ffffff;
}

.sol-explain-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.sol-explain-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.sol-explain-tag {
  display: inline-block;
  padding: 0.4rem 1.4rem;
  border-radius: 999px;
  background: #eef6ff;
  color: #2f80ed;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.sol-explain-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #0a2540;
}

.sol-explain-header h2 span {
  color: #2f80ed;
}

.sol-explain-header p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #5f6f82;
}


/* BLOCK LAYOUT */
.sol-explain-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  background: #f7f9fc;
  min-height: 500px;
}

/* Default layout */
/* Content left, image right */
.sol-explain-content {
  order: 1;
}

.sol-explain-visual {
  order: 2;
}

/* Reverse layout */
.sol-explain-block.reverse .sol-explain-content {
  order: 2;
}

.sol-explain-block.reverse .sol-explain-visual {
  order: 1;
}

.sol-explain-block.reverse {
  grid-template-columns: 1fr 1.1fr;
}


.sol-explain-block .logo {
  position: absolute;
  top: 30px;
  left: 30px;
}

.sol-explain-block.reverse .logo {
  left: auto;
  right: 535px;
}

@media (max-width: 992px) {

  .sol-explain-block .logo,
  .sol-explain-block.reverse .logo {
    display: none;
  }

} 

/* CONTENT */
.sol-explain-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #0a2540;
}

.sol-explain-content p {
  font-size: 0.85rem;
  color: #5f6f82;
  margin-bottom: 1.2rem;
}

.sol-explain-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2rem;
}

.sol-explain-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  color: #0a2540;
}

.sol-explain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
}

.sol-explain-highlight {
  font-size: 0.90rem;
  color: #2f80ed;
  font-weight: 500;
}


/* VISUAL */
.sol-explain-visual img {
  width: 100%;
  height: auto;
  display: block;
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .sol-explain-block,
  .sol-explain-block.reverse {
    grid-template-columns: 1fr;
  }
}

.sol-explain-block {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.sol-explain-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.sol-explain-block {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sol-explain-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

@media (max-width: 992px) {
  .sol-explain-block {
    grid-template-columns: 1fr;
  }

  .sol-explain-content,
  .sol-explain-visual {
    order: unset;
  }
}

/* Section 4 */

/* ================================
   AI INTELLIGENCE SECTION
================================ */

.ai-intel-section {
  padding: clamp(4rem, 8vw, 6rem) 1.2rem;
  /* background: linear-gradient(
    135deg,
    #062b5b 0%,
    #0a3b78 50%,
    #041f44 100%
  ); */
  color: #ffffff;
  position: relative;
  background: url(../img/solutions/AI-bg.png);
  overflow: hidden;
}

/* Optional wave background effect */
.ai-intel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Wrapper */
.ai-intel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* HEADER */
.ai-intel-header {
  max-width: 650px;
  margin-bottom: 3rem;
}

.ai-intel-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.ai-intel-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
  color: #ffff;
}

.ai-intel-header p {
  font-size: 0.9rem;
  opacity: 0.85;
  color: #ffff;
}

/* GRID */
.ai-intel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* CARD */
.ai-intel-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 5rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
  min-height: 330px;
  width: 100%;
  max-width: 260px;
}

/* ICON */
.ai-intel-icon {
  margin-bottom: 3.2rem;
}

.ai-intel-icon img {
  width: 65px;
  height: auto;
  display: block;
}

/* TITLE */
.ai-intel-card h4 {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: #ffff;
}

.ai-intel-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(0, 150, 255, 0.15);
  border-color: rgba(0, 180, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 120, 255, 0.3);
}

.ai-intel-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  opacity:0;
  background:radial-gradient(circle at top,rgba(0,150,255,.4),transparent 70%);
  transition:.4s;
}

.ai-intel-card:hover::before{
  opacity:1;
}


/* ===============================
   TABLET
================================ */
@media (max-width: 1024px) {

  .ai-intel-grid{
    grid-template-columns: repeat(2,1fr);
    gap:1.5rem;
    justify-items:center;
  }

  .ai-intel-card{
    max-width:100%;
    width:100%;
  }

}


/* ===============================
   MOBILE
================================ */
@media (max-width: 600px) {

  .ai-intel-header{
    text-align:center;
    margin:0 auto 2.5rem;
  }

  .ai-intel-grid{
    grid-template-columns:1fr;
    gap:1.5rem;
    justify-items:center;
  }

  .ai-intel-card{
    width:100%;
    max-width:340px;
    padding:2.5rem 1.5rem;
    min-height:auto;
    text-align:center;
  }

  .ai-intel-icon{
    display:flex;
    justify-content:center;
    margin-bottom:1.5rem;
  }

}

/* Section 5 */

/* ==================================
   USECASE FINAL SECTION
================================== */

.uc-final-section {
  padding: clamp(4rem, 2vw, 6rem) 1.2rem;
  background: #ffffff;
  overflow: hidden;
}

.uc-final-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* HEADER */
.uc-final-tag {
  display: inline-block;
  padding: 0.4rem 2rem;
  border-radius: 999px;
  border: 1px solid #2f80ed;
  color: #2f80ed;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.uc-final-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 3rem;
  color: #0a2540;
}

/* TOP CARDS */
.uc-final-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 8rem);
}

/* CARD */
.uc-final-card {
  background: #f4f8fc;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 18px;
  text-align: left;
  transition: all 0.35s ease;
  min-height: 320px;
  position: relative;
}

/* Hover animation */
.uc-final-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.uc-final-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0a2540;
}

.uc-final-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2rem;
}

.uc-final-card li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.uc-final-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
}

.uc-final-card img {
  width: 30%;
  height: auto;
  max-height: 40%;
  position: absolute;
  right: 10px;
  bottom: 50px;
}

/* CENTER VISUAL */
.uc-final-visual {
  max-width: 900px;
  margin: -90px auto;
  position: relative;
}

.uc-final-visual img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {

  .uc-final-top {
    grid-template-columns: 1fr;
  }

  .uc-final-card {
    text-align: center;
  }

  .uc-final-visual{
    margin-top: 10%;
  }

}

/* Section 6 */
/* =============
   KEY BENEFITS
================ */

.kb-section {
  position: relative;
  padding: clamp(6rem, 2vw, 8rem) 1.2rem 4rem;
  background: #f7f9fc;
  overflow: hidden;
}

/* Illustration Layer */
.kb-illustration {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  pointer-events: none;
  z-index: 0;
}

.kb-illustration img {
  width: 100%;
  height: auto;
}

/* Content Wrapper */
.kb-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Header */
.kb-tag {
  display: inline-block;
  padding: 0.45rem 1.5rem;
  border-radius: 999px;
  border: 1px solid #2f80ed;
  color: #2f80ed;
  font-size: 0.75rem;
  margin-bottom: 1.2rem;
  background: #ffffff;
}

.kb-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 3.5rem;
  color: #0a2540;
}

.kb-header h2 span {
  color: #2f80ed;
}

/* Grid */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.8rem, 3vw, 2.2rem);
}

/* Cards */
.kb-card {
  background: #ffffff;
  padding: clamp(1.8rem, 3vw, 2.2rem);
  border-radius: 22px;
  text-align: left;
  transition: all 0.35s ease;
  cursor: pointer;
  border: 1px solid #edf2f7;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.kb-card img {
  width: 34px;
  margin-bottom: 1rem;
}

.kb-card h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #0a2540;
  transition: color 0.3s ease;
}

.kb-card p {
  font-size: 0.85rem;
  color: #5f6f82;
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* Active */
.kb-card.active {
  background: #2f80ed;
  border-color: #2f80ed;
  box-shadow: 0 30px 60px rgba(47,128,237,0.28);
  transform: translateY(-10px);
}

.kb-card.active h4,
.kb-card.active p{
  color: #ffffff;
}

.kb-card.active .logo{
  filter: brightness(0) invert(1);
}

.kb-card:hover:not(.active) {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Tablet */
@media (max-width: 992px) {
  .kb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kb-illustration img {
    opacity: 0.06;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .kb-grid {
    grid-template-columns: 1fr;
  }

  .kb-card {
    text-align: center;
  }

  .kb-illustration {
    width: 160%;
  }

  .kb-illustration img {
    opacity: 1;
  }
}

/* Section 7 */

/* SECTION */
.cp2-section {
  padding: clamp(4rem, 8vw, 6rem) 1rem;
  background: #f6f8fb;
}

.cp2-wrapper {
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.cp2-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.cp2-badge {
  display: inline-block;
  padding: 6px 25px;
  border-radius: 999px;
  border: 1px solid #2f80ed;
  color: #2f80ed;
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
}

.cp2-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.cp2-header p {
  max-width: 600px;
  color: #5f6f82;
  font-size: 0.9rem;
}

.cp2-view-btn {
  background: #1072BB;
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
  font-family: var(--body-font);
  cursor: pointer;
}

/* Divider */
.cp2-divider {
  height: 1px;
  background: #dfe7f2;
  margin: 2.5rem 0;
}

/* Layout */
.cp2-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
}

/* TABS */
.cp2-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cp2-tab {
  position: relative;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid #dfe7f2;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cp2-tab.active {
  background: #2f80ed;
  color: #fff;
  border-color: #2f80ed;
}

/* Arrow notch */
.cp2-tab.active .cp2-arrow {
  position: absolute;
  right: -12px;
  top: 16%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 12px solid #063D67;
}

/* PREVIEW */
.cp2-preview {
  position: relative;
}

.cp2-panel {
  display: none;
  border-radius: 16px;
  overflow: hidden;
  background: url("../img/solutions/project_img.png") center/cover no-repeat;
  min-height: 420px;
  position: relative;
}

.cp2-panel.active {
  display: block;
}

/* Gradient overlay */
.cp2-overlay {
  position: absolute;
  inset: 0;
  padding: 2.5rem;
  background: linear-gradient(
    90deg,
    rgba(6, 38, 70, 0.95) 0%,
    rgba(6, 38, 70, 0.85) 20%,
    rgba(6, 38, 70, 0.4) 70%,
    rgba(6, 38, 70, 0.1) 100%
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp2-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #ffff;
  font-family: var(--body-font);
  font-weight: 400;
}

.cp2-overlay p{
  color: #ffff;
  font-family: var(--body-font);
  font-weight: 200;
  max-width: 65%;
  font-size: 15px;
}

.cp2-overlay ul {
  margin: 1rem 0;
  padding-left: 1rem;
}

.cp2-panel ul img{
  margin-right: 10px;
}

.cp2-overlay li{
  font-family: var(--body-font);
  font-weight: 200;
  font-size: 14px;
}

.cp2-read-btn {
  align-self: flex-start;
  margin-top: 20px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 15px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 992px) {

  .cp2-content{
    grid-template-columns:1fr;
    gap:1.5rem;
  }

  .cp2-tabs{
    flex-direction:column;
    /* overflow-x:auto; */
    gap:.6rem;
    padding-bottom:.5rem;
  }

  .cp2-tab{
    flex:0 0 auto;
    white-space:nowrap;
    font-size:13px;
  }

  .cp2-tab.active .cp2-arrow{
    display:none;
  }

  .cp2-panel{
    min-height:auto;
  }

  .cp2-overlay{
    position:relative;
    inset:auto;
    padding:1.6rem;
    justify-content:flex-start;
    gap:.8rem;
  }

  .cp2-overlay h3{
    font-size:16px;
    line-height:1.4;
  }

  .cp2-overlay p{
    font-size:14px;
    line-height:1.6;
    max-width:100%;
  }

  .cp2-overlay ul{
    padding:0;
    margin:.6rem 0;
  }

  .cp2-overlay li{
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-size:14px;
    line-height:1.5;
  }

  .cp2-overlay li img{
    width:14px;
    margin-top:4px;
  }

  .cp2-read-btn{
    margin-top:10px;
    font-size:13px;
    padding:8px 14px;
  }

}

.cp2-tabs{
scrollbar-width:none;
}

.cp2-tabs::-webkit-scrollbar{
display:none;
}


  /* Section 8 */

  
/* CTA Section */
 .cta-water-section {
  position: relative;
  background: rgba(16, 113, 187, 0.925);
  padding: clamp(3.5rem, 6vw, 5.1rem) 1.5rem;
  overflow: hidden;
}

.cta-water-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-decor {
  position: absolute;
  height: auto;
  max-width: none;
  opacity: 0.25;
  user-select: none;
}

.cta-tap {
  width: clamp(220px, 40vw, 520px);
  left: -13.5%;
  bottom: -12%;
  filter: brightness(0) invert(1);
}

.cta-curves {
  width: clamp(320px, 67vw, 960px);
  right: -6%;
  bottom: -18%;
  opacity: 0.55;
}

.cta-water-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.cta-water-container h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 2.2rem;
  color: #fff;
}

.cta-water-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 0.8rem 1.7rem;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.cta-btn.primary {
  background: #fff;
  color: #1373b8;
}

.cta-btn.secondary {
  border: 1px solid #fff;
  color: #fff;
}

@media (max-width: 640px) {
  .cta-tap {
    width: 260px;
    left: -28%;
    bottom: -18%;
    opacity: 0.18;
  }

  .cta-curves {
    width: 380px;
    right: -30%;
    bottom: -20%;
    opacity: 0.2;
  }
}
 

/* Section 9 CSS */

/* Contact Section */
 .contact-us-section {
  padding: clamp(3rem, 6vw, 6rem) 1.5rem;
  background: #fff;
}

.contact-us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact-form-card {
  background: linear-gradient(
    180deg,
    #f2f9ff 0%,
    #f2f9ff67 40%,
    #f2f9ff4d 70%,
    #ffffff 100%
  );
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.85rem;
  color: #003366;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #d7e7f7;
  font-size: 0.9rem;
  outline: none;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit-btn {
  margin-top: 0.8rem;
  background: #1373b8;
  color: #fff;
  border: none;
  padding: 0.35rem;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
}

.form-submit-btn:hover {
  background: #0f5f9c;
}

.contact-info-content {
  max-width: 600px;
}

.contact-badge {
  display: inline-block;
  padding: 0.35rem 2.2rem;
  border: 1px solid #1373b8;
  border-radius: 999px;
  font-size: 0.95rem;
  color: #1373b8;
  margin-bottom: 1rem;
}

.contact-info-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #001f3f;
  margin-bottom: 0.8rem;
}

.contact-info-content h2 span {
  color: #1373b8;
}

.contact-info-content p {
  color: rgba(0, 31, 63, 1);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 2rem;
}


.contact-info-row {
  display: flex;
  gap: clamp(3rem, 5vw, 8rem);
  margin-top: 10rem;
  flex-wrap: wrap;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #1373b8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.contact-icon img {
  width: 100%;
  height: 100%;
}

.contact-info-item p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #0f2f4f;
}

@media (max-width: 900px) {
  .contact-us-container {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    min-width: 320px;
    max-width: 480px;
    margin: 0 auto;
    align-items: center;
  }

  .contact-info-content {
    text-align: center;
    margin: 0 auto;
  }

  .contact-details {
    justify-content: center;
  }

  .contact-info-row{
    display: flex;
    justify-content: center;
  }

  .contact-icon {
    width: 40px !important;
    height: 40px !important;
    align-items: center;
  }
  
} 


/* Footer CSS*/

.home6-footer {
  background: #EFF1F9;
  padding: clamp(1rem, 1vw, 5rem) 0 1rem;
  color: #5f6f82;
}

.home6-container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 2rem; */
}

/* ================= SUBSCRIBE ================= */

.home6-subscribe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.home6-sub-left h3 {
  font-size: 2.3rem;
  color: #0a2540;
  margin-bottom: 0.5rem;
}

.home6-sub-left p {
  font-size: 0.95rem;
}

.home6-sub-form {
  display: flex;
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.home6-sub-form input {
  border: none;
  padding: 0.8rem 1rem;
  min-width: 380px;
  outline: none;
}

.home6-sub-form button {
  background: #1072BB;
  color: #fff;
  border: none;
  padding: 0 2.5rem;
  cursor: pointer;
  min-width: 250px;
  font-size: 0.85rem;
  transition: 0.3s;
}

.home6-sub-form button:hover {
  background: #166db1;
}

/* ================= GRID ================= */

.home6-grid {
  display: grid;
  grid-template-columns: 2.3fr 1.6fr 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
}

.home6-col h4 {
  margin-bottom: 1.5rem;
  color: #0a2540;
  font-size: 25px;
  font-weight: 500;
}

.home6-col ul {
  list-style: none;
  padding: 0;
}

.home6-col li {
  margin-bottom: 1.2rem;
}

.home6-col a {
  text-decoration: none;
  color: #5f6f82;
  transition: 0.3s;
}

.home6-col a:hover {
  color: #2f80ed;
}

.home6-logo {
  min-width: 350px;
  margin-bottom: 1rem;
}

.home6-social {
  margin-top: 1rem;
}

.home6-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  margin-right: 0.5rem;
  color: #2f80ed;
  transition: 0.3s;
}

.home6-social a:hover {
  background: #2f80ed;
  color: #fff;
}

/* Divider */

.home6-divider {
  border: none;
  height: 4px;
  background: #ffffff67;
  margin: 2rem 0;
}

/* Bottom */

.home6-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #8a97a8;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

  .home6-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 768px) {

  .home6-subscribe {
    flex-direction: column;
    align-items: flex-start;
  }

  .home6-sub-form {
    width: 100%;
    flex-direction: column;
    border-radius: 16px;
    padding: 8px;
    gap: 8px;
  }

  .home6-sub-form input {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0.8rem 1rem;
  }

  .home6-sub-form button {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 999px;
    padding: 0.8rem 1rem;
  }

  .home6-logo {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .home6-grid {
    grid-template-columns: 1fr;
  }

}

/* Solution Card Brochure Button */
.as-sol-footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sol-brochure-btn {
  width: 100%;
  padding: 9px 15px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.sol-brochure-btn:hover {
  background: #f0f7ff;
  border-color: #1072bb;
}

.sol-brochure-btn .brochure-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sol-brochure-btn .pdf-icon {
  color: #ef4444;
  font-size: 1rem;
}

.sol-brochure-btn .brochure-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}

.sol-brochure-btn .pdf-tag {
  font-size: 0.725rem;
  color: #64748b;
  background: #e2e8f0;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.sol-brochure-btn .download-icon {
  color: #1072bb;
  font-size: 0.88rem;
  transition: transform 0.2s ease;
}

.sol-brochure-btn:hover .download-icon {
  transform: translateY(2px);
}

/* Disabled State */
.sol-brochure-btn.disabled {
  background: #f1f5f9;
  border-color: #e2e8f0;
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.sol-brochure-btn.disabled .pdf-icon,
.sol-brochure-btn.disabled .download-icon,
.sol-brochure-btn.disabled .brochure-label {
  color: #94a3b8;
}

.sol-brochure-btn.disabled .pdf-tag {
  background: #cbd5e1;
  color: #64748b;
}
