/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap");

:root {
  --primary-color: #6a3093;
  --secondary-color: #a044ff;
  --gradient-primary: linear-gradient(135deg, #6a3093 0%, #a044ff 100%);
  --gradient-secondary: linear-gradient(90deg, #D94053 35.9%, #B22436 64.1%);
  --dark-color: #2d3748;
  --light-color: #f7fafc;
  --gray-color: #a0aec0;
  --success-color: #48bb78;
  --warning-color: #ed8936;
  --danger-color: #e53e3e;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  --m-color: #1E1E1E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

body {
  font-family: "Tajawal", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #f8f9fa;
  direction: rtl;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(106, 48, 147, 0.3);
}

.btn-primary2 {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(106, 48, 147, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(106, 48, 147, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-mora-red {
  background: linear-gradient(90deg, #D94053 37%, #CC4B5B 63%);
  border: 1px solid #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-header h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-header h2 {
  font-size: 32px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: transparent;
  background-image: url('assets/img/title-line.png');
  background-repeat: no-repeat;
  background-position: center;
}

/* Top Bar */
.top-bar {
  position: absolute;
  z-index: 1112;
  width: 100%;
}

.top-bar .container {
  background-color: var(--m-color);
  color: white;
  padding: 10px 20px;
  margin: 0 auto;
  border-radius: 0px 0px 131px 131px;
  z-index: 1006;
  position: relative;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact {
  display: flex;
  gap: 20px;
}

.top-contact a {
  color: white;
  font-size: 14px;
}

.top-contact a i {
  margin-right: 5px;
}

.top-social {
  display: flex;
  gap: 15px;
}

.top-social a i,
.top-contact a i {
  color: white;
  font-size: 14px;
  background: linear-gradient(90deg, #72489A 3.5%, #865AAE 96.5%);
  padding: 7px;
  border-radius: 100%;
}

.top-social a i:hover,
.top-contact a i:hover {
  opacity: 0.7;
}

/* Header Styles */
header {
  position: absolute;
  z-index: 1111;
  width: 100%;
}

header .container {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  width: 100%;
  top: 0;
  transition: all 0.3s ease;
  border-radius: 50px;
  margin-top: 26px;
  z-index: 0;
  padding-top: 2rem !important;
}

header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px;
}

.logo img {
  height: 50px;
  transition: all 0.3s ease;
}

.main-nav ul {
  display: flex;
}

.main-nav ul li {
  margin: 0 15px;
}

.main-nav ul li a {
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--primary-color);
}

.main-nav ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
  width: 100%;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Slider */
.hero-slider {
  height: 700px;
  background: linear-gradient(rgba(106, 48, 147, 0.7), rgba(160, 68, 255, 0.7)),
    url("assets/img/test-slider.jpg") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.slider-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.5s;
}

.slider-content h1 {
  font-size: 42px;
  margin-bottom: 30px;
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.countdown-item {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 15px;
  min-width: 80px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.countdown-item span {
  display: block;
}

.countdown-item span:first-child {
  font-size: 28px;
  font-weight: 700;
}

.countdown-label {
  font-size: 14px;
}

.slider-dots {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: white;
  transform: scale(1.2);
}

/* Organizations Section */
.organizations {
  margin-top: -5rem;
  position: absolute;
  width: 100%;
}

.organizations .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  background-color: white;
  position: relative;
  border-radius: 12rem;
  direction: ltr;
}

.organizations-text {
  direction: rtl;
}

.organizations-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  position: relative;
}

.organizations-images {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.organizations-images .org-img {
  width: 100px;
  height: 100px;
  border-radius: 35%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  cursor: pointer;
}

.organizations-images .org-img.animate {
  opacity: 1;
  transform: translateY(0);
}

.organizations-images .org-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.organizations-text {
  text-align: center;
  margin-right: 30px;
}

.organizations-text h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
  margin-bottom: 0;
}

.organizations-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

/* Programs and Events Section */
.programs-events {
  padding: 80px 0;
  background-color: #f8f9fa;
  background-image: url("assets/img/prog-bg.png");
  padding-top: 12rem;
}

.search-container {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  background: #fff;
  padding: 2rem 0;
  border-radius: 50rem;
}

.search-container.animate {
  opacity: 1;
  transform: translateY(0);
}

.search-filters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
}

fieldset {
  border: none;
  border-left: 1px solid #E4E4E4;
  padding-left: 1rem;
  color: #A3ABB0;
}

#latest-fset {
  border: none;
}

.filter-select {
  padding: 12px 20px;
  border: 1px solid var(--gray-color);
  border-radius: 30px;
  background-color: white;
  min-width: 200px;
  font-family: "Tajawal", sans-serif;
  transition: all 0.3s ease;
}

.filter-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(106, 48, 147, 0.1);
  outline: none;
}

.search-btn {
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: var(--gradient-primary);
  font-family: "Tajawal", sans-serif;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.event-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.event-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.event-image {
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-content {
  padding: 20px;
}

span#event-date {
  background: linear-gradient(90deg, #72489A 3.4%, #865AAE 96.6%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 70px;
  height: 70px;
  font-size: 20px;
  line-height: normal;
  border-radius: 5px;
  margin-top: -60px;
  z-index: 9999999999999999999999999;
  position: relative;
  margin-bottom: 1rem;
}

.event-content h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

span.event-region {
  color: var(--primary-color);
}

span.event-region i {
  color: #000;
  margin-left: 6px;
}

.event-content p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  color: var(--gray-color);
  font-size: 14px;
}

.event-meta>* {
  border: 1px solid #EFEFEF;
  padding: 3px;
}

span.td {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  line-height: normal;
}

span.td strong {
  color: #000;
}

.event-region {
  display: flex;
  align-items: center;
}

.view-all {
  text-align: center;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.view-all-right {
  text-align: right;
}

.view-all.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Add Program CTA Section */
.add-program {
  padding: 80px 0;
  background: linear-gradient(rgb(114 72 154), rgb(114 72 154 / 68%)), url(assets/img/nshr-bg.jpg) no-repeat center center / cover;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.add-program:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.add-program-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.add-program-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.add-program-content h3 {
  color: rgba(255, 255, 255, 0.8);
}

.add-program-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.add-program-content p {
  margin-bottom: 30px;
  font-size: 18px;
  color: #C7C5DB;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.cta-buttons .btn-secondary {
  background: linear-gradient(90deg, #72489A 37%, #865AAE 63%);
  color: white;
  border: 1px solid white;
}

.cta-buttons .btn-secondary:hover {
  background-color: white;
  color: var(--primary-color);
}

span#or {
  background: #fff;
  color: black;
  border: 1px solid white;
  border-radius: 26px;
  padding: 0px 6px;
  font-size: 20px;
  font-weight: bold;
}

span#or:hover {
  opacity: 0.7;
  padding-inline: 1rem;
}

/* Trips Section */
.trips {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-template-rows: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.trip-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.trip-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.trip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trip-image {
  position: relative;
  overflow: hidden;
}

.trip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trip-card:hover .trip-image img {
  transform: scale(1.05);
}

.trip-content {
  padding: 20px;
}

.trip-content h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.trip-content p {
  color: var(--gray-color);
}

/* Statistics Section */
.statistics {
  padding: 80px 0;
  background: url("assets/img/stats-bg.jpg") no-repeat center center / cover;
  background-color: white;
  text-align: center;
}

.statistics h2 {
  margin-bottom: 50px;
  font-size: 32px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  min-width: 200px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.stat-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 95px;
  height: 95px;
  background: #F7F7F7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: white;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.stat-number.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-label {
  color: #FE7348;
  font-size: 16px;
}

/* Estfsar */
.estfsar {
  background: linear-gradient(90deg, #72489A 0%, #865AAE 100%);
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.estfsar-content {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  text-align: right;
}

.btn-estfsar {
  color: #2B3132;
  background: #fff;
  display: flex;
  align-items: center;
}

.btn-estfsar img {
  margin-right: 7px;
}

/* Footer */
footer {
  background-color: #111;
  color: white;
  padding: 80px 0 20px;
}

.footer-top {
  display: flex;
  margin-bottom: 1.2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo p {
  color: #B6BFC1;
  font-size: 19px;
  margin: 20px auto;
}

.footer-links h3 {
  margin-bottom: 20px;
  font-size: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--gray-color);
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: white;
  padding-right: 5px;
}

.footer-contact {
  display: flex;
  align-items: center;
  flex-direction: row;
  align-content: center;
  text-align: left;
}

#footer-bottom-element {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  direction: ltr;
  margin-right: 1rem;
  font-weight: bold;
  color: #fff;
}

#footer-bottom-element img {
  background: #404040;
  padding: 1rem;
  border-radius: 30%;
  margin-right: 1rem;
}

#footer-bottom-element div p:first-child {
  color: #72489A;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-weight: 100;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding-top: 80px;
    transition: all 0.3s ease;
    z-index: 1001;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0 20px;
  }

  .main-nav ul li {
    margin: 10px 0;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 1002;
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .organizations-content {
    flex-direction: column;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .slider-content h1 {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .organizations .container {
    width: 90%;
  }

  .organizations-text h2 {
    font-size: 26px;
  }


}







@media (max-width: 768px) {
  .hero-slider {
    height: 500px;
    padding-top: 6rem;
  }

  .countdown-item {
    padding: 5px;
    margin-bottom: 2rem;
  }

  .organizations {
    margin-top: -2rem;
    position: absolute;
    width: 100%;
  }

  .slider-content h1 {
    font-size: 32px;
  }

  .countdown-container {
    flex-wrap: wrap;
  }

  .search-filters fieldset:nth-child(even) {
    border-left: 0;
  }

  .filter-select {
    width: 100%;
  }

  .events-grid,
  .trips-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .organizations .container {
    width: 90%;
    border-radius: 2rem;
    flex-direction: column;
  }

  .organizations-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .programs-events {
    padding-top: 26rem;
  }

  .search-container {
    padding: 2rem;
    border-radius: 17px;
  }

  .estfsar {
    padding: 7px;
  }

  .btn-estfsar img {
    margin-right: 3px;
  }

  .estfsar-content {
    justify-content: space-between;
    align-items: stretch;
  }

  .right-estfsar h2 {
    font-size: 19px;
  }
}

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

  header {
    position: relative;
  }

  header .container {
    margin-top: 0;
    padding-top: 1rem !important;
    border-radius: 0;
  }

  .hero-slider {
    padding-top: 0;
  }

  .auth-buttons {
    display: none;
  }

  .slider-content h1 {
    font-size: 24px;
  }

  .countdown-item {
    min-width: 50px;
    padding: 10px;
  }

  .countdown-item span:first-child {
    font-size: 22px;
  }

  .countdown-label {
    font-size: 12px;
  }

  .slider-dots {
    bottom: 11rem;
  }

  .organizations {
    margin-top: 0;
    position: relative;
  }

  .organizations .container {
    width: 100%;
    border-radius: 0;
    flex-direction: column;
  }

  .organizations-text {
    margin: 0;
  }

  .organizations-content {
    margin-top: 1rem;
  }

  .programs-events {
    padding-top: 3rem;
  }

  fieldset {
    border-left: none;
  }

  .stat-item {
    padding: 1rem;
    min-width: auto;
  }

  .estfsar-content {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .btn-estfsar {
    margin: 1rem auto;
  }

  .footer-logo img {
    max-width: 140px;
  }

  .footer-contact {
    align-items: center;
    flex-direction: column;
    text-align: left;
  }

  #footer-bottom-element {
    margin-right: 0;
    margin-bottom: 1rem;
  }


}
.organizations-content {
    width: 100%;
}
.organizations-text h2 {
    text-align: right;
}
.organizations-text h2 {
    font-size: 25px;
    margin-bottom: 20px;
}