/* ==========================================================================
   01. ROOT VARIABLES
   ========================================================================== */
.quote-hero-template{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.quote-hero-template .container{
    width:100%;
    display:flex;
    justify-content:center;
}

.quote-hero-content{
    width:100%;
    max-width:860px;
    margin:0 auto;
    text-align:center;
    left:auto;
    right:auto;
}
.quote-hero-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.quote-page-template{
  font-family:var(--font-body);
  color:var(--blf-text);
  background:#fff;
  overflow:hidden;
}

/* Global image safety */
.quote-page-template img{
  max-width:100%;
  height:auto;
}

/* Page container */
.quote-page-template .container{
  width:94%;
  max-width:1400px;
  margin:0 auto;
}


/* ==========================================================================
   03. quote HERO SECTION
   ========================================================================== */
.quote-hero-template{
  position:relative;
  min-height:580px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    linear-gradient(120deg, rgba(18,18,16,.78), rgba(60,78,28,.62)),
    url("../images/hero/hero-about.png") center/cover no-repeat;
}

.quote-hero-template::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(circle at 25% 45%, rgba(169,205,46,.18), transparent 32%),
    linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.38));
  animation:quoteHeroZoom 18s ease-in-out infinite alternate;
}

.quote-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:rgba(0,0,0,.08);
}

/* Centered hero content */
.quote-hero-content{
  position:relative;
  z-index:2;
  max-width:860px;
  margin:0 auto;
  padding-top:120px;
  text-align:center;
  transform:translateY(40px);
}

.quote-kicker{
  display:inline-block;
  margin-bottom:20px;
  padding:8px 20px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:50px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}

.quote-hero-content h1{
  margin:0 0 20px;
  color:#fff;
  font-family:var(--font-heading);
  font-size:50px;
  line-height:1.08;
  font-weight:700;
  text-shadow:0 15px 40px rgba(0,0,0,.35);
}

.quote-hero-content h1 span{
  display:block;
  margin-top:10px;
  color:#dce8c4;
}

.quote-line{
  width:300px;
  height:3px;
  margin:0 auto 26px;
  background:var(--blf-green);
}

.quote-hero-content p{
  max-width:720px;
  margin:0 auto 30px;
  color:#eef3e3;
  font-size:17px;
  line-height:1.8;
}

/* Hero primary action button */
.quote-hero-content .btn{
  min-height:28px;
  padding:13px 32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50px;
  background:var(--blf-green);
  color:#fff;
  font-weight:800;
  letter-spacing:1px;
  text-decoration:none;
  animation:floatQuoteBtn 3s ease-in-out infinite;
  transition:background .3s ease,color .3s ease,transform .3s ease;
}


.quote-hero-content .btn:hover{
  background:#fff;
  color:#222;
}

/* ==========================================================================
   08. SHARED QUOTE SECTIONS
   ========================================================================== */
.quote-section-padding{
  position:relative;
  padding:105px 0;
}

.quote-eyebrow{
  display:inline-block;
  margin-bottom:16px;
  padding:8px 18px;
  border-radius:999px;
  background:rgba(169,205,46,.15);
  color:var(--blf-green-dark);
  font-size:13px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}


/* ==========================================================================
   09. QUOTE INTRO
   ========================================================================== */
.quote-intro-section{
  background:var(--blf-cream);
}

/* Intro white content card */
.quote-intro-card{
  max-width:980px;
  margin:0 auto;
  padding:60px 70px;
  border-top:5px solid var(--blf-green);
  border-radius:10px;
  background:#fff;
  text-align:center;
  box-shadow:var(--blf-shadow);
}

.quote-intro-card h2,
.quote-section-title h2{
  margin:0 0 16px;
  color:var(--blf-dark);
  font-family:var(--font-heading);
  font-size:48px;
  line-height:1.15;
}

.quote-intro-card p,
.quote-section-title p{
  margin:0;
  font-size:16px;
  line-height:1.85;
}

/* Optional patterned background utility */
.quote-pattern-bg{
  background:
    linear-gradient(rgba(255,255,255,.90),rgba(255,255,255,.90)),
    url("../images/bg-pattrens/pattren1.jpg") 0 0 repeat;
}


/* ==========================================================================
   10. MANIFEST & FORM GRID
   ========================================================================== */
.quote-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:38px;
  align-items:start;
}

/* Shared card styling */
.quote-manifest-card,
.quote-form-card{
  padding:46px;
  background:#fff;
  border:1px solid var(--blf-border);
  border-radius:12px;
  box-shadow:var(--blf-shadow-soft);
}

