:root {
  --try24x-blue: #0066cc;
  --try24x-dark: #003399;
  --try24x-orange: #e65100;
  --try24x-olive: #556b2f;
  --try24x-soft: #f6f8fb;
  --try24x-text: #5f6673;
}

html,
body {
  overflow-x: hidden;
}

.top-bar {
  background-color: var(--try24x-orange);
  height: 45px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1000;
}

.top-bar__inner,
.top-bar__contact,
.top-bar__social {
  display: flex;
  align-items: center;
}

.top-bar__inner {
  justify-content: space-between;
  height: 100%;
}

.top-bar__contact {
  gap: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.top-bar__social {
  gap: 14px;
}

.top-bar__social a {
  color: #fff;
}

.main-header-two,
.stricky-header {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.main-menu-two__logo img,
.footer-widget-two__logo img,
.mobile-nav__content .logo-box img {
  max-width: 140px;
  height: auto;
}

.main-menu-two .main-menu__list > li > a {
  color: var(--try24x-blue) !important;
  font-weight: 700;
}

.main-menu-two .main-menu__list > li > a:hover,
.main-menu-two .main-menu__list > li.current > a,
.main-menu-two .main-menu__list > li.active > a {
  color: var(--try24x-orange) !important;
}

.main-menu-two .dropdown ul li a {
  color: var(--try24x-blue) !important;
}

.main-menu-two .dropdown ul li a:hover {
  color: var(--try24x-orange) !important;
}

.main-menu-two__btn-box .thm-btn,
.try24x-cta .thm-btn {
  background-color: var(--try24x-blue) !important;
  border-color: var(--try24x-blue) !important;
  color: #fff !important;
}

.main-menu-two__btn-box .thm-btn:hover,
.try24x-cta .thm-btn:hover {
  background-color: var(--try24x-orange) !important;
  border-color: var(--try24x-orange) !important;
  color: #fff !important;
}

.try24x-btn-outline {
  background: #fff !important;
  color: var(--try24x-blue) !important;
  border: 2px solid var(--try24x-blue) !important;
  margin-left: 12px;
}

.try24x-template-banner.page-header {
  min-height: 320px;
}

.try24x-template-banner .page-header__bg {
  background-position: center;
}

.try24x-template-banner .page-header__bg::after,
.page-header__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 51, 153, 0.84), rgba(85, 107, 47, 0.58));
}

.try24x-content-section {
  padding: 90px 0;
  background: #fff;
}

.try24x-overview-row {
  row-gap: 34px;
  margin-bottom: 48px;
}

.section-title,
.section-title__title {
  color: var(--try24x-dark);
}

.try24x-lead {
  color: var(--try24x-text);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0;
}

.content-photo {
  width: 100%;
  height: 340px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.try24x-feature-grid {
  row-gap: 24px;
  margin-bottom: 46px;
}

.feature-box {
  height: 100%;
  background: var(--try24x-soft);
  border-left: 4px solid var(--try24x-orange);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.feature-box h4 {
  color: var(--try24x-blue);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-box h4 i {
  color: var(--try24x-olive);
  margin-right: 8px;
}

.feature-box p {
  color: var(--try24x-text);
  line-height: 1.65;
  margin: 0;
}

.try24x-stats-row {
  row-gap: 20px;
  margin-bottom: 50px;
}

.try24x-stat-card {
  height: 100%;
  min-height: 132px;
  border-radius: 8px;
  padding: 28px 22px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--try24x-dark), var(--try24x-blue));
}

.try24x-stat-card strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.try24x-stat-card span {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.try24x-photo-block {
  margin-bottom: 52px;
}

.try24x-photo-block .row {
  row-gap: 24px;
}

.try24x-photo-card {
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.1);
}

.try24x-photo-card img,
.program-card__img img,
.gallery-one__img img,
.causes-one__img img,
.blog-one__img img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.try24x-photo-card img {
  height: 230px;
  display: block;
}

.try24x-photo-card p {
  margin: 0;
  padding: 14px 16px;
  color: #3d4654;
  font-weight: 800;
}

.try24x-cta {
  border-radius: 8px;
  background: var(--try24x-soft);
  padding: 40px;
  text-align: center;
}

.try24x-cta h3 {
  color: var(--try24x-dark);
  font-size: 28px;
  font-weight: 850;
  margin-bottom: 12px;
}

.try24x-cta p {
  color: var(--try24x-text);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.try24x-contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.try24x-contact-panel div {
  border-radius: 8px;
  background: var(--try24x-soft);
  padding: 18px;
}

.try24x-contact-panel span {
  display: block;
  color: var(--try24x-text);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.try24x-contact-panel a {
  color: var(--try24x-blue);
  font-weight: 800;
}

.program-card {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.program-card__img {
  height: 190px;
  overflow: hidden;
}

.program-card__content {
  min-height: 210px;
}

.gallery-one__img img {
  height: 260px;
}

.causes-one__single,
.blog-one__single {
  height: 100%;
}

.causes-one__img img {
  height: 230px !important;
}

.blog-one__img img {
  height: 250px !important;
}

.site-footer-two .footer-widget-two__links-list li a,
.site-footer-two .footer-widget-two__contact-list li a,
.site-footer-two__bottom-menu li a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer-two .footer-widget-two__links-list li a:hover,
.site-footer-two .footer-widget-two__contact-list li a:hover,
.site-footer-two__bottom-menu li a:hover {
  color: var(--try24x-orange);
}

.mobile-nav__content .main-menu__list li a,
.xs-sidebar-widget .main-menu__list li a {
  color: #fff !important;
}

.mobile-nav__content .main-menu__list li a:hover,
.xs-sidebar-widget .main-menu__list li a:hover {
  color: #ffb36b !important;
}

@media (max-width: 991px) {
  .main-menu-two__right {
    display: none;
  }

  .try24x-content-section {
    padding: 64px 0;
  }

  .content-photo {
    height: 290px;
  }
}

@media (max-width: 767px) {
  .top-bar {
    display: none;
  }

  .try24x-template-banner.page-header {
    min-height: 240px;
  }

  .try24x-template-banner .page-header__inner h2 {
    font-size: 32px;
    line-height: 1.15;
  }

  .try24x-content-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .content-photo,
  .try24x-photo-card img {
    height: 220px;
  }

  .try24x-contact-panel {
    grid-template-columns: 1fr;
  }

  .try24x-cta {
    padding: 28px 18px;
  }

  .try24x-btn-outline {
    margin: 12px 0 0;
  }
}
