/*******************************/

/********* General CSS *********/

/*******************************/

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  color: #797979;

  background: #ffffff;

  font-family: "Lato", sans-serif;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #092a49;

  font-family: "Oswald", sans-serif;
}

a {
  color: #454545;

  transition: 0.3s;
}

a:hover,
a:active,
a:focus {
  color: #092a49;

  outline: none;

  text-decoration: none;
}

.btn:focus,
.form-control:focus {
  box-shadow: none;
}

.container-fluid {
  max-width: 1366px;
}

.back-to-top {
  position: fixed;

  display: none;

  background: #0796fe;

  width: 44px;

  height: 44px;

  text-align: center;

  line-height: 1;

  font-size: 22px;

  right: 15px;

  bottom: 15px;

  transition: background 0.5s;

  z-index: 9;
}

.back-to-top i {
  color: #092a49;

  padding-top: 10px;
}

.back-to-top:hover {
  background: #092a49;
}

.back-to-top:hover i {
  color: #0796fe;
}

/* Footer Admin Icon */
.footer-admin-icon {
  color: #999999;
  text-decoration: none;
  margin-left: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.footer-admin-icon:hover {
  color: #0796fe;
  opacity: 1;
  text-decoration: none;
  transform: scale(1.1);
}

.footer-admin-icon i {
  color: inherit;
}

@media (min-width: 992px) {
  .mt-125 {
    margin-top: 125px;
  }
}

/**********************************/

/********** Top Bar CSS ***********/

/**********************************/

.top-bar {
  position: relative;

  height: 35px;

  background-image: linear-gradient(to right, #0796fe, #092a49);
}

.top-bar .top-bar-left {
  display: flex;

  align-items: center;

  justify-content: flex-start;
}

.top-bar .top-bar-right {
  display: flex;

  align-items: center;

  justify-content: flex-end;
}

.top-bar .text {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-direction: row;

  height: 35px;

  padding: 0 10px;

  text-align: center;

  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .text:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .text i {
  font-size: 14px;

  color: #ffffff;

  margin-right: 5px;
}

.top-bar .text h2 {
  color: #eeeeee;

  font-weight: 400;

  font-size: 14px;

  letter-spacing: 1px;

  margin: 0;
  
  font-family: "Lato", sans-serif;
  
  line-height: 1.2;
}

.top-bar .text p {
  color: #eeeeee;

  font-size: 14px;

  font-weight: 400;

  margin: 0 0 0 5px;
  
  line-height: 1.2;
}

.top-bar .social {
  display: flex;

  height: 35px;

  font-size: 0;

  justify-content: flex-end;
}

.top-bar .social a {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 35px;

  height: 100%;

  font-size: 16px;

  color: #ffffff;

  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .social a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .social a:hover {
  color: #092a49;

  background: #ffffff;
}

@media (min-width: 992px) {
  .top-bar {
    padding: 0 60px;
  }
}

/**********************************/

/*********** Nav Bar CSS **********/

/**********************************/

.navbar {
  position: relative;

  transition: 0.5s;

  z-index: 999;
}

.navbar.nav-sticky {
  position: fixed;

  top: 0;

  width: 100%;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);

  transition: 0.5s;
}

.navbar .navbar-brand {
  margin: 0;

  color: #ffffff;

  font-size: 45px;

  line-height: 0px;

  font-weight: 200;

  text-transform: uppercase;
}

.navbar .navbar-brand img {
  max-width: 100%;

  max-height: 40px;
}

/* Reduce transform-induced layout shifts on mobile */
@media (max-width: 767.98px) {
  .team .team-item:hover .team-text {
    transform: none;
  }
  .carousel .owl-nav .owl-prev,
  .carousel .owl-nav .owl-next {
    will-change: auto;
  }
}

/* SZTP Logo Styles */
.navbar-brand-container {
  position: relative;
}

/* Desktop SZTP Logo */
.sztp-logo-desktop {
  height: 50px;
  width: auto;
  margin-left: 20px;
  transition: all 0.3s ease;
}

.sztp-logo-desktop:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* Mobile SZTP Logo */
.sztp-logo-mobile {
  height: 50px;
  width: auto;
  margin-top: 5px;
  transition: all 0.3s ease;
}

.sztp-logo-mobile:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* Main logo adjustments */
.main-logo {
  max-height: 40px;
  width: auto;
}

.main-logo-mobile {
  max-height: 40px;
  width: auto;
}

.sztp_logo_span {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

/* SZTP Modal Styles */
#sztpModal .modal-dialog {
  max-width: 600px;
  margin: 60px auto 0 auto;
}

#sztpModal .modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#sztpModal .modal-header {
  background: linear-gradient(to right, #0796fe, #092a49);
  color: white;
  border-radius: 10px 10px 0 0;
  border: none;
}

#sztpModal .modal-title {
  font-weight: 300;
  letter-spacing: 1px;
}

#sztpModal .close {
  color: white;
  opacity: 0.8;
  font-size: 28px;
}

#sztpModal .close:hover {
  opacity: 1;
}

#sztpModal .modal-body {
  padding: 30px;
  background: #f8f9fa;
}

#sztpModal .modal-body img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  padding: 10px 10px 8px 10px;

  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #0796fe;

  transition: none;
}

.navbar .dropdown-menu {
  margin-top: 0;

  border: 0;

  border-radius: 0;

  background: #f8f9fa;
}