.quote-manifest-card{
  border-left:6px solid var(--blf-green);
}

.manifest-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px;
}

.manifest-title-row h2,
.quote-form-card h2{
  margin:0;
  color:var(--blf-dark);
  font-family:var(--font-heading);
  font-size:40px;
  line-height:1.15;
}

.add-product-btn{
  min-height:42px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:50px;
  background:var(--blf-green);
  color:#fff;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap;
}

.empty-manifest{
  padding:48px 22px;
  background:var(--blf-cream);
  border:1px dashed rgba(120,145,49,.25);
  border-radius:14px;
  text-align:center;
}

.empty-manifest i{
  margin-bottom:16px;
  color:var(--blf-green-dark);
  font-size:44px;
}

.empty-manifest h3{
  margin:0 0 10px;
  color:var(--blf-dark);
  font-family:var(--font-heading);
  font-size:26px;
}

.empty-manifest p{
  margin-bottom:18px;
  line-height:1.75;
}

.empty-manifest a{
  color:var(--blf-green-dark);
  font-weight:900;
  text-decoration:none;
}

/* Manifest summary box */
.quote-summary-box{
  margin-top:28px;
  padding:24px;
  background:#fff;
  border:1px solid var(--blf-border);
  border-radius:14px;
}

.summary-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
  border-bottom:1px solid rgba(120,145,49,.12);
}

.summary-item span{
  color:#444;
  font-weight:800;
}

.summary-item strong{
  color:var(--blf-green-dark);
}

.clear-manifest-btn{
  margin-top:18px;
  padding:0;
  border:0;
  background:transparent;
  color:#c0392b;
  font-weight:800;
  cursor:pointer;
}

.manufacturer-notice-bar{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:24px;
  padding:12px 18px;
  border-radius:50px;
  background:linear-gradient(135deg,var(--blf-green-dark),var(--blf-green));
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
}

.quote-form-intro{
  margin-bottom:30px;
  line-height:1.85;
}


/* ==========================================================================
   11. QUOTE FORM
   ========================================================================== */
/* Form layout */
.quote-form{
  display:grid;
  gap:20px;
}

.form-grid.two-cols{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.form-group label{
  display:block;
  margin-bottom:8px;
  color:#333;
  font-size:13px;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
}

/* Inputs, selects, and textareas */
.form-control{
  width:100%;
  min-height:52px;
  padding:0 16px;
  border:1px solid #e1e5d9;
  border-radius:8px;
  background:#fff;
  color:#333;
  outline:none;
  transition:border-color .25s ease,box-shadow .25s ease;
}

textarea/* Inputs, selects, and textareas */
.form-control{
  min-height:130px;
  padding-top:16px;
  resize:vertical;
}

.form-control:focus{
  border-color:var(--blf-green);
  box-shadow:0 0 0 4px rgba(169,205,46,.14);
}

.quote-submit-btn{
  width:100%;
  min-height:54px;
  border:0;
  border-radius:50px;
  background:var(--blf-green);
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .3s ease,transform .3s ease;
}

.quote-submit-btn:hover{
  background:#222;
  transform:translateY(-2px);
}

.form-message{
  min-height:20px;
  margin-top:8px;
  color:var(--blf-green-dark);
  font-weight:800;
  text-align:center;
}


/* ==========================================================================
   12. LOGISTICS OPTIMIZATION
   ========================================================================== */
.quote-logistics-section{
  background:var(--blf-cream);
}

.quote-section-title{
  max-width:780px;
  margin:0 auto 45px;
}

/* Loading method switch card */
.loading-method-card{
  max-width:620px;
  margin:0 auto 38px;
  padding:26px 30px;
  background:#fff;
  border:1px solid var(--blf-border);
  border-radius:14px;
  text-align:center;
  box-shadow:0 16px 45px rgba(0,0,0,.07);
}

.toggle-title{
  display:block;
  margin-bottom:18px;
  color:var(--blf-dark);
  font-family:var(--font-heading);
  font-size:26px;
  font-weight:700;
}

.switch-label{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  color:#444;
  font-weight:800;
}

.switch-container{
  position:relative;
  width:78px;
  height:38px;
}

.switch-container input{
  width:0;
  height:0;
  opacity:0;
}

.switch-slider{
  position:absolute;
  inset:0;
  background:#ddd;
  border-radius:50px;
  cursor:pointer;
  transition:background .3s ease;
}

#switch-knob{
  position:absolute;
  top:4px;
  left:4px;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.18);
  transition:transform .3s ease;
}

.switch-container input:checked + .switch-slider{
  background:var(--blf-green);
}

