/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* Force center the nav items */
.header-inner.logo-left .flex-col.flex-left.flex-grow {
    justify-content: center !important;
}

.header-nav-main.nav-left {
    justify-content: center !important;
    margin-left: auto;
    margin-right: auto;
}
.header-nav-main.nav-left {
    gap: 40px;
}

/* Header button - default state */
.header-button-1 .button.primary {
    background-color: transparent;
    border: 1px solid #2A3886;
    border-radius: 8px;
    color: #2A3886;
	 transition: all 0.3s ease;
	font-family: 'Inter', sans-serif;
		font-weight: 400;
	font-size: 16px;
	padding: 5px 30px;
}

/* Header button - hover state */
.header-button-1 .button.primary:hover {
    background-color: #2c3981;
    color: #ffffff;
}

.sec-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 13, 30, 0.5) 0%, rgba(10, 13, 30, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.sec-bg {
    position: relative;
}

/* Make sure content stays above the overlay */
.sec-bg .section-content {
    z-index: 2;
}

.hero-heading h1,
.hero-heading h2,
.hero-heading h3,
.hero-heading h4,
.hero-heading h5,
.hero-heading h6 {
    line-height: 1.1 !important;
}

.cust-btn-arrow {
    background-color: #2A3886;
    color: #ffffff;
	font-size: 18px;
    font-weight: 400;
    border-radius: 8px;
    padding: 1em 2em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.cust-btn-arrow::after {
    content: '';
    background-image: url('/wp-content/uploads/2025/12/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 1em;
    height: 1em;
}

.cust-btn-arrow:hover {
    background-color: #1a2660;
}

/* Tablet */
@media (max-width: 849px) {
    .cust-btn-arrow {
        padding: 0.85em 1.5em;
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 549px) {
    .cust-btn-arrow {
        padding: 0.75em 1.25em;
        font-size: 14px;
        gap: 8px;
    }
}

/* =====================================
   Logo Carousel (30% Larger Logos)
   ===================================== */

.logo-carousel {
  position: relative;
  overflow: hidden;
  background: #fff;
  display: flex;
  justify-content: center;
  border-radius: 50px;
  margin: 20px auto;
  width: 1350px;
  max-width: 100%;
}

/* Gradient fade edges */
.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(
    to left,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Track */
.logo-carousel-wrapper {
  display: flex;
  width: max-content;
}

/* Logo Item */
.logo-item {
  display: flex;
  width: 182px;        /* +30% from 140px */
  margin: 0 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Logo Image */
.logo-item img {
  width: 100%;
  max-height: 130px;   /* +30% from 100px */
  object-fit: contain;
  opacity: 0.4;
}

/* Large screens */
@media (max-width: 1400px) {
  .logo-carousel {
    width: 95%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .logo-item {
    width: 156px;      /* +30% from 120px */
    margin: 0 26px;
  }

  .logo-item img {
    max-height: 117px; /* +30% */
  }

  .logo-carousel {
    height: 115px;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    width: 60px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .logo-item {
    width: 130px;      /* +30% from 100px */
    margin: 0 20px;
  }

  .logo-item img {
    max-height: 91px;  /* +30% */
  }

  .logo-carousel {
    height: 95px;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    width: 30px;
  }
}


.col-rad-20 .col-inner {
	
	border-radius: 20px;
}

.col.social-icons .social-icons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.col.social-icons .social-icon img {
  width: 40px;
  height: 40px;
  display: block;
}

@media (max-width: 549px) {
  .col.social-icons .social-icon img {
    width: 35px;
    height: 35px;
  }
	
	.col.social-icons .social-icons {
  gap: 5px;
}
}

.img-rd-20 img {
	
	border-radius: 20px
}

.col-linear > .col-inner {
  background: linear-gradient(135deg, #222533 0%, #090B10 100%);
  border-radius: 20px;
}

.col-linear .row .col-inner {
  background: transparent;
}
.col-linear .icon-box,
.col-linear .icon-box-text {
  background: transparent !important;
}

.col-rad-20 > .col-inner {
  box-shadow: 0px 4px 8px 8px rgba(59, 30, 30, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.col-rad-20 > .col-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 16px 12px rgba(59, 30, 30, 0.2);
}

.col-trust > .col-inner {
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.03);
	border-radius: 20px 20px 0 0;
}

/* DKC Testimonials */
.dkc-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}
.dkc-testimonial {
    background-color: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
    padding: 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.dkc-testimonial:hover {
    background-color: #2A3886;
    border-color: #2A3886;
}
.dkc-testimonial:hover .dkc-testimonial__name,
.dkc-testimonial:hover .dkc-testimonial__title,
.dkc-testimonial:hover .dkc-testimonial__content {
    color: #FFFFFF;
}
.dkc-testimonial__header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.dkc-testimonial--has-logo .dkc-testimonial__header {
    gap: 12px;
}
.dkc-testimonial--no-logo .dkc-testimonial__header {
    justify-content: flex-start;
}
.dkc-testimonial__logo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f5f5f5;
}
.dkc-testimonial__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dkc-testimonial__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dkc-testimonial__name {
    font-size: 18px;
    font-weight: 600;
    color: #212120;
    line-height: 1.3;
    transition: color 0.3s ease;
}
.dkc-testimonial__title {
    font-size: 16px;
    font-weight: 400;
    color: #323232;
    line-height: 1.3;
    transition: color 0.3s ease;
}
.dkc-testimonial__content {
    font-size: 17.6px;
    font-weight: 400;
    color: #666977;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Tablet */
@media screen and (max-width: 992px) {
    .dkc-testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
    .dkc-testimonial {
        padding: 30px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .dkc-testimonials {
        grid-template-columns: 1fr;
    }
    .dkc-testimonial {
        padding: 24px;
    }
    .dkc-testimonial__logo {
        width: 60px;
        height: 60px;
    }
    .dkc-testimonial__name {
        font-size: 16px;
    }
    .dkc-testimonial__title {
        font-size: 14px;
    }
    .dkc-testimonial__content {
        font-size: 15px;
    }
    .dkc-testimonial__header {
        margin-bottom: 12px;
    }
}

/* =========================
   DK Capital Comparison Grid — Full Responsive CSS
   Mobile: all columns scroll together
   ========================= */

/* Wrapper + theme variables */
.dkc-comparison-grid-wrapper {
  --grid-max: 1550px;
  --gap: 18px;
  --radius: 50px;
  --blue: #2A3886;

  /* Mobile column sizing (used under 768px) */
  --first-col-w: 160px;
  --col-w: 150px;

  width: 100%;
  max-width: var(--grid-max);
  margin: 0 auto;
  font-family: inherit;
  background: transparent;
}

/* ===== Header Row ===== */
.dkc-comparison-grid-header {
  display: grid;
  grid-template-columns: 1.5fr repeat(6, 1fr);
  gap: var(--gap);
  margin-bottom: 20px;
  padding: 0 20px;
  position: relative;
}
.dkc-header-cell {
  color: #ffffff;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  text-align: center;
}
.dkc-header-cell:first-child { opacity: 0; }

/* ===== Grid Rows ===== */
.dkc-comparison-grid-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(6, 1fr);
  gap: var(--gap);
  padding: 28px 20px;
  margin-bottom: 20px;
  align-items: center;
  position: relative;
}

/* Divider for non-DKC rows */
.dkc-comparison-grid-row:not(.dkc-row) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== DKC Row (solid blue full width) ===== */
.dkc-row {
  border-radius: var(--radius);
  color: #ffffff;
}
.dkc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  border-radius: var(--radius);
  z-index: 0;
}
.dkc-row > .dkc-grid-cell { position: relative; z-index: 1; }

/* ===== Cells ===== */
.dkc-grid-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 10px;
  align-self: flex-start;
}

/* Reduce gap between icon and text in columns 2-7 */
.dkc-grid-cell:not(:first-child) {
  gap: 2px;
}

.dkc-grid-cell:not(:first-child) span {
  margin-top: -15px;
}

.dkc-grid-cell:first-child {
  justify-content: center;
  align-self: center;
  padding-left: 40px;
}

/* Left-align DKC logo */
.dkc-row .dkc-logo-cell {
  justify-content: flex-start;
  align-items: flex-start;
}

/* Logo + brand sizing */
.dkc-logo-cell { font-weight: 700; font-size: 24px; }
.dkc-logo { width: 100px; max-width: 100px; height: auto; }
.dkc-company-icon { width: 65px; height: 65px; flex-shrink: 0; }

/* Icons & images */
.dkc-comparison-icon { width: 18px; height: 18px; flex: 0 0 18px; }

/* Muted icon (40% opacity for checkmarks in non-DK rows) */
.dkc-icon-muted { opacity: 0.4; }

.dkc-grid-cell img:not(.dkc-logo):not(.dkc-company-icon):not(.dkc-comparison-icon) {
  max-width: 100%;
  height: auto;
}

/* Text styles */
.dkc-company-name {
  flex-direction: row;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}
.dkc-secondary-text { color: rgba(255, 255, 255, 0.6); }
.dkc-secondary-text span { font-size: 16px; }
.dkc-row .dkc-grid-cell span { color: #ffffff; font-size: 16px; font-weight: 600; }

/* ===== Optional: Horizontal Mode (icon left of text) ===== */
.dkc-grid--horizontal .dkc-grid-cell {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 10px;
}
.dkc-grid--horizontal .dkc-grid-cell:first-child { justify-content: center; text-align: center; }

/* ===== Optional: Emphasis pills ===== */
.dkc-grid-cell span { display: inline-block; }
.dkc-grid-cell span[data-pill] {
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}
.dkc-grid-cell span[data-pill="low"]        { background: rgba(52,199,89,.15);  color:#34C759; }
.dkc-grid-cell span[data-pill="high"]       { background: rgba(255,59,48,.15);  color:#FF3B30; }
.dkc-grid-cell span[data-pill="guaranteed"] { background: rgba(10,132,255,.15); color:#0A84FF; }

/* =========================
   Responsive Tweaks
   ========================= */

/* ====== Large Tablet (≤ 1024px) ====== */
@media (max-width: 1024px) {
  .dkc-comparison-grid-header { gap: 16px; }
  .dkc-comparison-grid-row { gap: 16px; padding: 24px 18px; }

  .dkc-header-cell { font-size: 16px; }
  .dkc-company-name { font-size: 17px; }
  .dkc-secondary-text span,
  .dkc-row .dkc-grid-cell span { font-size: 15px; }

  .dkc-logo { width: 90px; max-width: 90px; }
  .dkc-company-icon { width: 55px; height: 55px; }
  .dkc-comparison-icon { width: 16px; height: 16px; flex: 0 0 16px; }
}

/* ====== Tablet baseline (≤ 900px) ====== */
@media (max-width: 900px) {
  .dkc-comparison-grid-row { padding: 22px 16px; }
}

/* ====== Mobile (≤ 768px) — all columns scroll together ====== */
@media (max-width: 768px) {
  .dkc-comparison-grid-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    margin-bottom: 0;
  }
  .dkc-comparison-grid-wrapper::-webkit-scrollbar { display: none; }
  .dkc-comparison-grid-wrapper { -ms-overflow-style: none; scrollbar-width: none; }

  .dkc-comparison-grid-header,
  .dkc-comparison-grid-row {
    display: grid;
    grid-template-columns: var(--first-col-w) repeat(6, var(--col-w));
    gap: 15px;
    padding: 10px 7.5px;
    width: max-content;
    box-sizing: content-box;
  }

  .dkc-comparison-grid-row {
    margin-bottom: 10px;
  }

  .dkc-comparison-grid-row:last-of-type {
    margin-bottom: 0;
  }

  .dkc-row { border-radius: 30px; }
  .dkc-row::before {
    border-radius: 30px;
  }

  .dkc-header-cell { font-size: 17px; }
  .dkc-logo-cell { font-size: 20px; }
  .dkc-company-name { font-size: 16px; min-width: 160px; }
  .dkc-grid-cell:first-child { padding-left: 0; }
  .dkc-row .dkc-logo-cell {
    justify-content: center;
    align-items: center;
  }
  .dkc-secondary-text span { font-size: 13px; }
  .dkc-row .dkc-grid-cell span { font-size: 14px; }

  .dkc-logo { width: 85px; max-width: 85px; }
  .dkc-company-icon { width: 50px; height: 50px; }
  .dkc-comparison-icon { width: 16px; height: 16px; flex: 0 0 16px; }
}

/* ====== Small Mobile (≤ 480px) — tweak column widths ====== */
@media (max-width: 480px) {
  .dkc-comparison-grid-wrapper { --first-col-w: 150px; --col-w: 140px; }
  .dkc-header-cell { font-size: 16px; }
  .dkc-company-name { font-size: 15px; }
  .dkc-secondary-text span, .dkc-row .dkc-grid-cell span { font-size: 13px; }
  .dkc-logo { width: 75px; max-width: 75px; }
  .dkc-company-icon { width: 45px; height: 45px; }
  .dkc-comparison-icon { width: 15px; height: 15px; flex: 0 0 15px; }
}

/* ===== Accessibility: Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .dkc-comparison-grid-wrapper { scroll-behavior: auto; }
}