/* ===============================================
   CSS VARIABLES
   =============================================== */
:root {
  --theme-primary: #CD091D;
  --theme-secondary: #046D2C;
  --theme-accent: #95C623;
  --theme-black: #001514;
  --theme-lightgrey: #FBFFFE;
  --theme-text: #292929;
}

/* ===============================================
   RESET & BASE STYLES
   =============================================== */
html {
  font-size: 16px;
}

body {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
}

.text-center {
  text-align: center;
}

/* Hide Google reCAPTCHA badge */
.grecaptcha-badge {
  display: none !important;
}

/* ===============================================
   LAYOUT
   =============================================== */
.container {
  max-width: 1320px;
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */

/* Links */
a {
  color: var(--theme-primary);
  transition: color 0.3s ease;
}

a:hover,
a:focus,
a:active {
  color: var(--theme-primary);
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  line-height: 1.4;
}

/* Responsive heading sizes */
.h1,
h1 {
  font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
  .h1,
  h1 {
    font-size: 2.5rem;
  }
}

.h2,
h2 {
  font-size: calc(1.325rem + 0.9vw);
}

@media (min-width: 1200px) {
  .h2,
  h2 {
    font-size: 2rem;
  }
}

.h3,
h3 {
  font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
  .h3,
  h3 {
    font-size: 1.75rem;
  }
}

.h4,
h4 {
  font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {
  .h4,
  h4 {
    font-size: 1.5rem;
  }
}

.h5,
h5 {
  font-size: 1.25rem;
}

.h6,
h6 {
  font-size: 1rem;
}




/* ===============================================
   HEADER & NAVIGATION
   =============================================== */

/* Masthead */
#masthead {
  position: relative;
  z-index: 99;
}

.navbar{
    padding-top: 0;
    padding-bottom: 0;
}

/* Logo */
img.custom-logo {
  width: 184px;
  transition: all 300ms ease;
}

/* Header positioning */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
  background: #FFF;
  transition: all 400ms ease;
}

/* Admin bar adjustments */
.admin-bar #main-header {
  top: 32px;
}

/* Fixed header styles */
#main-header.fixed {
  top: 0;
}

.admin-bar #main-header.fixed {
  top: 32px;
}

#main-header.fixed .logo-description{
  transform: translateY(-54px) scaleY(0);
    opacity: 0;

}

/* Site navigation */
#site-navigation {
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

/* Fixed header navigation styles */
#main-header.fixed #site-navigation {
  padding-top: 0;
  padding-bottom: 0;
  background: #FFF;
}


#main-header.fixed .navbar-nav li a {
  color: #040303;
}

#main-header.fixed .navbar-nav li a:hover {
  color: var(--theme-primary);
}

/* #main-header.fixed img.custom-logo {
  width: 172px;
} */

.radius-27 {
  border-radius: 27px;
}

.radius-27 .elementor-background-overlay {
  border-radius: 27px;
}


.site-logo{
    position: relative;
    z-index: 1;
    height: 100px;
    display: flex;
    align-items: center;
}

.logo-description{
  width: calc(100% + 30px);
  position: absolute;
  background: #FFF;
  color: var(--theme-text);
  left: -15px;
  top: calc(100%);
  padding: 0 15px 15px 15px;
  border-radius: 0 0 27px 27px;
  font-size: 15px;
  text-align: center;
  z-index: -1;
  transition: all 0.4s ease;
}

.logo-description::after {
  content: '';
  position: absolute;
  width: 27px;
  height: 27px;
  right: -27px;
  top: 0;
  background: radial-gradient(circle at bottom right, transparent 26.5px, #FFF 27px);
  /* Anti-aliasing for smoother edges */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.logo-description::before {
  content: '';
  position: absolute;
  width: 27px;
  height: 27px;
  left: -27px;
  top: 0;
  background: radial-gradient(circle at bottom left, transparent 26.5px, #FFF 27px);
  /* Anti-aliasing for smoother edges */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}



/* Navigation menu */
.navbar-nav li a {
  color: var(--theme-black);
  display: inline-block;
  font-weight: 500;
  padding: 35px 20px;
  position: relative;
  transition: 0.3s ease;
}

.navbar-nav li a:hover,
.navbar-nav li a:focus {
  color: var(--theme-primary);
  text-decoration: none;
}

/* Top header widgets */
.top-right .textwidget,
.top-left .textwidget {
  display: inline-block;
}

.top-right {
  text-align: right;
}

.top-header {
  height: 52px;
}

/* Mobile navigation toggler */
#navigation-toggler {
  width: 40px;
  height: 24px;
  position: relative;
  padding: 0;
  background: transparent;
  transform: rotate(0);
  transition: 0.5s ease-in-out;
  cursor: pointer;
  margin: 0 15px 0 0;
  border: none;
  outline: none;
}

#navigation-toggler span {
  display: block;
  position: absolute;
  height: 4px;
  width: 50%;
  background: #040303;
  opacity: 1;
  transform: rotate(0);
  transition: 0.25s ease-in-out;
}

#navigation-toggler span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

#navigation-toggler span:nth-child(odd) {
  left: 0;
  border-radius: 9px 0 0 9px;
}