@media (min-width: 992px) {
  .navbar {
    position: absolute;

    width: 100%;

    top: 35px;

    padding: 20px 60px;

    background: rgba(9, 42, 73, 0.2) !important;

    z-index: 9;
  }

  .navbar.nav-sticky {
    padding: 10px 60px;

    background: #092a49 !important;
  }

  .page .navbar,
  .navbar.page {
    background: #092a49 !important;
  }

  .navbar a.nav-link {
    padding: 8px 15px;

    font-size: 14px;

    letter-spacing: 1px;

    text-transform: uppercase;
  }

  /* Desktop SZTP Logo adjustments */
  .sztp-logo-desktop {
    height: 60px;
    margin-left: 25px;
  }

  .main-logo {
    max-height: 45px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px;
    background: #092a49 !important;
    z-index: 999;
  }
  
  /* Add padding to body to prevent content jumping */
  body {
    padding-top: 80px;
  }

  .navbar a.nav-link {
    padding: 5px;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
  }

  /* Mobile SZTP Logo adjustments */
  .navbar-brand-container {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: relative;
  }

  .sztp-logo-mobile {
    height: 45px;
  }

  .main-logo-mobile {
    max-height: 40px;
  }

  .sztp_logo_span {
    width: 100%;
    margin-top: 8px;
  }

  /* Ensure mobile menu button doesn't interfere */
  .navbar-toggler {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .sztp-logo-mobile {
    height: 50px;
  }

  .main-logo-mobile {
    max-height: 45px;
  }

  .sztp_logo_span {
    margin-top: 10px;
  }
  
  /* Center image on tablet devices */
  .about .about-img-5 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .about .about-img-5 img {
    display: block;
    margin: 0 auto;
  }
}

/* Small mobile adjustments */
@media (max-width: 575.98px) {
  .sztp-logo-mobile {
    height: 40px;
  }

  .main-logo-mobile {
    max-height: 35px;
  }

  .sztp_logo_span {
    margin-top: 5px;
  }

  .navbar {
    padding: 10px;
  }
  
  /* Ensure image centering on small mobile devices */
  .about .about-img-5 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .about .about-img-5 img {
    display: block;
    margin: 0 auto;
  }
}

/*******************************/

/********** Hero CSS ***********/

/*******************************/

.carousel {
  position: relative;

  width: 100%;

  height: calc(100vh - 35px);

  min-height: 400px;

  background: #092a49;

  margin-bottom: 45px;
}

.carousel .container-fluid {
  padding: 0;
}

.carousel .carousel-item {
  position: relative;

  width: 100%;

  height: calc(100vh - 35px);

  display: flex;

  align-items: center;

  justify-content: center;

  flex-direction: column;
}

.carousel .carousel-img {
  position: relative;

  width: 100%;

  height: 100%;

  text-align: right;

  overflow: hidden;
}

.carousel .carousel-img::after {
  position: absolute;

  content: "";

  top: 0;

  right: 0;

  bottom: 0;

  left: 0;

  background: rgba(9, 42, 73, 0.7);

  z-index: 1;
}

.carousel .carousel-img img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}

.carousel .carousel-text {
  position: absolute;

  max-width: 700px;

  height: calc(100vh - 35px);

  display: flex;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  z-index: 2;
}

.carousel .carousel-text h1 {
  text-align: center;

  color: #ffffff;

  font-size: 60px;

  font-weight: 200;

  margin-bottom: 20px;
}

.carousel .carousel-text p {
  color: #ffffff;

  text-align: center;

  font-size: 20px;

  margin-bottom: 25px;
}

.carousel .carousel-text .btn {
  padding: 15px 30px;

  font-size: 16px;

  letter-spacing: 1px;

  color: #ffffff;

  background: none;

  border: 2px solid #ffffff;

  border-radius: 0;

  transition: 0.3s;
}

.carousel .carousel-text .btn i {
  margin-right: 5px;
}

.carousel .carousel-text .btn:hover {
  color: #0796fe;

  background: #ffffff;
}

.carousel .carousel-btn .btn:first-child {
  margin-right: 15px;
}

.carousel .owl-nav {
  position: absolute;

  width: 122px;

  right: 2px;

  bottom: 2px;

  display: flex;

  z-index: 9;
}

.carousel .owl-nav .owl-prev,
.carousel .owl-nav .owl-next {
  width: 60px;

  height: 60px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #0796fe;

  background: #092a49;

  font-size: 22px;

  transition: 0.3s;
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
  color: #ffffff;

  background: #0796fe;
}

.carousel .owl-nav .owl-prev {
  margin-right: 2px;
}

.carousel .animated {
  -webkit-animation-duration: 1s;

  animation-duration: 1s;
}

#videoModal .modal-dialog {
  position: relative;

  max-width: 800px;

  margin: 60px auto 0 auto;
}

#videoModal .modal-body {
  position: relative;

  padding: 0px;
}

#videoModal .close {
  position: absolute;

  width: 30px;

  height: 30px;

  right: 0px;

  top: -30px;

  z-index: 999;

  font-size: 30px;

  font-weight: normal;

  color: #ffffff;

  background: #000000;

  opacity: 1;
}

@media (max-width: 991.98px) {
  .carousel,
  .carousel .carousel-item,
  .carousel .carousel-text {
    height: calc(100vh - 105px);
  }

  .carousel .carousel-text h1 {
    font-size: 35px;
  }

  .carousel .carousel-text p {
    font-size: 16px;
  }

  .carousel .carousel-text .btn {
    padding: 12px 30px;

    font-size: 15px;

    letter-spacing: 0;
  }
}

@media (max-width: 767.98px) {
  .carousel,
  .carousel .carousel-item,
  .carousel .carousel-text {
    height: calc(100vh - 70px);
  }

  .carousel .carousel-text h1 {
    font-size: 30px;
  }

  .carousel .carousel-text .btn {
    padding: 10px 25px;

    font-size: 15px;

    letter-spacing: 0;
  }
}

@media (max-width: 575.98px) {
  .carousel .carousel-text h1 {
    font-size: 25px;
  }

  .carousel .carousel-text .btn {
    padding: 8px 20px;

    font-size: 14px;

    letter-spacing: 0;
  }
}

/*******************************/

/******* Section Header ********/

/*******************************/

.section-header {
  position: relative;

  text-align: left;

  margin-bottom: 45px;
}

.section-header p {
  margin-bottom: 5px;

  position: relative;

  font-size: 16px;
}

.section-header h2 {
  margin: 0 0 0 40px;

  position: relative;

  font-size: 50px;

  font-weight: 200;
}

.section-header h2::after {
  content: "";

  position: absolute;

  width: 200px;

  height: 0;

  top: 23px;

  left: -40px;

  border-bottom: 30px solid;

  border-image: repeating-linear-gradient(
      60deg,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.05) 1.5%,
      rgba(0, 0, 0, 0.1) 1.5%,
      rgba(0, 0, 0, 0.1) 3%
    )
    30;
}

