/********** Template CSS **********/
:root {
    --primary: #32C36C;
    --light: #F6F7F8;
    --dark: #1A2A36;
}
 


.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
.navbar-logo {
    height: 55px;
    object-fit: contain;
}
.navbar-brand{
    background-color: #153865 !important;
}
.Quotbtn{
    background-color: #153865 !important;
    color: #FFFFFF;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 210px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}
.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 200px;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-header {
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)), url(../img/Bread.png) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}
/* Page header base (keep your existing background) */
.page-header {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ✅ Mobile fixes */
@media (max-width: 768px) {
  .page-header {
    min-height: 220px;              /* ensure visible banner */
    padding: 2.5rem 0 !important;   /* reduce big .py-5 spacing */
    background-position: center;
  }

  .page-header .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-align: center;             /* center text/breadcrumbs */
  }

  .page-header h1 {
    font-size: 2rem;                /* smaller title on phones */
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .page-header .breadcrumb {
    margin-bottom: 0;               /* tighten spacing */
  }
}


/* Desktop dots (unchanged layout on large screens) */
@media (min-width:769px){
  .header-carousel .owl-dots{
    position:absolute; right:30px; top:0;
    width:60px; height:100%;
    display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    
  }
  .header-carousel .owl-dots .owl-dot{
    position:relative;
    width:45px; height:45px; margin:5px 0;
    background:#fff; box-shadow:0 0 30px rgba(255,255,255,.9);
    border-radius:45px; transition:.5s;
  }
  .header-carousel .owl-dots .owl-dot.active{
    width:60px; height:60px;
  }
  .header-carousel .owl-dots .owl-dot img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover; padding:2px; border-radius:45px; transition:.5s;
  }
}

/* Mobile  */
@media (max-width: 768px) {
  .header-carousel .owl-dots {
    position: absolute;
    bottom: 10px;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    flex-direction: row;
    gap: 6px;
    justify-content: center;
    z-index: 2;
  }
  .header-carousel .owl-dots .owl-dot {
    width: 18px;
    height: 18px;
    margin: 0;
    background: #fff;
    box-shadow: 0 0 5px rgba(255,255,255,.7);
  }

  .header-carousel .owl-dots .owl-dot.active {
    width: 18px;
    height: 18px;
  }

  .header-carousel .owl-dots .owl-dot img {
    padding: 2px;
  }
}


/* --- Dark theme palette (aligns with your navy + orange logo) --- */
:root{
  --dark-900:#0f2744;      /* page/navy background */
  --dark-800:#102e51;      /* slightly lighter cards/sections */
  --light-100:#e6edf5;     /* light text */
  --muted-300:#a9b8c9;     /* muted text */
  --primary:#f59e0b;       /* orange accent */
}

/* Feature (dark) */
.feature-dark{
  background: var(--dark-900);
  border-radius: 5px;
}

/* Consistent text colors inside the section */
.feature-dark .text-light{ color: var(--light-100) !important; }
.feature-dark .text-muted-300{ color: var(--muted-300) !important; }

/* Accent icon button */
.icon-circle{
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items:center;
  justify-content:center;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(245,158,11,.35);
}

.text-dark-900{ color: var(--dark-900) !important; }

/* Optional: subtle divider lines between columns on lg+ */
@media (min-width:992px){
  .feature-dark .col-lg-4:not(:last-child){
    border-right: 1px solid rgba(255,255,255,.06);
  }
  .feature-dark .col-lg-4{
    padding-right: 2rem;
  }
}

/* Tighter spacing on small screens */
@media (max-width: 575.98px){
  .icon-circle{ width: 48px; height: 48px; }
}


/***** About start – mobile friendly *****/

.container.about {
  max-width: 100% !important;
  background: #0F2744;             
}

.container.about h1,
.container.about h2,
.container.about h3,
.container.about h4,
.container.about h5,
.container.about h6,
.container.about p,
.container.about span,
.container.about li,
.container.about a:not(.btn) {
  color: #F5F7FA !important;
}

.about-text i {
  color: var(--primary) !important;
}

@media (min-width: 992px) {
  .about-text {
    padding-right: calc(((100% - 960px) / 2) + .75rem);
  }
}
@media (min-width: 1200px) {
  .about-text {
    padding-right: calc(((100% - 1140px) / 2) + .75rem);
  }
}
@media (min-width: 1400px) {
  .about-text {
    padding-right: calc(((100% - 1320px) / 2) + .75rem);
  }
}


@media (max-width: 991.98px) {

  .about .col-lg-6:first-child {
    order: 1;
  }
  .about .col-lg-6.about-text {
    order: 2;
  }

  .container.about .position-relative {
    height: 260px !important;   
  }

  .container.about .position-relative img {
    object-fit: cover;          
    object-position: center;
    width: 100%;
    height: 100%;
  }

  .about-text {
    padding: 2rem 1.2rem !important;
  }
}



/*** Services – dark section ***/
.services-dark {
  background: #0f2744; /* dark navy */
}

