/* Responsive Css */

@media only screen and (max-width: 1749px) {
}

@media only screen and (max-width: 1499px) {
}

@media only screen and (max-width: 1399px) {
}

@media only screen and (max-width: 1299px) {
}

@media only screen and (max-width: 1200px) {
  .main-menu,
  .main-header.style-one .outer-container:before {
    display: none !important;
  }

  .menu-area .mobile-nav-toggler {
    display: block;
    padding: 10px;
  }

  .megamenu ul li:first-child {
    display: none;
  }

  .main-header .outer-box .logo-box {
    margin-top: 0px;
    padding: 10px 36px 10px 18px !important;
  }

  .header-top .top-inner {
    padding-left: 0px;
  }

  .rtl .header-top .top-inner {
    padding-right: 0px;
  }

  .header-style-two .header-top {
    padding-left: 40px;
  }
}

@media only screen and (min-width: 768px) {
  .main-menu .navigation > li > ul,
  .main-menu .navigation > li > ul > li > ul,
  .main-menu .navigation > li > .megamenu {
    display: block !important;
  }

  .main-menu .navigation > li:hover > ul,
  .main-menu .navigation > li > ul > li.dropdown:hover > ul,
  .main-menu .navigation > li:hover > .megamenu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media only screen and (max-width: 991px) {
  .main-footer .footer-widget {
    margin: 0px 0px 30px 0px !important;
  }

  .main-footer .widget-section {
    padding-bottom: 83px;
  }

  .header-style-two .header-top {
    padding-left: 30px;
    padding-right: 30px;
  }

  .industries-section .feature-block-one {
    width: 50%;
  }
}

@media only screen and (max-width: 767px) {
  .header-top .top-inner {
    display: block;
    text-align: center;
  }

  .header-top .links-list,
  .header-top .info-list {
    justify-content: center;
  }

  .main-header .menu-right-content {
    /* Header CTA is hidden at this width to avoid crowding the mobile
       header; the same "Apply for Loan" action is available in the
       slide-out mobile menu (see .mobile-menu-apply-btn). */
    display: none;
  }

  .sec-title h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .main-footer .pattern-layer {
    display: none;
  }

  .main-footer .widget-section {
    padding: 80px 0px 50px 0px;
  }

  .industries-section .feature-block-one {
    width: 100%;
  }
}

@media only screen and (max-width: 599px) {
}

@media only screen and (max-width: 499px) {
  .mobile-menu {
    width: 100%;
  }

  .header-top .info-list {
    display: block;
  }

  .header-top .info-list li {
    display: inline-block;
    margin: 0px 5px !important;
  }

  .main-header .outer-box .logo-box {
    padding: 15px !important;
  }

  .header-style-two .header-top {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .header-style-two .header-lower {
    padding-right: 15px;
  }

  .rtl .header-style-two .header-lower {
    padding-left: 15px;
  }

  .header-style-two.main-header .outer-box .logo-box .logo {
    max-width: 150px;
  }

  .header-top .links-list li {
    margin-right: 20px;
  }

  .rtl .header-top .links-list li {
    margin-left: 20px;
  }

  .header-style-three .header-top .top-inner {
    padding-left: 15px;
    padding-right: 15px;
  }

  .pagination li a {
    width: 45px;
    height: 45px;
    line-height: 45px;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FIXES (added)
   Scope: these rules load after every other stylesheet on every page
   (see includes/header.php), so they apply site-wide without touching
   desktop layout. Desktop (>991px) is untouched by this block.
   ========================================================================== */

/* ---- 0. Global overflow safety net -------------------------------------- */
@media only screen and (max-width: 991px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* ---- 1 & 2. Hero / banner slider + hero image ---------------------------
   Goal: the full slide (image + overlay text) must stay inside the
   viewport at every mobile width, keep its aspect ratio via cover
   positioning, and never get clipped or duplicated by owl-carousel's
   own inline sizing. We only constrain widths/positioning here -- we
   never touch the widths owl-carousel sets inline via JS on
   .owl-stage/.owl-item, so the slider still slides normally.
--------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .banner-section,
  .banner-carousel,
  .banner-carousel .owl-stage-outer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .banner-carousel .slide-item {
    width: 100%;
    min-height: 420px;
    padding: 100px 0px 70px 0px;
    box-sizing: border-box;
  }

  .banner-carousel .slide-item .bg-layer {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .banner-carousel .content-box {
    max-width: 100%;
    width: 100%;
    padding: 0px 10px;
    box-sizing: border-box;
  }

  .banner-carousel .content-box h2 {
    font-size: clamp(26px, 8vw, 40px);
    line-height: 1.25;
    margin-bottom: 16px;
    word-break: break-word;
  }

  .banner-carousel .content-box p {
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .banner-carousel .content-box .btn-box .theme-btn {
    font-size: 14px;
    padding: 14px 22px;
    margin-bottom: 10px;
  }

  .banner-section .owl-dots {
    position: relative;
    z-index: 6;
    width: 100%;
    text-align: center;
  }

  .banner-section .owl-nav {
    display: none;
  }

  /* page-title hero (about/service/contact/faq/career/team/blog/etc.) */
  .page-title {
    overflow: hidden;
    min-height: 220px;
    padding: 80px 0px;
  }

  .page-title .bg-layer {
    background-position: center center;
    background-size: cover;
  }

  /* fixed-width decorative shape was overflowing narrow viewports and
     forcing horizontal scroll on every inner page */
  .page-title .pattern-layer {
    display: none;
  }

  .page-title h1 {
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1.3;
    word-break: break-word;
  }

  .page-title .bread-crumb li {
    font-size: 14px;
  }
}

@media only screen and (max-width: 375px) {
  .banner-carousel .slide-item {
    min-height: 380px;
    padding: 90px 0px 60px 0px;
  }
}

/* ---- 3 & 4. Site-wide responsive typography ------------------------------
   Large display headings that are still desktop-sized (36-70px) get
   clamp()-based mobile sizes so every page (not only the homepage)
   reads comfortably without ever overflowing horizontally. Card/section
   titles (h3/h4, already 20-24px) are left as-is since they already fit.
--------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .sec-title h6 {
    font-size: 14px;
  }

  .sec-title h2 {
    font-size: clamp(24px, 6.5vw, 32px);
    line-height: 1.3;
    word-break: break-word;
  }

  .sec-title p {
    font-size: clamp(14px, 3.8vw, 16px);
    line-height: 1.6;
  }

  .image_block_one .image-box .experience-box h2,
  .image_block_two .image-box .experience-box h2,
  .image_block_three .image-box .experience-box h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .career-details-content h2,
  .team-details .content-box h2,
  .video-section .inner-box h2,
  .error-section h2,
  .subscribe-section h2 {
    font-size: clamp(24px, 6.5vw, 32px);
    line-height: 1.3;
  }

  .blog-details-content h2 {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.3;
  }

  .content_block_four .content-box h2 {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.3;
  }

  .theme-btn {
    font-size: 14px;
    padding: 15px 26px;
  }

  .main-footer .widget-title h4 {
    font-size: 18px;
  }

  .main-footer p,
  .main-footer a {
    font-size: 14px;
    line-height: 1.7;
  }

  /* form fields (contact form, footer subscribe, EMI calculator, etc.) */
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group input[type="number"],
  .form-group input[type="password"],
  .form-group textarea,
  .form-group select,
  .form-group .nice-select {
    font-size: 15px;
    max-width: 100%;
  }

  .form-group label {
    font-size: 14px;
  }
}

/* ---- 6. "How It Works" step section --------------------------------------
   The round step badge ("01 Step") was positioned top-right *inside*
   the text column (top:-25px; right:-15px relative to a narrow
   inner-box), so on mobile it visually landed on top of the heading
   text instead of beside it. We move the badge above the circle,
   centered, and add matching top spacing so nothing overlaps.
--------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .process-section .inner-container {
    max-width: 290px;
    padding-top: 55px;
  }

  .processing-block-one {
    margin-top: 55px;
  }

  .processing-block-one:first-child {
    margin-top: 0px;
  }

  .processing-block-one .inner-box .count-text {
    top: -55px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .processing-block-one .inner-box .count-text:after {
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
  }

  .processing-block-one .inner-box h3 {
    font-size: 20px;
    line-height: 1.3;
  }

  .processing-block-one .inner-box p {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media only screen and (max-width: 320px) {
  .process-section .inner-container,
  .processing-block-one {
    max-width: 260px;
    width: 260px;
    height: 260px;
  }
}

/* ---- 7. "Go To Top" button -------------------------------------------
   Remove the sideways "Go To Top" text + progress bar on mobile and
   replace it with a small, clean circular icon button that can't
   overlap content or cause horizontal scrolling.
--------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .scroll-to-top {
    right: 15px;
    bottom: 15px;
    transform: none;
  }

  .scroll-to-top .scroll-bar,
  .scroll-to-top .scroll-bar-text {
    display: none;
  }

  .scroll-to-top .scroll-top-inner {
    width: 42px;
    height: 42px;
    justify-content: center;
    border-radius: 50%;
    background: var(--theme-color);
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.25);
  }

  .scroll-to-top .scroll-top-inner:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f077";
    color: #fff;
    font-size: 16px;
    line-height: 1;
  }
}

/* ---- 9. Images ------------------------------------------------------------
   Base `img{max-width:100%;height:auto;}` already exists in style.css.
   This adds the same safety to CSS background images used as hero /
   section decoration, which the base rule does not cover.
--------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .bg-layer {
    max-width: 100%;
  }

  figure.image-box img,
  .image-box img,
  .image-column img {
    width: 100%;
    height: auto;
  }
}

/* ==========================================================================
   ROUND 2 FIXES
   ========================================================================== */

/* ---- A. Top bar: "Call Us" + social icons on one line -------------------
   Previously .header-top .info-list dropped to display:block with
   inline-block items, which wrapped "Call Us : +91..." and the 4 social
   icons onto two lines. This forces everything back into a single,
   non-wrapping row (icons + phone number shrink slightly to fit); on the
   very narrowest phones the row can be swiped sideways instead of ever
   breaking into a second line, and the scrollbar for that is hidden.
--------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .header-top .top-inner {
    padding-left: 0px;
  }

  .header-top .links-list {
    flex-wrap: wrap;
    row-gap: 6px;
    justify-content: center;
  }

  .header-top .links-list li {
    margin: 0px 12px 0px 0px !important;
    font-size: 12px;
  }

  .header-top .info-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .header-top .info-list::-webkit-scrollbar {
    display: none;
  }

  .header-top .info-list li {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding-left: 18px;
    margin: 0px !important;
  }

  .header-top .info-list li i {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
  }

  .header-top .info-list li a {
    font-size: 12px;
    white-space: nowrap;
  }

  .header-top .info-list li.social-icon {
    padding-left: 0px;
  }

  .header-top .info-list li.social-icon i {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
}

@media only screen and (max-width: 375px) {
  .header-top .info-list li a {
    font-size: 11px;
  }
}

/* ---- B. Banner/hero slider: guaranteed full-bleed, no side gaps ---------
   Extra safety pass so the hero carousel always spans edge-to-edge and
   fully covers its slide height on mobile, on top of the fixes already
   applied above.
--------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .boxed_wrapper,
  .banner-section,
  .banner-carousel,
  .banner-carousel .owl-stage-outer,
  .banner-carousel .owl-stage,
  .banner-carousel .owl-item,
  .banner-carousel .slide-item {
    margin: 0px;
    border-radius: 0px;
  }

  .banner-carousel .slide-item {
    height: auto;
  }

  .banner-carousel .slide-item .bg-layer {
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
  }

  .banner-carousel .slide-item:before {
    width: 100%;
    height: 100%;
  }
}

/* ==========================================================================
   NAVBAR RESPONSIVE & CENTERED LOGO FIX
   ---------------------------------------------------------------------
   Center the logo on responsive/mobile, modernize the hamburger toggler,
   and add smooth interactive animations.
   ========================================================================== */
@media only screen and (max-width: 1200px) {
  .header-lower {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .main-header .outer-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
  }

  /* Plain logo area on Mobile & Tablet - matching reference site, no gold badge */
  .main-header .outer-box .logo-box {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    margin: 0 !important;
    padding: 10px 18px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    z-index: 5;
    overflow: visible;
  }

  .main-header .outer-box .logo-box .logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .main-header .outer-box .logo-box .logo img {
    max-height: 38px !important;
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.18));
    transition: transform 0.35s ease;
  }

  .main-header .menu-area {
    margin-left: auto;
    z-index: 10;
  }

  /* Modern Animated Mobile Nav Toggler in matching Navy & Gold theme */
  .menu-area .mobile-nav-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    padding: 9px 8px;
    border-radius: 8px;
    background: #0b2545;
    border: 1.5px solid #c6a048;
    cursor: pointer;
    margin-right: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .menu-area .mobile-nav-toggler:hover {
    background: #c6a048;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(197, 148, 54, 0.35);
  }

  .menu-area .mobile-nav-toggler .icon-bar {
    width: 22px;
    height: 2px;
    background: #c6a048;
    border-radius: 2px;
    margin: 2.5px 0;
    transition: all 0.3s ease;
  }

  .menu-area .mobile-nav-toggler:hover .icon-bar {
    background: #ffffff;
  }

  /* Sticky Header on Tablet & Mobile */
  .sticky-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .sticky-header .main-menu {
    display: none;
  }

  .sticky-header .outer-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
  }

  .sticky-header .outer-box .logo-box {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    padding: 8px 16px !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .sticky-header .outer-box .logo-box .logo img {
    max-height: 34px !important;
  }
}

@media only screen and (max-width: 767px) {
  .main-header .outer-box .logo-box .logo img {
    max-height: 36px !important;
  }

  .sticky-header .outer-box .logo-box .logo img {
    max-height: 32px !important;
  }

  .sticky-header .menu-right-content {
    display: none;
  }
}

/* ==========================================================================
   ROUND 6 FIX
   ---------------------------------------------------------------------
   Hero banner image on mobile: banner.css adds a bottom "fade to
   white" overlay (120px tall) so slide 1 blends into the page the
   same way slides 2 & 3 already do. On a short mobile slide (420px)
   that fixed 120px fade covers nearly a third of the photo, making it
   look cut off / not fully visible. We shrink that fade a lot on
   mobile and give the slide a little more height so more of each
   photo actually shows before it fades.
   ========================================================================== */
@media only screen and (max-width: 767px) {
  .banner-section:after {
    height: 50px;
  }

  .banner-carousel .slide-item {
    min-height: 460px;
  }
}

@media only screen and (max-width: 375px) {
  .banner-carousel .slide-item {
    min-height: 420px;
  }

  .banner-section:after {
    height: 40px;
  }
}

/* ==========================================================================
   CLEAN RESPONSIVE BANNER FIX (Tablet >769px & Mobile)
   ========================================================================== */
@media only screen and (max-width: 1199px) {
  .banner-carousel .slide-item {
    min-height: 520px;
    padding: 140px 0px 110px 0px;
  }

  .banner-carousel .content-box h2 {
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.22;
  }
}

@media only screen and (max-width: 767px) {
  .banner-section {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .banner-section:after {
    height: 45px;
  }
  .banner-carousel .slide-item {
    min-height: 480px;
    padding: 120px 20px 80px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }

  .banner-carousel .slide-item .bg-layer {
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .banner-carousel .content-box {
    position: relative;
    z-index: 5;
    max-width: 100%;
    width: 100%;
    text-align: left;
  }

  .banner-carousel .content-box h2 {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.25;
    margin-bottom: 14px;
    word-break: break-word;
  }

  .banner-carousel .content-box p {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 22px;
    opacity: 0.95;
  }
  
  .banner-carousel .content-box .btn-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .banner-carousel .content-box .btn-box .theme-btn {
    display: inline-block;
    margin-bottom: 0px;
    padding: 12px 22px;
    font-size: 14px;
  }
}

/* For Extra Small Screens */
@media only screen and (max-width: 375px) {
  .banner-carousel .slide-item {
    min-height: 440px;
    padding: 105px 15px 70px 15px;
  }
  
  .banner-carousel .content-box h2 {
    font-size: clamp(22px, 6.5vw, 28px);
    line-height: 1.25;
  }
}