/*
 Theme Name:   Salmon Child Theme
 Theme URI:    http://themesvila.com/themes-wp/ariana
 Description:  salmon Child Theme
 Author:       Masum Billah
 Author URI:   http://getmasum.net
 Template:     salmon
 Version:      1.3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:  two-columns, right-sidebar
 Text Domain:  salmon-child
*/

@import '../salmon/style.css';

body{
	
	overflow-x: hidden;
}
/* ---------- Carousel tweak ---------- */
.testimonial_slider .owl-item { width: auto !important; }
@media (max-width: 640px) {
  .testimonial_slider .owl-item { width: calc(100% - 40px) !important; margin: 0 20px; }
}

/* ===== Single Testimonial: mobile-only fixes ===== */
@media (max-width: 576px){

  /* Make each slide/card use the full width */

  .testimonial_slider .owl-wrapper,
  .testimonial_slider .owl-wrapper-outer{
    width: 100% !important;
  }

  /* Lay out avatar + text nicely */
  .single_testimonial .media{
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* Avatar size + cropping */
  .single_testimonial .media-left{
    flex: 0 0 56px;
  }
  .single_testimonial .media-left img{
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }

  /* Text block */
  .single_testimonial .media-body{
    text-align: left;          /* keep readable */
  }
  .single_testimonial .media-body p{
    margin: 0 0 6px;
    line-height: 1.45;
    font-size: 14px;
  }
  .single_testimonial .media-heading{
    margin: 0 0 2px;
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;       /* prevent name from truncating */
  }

  /* Stars a touch smaller */
  .single_testimonial .fa{
    font-size: 13px;
  }
}


/* ---------- Leadership ---------- */
/* ---------- Leadership (revised) ---------- */
.leadership-section {
  padding: 48px 0 96px;
  background-color: #fff;
}

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2{
  font-family:'Montserrat',sans-serif; font-size:36px; font-weight:400;
  text-transform:uppercase; color:#000; letter-spacing:1px;
}

/* Grid: fixed-ish image column + flexible text column */
.leadership-container{
  display:grid;
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
  gap: 40px;
  max-width:1100px; margin:0 auto; align-items:center;
}

/* Image: full column width, safe cropping */
.leadership-image img{
  width:100%;
  height: clamp(260px, 40vw, 620px);
  object-fit: cover;
  border-radius:8px; display:block;
}

/* Text: limit line-length for readability on desktop */
.leadership-content{
  min-width: 260px;
  max-width: 60ch;          /* ~optimal reading width */
  justify-self: start;
}
.leadership-content h1{
  font-family:'Montserrat',sans-serif; font-size:26px; text-transform:uppercase;
  font-weight:700; margin:0 0 16px; color:#000;
}
.leadership-content p{
  font-family:'Source Sans Pro',sans-serif; font-size:16px; color:#333; line-height:1.65;
}

/* ===== Breakpoints ===== */
@media (max-width: 992px){
  .section-header h2{ font-size:32px; }

  /* Stack, keep comfortable spacing and left-align text */
  .leadership-container{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .leadership-image img{
    width:100%;
    height: clamp(220px, 60vw, 420px);  /* shorter on tablets */
  }

  .leadership-content{
    max-width: 65ch;
    margin: 0 auto;          /* center block within container width */
  }
  .leadership-content h1{ font-size:24px; }
}

@media (max-width: 576px){
  .leadership-section{ padding: 36px 16px 72px; }   /* add side padding on small phones */
  .section-header{ margin-bottom:36px; }
  .section-header h2{ font-size:28px; }

  .leadership-image img{
    height: auto;             /* avoid tall crops on small phones */
    aspect-ratio: 3 / 4;      /* stable portrait proportion */
    max-height: 70vh;         /* prevent overflow on very short screens */
  }

  .leadership-content{
    max-width: 58ch;          /* slightly tighter on mobile */
  }
  .leadership-content p{ font-size:15px; line-height:1.7; }
}


/* ---------- Company Stats ---------- */
.company-stats-section{
  text-align:center; padding: 24px 0 96px; background:#fff;
}
.company-stats-section .section-title{
  font-family:'Montserrat',sans-serif; font-size:32px; font-weight:400;
  text-transform:uppercase; color:#000; margin-bottom:44px; letter-spacing:1px;
}

/* Switch to responsive grid */
.stats-container{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width:1100px; margin:0 auto;
}
.stat-box{
  min-height: 180px; border-radius:8px; display:flex; flex-direction:column;
  align-items:center; justify-content:center; color:#fff;
  box-shadow:0 5px 15px rgba(0,0,0,.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-box:hover{ transform:translateY(-5px); box-shadow:0 8px 20px rgba(0,0,0,.15); }
.stat-box h3{ font:700 48px 'Montserrat',sans-serif; margin:0 0 8px; color:#fff; }
.stat-box p{ font:400 14px 'Source Sans Pro',sans-serif; margin:0; line-height:1.4; text-transform:uppercase; letter-spacing:.5px; }

/* Gradients */
.stat-box.blue{  background:linear-gradient(135deg,#0099f7,#00c6ff); }
.stat-box.pink{  background:linear-gradient(135deg,#b24592,#f15f79); }
.stat-box.green{ background:linear-gradient(135deg,#56ab2f,#a8e063); }

/* Small screens */
@media (max-width: 576px){
  .company-stats-section{ padding: 16px 0 72px; }
  .company-stats-section .section-title{ font-size:28px; margin-bottom:32px; }
  .stat-box{ min-height:160px; }
  .stat-box h3{ font-size:40px; }
}

/* ---------- Invest (Parallax) ---------- */
.parallax-section{
  position:relative; background-size:cover; background-position:center;
  background-attachment:fixed; padding: 96px 0; color:#fff; overflow:hidden;
}
.parallax-overlay{
  content:""; position:absolute; inset:0; background:rgba(0,0,0,.45); pointer-events:none;
}
.parallax-section .section-title{
  font-family:'Montserrat',sans-serif; font-size:32px; font-weight:400;
  text-transform:uppercase; color:#fff !important; letter-spacing:1px; margin-bottom:14px;
  position:relative; z-index:2; text-align:center;
}
.parallax-section .lead{
  max-width:900px; margin:0 auto; line-height:1.6; font-size:16px; opacity:.98; position:relative; z-index:2; text-align:center;
}

/* Mobile: disable fixed to avoid jank, tighten spacing */
@media (max-width: 991.98px){
  .parallax-section{ background-attachment:scroll; padding:72px 0; }
  .parallax-section .section-title{ font-size:30px; }
  .parallax-section .lead{ font-size:15px; padding: 0 16px; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce){
  .stat-box, .stat-box:hover{ transition:none; transform:none; }
}

/* ---------- HOW IT WORKS SECTION ---------- */
.how-it-works-section {
  padding: 60px 0 90px;
  background-color: #fff;
}

.how-it-works-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.how-it-works-section .section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 1px;
}

/* Image left, content right */
.how-it-works-container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Image */
.how-it-works-image img {
  width: auto;
  max-width: 100%;
  height: clamp(180px, 28vw, 380px);
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* Content */
.how-it-works-content {
  min-width: 260px;
}

.how-it-works-content p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .how-it-works-section {
    padding: 48px 0 72px;
  }

  .how-it-works-section .section-header h2 {
    font-size: 32px;
  }

  .how-it-works-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .how-it-works-image img {
    height: clamp(160px, 40vw, 300px);
  }

  .how-it-works-content {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .how-it-works-section {
    padding: 36px 16px 60px;
  }

  .how-it-works-section .section-header h2 {
    font-size: 28px;
  }

  .how-it-works-content p {
    font-size: 15px;
    line-height: 1.7;
  }
}