/* Card look on dark */
.services-dark .service-item {
  background: #102e51;                /* darker card */
  box-shadow: 0 0 45px rgba(0,0,0,.18);
  border-radius: .5rem;
}

/* Normalize image height so all tiles match */
.services-dark .service-img {
  width: 100%;
  height: 220px;          /* feel free to tweak 200–260px */
  object-fit: cover;
  display: block;
}

/* Icon puck */
.services-dark .service-icon {
  position: relative;
  margin: -50px 0 25px 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);         /* your orange */
  border-radius: 100px;
  box-shadow: 0 0 45px rgba(245,158,11,.35);
  transition: .5s;
}

/* Hover invert */
.services-dark .service-item:hover .service-icon {
  color: var(--primary);
  background: #ffffff;
}

/* Text colors on dark */
.services-dark h1,
.services-dark h4 { color: #e6edf5; }
.services-dark p  { color: #a9b8c9; }
.services-dark a.small { color: var(--primary); }

/* Responsive tweak: slightly shorter images on small devices */
@media (max-width: 575.98px) {
  .services-dark .service-img { height: 200px; }
}

/***** Feature (Dark) *****/
.feature-dark { background: #0F2744; } /* dark navy */

.feature-dark .text-light { color: #E6EDF5 !important; }
.feature-dark .text-muted { color: #A9B8C9 !important; }

/* Card-like icon pucks (keep animation behavior) */
.feature-dark .btn-lg-square {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 22px rgba(245,158,11,.35); /* glow with var(--primary) */
}

/* Feature image fit:
   - Desktop/tablet: show full image if aspect is tall (contain)
   - Mobile: cover for edge-to-edge look */
.feature-img {
  object-fit: contain;
  object-position: center;
  background: #0F2744; /* fallback behind letterbox bars */
}
@media (max-width: 768px) {
  .feature-img { object-fit: cover; }
}

/*** Feature paddings (from template, kept) ***/
@media (min-width: 992px) {
  .container.feature { max-width: 100% !important; }
  .feature-text { padding-left: calc(((100% - 960px) / 2) + .75rem); }
}
@media (min-width: 1200px) {
  .feature-text { padding-left: calc(((100% - 1140px) / 2) + .75rem); }
}
@media (min-width: 1400px) {
  .feature-text { padding-left: calc(((100% - 1320px) / 2) + .75rem); }
}

/* Small-screen spacing tweaks */
@media (max-width: 575.98px) {
  .feature-dark .btn-lg-square { width: 52px; height: 52px; }
}
/* ================================
   FEATURE – MOBILE LAYOUT FIXES
   ================================ */

/* Tablets & phones */
@media (max-width: 992px) {
  /* Put image above text */
  .feature .col-lg-6:first-child { order: 2; }
  .feature .col-lg-6:last-child  { order: 1; }

  /* Section padding & headings */
  .feature-text { padding: 1.75rem 1rem !important; }
  .feature-text h1 { font-size: 1.6rem; line-height: 1.3; }

  /* Icon row alignment */
  .feature-text .d-flex {
    align-items: center;              /* center icon with text */
    gap: 10px;                        /* spacing between icon and text */
  }

  /* Icon puck: smaller, no glow on mobile */
  .feature-dark .btn-lg-square {
    width: 42px; height: 42px;
    min-width: 42px;                  /* prevent squish */
    border-radius: 999px;
    box-shadow: none;                 /* remove big glow that overlaps text */
  }
  .feature-dark .btn-lg-square i { font-size: 18px; }

  /* Reduce left margin from Bootstrap's .ms-4 on tight screens */
  .feature-text .ms-4 { margin-left: 8px !important; }

  /* Tighter text sizes to prevent wraps */
  .feature-text p.mb-0 { font-size: 0.95rem; }
  .feature-text h5     { font-size: 1rem; line-height: 1.2; margin: 0; }

  /* Small padding inside grid cells */
  .feature-text .col-6 { padding-left: 8px; padding-right: 8px; }
}

/* Phones: stack each benefit on its own row */
@media (max-width: 576px) {
  .feature-text h1 { font-size: 1.45rem; }

  /* one-per-row to stop cramped two-column wrapping */
  .feature-text .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/*** Product Portfolio (Dark) ***/
.products-dark { background: #0f2744; }

.products-dark h1 { color: #E6EDF5; }

/* Filter pills */
#portfolio-flters li {
  display: inline-block;
  font-weight: 600;
  color: #E6EDF5;            /* light text */
  cursor: pointer;
  transition: .3s;
  border-bottom: 2px solid transparent;
  padding-bottom: 6px;
}
#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--primary);
  border-color: var(--primary);
}

/* Image frame + overlay */
.portfolio-img { position: relative; background: #102e51; }
.product-img {
  width: 100%;
  height: 260px;             /* normalize tile height */
  object-fit: cover;
  display: block;
}
@media (max-width: 575.98px) {
  .product-img { height: 220px; }
}

/* Dark overlay reveal on hover */
.portfolio-img::before,
.portfolio-img::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  background: rgba(0,0,0,.55);  /* darker for dark theme */
  transition: .5s;
}
.portfolio-img::before { left: 50%; }
.portfolio-img::after  { right: 50%; }

.portfolio-item:hover .portfolio-img::before {
  width: 51%; left: 0;
}
.portfolio-item:hover .portfolio-img::after {
  width: 51%; right: 0;
}

/* Center buttons on hover */
.portfolio-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; z-index: 1; transition: .5s;
}
.portfolio-item:hover .portfolio-btn { opacity: 1; transition-delay: .3s; }

/* Text under images */
.products-dark .pt-3 p,
.products-dark .pt-3 h5 { margin-bottom: 0; }
.products-dark .pt-3 h5 { color: #dfe7f2; }



/***** Quote – Dark Theme *****/
.quote-dark { background: #0F2744; }                /* section bg */
.quote-dark .text-light { color: #E6EDF5 !important; }
.quote-dark .text-muted { color: #A9B8C9 !important; }

/* Form controls on dark */
.quote-control {
  height: 55px;
  background: #102e51;
  color: #E6EDF5;
  border: 1px solid rgba(255,255,255,0.08);
}
.quote-control::placeholder { color: #A9B8C9; }
.quote-control:focus {
  background: #0f2642;
  color: #E6EDF5;
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(245,158,11,.25);  /* primary glow */
}
textarea.quote-control { height: auto; }

/*** keep your original responsive paddings ***/
@media (min-width: 992px) {
  .container.quote { max-width: 100% !important; }
  .quote-text { padding-right: calc(((100% - 960px) / 2) + .75rem); }
}
@media (min-width: 1200px) {
  .quote-text { padding-right: calc(((100% - 1140px) / 2) + .75rem); }
}
@media (min-width: 1400px) {
  .quote-text { padding-right: calc(((100% - 1320px) / 2) + .75rem); }
}

/* Optional: stack image above form on mobile */
@media (max-width: 991.98px) {
  .quote .col-lg-6:first-child { order: 1; }
  .quote .col-lg-6:last-child  { order: 2; }
}


/***** TEAM – DARK THEME *****/
.team-dark {
  background: #0F2744;
}

/* Card */
.team-item {
  background: #102e51;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0,0,0,0.35);
  transition: .4s;
}
.team-item:hover {
  transform: translateY(-6px);
  box-shadow: 0px 8px 35px rgba(0,0,0,0.6);
}

/* Image corner styling */
.team-item img {
  border-radius: 8px 60px 0 0;
  object-fit: cover;
}

/* Social bar */
.team-item .team-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: rgba(255,255,255,0.05);
  transition: .4s;
}
.team-item:hover .team-social {
  background: rgba(255,255,255,0.12);
}

/* Text */
.team-item h5 {
  color: #E6EDF5;
}
.team-item span {
  color: #A9B8C9;
}

/* Social buttons */
.team-item .btn {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  transition: .3s;
}
.team-item .btn:hover {
  background: var(--primary) !important;
  color: #0F2744 !important;
}



/***** Contact (Dark) *****/
.contact-dark-section {
  background: #0F2744;     /* Dark navy */
  color: #F5F7FA;
}

/* Light text inside section */
.contact-dark-section * {
  color: #F5F7FA;
}

/* Form input dark background */
.bg-input {
  background: #0c1e34 !important;
  border: 1px solid #25466A !important;
  color: #F5F7FA !important;
}
.bg-input:focus {
  border-color: var(--primary) !important;
  box-shadow: none !important;
}

/* Floating label text */
.form-floating label {
  color: #B7C7D8 !important;
}

/* Button spacing on mobile */
@media (max-width: 576px) {
  .contact-text {
    padding: 2rem 1.2rem !important;
  }
}


/***** Original Responsive Padding (kept) *****/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/******** FOOTER DARK ********/
.footer-dark {
  background: #0F2744;
  color: #E6EDF5;
}

/*** Social Buttons ***/
.footer-dark .btn.btn-social {
  margin-right: 6px;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 8px;
  transition: .3s;
}
.footer-dark .btn.btn-social:hover {
  background: var(--primary);
  color: #0F2744;
  border-color: var(--primary);
}

/*** Quick links ***/
.footer-dark .btn.btn-link {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  text-align: left;
  color: #A9B8C9;
  font-weight: 400;
  transition: .3s;
}
.footer-dark .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: .8px;
}

/*** Newsletter input ***/
.footer-input {
  background: #102e51;
  border: 1px solid rgba(255,255,255,0.08);
  color: #E6EDF5;
}
.footer-input::placeholder {
  color: #A9B8C9;
}

/*** Bottom strip ***/
.footer-dark .copyright {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: #A9B8C9;
}

/*** Bottom link hover ***/
.footer-dark a {
  color: var(--primary);
}
.footer-dark a:hover {
  color: #fff;
}

.footer-dark .text-primary:hover {
  color: #fff;
  cursor: pointer;
}