.switch-container input:checked + .switch-slider #switch-knob{
  transform:translateX(40px);
}

/* Optimization result container */
.optimization-container{
  padding:40px;
  background:#fff;
  border:1px solid var(--blf-border);
  border-radius:16px;
  box-shadow:var(--blf-shadow);
}

.capacity-placeholder{
  padding:40px 20px;
  text-align:center;
}

.capacity-placeholder i{
  margin-bottom:18px;
  color:var(--blf-green-dark);
  font-size:48px;
}

.capacity-placeholder h3{
  margin:0 0 10px;
  color:var(--blf-dark);
  font-family:var(--font-heading);
  font-size:30px;
}

.capacity-placeholder p{
  margin:0;
  line-height:1.8;
}


/* ==========================================================================
   13. QUOTE CTA
   ========================================================================== */
.quote-cta-section{
  padding:105px 0;
  background:
    linear-gradient(135deg,rgba(37,34,29,.96),rgba(61,79,29,.94)),
    url("../images/lebanese-food-wholesale-export-hero.webp") center/cover no-repeat;
  color:#fff;
  text-align:center;
}

.quote-cta-section .quote-eyebrow{
  background:rgba(255,255,255,.12);
  color:#fff;
}

.quote-cta-section h2{
  margin:0 0 16px;
  color:#fff;
  font-family:var(--font-heading);
  font-size:48px;
}

.quote-cta-section p{
  max-width:650px;
  margin:0 auto 30px;
  color:#eef3e3;
  line-height:1.8;
}

.quote-cta-btn{
  min-height:50px;
  padding:0 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50px;
  background:var(--blf-green);
  color:#fff;
  font-weight:900;
  text-decoration:none;
  text-transform:uppercase;
  transition:background .3s ease,color .3s ease;
}

.quote-cta-btn:hover{
  background:#fff;
  color:#222;
}


/* ==========================================================================
   14. FLOATING BUTTONS
   ========================================================================== */
.quote-cart-floating-btn,
.back-to-top{
  position:fixed;
  right:26px;
  width:46px;
  height:46px;
  z-index:9990;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  text-decoration:none;
}

.quote-cart-floating-btn{
  bottom:86px;
  background:#101010;
  color:#fff;
}

.back-to-top{
  bottom:26px;
  border:0;
  background:var(--blf-green);
  color:#fff;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(15px);
  transition:opacity .3s ease,visibility .3s ease,transform .3s ease;
}

.back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}


/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.footer.footer--dark{
  position:relative;
  overflow:hidden;
  padding:80px 0 0;
  background:
    radial-gradient(circle at 20% 10%,rgba(169,205,46,.10),transparent 28%),
    linear-gradient(135deg,#0d1117,#121923 58%,#0b0f14);
  border-top:4px solid var(--blf-green);
  color:#b7c0cc;
}

.footer.footer--dark::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(13,17,23,.88),rgba(13,17,23,.88)),
    url("../images/bg-pattrens/pattren1.jpg") 0 0 repeat;
  opacity:.28;
  pointer-events:none;
}

.footer .container{
  position:relative;
  z-index:2;
}

/* Footer grid layout */
.footer-content{
  display:grid;
  grid-template-columns:1.25fr .85fr .85fr 1.25fr;
  gap:42px;
  align-items:flex-start;
}

.footer-logo{
  width:126px;
  height:auto;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.35));
}

.brand-title{
  margin:14px 0;
  color:#fff;
  font-family:var(--font-heading);
  font-size:25px;
}

.footer-about-text{
  max-width:330px;
  color:#b7c0cc;
  line-height:1.85;
}

.footer-quote-btn{
  min-height:46px;
  margin-top:12px;
  padding:0 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50px;
  background:var(--blf-green);
  color:#fff !important;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  text-transform:uppercase;
}

.footer-ttl{
  position:relative;
  margin:0 0 22px;
  padding-bottom:14px;
  color:#fff;
  font-family:var(--font-heading);
  font-size:23px;
}

.footer-ttl::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:54px;
  height:3px;
  border-radius:3px;
  background:var(--blf-green);
}

.footer-links{
  list-style:none;
  display:grid;
  gap:11px;
  margin:0;
  padding:0;
}

.footer-links a,
.footer a{
  color:#e9edf3;
  text-decoration:none;
}

.footer a:hover{
  color:var(--blf-green);
}

.contact-lines{
  display:grid;
  gap:10px;
  margin-bottom:20px;
}

.contact-lines p{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0;
  color:#b7c0cc;
  line-height:1.6;
}

