/* ============================================================
   RKP TRADING — Index Page CSS (Modernized)
   ============================================================ */

   :root {
    --rkp-red:    #D81324;
    --rkp-navy:   #0B2154;
    --rkp-light:  #F5F6F8;
    --rkp-dark:   #0d0d0d;
    --rkp-gray:   #6c757d;
    --transition: .32s cubic-bezier(.4,0,.2,1);
  }
  
  /* ── Promo Carousel ─────────────────────────────────────── */
  .promo-wrap {
    max-width: 1640px;
    max-height: 720px;
    margin: 0 auto 16px;
    position: relative;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
  }
  
  .promo-wrap .carousel-item {
    background: #000;
  }
  
  .promo-wrap .w-100 {
    object-fit: fill;
    max-width: 1640px;
    max-height: 720px;
    display: block;
    transition: opacity .5s;
  }
  
  /* Carousel nav buttons */
  .box-button {
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border-radius: 8px;
    opacity: .2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition);
    padding: 4px;
    backdrop-filter: blur(4px);
  }
 
  .box-button-margin-left  { margin-left: 16px; }
  .box-button-margin-right { margin-right: 16px; }
  
  /* Center prev/next buttons vertically on the promo image */
  .promo-wrap .carousel-control-prev,
  .promo-wrap .carousel-control-next {
    width: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: .2;
    
  }

  .box-button:hover,  .promo-wrap .carousel-control-prev:hover,
  .promo-wrap .carousel-control-next:hover {
    background: var(--rkp-red);
    border-color: var(--rkp-red);
    opacity: 1;
  }
  
  /* Hide default Bootstrap arrow SVG background — using FA icons instead */
  .promo-wrap .carousel-control-prev-icon,
  .promo-wrap .carousel-control-next-icon {
    display: none;
  }
  
  /* Style the FA chevron icons inside the buttons */
  .promo-wrap .box-button i.fas {
    font-size: 40px;
    color: #fff;
    line-height: 1;
  }
  
  @media (max-width: 700px) {
    .box-button { width: 34px; height: 34px; }
    .promo-wrap .box-button i.fas { font-size: 30px;}
  }
  @media (max-width: 470px) {
    .box-button { width: 28px; height: 28px; }
    .promo-wrap .box-button i.fas { font-size: 20px;}
  }
  
  /* ── Section Titles ─────────────────────────────────────── */
  .section-title {
    text-align: center;
    margin-bottom: 40px;
  }
  .section-title h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--rkp-navy);
    text-transform: uppercase;
    letter-spacing: .04em;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
  }
  .section-title h1::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 48px; height: 3px;
    background: var(--rkp-red);
    border-radius: 2px;
  }
  .section-title .text-primary { color: var(--rkp-red) !important; }
  
  /* ── Featured Motorcycles ───────────────────────────────── */
  .featured-section {
    padding: 40px 0 48px;
    background: var(--rkp-light);
    overflow: hidden;

   
  }
  
  /* Each carousel item — fixed height so all cards are uniform */
  .team_section .team_carousel .owl-item .item {
    height: auto !important;        /* override inline style */
    padding: 30px 6px 40px;         /* top/bottom room for scale effect */
    /* border:1px solid blue; */
  }
  
  /* Card box */
  .team_section .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: .25;
    transition: opacity .5s, transform .5s;
    background: transparent;
    border-radius: 16px;
    padding: 10px 12px 0;
    box-shadow: none;

    /* border:1px solid orange;  */
  }
  
  /* Image wrapper — fixed height so all images sit uniformly */
  .team_section .box .img-box {
    width: 100%;
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
     /* border:1px solid red; */
  }
  
  .team_section .box .img-box img {
    width: 100%;
    max-height: 210px;
    padding:5px 5px 0 5px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.10));
    transition: transform .5s;
    display: block;

    /* border:1px solid green;  */
  }
  
  /* Label pill */
  .team_section .box .detail-box {
    width: auto;
    opacity: 0;
    transition: opacity .3s ease;
    margin-top: 0;
    border-radius: 0 0 12px 12px;
    background: var(--rkp-red);
  }

  /* Text on red side becomes white */
 
  .team_section .box .detail-box h6 {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    margin: 0;
    line-height: 1.5;
    
  }

  
  /* CENTER item — fully visible, scaled up */
  .team_section .team_carousel .owl-item.center .box {
    opacity: 1;
    transform: scale(1.45);
    background: transparent;
    box-shadow: none;
    z-index: 10;
    background: none;
    position: relative;
  }


  
  .team_section .team_carousel .owl-item.center .box .detail-box {
    visibility: visible;
    opacity: 1;
  }
  
  .team_section .team_carousel .owl-item.center .box .img-box img {
    transform: translateY(-6px) scale(1.24);
  }
  
  /* Dots 
  .team_section .team_carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
  }
  .team_section .team_carousel .owl-dots .owl-dot {
    width: 10px; height: 10px;
    background: #ccc;
    border-radius: 90%;
    border:none;
    outline: none;
    transition: background .5s, width .5s;
  }
  .team_section .team_carousel .owl-dots .owl-dot.active {
    background: var(--rkp-red);
    width: 25px;
    border-radius: 15px;
  }*/


  .team_section .owl-carousel {
    position: relative;
 
  }

  
  /* ── Hide Owl built-in nav — using external buttons instead */
  .team_section .owl-carousel .owl-nav { display: none !important; }

  .team_section .team_carousel .owl-item.center { z-index: 20; }

  /* ── External static nav buttons ────────────────────────── */
  .featured-nav-btn {
    position: absolute;
    opacity: .7;
    top:30%;
    transform: translateY(-50%);
    z-index: 50;
    width: 42px;
    height: 72px;
    background: rgba(0,0,0,.65);
    color: #fff;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background .25s, opacity .20s;
  }

  .featured-prev { left: calc(33.33% + 50px); }
  .featured-next { right: calc(33.33% + 50px); }

  .featured-nav-btn:hover { background: var(--rkp-red);  opacity: 1;}

  /* 3-second disabled state */
  .featured-nav-btn.feat-nav-disabled {
    opacity: .3;
    cursor: not-allowed;
    background: rgba(0,0,0,.35) !important;
    pointer-events: none;
  }

  @media (max-width: 1500px) {
    .featured-prev { left: calc(33.33% - 45px); }
    .featured-next  { right: calc(33.33% - 45px); }
   
  }


  @media (max-width: 1024px) {
    .featured-nav-btn{
      display:none;
    }
   }
  
  @media (max-width: 768px) {
    .team_section .box .img-box { height: 140px; }
    .team_section .box .img-box img { max-height: 130px; }
    .team_section .team_carousel .owl-dots {     gap: 2px; }
    
  }
  
  @media (max-width: 570px) {
    .team_section .box .detail-box h6 { font-size: 10px; }
    .team_section .box .img-box { height: 120px; }
    .team_section .box .img-box img { max-height: 110px; }
    .team_section .box .detail-box h6 { font-size: 9px;  }
    .team_section .team_carousel .owl-dots {    display: none; }
  }
  
  @media (max-width: 470px) {
    .team_section .box { width: 85%; margin-left: auto; margin-right: auto; }
  }
  
  /* ── Why RKP ─────────────────────────────────────────────── */
  .why-section {
    padding: 60px 0 48px;
    background: #fff;
  }
  
  .why-section .section-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--rkp-gray);
    margin-top: 8px;
  }
  .why-section .section-title h3 label {
    color: var(--rkp-red);
    font-weight: 800;
  }
  
  .why-card {
    background: var(--rkp-light);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow var(--transition), transform var(--transition);
    border: 1px solid #eaecf0;
  }
  .why-card:hover {
    box-shadow: 0 10px 32px rgba(216,19,36,.14);
    transform: translateY(-5px);
  }
  
  .why-card .imgctrl_index {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform .5s;
  }
  .why-card:hover .imgctrl_index {
    transform: scale(1.04);
  }
  
  .why-card-body {
    padding: 18px 20px 20px;
    background: #fff;
  }
  .why-card-body h5 {
    font-size: 17px;
    font-weight: 800;
    color: var(--rkp-navy);
    margin-bottom: 8px;
    text-align :center;
    
  }
  .why-card-body .message {
    font-size: 14px;
    color: var(--rkp-gray);
    line-height: 1.65;
  }
  
  /* ── Find Your Motorcycle (header section) ──────────────── */
  .find-section {
    padding: 48px 0;
    background: var(--rkp-light);
  }
  
  .find-section h1 {
    font-size: 30px;
    font-weight: 800;
    color: var(--rkp-navy);
    line-height: 1.25;
  }
  .find-section h1 span {
    color: var(--rkp-red);
  }
  
  .header-carousel .owl-item img.img-fluidss {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
  }
  
  @media (max-width: 700px) {
    .header-carousel .owl-item img.img-fluidss { max-height: 350px;}
    .find-section h1  {font-size: 23px;}
  }
  @media (max-width:470px) {
    .header-carousel .owl-item img.img-fluidss { max-height: 280px;}
    .find-section h1  {font-size: 18px;}
  }
  

  /* ── Stats Banner ────────────────────────────────────────── */
  .stats-banner {
    background: linear-gradient(135deg, var(--rkp-navy) 0%, #1a3a7a 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
  }
  .stats-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(216,19,36,.12);
  }
  .stats-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
  }
  
  .stats-inner {
    position: relative;
    z-index: 1;
    text-align: center;
  }
  .stats-inner .stat-icon {
    font-size: 28px;
    color: var(--rkp-red);
    margin-bottom: 10px;
  }
  .stats-inner h1 {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1;
  }
  .stats-inner h1 span {
    color: var(--rkp-red);
  }
  .stats-inner p {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0;
  }
  
  /* ── Partners ────────────────────────────────────────────── */
  .partners-section {
    padding: 0 0 20px; 
    background: #fff;
  }
  
  .brand { padding: 0; }
  .brand-area { position: relative; }
  .brand-area .item {
    padding: 0 24px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .brand .brand-area .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: scale-down;
    border-radius: 0;
    filter: grayscale(40%);
    opacity: .8;
    transition: filter .3s, opacity .3s, transform .3s;
  }
  .brand .brand-area .owl-carousel .owl-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
  }
  .itempicCover { object-fit: scale-down; }