.section-header h2:hover::after {
  border-image: repeating-linear-gradient(
      60deg,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.1) 1.5%,
      rgba(0, 0, 0, 0.05) 1.5%,
      rgba(0, 0, 0, 0.05) 3%
    )
    30;
}

@media (max-width: 991.98px) {
  .section-header h2 {
    font-size: 45px;
  }
}

@media (max-width: 767.98px) {
  .section-header h2 {
    font-size: 40px;
  }
}

@media (max-width: 575.98px) {
  .section-header h2 {
    font-size: 35px;
  }
}

/*******************************/

/********** Fact CSS ***********/

/*******************************/

.fact {
  position: relative;

  width: 100%;

  padding: 45px 0 15px 0;
}

.fact .fact-item {
  position: relative;

  width: 100%;

  margin-bottom: 30px;

  padding: 30px 0 25px 0;

  text-align: center;

  background: #ffffff;

  border: 1px solid transparent;

  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);

  transition: 0.3s;
}

.fact .fact-item:hover {
  border-color: rgba(0, 0, 0, 0.1);

  box-shadow: none;
}

.fact .fact-item img {
  max-height: 50px;

  margin-bottom: 15px;
}

.fact .fact-item h2 {
  font-size: 22px;

  font-weight: 300;

  letter-spacing: 1px;
}

/*******************************/

/********** About CSS **********/

/*******************************/

.about {
  position: relative;

  width: 100%;

  padding: 45px 0;
}

.about .section-header {
  margin-bottom: 30px;

  margin-left: 0;
}

.about .about-img {
  position: relative;

  width: 100%;

  height: 100%;

  overflow: hidden;

  transition: 0.5s;
}

.about .about-img::after {
  position: absolute;

  content: "";

  top: 0px;

  right: 0px;

  bottom: 0px;

  left: 0px;

  background: transparent;

  border: 0px solid;

  border-image: repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.05) 0.5%,
      rgba(0, 0, 0, 0.1) 0.5%,
      rgba(0, 0, 0, 0.1) 1%
    )
    30;

  z-index: 1;
}

.about .about-img:hover::after {
  border-image: repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.1) 0.5%,
      rgba(0, 0, 0, 0.05) 0.5%,
      rgba(0, 0, 0, 0.05) 1%
    )
    30;
}

.about .about-img-1 {
  position: relative;

  height: 100%;

  height: 100%;

  margin: 0 150px 150px 0;
}

.about .about-img-2 {
  position: absolute;

  height: 100%;

  height: 100%;

  top: 150px;

  left: 150px;

  z-index: 1;
}

.about .about-img-1 img,
.about .about-img-2 img {
  position: relative;

  width: 100%;
}

.about .about-text p {
  font-size: 16px;
}

.about .about-text a.btn {
  position: relative;

  margin-top: 15px;

  padding: 12px 25px;

  font-size: 16px;

  font-weight: 600;

  letter-spacing: 1px;

  color: #092a49;

  border: 2px solid #092a49;

  border-radius: 0;

  background: none;

  transition: 0.3s;
}

.about .about-text a.btn:hover {
  color: #0796fe;

  background: #092a49;
}

@media (max-width: 767.98px) {
  .about .about-img {
    margin-bottom: 30px;

    height: auto;
  }
  
  .about .about-img-5 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .about .about-img-5 img {
    display: block;
    margin: 0 auto;
  }
}

/*******************************/

/********* Service CSS *********/

/*******************************/

.service {
  position: relative;

  width: 100%;

  padding: 45px 0 15px 0;
}

.service .service-item {
  position: relative;

  width: 100%;

  margin-bottom: 30px;

  padding: 30px;

  text-align: center;

  border: 1px solid rgba(0, 0, 0, 0.1);

  transition: 0.3s;
}

.service .service-item:hover {
  border-color: transparent;

  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.service .service-item img {
  max-height: 50px;

  margin-bottom: 20px;
}

.service .service-item h3 {
  margin-bottom: 10px;

  font-size: 22px;

  font-weight: 300;

  letter-spacing: 1px;
}

.service .service-item p {
  margin-bottom: 10px;

  font-size: 16px;
}

.service .service-item a {
  position: relative;

  font-size: 16px;

  color: #0796fe;

  transition: 0.3s;
}

.service .service-item a::after {
  content: "";

  position: absolute;

  width: 80%;

  height: 2px;

  bottom: -3px;

  left: 10%;

  background: #0796fe;
}

.service .service-item:hover a.btn {
  color: #092a49;

  background: #1d2434;

  border-color: #1d2434;
}

/*******************************/

/********* Feature CSS *********/

/*******************************/

.feature {
  position: relative;

  width: 100%;

  padding: 45px 0;
}

.feature .col-md-6 {
  height: 100%;
}

.feature .feature-img {
  position: relative;

  width: 100%;

  height: 100%;

  display: flex;

  align-items: flex-end;

  justify-content: flex-start;
}

.feature .feature-img::after {
  position: absolute;

  content: "";

  width: 100%;

  height: 70%;

  top: 30%;

  left: 0;

  border: 30px solid;

  border-image: repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.05) 0.5%,
      rgba(0, 0, 0, 0.1) 0.5%,
      rgba(0, 0, 0, 0.1) 1%
    )
    30;

  z-index: 1;
}

.feature .feature-img:hover::after {
  border-image: repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.1) 0.5%,
      rgba(0, 0, 0, 0.05) 0.5%,
      rgba(0, 0, 0, 0.05) 1%
    )
    30;
}

.feature .feature-img img {
  position: relative;

  max-width: 100%;

  max-height: 100%;

  margin: 0 30px 30px 30px;

  z-index: 2;
}

@media (max-width: 767.98px) {
  .feature .feature-img {
    margin-bottom: 45px;
  }
}

.feature .counters .col-6 {
  padding-top: 25px;

  display: flex;

  flex-direction: row;
}

.feature .counters i {
  padding: 5px 15px 0 0;

  font-size: 28px;

  color: #0796fe;
}

