/* Products Page Custom Styles */

/**
* Template Name: Arsha
* Template URL: https://bootstrapmade.com/arsha-free-bootstrap-html-template-corporate/
* Updated: Feb 22 2025 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Helvetica", sans-serif;
  --heading-font: "Roboto", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #F8FAFC;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37517e;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #47b2e4;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;
  /* The default color of the main navmenu links */
  --nav-hover-color: #47b2e4;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #47b2e4;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f5f6f8;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #37517e;
  --default-color: #ffffff;
  --heading-color: black;
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.products-hero {
  background: #f5f8ff;
  padding: 90px 0 70px 0;
  /* margin-top: 40px; */
}
.products-hero .display-5 {
  font-weight: 800;
  color: #222;
  letter-spacing: -1px;
}
.products-hero p {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.products-hero .btn-primary {
  background-color: #1976d2;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(81,154,255,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.products-hero .btn-primary:hover, .products-hero .btn-primary:focus {
  background-color: #2667FF;
  color: #fff;
  box-shadow: 0 4px 24px rgba(81,154,255,0.15);
}
.products-hero img {
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(81,154,255,0.10);
}

.products-logos {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid #eaeaea;
}
.products-logos img {
  filter: grayscale(0.2) brightness(0.95);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s, transform 0.2s;
  margin: 0 12px;
}
.products-logos img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.07);
}

.products-section {
  background: #f8f9fb;
  padding: 60px 0 40px 0;
}
.products-section h2 {
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
}
.products-section p {
  color: #666;
  font-size: 1.08rem;
  margin-bottom: 36px;
}

.products-card-grid img {
  height: 36px;
  width: 80px;
  max-width: 80px;
  min-width: 80px;
  object-fit: contain;
  margin-bottom: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.25s cubic-bezier(.77,0,.18,1), box-shadow 0.25s, opacity 0.25s;
  opacity: 0.92;
}
.products-card-grid .bg-white:hover img {
  transform: scale(1.12);
  box-shadow: 0 4px 18px rgba(81,154,255,0.13);
  opacity: 1;
}
.products-card-grid .bg-white {
  padding: 24px 8px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(81,154,255,0.07);
  border: 1px solid #eaeaea;
  transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
}
.products-card-grid .bg-white:hover {
  box-shadow: 0 6px 32px rgba(81,154,255,0.13);
  border: 1.5px solid #519aff;
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}

.products-card-sub {
  color: #888;
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 2px;
  display: block;
}
.products-card-grid .fw-semibold {
  font-weight: 600;
  color: #222;
  font-size: 1.05rem;
  margin-top: 6px;
}

.products-section .img-fluid {
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(81,154,255,0.08);
}

.products-cta {
  background: linear-gradient(135deg, #519aff 60%, #2667FF 100%);
  color: #fff;
  padding: 60px 0 50px 0;
  text-align: center;
}
.products-cta img {
  max-width: 120px;
  margin-bottom: 18px;
}
.products-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
}
.products-cta p {
  font-size: 1.15rem;
  color: #eaf2ff;
  margin-bottom: 32px;
}
.products-cta .btn-light {
  font-weight: 600;
  border-radius: 8px;
  color: #2667FF;
  background: #fff;
  box-shadow: 0 2px 12px rgba(81,154,255,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.products-cta .btn-light:hover {
  background: #eaf2ff;
  color: #2667FF;
  box-shadow: 0 4px 24px rgba(81,154,255,0.18);
}

.btn-primary {
  background-color: #1976d2;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(81,154,255,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #2667FF;
  color: #fff;
  box-shadow: 0 4px 24px rgba(81,154,255,0.15);
}

.products-hero .container {
  min-height: 350px;
  display: flex;
  align-items: center;
}
.products-hero .row {
  width: 100%;
}
.products-hero .col-lg-6.text-center {
  text-align: right !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.products-hero img {
  margin-left: auto;
  margin-right: 0;
}
.products-hero-img {
  background: none !important;
  box-shadow: none !important;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  height: auto;
}
@media (max-width: 991px) {
  .products-hero .container {
    min-height: 220px;
    display: block;
  }
  .products-hero .col-lg-6.text-center {
    text-align: center !important;
    justify-content: center;
    margin-top: 24px;
  }
  .products-hero img {
    margin: 0 auto;
  }
}

@media (max-width: 991px) {
  .products-hero, .products-section {
    padding: 40px 0 24px 0;
  }
  .products-cta {
    padding: 40px 0 32px 0;
  }
}
@media (max-width: 767px) {
  .products-hero, .products-section {
    padding: 28px 0 12px 0;
  }
  .products-cta {
    padding: 28px 0 18px 0;
  }
  .products-cta h2 {
    font-size: 2rem;
  }
  .products-hero {
    /* margin-top: 20px; */
    padding: 50px 0 30px 0;
  }
} 


/* Client Logos Section */
.client-logos {
  padding: 60px 0;
}

.client-logo {
  padding: 20px;
  text-align: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: #666;
}

.products-payout-section {
  background: #f8f9fb;
  padding: 60px 0 40px 0;
}
.products-payout-card {
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(81,154,255,0.07);
  border: 1px solid #eaeaea;
  min-height: 110px;
  padding: 14px 4px;
  transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
  background: #fff;
}
.products-payout-card:hover {
  box-shadow: 0 6px 32px rgba(81,154,255,0.13);
  border: 1.5px solid #519aff;
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}
.products-payout-card i {
  color: #1976d2 !important;
  font-size: 1.5rem !important;
  margin-bottom: 8px;
}
.products-payout-card .fw-semibold {
  font-size: 0.98rem;
  font-weight: 600;
  color: #222;
}
.products-payout-img {
  border-radius: 0 !important;
  max-width: 350px;
  width: 100%;
  height: auto;
  box-shadow: 0 2px 16px rgba(81,154,255,0.08);
}
@media (max-width: 991px) {
  .products-payout-section {
    padding: 40px 0 24px 0;
  }
  .products-payout-img {
    max-width: 220px;
    margin-top: 32px;
  }
}
@media (max-width: 767px) {
  .products-payout-section {
    padding: 28px 0 12px 0;
  }
  .products-payout-img {
    max-width: 100%;
    margin-top: 24px;
  }
  .products-payout-card {
    min-height: 80px;
    padding: 10px 2px;
  }
  .products-payout-card i {
    font-size: 1.2rem !important;
    margin-bottom: 6px;
  }
  .products-payout-card .fw-semibold {
    font-size: 0.92rem;
  }
}

.btn-get-started {
  color: var(--contrast-color);
  background: #519aff;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 10px;
  transition: 0.5s;
}

.btn-get-started:hover {
  color: var(--contrast-color);
  background: #FFBF00;
}

.btn-learn-more {
  color: var(--contrast-color);
  background: #FFBF00;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 10px;
  transition: 0.5s;
}

.btn-learn-more:hover {
  color: var(--contrast-color);
  background: #519aff;
}