:root {
  --colorPrimaryLight: #bcdd7a;
  --colorPrimaryDark: #216d39;
  --colorAccent: #F7953C;
  --colorGray: #cccccc;
  --colorDark: #3f3e3e;
  --colorText: #272a15;
  --colorTextGray: #9c9c9c;
  --colorHero: #32a549;
}


h1, h2 {
  font-family: helvetica, arial, sans-serif;
  font-size: 55px;
  font-weight: 700;  
  letter-spacing: 1px;
}

h3, h4 {
  font-family: helvetica, arial, sans-serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 1px;
}

h5 {
  font-family: helvetica, arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ==========================================================================
   2.2 Buttons
   ========================================================================== */
   .btn {
    font-size: 14px;
    border-radius: 8px;
    font-weight: 400;

    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    display: inline-block;
  }
  
  .btn:focus,
  .btn:active {
    box-shadow: none;
    outline: none;
    color: #fff;
  }
  
  
  button:focus {
    outline: none !important;
  }
  



/* ==========================================================================
   2.1 Section Title
   ========================================================================== */
   
.section-header {
  color: #fff;
  margin-bottom: 45px;
  text-align: center;
}

.section-header .section-title {
  font-size: 30px;
  margin-top: 1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #333;
  position: relative;
}

.section-header .section-title span {
  color: var(--colorPrimaryDark);
}

.section-header .section-subtitle {
  margin-top: 15px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

.section-header .lines {
  margin: auto;
  width: 70px;
  position: relative;
  border-top: 2px solid #7db208;
  margin-top: 15px;
}

#hero {
  background: #f9f9f9;
  padding: 50px 0;
  text-align: center;
}

#hero h1 {
  font-size: 2.5rem;
  color: #333;
}

#hero p {
  font-size: 1.2rem;
  color: #666;
}

#hero .cta-buttons .btn {
  margin: 10px;
}

@media (max-width: 992px) {
  
  img.hero{
    height: 150px;
  }

  h1, h2 {
    font-family: helvetica, arial, sans-serif;
    font-size: 40px;
    font-weight: 700;  
    letter-spacing: 1px;
  }
  
  h3, h4 {
    font-family: helvetica, arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
  }
  
}


/* ==========================================================================
   3. Hero Area
   ========================================================================== */
#hero-area {
  background-color: white;
  min-height: 60vh; /* Good height for desktop */
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
  height: 50vh; /* Adjusted for better desktop proportion */
  background: url('/bl-themes/muaday/assets/img/home/hero-bg.jpg') no-repeat center center;
  background-attachment: fixed; /* Fixes the background while scrolling */
  background-size: auto 100%; /* Display image at 100% height, auto width */
  display: flex;
  flex-direction: column; /* Stack children vertically */
  justify-content: flex-end; /* Align content to the bottom */
  padding: 0px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(234, 234, 234, 0.5); /* Dark overlay for readability */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2; /* Ensure content is above overlay */
  padding: 20px;
}

#hero-area h2 {
  font-size: 36px;
  color: #239a29;
  font-weight: normal;
}

#hero-area h5{
  font-size: 28px;
  color: #3f3e3e;
  font-weight: normal;
}

img.img-hero{
  min-height: 300px;
  object-fit: cover;
}

/* Mobile responsive adjustments */
@media (max-width: 992px) {
  #hero-area {
    min-height: 50vh; /* Reduced height for tablets */
  }
  
  .hero {
    height: 40vh;
  }
  
  img.hero{
    height: 150px;
  }

  h1, h2 {
    font-family: helvetica, arial, sans-serif;
    font-size: 40px;
    font-weight: 700;  
    letter-spacing: 1px;
  }
  
  h3, h4 {
    font-family: helvetica, arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 1px;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  #hero-area {
    min-height: 40vh; /* Comfortable height for mobile */
    padding: 20px 0;
  }
  
  .hero {
    height: 35vh;
    background-attachment: scroll; /* Better performance on mobile */
  }
  
  img.img-hero{
    min-height: 250px;
  }
  
  .section-subtitle {
    font-size: 0.9em; /* Adjusted from 1.2em to be more readable */
  }
}

/* Small mobile phones */
@media (max-width: 480px) {
  #hero-area {
    min-height: 55vh;
  }
  
  .hero {
    height: 40vh;
  }
  
  img.img-hero{
    min-height: 200px;
  }
}
 


/* ==========================================================================
  5. Icon section
   ========================================================================== */
.item-boxes {
  text-align: center;
  padding: 0px 15px;
  margin-bottom: 15px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.item-boxes .icon {
  width: 60px;
  height: 60px;
  text-align: center;
  border: 1px solid var(--colorPrimaryLight);
  display: inline-block;
  border-radius: 30px;
  margin-bottom: 30px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.item-boxes .icon i {
  font-size: 36px;
  line-height: 60px;
  color: var(--colorPrimaryLight);
}

.item-boxes h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.link-download{
  margin-top: 70px;
}


.card {
  border-radius: 25px;
  padding: 30px 0;
  margin: 8px;
  overflow: hidden;
  position: relative;
}


.section-green{
  background-color: var(--colorPrimaryDark); 
}

.section-green h4 {
  color: white;
}

.section-green h5{
  color: var(--colorPrimaryLight);
}

.section-green p{
  color: white;
  font-size: medium;
}

.section-green hr {
  margin: auto;
  position: relative;
  border-top: 2px solid white;
  margin: 15px;
}

.section-gray{
  background-color: #f1f1f1; 
}

.section-smoke{
  background-color: whitesmoke; 
}

.section-light{
  background-color: #f8f9fa; 
}


.section-white h4 {
  color: var(--colorPrimaryDark);
}

.section-white h5{
  color: #3f3e3e;
}

.card img{
  width: 80%;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #7db208;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.rubber-stamp {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 12px;
  background-color: white; /* White background */
  color: #d10000; /* Red text */
  font-weight: bold;
  font-size: 0.8em;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* Enhanced ink stamp filter effect with increased contrast */
  filter: contrast(1.8) brightness(1.05);
  border: 4px solid #d10000; /* Bold single line border */
  position: relative;
  /* Add texture effect for ink impression with stronger noise */
  background-image: 
    radial-gradient(
      circle at center,
      rgba(209, 0, 0, 0.1) 0%, 
      rgba(209, 0, 0, 0.2) 45%,
      rgba(209, 0, 0, 0.3) 80%
    ),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.3'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='speckles'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.3' numOctaves='2' seed='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23speckles)' fill='rgba(209,0,0,0.15)'/%3E%3C/svg%3E");
  background-blend-mode: overlay, multiply;

  /* Add slight rotation for a "hand-stamped" feel */
  transform: rotate(-1deg);
  /* Create uneven ink distribution */
  mask-image: linear-gradient(45deg, rgba(0,0,0,0.8) 40%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.9) 60%);
  -webkit-mask-image: linear-gradient(45deg, rgba(0,0,0,0.8) 40%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.9) 60%);
}

/* Mobile responsive for section-subtitle */
@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1.2em; /* 70% of original size */
  }
}