.contact-lines i{
  min-width:18px;
  margin-top:4px;
  color:var(--blf-green);
}

.social-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:24px 0;
}

.social-icon{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#101010;
  color:#fff !important;
  text-decoration:none;
  transition:transform .3s ease;
}

.social-icon:hover{
  transform:translateY(-5px);
}

.newsletter-title{
  margin:0 0 12px;
  color:#fff;
  font-size:16px;
  font-weight:800;
}

.subscribe-inline{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:center;
}

.subscribe-inline input{
  width:100%;
  min-height:46px;
  padding:0 18px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50px;
  background:rgba(255,255,255,.06);
  color:#fff;
  outline:none;
}

.btn-sub{
  min-height:46px;
  padding:0 22px;
  border:0;
  border-radius:50px;
  background:var(--blf-green);
  color:#fff;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  cursor:pointer;
}

.sub-msg{
  grid-column:1/-1;
  min-height:18px;
  color:#8fa1ad;
  font-size:13px;
}

.footer-bottom{
  position:relative;
  z-index:2;
  margin-top:58px;
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  text-align:center;
}

.footer-bottom .copy{
  margin:0;
  color:#aab5c0;
  font-size:14px;
}


/* ==========================================================================
   16. KEYFRAMES
   ========================================================================== */
@keyframes quoteHeroZoom{
  from{transform:scale(1);}
  to{transform:scale(1.07);}
}

@keyframes floatQuoteBtn{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-6px);}
}


/* ==========================================================================
   17. RESPONSIVE LAYOUT
   ========================================================================== */
@media(max-width:1199px){
  .main-menu ul{
    gap:22px;
  }

  .quote-grid{
    grid-template-columns:1fr;
  }

  /* Footer grid layout */
.footer-content{
    grid-template-columns:1.1fr 1fr 1fr;
  }

  .contact-media{
    grid-column:1/-1;
  }
}

@media(max-width:991px){
  .blf-topbar{
    display:none;
  }

  .blf-header{
    top:0;
    background:transparent !important;
  }

  .blf-header.is-sticky{
    background:rgba(255,255,255,.96) !important;
  }

  .header-inner{
    height:86px;
    padding:0 18px;
  }

  .logo img{
    height:62px;
  }

  .main-menu,
  .quote-btn,
  #openSearch{
    display:none !important;
  }

  .mobile-toggle-btn{
    display:flex !important;
  }

  .header-actions{
    gap:10px;
  }

  .icon-btn,
  .mobile-toggle-btn{
    width:44px;
    height:44px;
  }

  .quote-hero-template{
    min-height:500px;
  }

  /* Centered hero content */
.quote-hero-content{
    padding-top:80px;
    transform:translateY(25px);
  }

  .quote-hero-content h1{
    font-size:40px;
  }

  .quote-hero-content h1 span{
    font-size:32px;
  }

  .quote-hero-content p{
    font-size:15px;
  }

  .quote-section-padding{
    padding:75px 0;
  }

  /* Footer grid layout */
.footer-content{
    grid-template-columns:1fr 1fr;
  }

  .footer-brand-col,
  .contact-media{
    grid-column:1/-1;
  }
}

@media(max-width:575px){
  /* Page container */
.quote-page-template .container{
    width:92%;
  }

  .header-inner{
    height:78px;
    padding:0 8px;
  }

  .logo img{
    height:54px;
  }

  .icon-btn,
  .mobile-toggle-btn{
    width:40px;
    height:40px;
  }

  .quote-hero-template{
    min-height:460px;
  }

  .quote-hero-content h1{
    font-size:34px;
  }

  .quote-hero-content h1 span{
    font-size:26px;
  }

  .quote-kicker{
    padding:8px 16px;
    font-size:11px;
  }

  .quote-intro-card,
  .quote-manifest-card,
  .quote-form-card,
  /* Optimization result container */
.optimization-container{
    padding:32px 22px;
  }

  .quote-intro-card h2,
  .quote-section-title h2,
  .manifest-title-row h2,
  .quote-form-card h2,
  .quote-cta-section h2{
    font-size:34px;
  }

  .manifest-title-row{
    flex-direction:column;
  }

  .form-grid.two-cols{
    grid-template-columns:1fr;
  }

  .switch-label{
    flex-direction:column;
  }

  /* Footer grid layout */
.footer-content{
    grid-template-columns:1fr;
    gap:28px;
  }

  .subscribe-inline{
    grid-template-columns:1fr;
  }
}


/* ==========================================================================
   18. REDUCED MOTION SUPPORT
   ========================================================================== */
@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}