.feature .counters h2 {
  position: relative;

  display: inline-block;

  color: #0796fe;

  font-size: 30px;

  font-weight: 300;
}

.feature .counters h2::after {
  position: absolute;

  content: "+";

  top: -15px;

  right: -15px;
}

.feature .counters p {
  color: #092a49;

  font-size: 20px;

  margin: 0;
}

/*******************************/

/*********** Team CSS **********/

/*******************************/

.team {
  position: relative;

  width: 100%;

  padding: 45px 0 15px 0;
}

.team .team-item {
  position: relative;

  margin-bottom: 75px;
}

.team .team-img {
  position: relative;
}

.team .team-img img {
  width: 100%;
}

.team .team-text {
  position: absolute;

  width: calc(100% - 30px);

  height: 96px;

  bottom: -46px;

  left: 15px;

  padding: 25px 15px;

  text-align: center;

  background: rgba(256, 256, 256, 0.9);

  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);

  transition: 0.3s;

  overflow: hidden;
}

.team .team-text h2 {
  color: #0796fe;

  font-size: 16px;

  font-weight: 400;

  letter-spacing: 1px;

  margin-bottom: 10px;
}

.team .team-text p {
  margin-bottom: 20px;

  color: #092a49;
}

.team .team-social {
  position: relative;

  font-size: 0;
}

.team .team-social a {
  display: inline-block;

  width: 35px;

  height: 35px;

  margin: 0 3px;

  padding: 5px 0;

  text-align: center;

  font-size: 14px;

  color: #092a49;

  border: 2px solid #092a49;

  transition: 0.3s;
}

.team .team-social a:hover {
  color: #0796fe;

  border-color: #0796fe;
}

.team .team-item:hover .team-text {
  height: 160px;
}

/*******************************/

/******* Testimonial CSS *******/

/*******************************/

.testimonial {
  position: relative;

  width: 100%;

  padding: 45px 0;
}

.testimonial .testimonials-carousel {
  position: relative;

  width: calc(100% + 30px);

  margin: 0 -15px;
}

.testimonial .testimonial-item {
  position: relative;

  width: 100%;

  padding: 0 15px;

  display: flex;

  align-items: flex-start;

  justify-content: center;

  flex-direction: column;

  overflow: hidden;
}

.testimonial .testimonial-item img {
  position: relative;

  width: 80px;

  border-radius: 80px;

  margin-bottom: 15px;
}

.testimonial .testimonial-item p {
  margin-bottom: 15px;
}

.testimonial .testimonial-item h2 {
  position: relative;

  color: #092a49;

  font-size: 16px;

  letter-spacing: 1px;

  margin-bottom: 5px;

  padding-bottom: 3px;
}

.testimonial .testimonial-item h2::before {
  position: absolute;

  content: "";

  width: 30px;

  height: 2px;

  bottom: 0;

  left: 0;

  background: #0796fe;

  transition: 0.3s;
}

.testimonial .testimonial-item:hover h2::before {
  width: 60px;
}

.testimonial .testimonial-item h3 {
  color: #999999;

  font-size: 14px;

  font-weight: 300;

  letter-spacing: 2px;

  margin: 0;
}

.testimonial .owl-nav {
  position: relative;

  width: 100%;

  margin-top: 30px;

  display: flex;

  justify-content: center;
}

.testimonial .owl-nav .owl-prev,
.testimonial .owl-nav .owl-next {
  position: relative;

  width: 100px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #0796fe;

  font-size: 25px;

  transition: 0.3s;
}

.testimonial .owl-nav .owl-prev {
  padding-right: 80px;
}

.testimonial .owl-nav .owl-next {
  padding-left: 80px;
}

.testimonial .owl-nav .owl-prev:hover,
.testimonial .owl-nav .owl-next:hover {
  color: #092a49;
}

.testimonial .owl-nav .owl-prev::after,
.testimonial .owl-nav .owl-next::after {
  position: absolute;

  content: "";

  width: 80px;

  height: 3px;

  top: 11px;

  background: #0796fe;

  transition: 0.3s;
}

.testimonial .owl-nav .owl-prev::after {
  left: 9px;
}

.testimonial .owl-nav .owl-next::after {
  right: 9px;
}

.testimonial .owl-nav .owl-prev:hover::after {
  background: #092a49;
}

.testimonial .owl-nav .owl-next:hover::after {
  background: #092a49;
}

/*******************************/

/*********** Blog CSS **********/

/*******************************/

.blog {
  position: relative;

  width: 100%;

  padding: 45px 0;
}

.blog .section-header {
  margin-bottom: 75px;
}

.blog .blog-carousel {
  position: relative;

  width: calc(100% + 30px);

  left: -15px;

  right: -15px;
}

.blog .blog-item {
  position: relative;

  margin: 0 15px;
}

.blog.blog-page .blog-item {
  margin: 0 0 30px 0;
}

/* Responsive blog layout */
@media (max-width: 991.98px) {
  .blog.blog-page .blog-item {
    margin: 0 0 40px 0;
  }
}

@media (max-width: 767.98px) {
  .blog.blog-page .blog-item {
    margin: 0 0 30px 0;
  }

  .blog .blog-content {
    width: calc(100% - 30px);
    margin: 0 15px;
  }
}

.blog .blog-img {
  position: relative;

  width: 100%;

  z-index: 1;
}

.blog .blog-img img {
  width: 100%;
}

.blog .blog-content {
  position: relative;

  width: calc(100% - 60px);

  top: -60px;

  left: 30px;

  padding: 25px 30px;

  background: #ffffff;

  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);

  z-index: 2;
}

.blog .blog-content h2.blog-title {
  font-size: 25px;

  font-weight: 400;

  letter-spacing: 1px;
}

.blog .blog-meta {
  position: relative;

  margin-bottom: 15px;
}

.blog .blog-meta * {
  display: inline-block;

  margin: 0;

  padding: 0;

  font-size: 14px;

  font-weight: 300;

  color: #797979;
}

.blog .blog-meta i {
  color: #0796fe;

  margin: 0 2px 0 10px;
}

.blog .blog-meta i:first-child {
  margin-left: 0;
}