#navigation-toggler span:nth-child(1),
#navigation-toggler span:nth-child(2) {
  top: 0;
}

#navigation-toggler span:nth-child(3),
#navigation-toggler span:nth-child(4) {
  top: 10px;
}

#navigation-toggler span:nth-child(5),
#navigation-toggler span:nth-child(6) {
  top: 20px;
}

/* Toggler open state */
#navigation-toggler.open span:nth-child(1),
#navigation-toggler.open span:nth-child(6) {
  transform: rotate(45deg);
}

#navigation-toggler.open span:nth-child(2),
#navigation-toggler.open span:nth-child(5) {
  transform: rotate(-45deg);
}

#navigation-toggler.open span:nth-child(1) {
  left: 0;
  top: 4px;
}

#navigation-toggler.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 4px;
}

#navigation-toggler.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#navigation-toggler.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#navigation-toggler.open span:nth-child(5) {
  left: 0;
  top: 18px;
}

#navigation-toggler.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 18px;
}

/* Dropdown menus */
.dropdown-toggle::after {
  width: 8px;
  height: 8px;
  border-width: 0 0 2px 2px;
  border-color: #DDD;
  border-style: solid;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.dropdown-menu .menu-item a {
  padding: 15px 20px;
  display: block;
  border-radius: 25px;;
}

/* Desktop dropdown styles */
@media (min-width: 1200px) {
  .dropdown > .dropdown-menu {
    position: absolute;
    top: 100%;
    text-align: center;
    z-index: 1000;
    float: none;
    min-width: 230px;
    padding: 0;
    list-style: none;
    border: none;
    border-radius: 0;
    box-shadow: rgba(0, 0, 0, 0.22) 10px 41px 57px -17px;
    opacity: 0;
    margin-top: 0 !important;
    display: block;
    visibility: hidden;
    padding: 0 12px 12px 12px;
    border-radius: 0 0 27px 27px;
    transition: all 0.2s ease-in-out;
  }

  .dropdown:hover > .dropdown-menu {
    visibility: visible;
    display: block;
    opacity: 1;
    margin-top: 0 !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }

  .mega-menu-parent.dropdown .dropdown-menu {
    position: absolute;
    left: 0;
    width: 100%;
    transition: all 0.2s ease-in-out;
  }

  ul.dropdown-menu {
    background: #FFF;
  }

  .dropdown-menu .menu-item a:hover,
  .dropdown-menu .menu-item a:focus {
    background: var(--theme-secondary);
    color: #FFF;
    text-decoration: none;
  }
}

.dropdown-toggle.show + .dropdown-menu {
  visibility: visible;
  display: block;
  opacity: 1;
  margin-top: 0 !important;
}


/* ===============================================
   COMPONENTS
   =============================================== */

/* Buttons */

.btn-wrapper {
  display: inline-flex;
  align-items: center;
}


.button {
  display: inline-block;
  color: #FFF;
  background: var(--theme-secondary);
  padding: 18px 30px;
  border-radius: 30px;
  line-height: 1;
  min-width: 180px;
  position: relative;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button-alt{
  display: block;
  color: var(--theme-black);
  font-weight: 600;
  margin-right: 10px;
  border-bottom: 1px solid;
  padding: 10px 0;
}

.circle-arrow-btn{
    color: #FFF;
    background: var(--theme-accent);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.circle-arrow-btn:hover,
.circle-arrow-btn:focus {
  color: #FFF;
  background: var(--theme-secondary);
  text-decoration: none;
}

.button:hover,
.button:focus {
  color: #FFF;
  background: var(--theme-accent);
  text-decoration: none;
}

.button.button-outline {
  background: transparent;
  border: 1px solid #040303;
  color: #040303;
}

.button.button-outline:hover,
.button.button-outline:focus {
  background: #040303;
  color: #FFF;
}

.button .icon-arr {
  font-size: 70%;
}

/* ===============================================
   SWIPER SLIDER
   =============================================== */
.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
}

.swiper-pagination-bullet-active {
  background: var(--theme-primary);
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 30px;
}

.swiper-button-next,
.swiper-button-prev {
  cursor: pointer;
  color: #fff;
}

/* Custom navigation buttons */
.button-prev,
.button-next {
  position: absolute;
  bottom: 0;
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  z-index: 3;
  text-align: center;
}

.button-prev::before,
.button-next::before {
  content: '';
  display: block;
  background: #D2D7DF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #FFF;
  position: absolute;
  top: 0;
  z-index: -1;
  transition: background 0.3s ease;
}

.button-prev:hover::before,
.button-next:hover::before {
  background: var(--theme-primary);
}

.button-prev::before {
  left: 0;
}

.button-next::before {
  right: 0;
}

.button-prev svg,
.button-next svg {
  fill: #fff;
}

.button-prev {
  right: 70px;
}

.button-prev svg {
  margin-right: -15px;
}

.button-next {
  right: 15px;
}

.button-next svg {
  margin-left: -15px;
}



/* ===============================================
   FOOTER
   =============================================== */
.site-footer {
  padding: 12px;
}

.site-footer .footer-widgets {
  padding: 100px 0 0 0;
  background: var(--theme-secondary);
  border-radius: 27px;
  color: #FFF;
}

footer-widgets a{
  color: #FFF;
}

/* Back to top button */
#back_top {
  display: inline-block;
  background-color: var(--theme-accent);
  color: #FFF;
  width: 50px;
  height: 50px;
  padding: 10px;
  text-align: center;
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: background-color 0.3s ease, opacity 0.5s ease, visibility 0.5s ease;
}

#back_top svg {
  fill: #fff;
}

