/* Resetting default margin and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* RTL Support */
.rtl {
  text-align: right;
}

.rtl .form-check {
  padding-right: 1.25rem;
  padding-left: 0;
}

.rtl .form-check-input {
  margin-right: -1.25rem;
  margin-left: 0;
}

.rtl .ml-auto {
  margin-left: unset !important;
  margin-right: auto !important;
}

/* Language Switcher Styling */
.language-switcher-container {
  border: 2px solid #fff;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.language-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.language-switcher .lang-label {
  font-weight: bold;
  margin-right: 10px;
  color: #333;
  font-size: 16px;
}

.lang-btn {
  margin: 0 5px;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 16px;
}

.lang-btn.active {
  background-color: #3E71B8;
  color: white;
  border-color: #2c5184;
}

.lang-btn:hover {
  background-color: #e9ecef;
}

.lang-btn.active:hover {
  background-color: #2c5184;
}

.row.no-padding {
  margin-right: 0;
  margin-left: 0;
}

.row.no-padding > [class^="col-"],
.row.no-padding > [class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}

.green{
  color: #49B24C;
}


.custom-button {
  display: inline-block;
  background-color: #49B24C; 
  color: #fff; 
  padding: 10px 20px; 
  text-decoration: none;
  border-radius: 5px; 
  transition: background-color 0.3s ease; 
}

.custom-button:hover {
  background-color: #3C873A; 
  text-decoration: none;
  color: white;
  cursor: pointer;
}

/* Styles for the navigation bar */
header {
  background-color: #333;
  padding: 0;
}

.navbar-brand img {
  max-width: 100px; 
  height: auto;
}

.navbar {
  padding: 10px 0;
}

nav ul {
  list-style-type: none;
  text-align: center;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

/* Styles for sections */
.section {
  padding: 100px 0;
  color: #333;
  text-align: center;
}


/* Styles for section 1 */
.section1 {
  background: 
      url('../img/section_1_hand.png') no-repeat right bottom, 
      url('../img/section_1_bg.png') no-repeat center center, 
      #3E71B8;
  background-size: cover auto; 
  position: relative;
}

.section1 .container-fluid {
  padding-top: 15vw;
  padding-bottom: 15vw;
  padding-right: 0px;
}

.section1 .content{
  padding: 0 20px;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}


/* Styles for section 2 */
.section2{
  background: 
  url('../img/section_2_bg_left.png') no-repeat right bottom, 
  url('../img/section_2_bg_right.png') no-repeat left top;
  background-size: auto ; 
}

.section2 .top-box {
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.section2 .top-box h2 {
  color: #091133; /* Color for the title text */
}

.section2 .top-box p {
  color: #3E71B8; /* Background color for the paragraph */
  padding: 10px 0; /* Adding padding for better visibility */
}

.section2 img.img-fluid {
  max-width: 100%; /* Ensure images don't exceed their container's width */
  height: auto; /* Maintain aspect ratio */
}

.section2 .inner-img-fluid{
  width: auto ; /* Ensure images don't exceed their container's width */
  height: 100px; /* Maintain aspect ratio */
}

.section2 p{
  text-align: left;
}

.section2 .row{
  text-align: left;
}


.section2 .row  p{
  padding-top: 10px;
}


/* Styles for section 3 */
.section3{
  background-color: #3E71B8;;
}
.section3 img {
  max-width: 70%;
  height: auto;
  margin-bottom: 20px;
  padding-top: 10px;
}

.section3 .content{
  padding: 20px 100px;
  text-align: left;
  margin: 0 auto;
}


/* Styles for section 4 */
.section4 img {
  max-width: 70%;
  height: auto;
}


/* Styles for section 5 */
.section5 img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.section5 h2, .section5 h4 {
  color: #fff;
  margin-bottom: 20px;
}

.section5 .top-box{
  height: 200px;
}
.section5 .bottom-box{
  height: 300px;
}


/* Footer styles */
footer{
  height: 130px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-line {
  flex-grow: 1; 
  height: 1px;
  background-color: #ccc;
  margin-top: 20px;
}

.copyright{
  color: #ccc;
  font-size: small;
}


.social-icons {
  display: flex;
  align-items: center;
}

.social-icons .icon {
  margin-right: 10px;
}

.social-icons .icon img {
  width: 18px; 
  height: 18px;
}

/* Request Help Page Styles */
.request-help-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #3E71B8 0%, #265E2F 100%);
}

.medical-info-section {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #49B24C;
}

/* Contact Form Styles */
.contact-form-container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.section-title {
  margin: 30px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #49B24C;
}

.section-title h3 {
  color: #091133;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-label, .form-check-label {
  color: #333;
}

.required {
  color: #d9534f;
}

.form-control {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
}

.form-control:focus {
  border-color: #49B24C;
  box-shadow: 0 0 5px rgba(73, 178, 76, 0.5);
}

.btn-custom {
  background-color: #49B24C;
  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-custom:hover {
  background-color: #337F3E;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#form-message {
  padding: 10px;
  border-radius: 5px;
}

#form-message.success {
  background-color: #d4edda;
  color: #155724;
}

#form-message.error {
  background-color: #f8d7da;
  color: #721c24;
}

/* Language Switcher Styles */
.language-switcher {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.lang-btn {
  padding: 8px 15px;
  margin-left: 10px;
  background-color: #e9ecef;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:first-child {
  margin-left: 0;
}

.lang-btn.active {
  background-color: #49B24C;
  color: white;
}

.lang-btn:hover:not(.active) {
  background-color: #dee2e6;
}

/* RTL Support */
html[dir="rtl"] .language-switcher {
  justify-content: flex-start;
}

html[dir="rtl"] .lang-btn {
  margin-right: 10px;
  margin-left: 0;
}

html[dir="rtl"] .lang-btn:first-child {
  margin-right: 0;
}

html[dir="rtl"] .form-check-input {
  margin-right: -1.25rem;
  margin-left: 0;
}

html[dir="rtl"] .form-check-label {
  padding-right: 1.25rem;
  padding-left: 0;
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 15px;
  }
  
  .language-switcher {
    justify-content: center;
  }
}