.blog .blog-text {
  position: relative;
}

.blog .blog-text p {
  margin-bottom: 10px;
}

.blog .blog-item a.btn {
  position: relative;

  padding: 0 0 0 35px;

  font-size: 14px;

  font-weight: 400;

  letter-spacing: 1px;

  color: #0796fe;

  transition: 0.3s;
}

.blog .blog-item a.btn:hover {
  color: #092a49;
}

.blog .blog-item a.btn::before {
  position: absolute;

  content: "";

  width: 30px;

  height: 2px;

  top: 10px;

  left: 0;

  background: #0796fe;
}

.blog .owl-nav {
  position: relative;

  width: 100%;

  margin-top: -30px;

  display: flex;

  justify-content: center;
}

.blog .owl-nav .owl-prev,
.blog .owl-nav .owl-next {
  position: relative;

  width: 100px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #0796fe;

  font-size: 25px;

  transition: 0.3s;
}

.blog .owl-nav .owl-prev {
  padding-right: 80px;
}

.blog .owl-nav .owl-next {
  padding-left: 80px;
}

.blog .owl-nav .owl-prev:hover,
.blog .owl-nav .owl-next:hover {
  color: #092a49;
}

.blog .owl-nav .owl-prev::after,
.blog .owl-nav .owl-next::after {
  position: absolute;

  content: "";

  width: 80px;

  height: 3px;

  top: 11px;

  background: #0796fe;

  transition: 0.3s;
}

.blog .owl-nav .owl-prev::after {
  left: 9px;
}

.blog .owl-nav .owl-next::after {
  right: 9px;
}

.blog .owl-nav .owl-prev:hover::after {
  background: #092a49;
}

.blog .owl-nav .owl-next:hover::after {
  background: #092a49;
}

.blog .pagination {
  margin-bottom: 0;
}

.blog .pagination .page-link {
  margin-top: -30px;

  color: #092a49;

  border-radius: 0;

  border-color: #092a49;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
  color: #0796fe;

  background: #092a49;
}

.blog .pagination .disabled .page-link {
  color: #999999;
}

/*******************************/

/********* Contact CSS *********/

/*******************************/

.contact {
  position: relative;

  width: 100%;

  padding: 45px 0 15px 0;
}

.contact .contact-info {
  position: relative;

  display: flex;

  padding: 30px;

  border: 1px solid rgba(0, 0, 0, 0.1);

  margin-bottom: 30px;

  transition: 0.3s;
}