#back_top.show {
  opacity: 1;
  visibility: visible;
}

.footer-area-3, .footer-area-8 {
  text-align: right;
}

.footer-row-3{
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  padding-bottom: 20px;
  color: #FFF;
  margin-top: 55px;
}

.footer-row-1{
  margin-bottom: 25px;
}

.widget-title{
  color: var(--theme-accent);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
}

.footer-row-3 a{
  color: #FFF!important;
}

.footer-widgets .button{
  background: #FFF;
  color: var(--theme-secondary);
}

.footer-widgets .button:hover,
.footer-widgets .button:focus {
  background: var(--theme-accent);
  color: #FFF;
}

.footer-row-3 p{margin: 0;}

.social-icons a {
  width: 46px;
  height: 46px;
  display: inline-block;
  line-height: 46px;
  text-align: center;
  background: rgba(255,255,255,0.1);
  font-size: 18px;
  color: #FFF;
  transition: all .3s;
  border-radius: 50%;
  margin-right: 6px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #FFF;
  color: var(--theme-secondary);
}


.site-link{
  color: #FFF;
  margin-top: 15px;
  display: block;
  font-weight: 500;
   transition: all 0.3s ease;
}

.site-link:hover {
  color: var(--theme-accent);
  text-decoration: none;
}

.footer-area-1 img{
  width: 196px;
}

.footer-area-2 h2{
  color: #FFF;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
  
}

.footer-area-2 h2 span{
  color: var(--theme-accent);
  font-weight: 500;
}

/* ===============================================
   ERROR & UTILITY PAGES
   =============================================== */
.error-404 {
  padding: 150px 0;
  text-align: center;
}

/* ===============================================
   BLOG & ARCHIVE PAGES
   =============================================== */

/* Archive header */
.archive-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 150px 0 50px 0;
  color: #FFF;
  position: relative;
}

.archive-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #040303;
  opacity: 0.66;
}

.archive-header header {
  display: block;
  position: relative;
}

/* Blog posts */
.archive-post .text {
  margin-top: 15px;
}

.archive-post .text h2 {
  font-size: 30px;
  margin: 5px 0 15px 0;
}