.contact .contact-info:hover {
  border-color: transparent;

  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.contact .contact-icon {
  position: relative;

  width: 50px;

  height: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact .contact-icon i {
  font-size: 18px;

  color: #0796fe;
}

.contact .contact-text {
  position: relative;

  display: flex;

  flex-direction: column;

  padding-left: 15px;
}

.contact .contact-text h3 {
  font-size: 16px;

  font-weight: 400;

  color: #092a49;

  letter-spacing: 1px;
}

.contact .contact-text p {
  margin: 0;

  font-size: 16px;
}

.contact .contact-form {
  position: relative;

  padding: 30px;

  border: 1px solid rgba(0, 0, 0, 0.1);

  margin-bottom: 30px;

  transition: 0.3s;
}

.contact .contact-form:hover {
  border-color: transparent;

  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.contact .contact-form input {
  padding: 15px;

  background: none;

  border-radius: 0;

  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact .contact-form textarea {
  height: 100px;

  padding: 8px 15px;

  background: none;

  border-radius: 0;

  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact .contact-form .btn {
  padding: 15px 30px;

  font-size: 16px;

  font-weight: 600;

  letter-spacing: 1px;

  color: #092a49;

  background: none;

  border: 2px solid #092a49;

  border-radius: 0;

  transition: 0.3s;
}

.contact .contact-form .btn:hover {
  color: #0796fe;

  background: #092a49;
}

.contact .help-block ul {
  margin: 0;

  padding: 0;

  list-style-type: none;
}

/*******************************/

/******* Single Page CSS *******/

/*******************************/

.single {
  position: relative;

  width: 100%;

  padding: 45px 0 15px 0;
}

.single img {
  width: 100%;

  margin: 0 0 25px 0;
}

.single .table,
.single .list-group {
  margin-bottom: 30px;
}

.single .ul-group {
  padding: 0;

  list-style: none;
}

.single .ul-group li {
  margin-left: 2px;
}

.single .ul-group li::before {
  position: relative;

  content: "\f0da";

  font-family: "Font Awesome 5 Free";

  font-weight: 900;

  margin-right: 10px;
}

.single .ol-group {
  padding-left: 18px;
}

/*******************************/

/********* Footer CSS **********/

/*******************************/

.footer {
  position: relative;

  margin-top: 45px;

  padding-top: 90px;

  background: #092a49;
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
  position: relative;

  margin-bottom: 45px;

  color: #ffffff;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
  position: relative;

  margin-bottom: 30px;

  padding-bottom: 10px;

  font-size: 22px;

  font-weight: 300;

  letter-spacing: 1px;

  color: #ffffff;
}

.footer .footer-contact h2::after,
.footer .footer-link h2::after,
.footer .footer-newsletter h2::after {
  position: absolute;

  content: "";

  width: 45px;

  height: 2px;

  bottom: 0;

  left: 0;

  background: #0796fe;
}

.footer .footer-link a {
  display: block;

  margin-bottom: 10px;

  color: #ffffff;

  transition: 0.3s;
}

.footer .footer-link a::before {
  position: relative;

  content: "\f105";

  font-family: "Font Awesome 5 Free";

  font-weight: 900;

  margin-right: 10px;
}

.footer .footer-link a:hover {
  color: #0796fe;

  letter-spacing: 1px;
}

.footer .footer-contact p i {
  width: 25px;
}

.footer .footer-social {
  position: relative;

  margin-top: 20px;
}

.footer .footer-social a {
  display: inline-block;
}

.footer .footer-social a i {
  margin-right: 15px;

  font-size: 18px;

  color: #092a49;
}

.footer .footer-social a:last-child i {
  margin: 0;
}

.footer .footer-social a:hover i {
  color: #999999;
}

.footer .footer-newsletter .form {
  position: relative;

  width: 100%;
}

.footer .footer-newsletter input {
  height: 60px;

  border: 2px solid #1d2434;

  border-radius: 0;
}

.footer .footer-newsletter .btn {
  position: absolute;

  top: 8px;

  right: 8px;

  height: 44px;

  padding: 8px 20px;

  font-size: 14px;

  font-weight: 600;

  color: #092a49;

  background: none;

  border-radius: 0;

  border: 2px solid #092a49;

  transition: 0.3s;
}

.footer .footer-newsletter .btn:hover {
  color: #0796fe;

  background: #092a49;
}

.footer .copyright {
  padding: 0 30px;
}

.footer .copyright .row {
  padding-top: 25px;

  padding-bottom: 25px;

  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright p {
  margin: 0;

  color: #999999;
}

.footer .copyright .col-md-6:last-child p {
  text-align: right;
}

.footer .copyright p a {
  color: #ffffff;
}

.footer .copyright p a:hover {
  color: #0796fe;
}

@media (max-width: 767.98px) {
  .footer .copyright p,
  .footer .copyright .col-md-6:last-child p {
    margin: 5px 0;

    text-align: center;
  }
}

.palyazat_kep {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* Custom styling for palyazatok page */
.palyazatok-page .team-text {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: rgba(
    255,
    255,
    255,
    1
  ); /* Semi-transparent white background */
  height: 60px !important; /* Smaller height for TOVÁBB button */
}

.palyazatok-page .team-item:hover .team-text {
  height: 60px !important; /* Keep same height on hover */
  background-color: #092a49; /* Brand dark blue */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.palyazatok-page .team-text a {
  text-decoration: none;
  width: 100%;
  text-align: center;
}

.palyazatok-page .team-text p {
  margin: 0;
  color: #092a49;
  font-weight: 500;
  transition: color 0.3s ease;
  line-height: 1; /* Keep button height constant */
  padding: 8px 0; /* Stable vertical size */
}

.palyazatok-page .team-item:hover .team-text p {
  color: white !important;
}

/* Responsive layout for palyazatok page */
.palyazatok-page .team-item {
  margin-bottom: 30px;
}

/* Ensure proper spacing on mobile */
@media (max-width: 767.98px) {
  .palyazatok-page .team-item {
    margin-bottom: 40px;
  }

  .palyazatok-page .col-sm-12 {
    margin-bottom: 20px;
  }
}

/* Ensure proper spacing on tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  .palyazatok-page .team-item {
    margin-bottom: 35px;
  }
}

/* Ensure proper spacing on desktop */
@media (min-width: 992px) {
  .palyazatok-page .team-item {
    margin-bottom: 30px;
  }
}

.back_button_container {
  display: flex;
  width: full;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.back_button_custom {
  text-align: center;
  border: 1px solid #092a49;
  padding: 1rem 2rem;
  color: #092a49;
}

.back_button_custom:hover,
.back_button_custom:active {
  color: #ffffff;
  background-color: #092a49;
  transform: scale(1.2);
  transition: all 0.7s;
}

.back_button_custom:link,
.back_button_custom:visited {
  transform: scale(1);
  transition: all 0.7s;
}

/* Responsive back button styles */
@media (max-width: 767px) {
  .back_button_container {
    margin: 0.8rem 0;
  }
  
  .back_button_custom {
    padding: 0.8rem 1.5rem;
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .back_button_container {
    margin: 0.9rem 0;
  }
  
  .back_button_custom {
    padding: 0.9rem 1.8rem;
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .back_button_container {
    margin: 1rem 0;
  }
  
  .back_button_custom {
    padding: 1rem 2rem;
    font-size: 16px;
  }
}

/* Project Parameters Responsive Styles */
.project-parameters {
  background-color: #f8f9fa !important;
  padding: 20px !important;
  border-radius: 8px !important;
  margin-bottom: 30px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-parameters p {
  line-height: 1.5;
  font-size: inherit;
  margin: 0;
}

/* Mobile devices (320px - 767px) */
@media (max-width: 767px) {
  .project-parameters {
    padding: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .project-parameters p {
    font-size: inherit !important;
  }
}

/* Tablet devices (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .project-parameters {
    padding: 18px !important;
    margin-bottom: 25px !important;
  }
  
  .project-parameters p {
    font-size: inherit !important;
  }
}

/* Laptop devices (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .project-parameters {
    padding: 20px !important;
    margin-bottom: 30px !important;
  }
  
  .project-parameters p {
    font-size: inherit !important;
  }
}

/* Desktop and large screens (1440px+) */
@media (min-width: 1440px) {
  .project-parameters {
    padding: 24px !important;
    margin-bottom: 35px !important;
  }
  
  .project-parameters p {
    font-size: inherit !important;
  }
}

/* Project Content Styles - Applied to both projects and news */
.project-content {
  text-align: justify;
  line-height: 1.6;
}

.project-content p {
  margin-bottom: 1rem;
  text-align: justify;
}

.project-content p:last-child {
  margin-bottom: 0;
}

.project-content h1,
.project-content h2,
.project-content h3,
.project-content h4,
.project-content h5,
.project-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #092a49;
  font-family: "Oswald", sans-serif;
}

.project-content h1:first-child,
.project-content h2:first-child,
.project-content h3:first-child,
.project-content h4:first-child,
.project-content h5:first-child,
.project-content h6:first-child {
  margin-top: 0;
}

.project-content strong,
.project-content b {
  font-weight: bold;
  color: #092a49;
}

.project-content ul,
.project-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.project-content li {
  margin-bottom: 0.5rem;
}

.project-content blockquote {
  margin: 1.5rem 0 !important;
  padding: 1rem !important;
  background-color: #f8f9fa !important;
  border-left: 4px solid #092a49 !important;
  font-style: italic !important;
}

.project-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

/* Responsive project content */
@media (max-width: 767px) {
  .project-content {
    font-size: 14px;
  }
  
  .project-content p {
    margin-bottom: 0.8rem;
  }
  
  .project-content h1,
  .project-content h2,
  .project-content h3,
  .project-content h4,
  .project-content h5,
  .project-content h6 {
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .project-content {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .project-content {
    font-size: 16px;
  }
}

/* News Content - Inherits all project content styles */
.news-content.project-content {
  text-align: justify;
  line-height: 1.6;
}

.news-content.project-content p {
  margin-bottom: 1rem;
  text-align: justify;
}

.news-content.project-content p:last-child {
  margin-bottom: 0;
}

.news-content.project-content h1,
.news-content.project-content h2,
.news-content.project-content h3,
.news-content.project-content h4,
.news-content.project-content h5,
.news-content.project-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #092a49;
  font-family: "Oswald", sans-serif;
}

.news-content.project-content h1:first-child,
.news-content.project-content h2:first-child,
.news-content.project-content h3:first-child,
.news-content.project-content h4:first-child,
.news-content.project-content h5:first-child,
.news-content.project-content h6:first-child {
  margin-top: 0;
}

.news-content.project-content strong,
.news-content.project-content b {
  font-weight: bold;
  color: #092a49;
}

.news-content.project-content ul,
.news-content.project-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.news-content.project-content li {
  margin-bottom: 0.5rem;
}

.news-content.project-content blockquote {
  margin: 1.5rem 0 !important;
  padding: 1rem !important;
  background-color: #f8f9fa !important;
  border-left: 4px solid #092a49 !important;
  font-style: italic !important;
}

/* Additional high-specificity selectors for blockquotes */
.blog.blog-page .news-content.project-content blockquote,
.single .news-content.project-content blockquote,
.container .news-content.project-content blockquote {
  margin: 1.5rem 0 !important;
  padding: 1rem !important;
  background-color: #f8f9fa !important;
  border-left: 4px solid #092a49 !important;
  font-style: italic !important;
  display: block !important;
}

/* MAXIMUM SPECIFICITY QUill styles to override Tailwind CSS */
html body .container .blog.blog-page .blog-item .blog-text .news-content.project-content,
html body .container .single .news-content.project-content,
html body .container .blog.blog-page .news-content.project-content,
html body .container .news-content.project-content,
html body .container .project-content,
.news-content.project-content {
  /* Headers - Override Tailwind */
  h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
    color: #092a49 !important;
    font-family: "Oswald", sans-serif !important;
    font-weight: 600 !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }
  
  h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    margin-top: 0 !important;
  }
  
  /* Text formatting - Override Tailwind */
  strong, b {
    font-weight: bold !important;
    color: #092a49 !important;
  }
  
  em, i {
    font-style: italic !important;
  }
  
  u {
    text-decoration: underline !important;
  }
  
  s, strike {
    text-decoration: line-through !important;
  }
  
  /* Subscript and superscript */
  sub {
    vertical-align: sub !important;
    font-size: 0.8em !important;
  }
  
  sup {
    vertical-align: super !important;
    font-size: 0.8em !important;
  }
  
  /* Lists - Override Tailwind */
  ul, ol {
    margin-bottom: 1rem !important;
    padding-left: 2rem !important;
    list-style-type: disc !important;
  }
  
  ol {
    list-style-type: decimal !important;
  }
  
  li {
    margin-bottom: 0.5rem !important;
    display: list-item !important;
  }
  
  /* Blockquotes - Override Tailwind */
  blockquote {
    margin: 1.5rem 0 !important;
    padding: 1rem !important;
    background-color: #f8f9fa !important;
    border-left: 4px solid #092a49 !important;
    font-style: italic !important;
    display: block !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  
  /* Code blocks - Override Tailwind */
  pre, code {
    background-color: #f8f9fa !important;
    padding: 0.5rem !important;
    border-radius: 4px !important;
    font-family: "Courier New", monospace !important;
    font-size: 0.9em !important;
    color: #333 !important;
  }
  
  pre {
    padding: 1rem !important;
    overflow-x: auto !important;
    margin: 1rem 0 !important;
    display: block !important;
  }
  
  /* Links - Override Tailwind */
  a {
    color: #0796fe !important;
    text-decoration: underline !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  a:hover {
    color: #092a49 !important;
    background: none !important;
  }
  
  /* Images - Override Tailwind */
  img {
    max-width: 100% !important;
    height: auto !important;
    margin: 1rem 0 !important;
    display: block !important;
  }
  
/* Text alignment - Override Tailwind with higher specificity */
.ql-editor p.ql-align-left,
.ql-editor p.ql-align-left[style*="text-align: left"],
.ql-editor p.ql-align-left[style*="text-align:left"] {
  text-align: left !important;
}

.ql-editor p.ql-align-center,
.ql-editor p.ql-align-center[style*="text-align: center"],
.ql-editor p.ql-align-center[style*="text-align:center"] {
  text-align: center !important;
}

.ql-editor p.ql-align-right,
.ql-editor p.ql-align-right[style*="text-align: right"],
.ql-editor p.ql-align-right[style*="text-align:right"] {
  text-align: right !important;
}

.ql-editor p.ql-align-justify,
.ql-editor p.ql-align-justify[style*="text-align: justify"],
.ql-editor p.ql-align-justify[style*="text-align:justify"] {
  text-align: justify !important;
}
  
  /* Also support inline styles with higher specificity */
  .ql-editor p[style*="text-align: left"],
  .ql-editor p[style*="text-align:left"] {
    text-align: left !important;
  }
  
  .ql-editor p[style*="text-align: center"],
  .ql-editor p[style*="text-align:center"] {
    text-align: center !important;
  }
  
  .ql-editor p[style*="text-align: right"],
  .ql-editor p[style*="text-align:right"] {
    text-align: right !important;
  }
  
  .ql-editor p[style*="text-align: justify"],
  .ql-editor p[style*="text-align:justify"] {
    text-align: justify !important;
  }
  
  /* Line height - Override Tailwind */
  .ql-lineHeight-1 {
    line-height: 1 !important;
  }
  
  .ql-lineHeight-1\.2 {
    line-height: 1.2 !important;
  }
  
  .ql-lineHeight-1\.5 {
    line-height: 1.5 !important;
  }
  
  .ql-lineHeight-1\.6 {
    line-height: 1.6 !important;
  }
  
  .ql-lineHeight-2 {
    line-height: 2 !important;
  }
  
  /* Additional line-height support for Quill editor */
  .ql-editor [style*="line-height"] {
    line-height: inherit !important;
  }

  /* Ensure line height works in Quill editor */
  .ql-editor .ql-lineHeight-1 {
    line-height: 1 !important;
  }
  
  .ql-editor .ql-lineHeight-1\.2 {
    line-height: 1.2 !important;
  }
  
  .ql-editor .ql-lineHeight-1\.5 {
    line-height: 1.5 !important;
  }
  
  .ql-editor .ql-lineHeight-1\.6 {
    line-height: 1.6 !important;
  }
  
  .ql-editor .ql-lineHeight-2 {
    line-height: 2 !important;
  }

  /* Remove paragraph margins when line height is set to 1 */
  .ql-editor p:has(.ql-lineHeight-1),
  .ql-editor p:has(span[style*="line-height: 1"]),
  .ql-editor p:has(span[style*="line-height:1"]) {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .ql-editor p:has(.ql-lineHeight-1\.2),
  .ql-editor p:has(span[style*="line-height: 1.2"]),
  .ql-editor p:has(span[style*="line-height:1.2"]) {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Line height classes for Quill editor dropdown */
  .ql-snow .ql-picker.ql-lineHeight .ql-picker-label::before,
  .ql-snow .ql-picker.ql-lineHeight .ql-picker-item::before {
    content: attr(data-value) !important;
  }
  .ql-snow .ql-picker.ql-lineHeight .ql-picker-item[data-value="1"]::before {
    content: '1' !important;
  }
  .ql-snow .ql-picker.ql-lineHeight .ql-picker-item[data-value="1.2"]::before {
    content: '1.2' !important;
  }
  .ql-snow .ql-picker.ql-lineHeight .ql-picker-item[data-value="1.5"]::before {
    content: '1.5' !important;
  }
  .ql-snow .ql-picker.ql-lineHeight .ql-picker-item[data-value="1.6"]::before {
    content: '1.6' !important;
  }
  .ql-snow .ql-picker.ql-lineHeight .ql-picker-item[data-value="2"]::before {
    content: '2' !important;
  }
  
  /* Font families - Override Tailwind */
  .ql-font-serif {
    font-family: serif !important;
  }
  
  .ql-font-monospace {
    font-family: monospace !important;
  }
  
  /* Font sizes - Override Tailwind */
  .ql-size-small {
    font-size: 0.875rem !important;
  }
  
  .ql-size-large {
    font-size: 1.125rem !important;
  }
  
  .ql-size-huge {
    font-size: 1.5rem !important;
  }
  
  /* Colors and backgrounds - Override Tailwind */
  .ql-color-white {
    color: white !important;
  }
  
  .ql-color-red {
    color: red !important;
  }
  
  .ql-color-orange {
    color: orange !important;
  }
  
  .ql-color-yellow {
    color: yellow !important;
  }
  
  .ql-color-green {
    color: green !important;
  }
  
  .ql-color-blue {
    color: blue !important;
  }
  
  .ql-color-purple {
    color: purple !important;
  }
  
  .ql-bg-white {
    background-color: white !important;
  }
  
  .ql-bg-red {
    background-color: red !important;
  }
  
  .ql-bg-orange {
    background-color: orange !important;
  }
  
  .ql-bg-yellow {
    background-color: yellow !important;
  }
  
  .ql-bg-green {
    background-color: green !important;
  }
  
  .ql-bg-blue {
    background-color: blue !important;
  }
  
  .ql-bg-purple {
    background-color: purple !important;
  }
  
  /* List styles - Override Tailwind */
  .ql-list-bullet {
    list-style-type: disc !important;
  }
  
  .ql-list-ordered {
    list-style-type: decimal !important;
  }
  
  /* Indentation - Override Tailwind */
  .ql-indent-1 {
    padding-left: 3em !important;
  }
  
  .ql-indent-2 {
    padding-left: 6em !important;
  }
  
  .ql-indent-3 {
    padding-left: 9em !important;
  }
  
  /* Text direction - Override Tailwind */
  .ql-direction-rtl {
    direction: rtl !important;
    text-align: inherit !important;
  }
  
  /* Default paragraph styling - Override Tailwind */
  p {
    margin-bottom: 1rem !important;
    text-align: justify;
  }
  
  p:last-child {
    margin-bottom: 0 !important;
  }
}

/* Additional aggressive override for all Quill classes */
.news-content.project-content *,
.news-content.project-content *:before,
.news-content.project-content *:after {
  /* Force all Quill formatting to work */
}

.news-content.project-content strong,
.news-content.project-content b {
  font-weight: bold !important;
  color: #092a49 !important;
}

.news-content.project-content em,
.news-content.project-content i {
  font-style: italic !important;
}

.news-content.project-content u {
  text-decoration: underline !important;
}

.news-content.project-content s,
.news-content.project-content strike {
  text-decoration: line-through !important;
}

.news-content.project-content blockquote {
  margin: 1.5rem 0 !important;
  padding: 1rem !important;
  background-color: #f8f9fa !important;
  border-left: 4px solid #092a49 !important;
  font-style: italic !important;
  display: block !important;
}

.news-content.project-content ul {
  list-style-type: disc !important;
  margin-bottom: 1rem !important;
  padding-left: 2rem !important;
}

.news-content.project-content ol {
  list-style-type: decimal !important;
  margin-bottom: 1rem !important;
  padding-left: 2rem !important;
}

.news-content.project-content li {
  margin-bottom: 0.5rem !important;
  display: list-item !important;
}

.news-content.project-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

/* Responsive news content */
@media (max-width: 767px) {
  .news-content.project-content {
    font-size: 14px;
  }
  
  .news-content.project-content p {
    margin-bottom: 0.8rem;
  }
  
  .news-content.project-content h1,
  .news-content.project-content h2,
  .news-content.project-content h3,
  .news-content.project-content h4,
  .news-content.project-content h5,
  .news-content.project-content h6 {
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .news-content.project-content {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .news-content.project-content {
    font-size: 16px;
  }
}