.archive-post .text h2 a {
  color: #000;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}

.archive-post .text h2 a:hover {
  text-decoration: none;
  color: var(--theme-primary);
}

/* Blog title */
h2.blog-title {
  font-size: 42px;
  margin-bottom: 30px;
}

/* Blog utilities */
.blog-paddings {
  padding: 100px 0;
}

.single-image {
  margin-bottom: 50px;
}

/* Tags and categories */
.tags-links a,
.cat-name a {
  color: #000;
  border: 1px solid var(--theme-primary);
  border-radius: 0;
  padding: 5px 10px;
  font-size: 14px;
  display: inline-block;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}

.tags-links {
  display: block;
  margin-top: 15px;
}

.tags-links a:hover,
.cat-name a:hover {
  background: var(--theme-primary);
  color: #FFF;
  text-decoration: none;
}

/* Post navigation */
.post-nav-links {
  font-size: 20px;
  margin: 30px 0;
}

.post-nav-links a {
  font-weight: 600;
}

.post-nav-links .prev,
.post-nav-links .next {
  width: 50%;
}

.post-nav-links .desc {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.post-nav-links .next {
  text-align: right;
}

/* Single blog post styles */
.single-blog-post blockquote {
  background: var(--theme-primary);
  color: #FFF;
  padding: 30px;
}

.single-blog-post blockquote p:last-child {
  margin: 0;
}

/* Pagination */
.site-pagination {
  display: block;
  width: 100%;
  margin-top: 50px;
  text-align: center;
}

.site-pagination .page-numbers {
  display: inline-block;
  font-size: 20px;
  width: 40px;
}


/* Custom  */


.subtitle span{
    font-size: 15px;
    line-height: 26px;
    padding: 7px 20px;
    margin-bottom: 20px;
    background: #f1f1f1;
    color: var(--theme-black);
    border-radius: 25px;
}

.subtitle.subtitle-alt span{
  background: var(--theme-accent );
}

.elementor-heading-title {
  line-height: 1.2;
}

.color-secondary {
  color: var(--theme-secondary);
}

.color-primary {
  color: var(--theme-primary);
}

.icon-box .elementor-icon{
    position: relative;
}

.icon-box .elementor-icon::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: -4px;
    left: 12px;
    background: var(--theme-accent);
    border-radius: 50%;

}

.icon-box-red .elementor-icon::before{
       background: var(--theme-primary);
}

/* .styled-faq{
  box-shadow: 8px 8px 32px #240c8714;
  border-radius: 15px;
} */

 .styled-faq .elementor-toggle .elementor-tab-title{
  /* border: 1px solid #DDDDDD;
  box-shadow: 0 2px 24px rgba(0,0,0,0.1); */
  border-radius: 15px;
  border: 1px solid var(--theme-accent);
  margin-bottom: 4px;
} 

/* .styled-faq .elementor-toggle .elementor-tab-title .elementor-toggle-icon{
  height: 52px;
  width: 52px;
  text-align: center;
  background: var(--theme-secondary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
} */



/* ===============================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   =============================================== */

/* Large Desktop - 1400px */
@media (max-width: 1400px) {
  /* Add styles for 1400px breakpoint if needed */
  .container {
    max-width: 1280px;
  }

  .radius-hero {
    border-radius: 0 0 27px 27px;
  }
}

/* Desktop - 1350px */
@media (max-width: 1350px) {
  /* Add styles for 1350px breakpoint if needed */
}

/* Medium Desktop - 1300px */
@media (max-width: 1300px) {
  /* Add styles for 1300px breakpoint if needed */
}

/* Tablet - 1200px */
@media (max-width: 1200px) {
  /* Header adjustments */
  #main-header {
    position: relative;
    top: 0;
  }

  .admin-bar #main-header {
    top: 0;
  }

  /* Navigation styles */
  .navbar {
    padding: 25px 15px !important;
  }

  .navbar-nav li {
    padding-left: 0;
  }

  .navbar-nav li a {
    display: block;
    text-align: center;
    color: #040303;
    font-size: 20px;
    padding: 12px 0;
  }

  /* Mobile menu */
  #primary-menu-wrap {
    opacity: 0;
    overflow: hidden;
    max-height: 0;
    transition: all 0.3s ease;
  }

  #primary-menu-wrap.show {
    padding: 60px 0;
    opacity: 1;
    max-height: 999999px; /* Important for animation */
  }

  /* After menu styles */
  .after-menu {
    display: block;
    text-align: center;
    justify-content: center;
    margin-top: 20px;
  }

  .after-menu .textwidget {
    display: block;
    width: 100%;
  }

  .after-menu .main-btn {
    margin-top: 30px;
  }

  /* Dropdown adjustments */
  .dropdown-menu {
    border: none;
  }

  .logo-description{
    display: none!important;
  }

  .site-logo {
    height: auto;
  }

  .site-logo img.custom-logo {
    width: 100%;
    max-width: 164px;
  }


}

/* Small Tablet - 991px */
@media (max-width: 991px) {
  .blog-list-post {
    margin-bottom: 30px;
  }
}

/* Mobile Landscape - 767px */
@media (max-width: 767px) {
  /* Post navigation adjustments */
  .post-nav-links {
    display: block !important;
  }

  .post-nav-links .prev,
  .post-nav-links .next {
    text-align: center;
    width: 100%;
  }

  /* Hide swiper pagination on mobile */
  .swiper-pagination {
    display: none !important;
  }
}

/* Mobile Portrait - 575px */
@media (max-width: 575px) {
  /* Add mobile portrait specific styles here */
  .site-footer {
    padding: 12px 0;
  }

  .site-footer .footer-widgets, .footer-area-7, .footer-area-3, .footer-area-8 {text-align: center;}

  .footer-area-1 img {
    width: 170px;
    margin-bottom: 20px;
  }

  .footer-area-2 h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .site-footer .footer-widgets {padding: 55px 0 0 0;}
}

/* Small Mobile - 400px */
@media (max-width: 400px) {
  /* Add small mobile specific styles here */
}
