/* Global Header */
.global-header {
  position: fixed;
  width: 100%;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: #47b2e4;
  background: linear-gradient(
    90deg,
    rgba(71, 178, 228, 1) 27%,
    rgba(137, 207, 240, 1) 100%
  );
  z-index: 9999;
  padding: 0 1rem;
  box-sizing: border-box;
}

.App-Logo img {
  height: 50px;
  width: auto;
}

.Links-Container {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  transition: max-height 0.4s ease;
}

.Links-Container a {
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  padding: 1rem;
  transition: all 0.3s ease;
}

.Links-Container > a:hover {
  color: #b62348;
  transform: scale(1.1);
}
.dropdown-content a:hover {
  background-color: #b62348;
  border-left: 10px solid #1a97c8;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  z-index: 1000;
  top: 100%;
  margin-top: 1vh;
  border-radius: 0 0 8px 8px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  font-size: 0.9rem;
  text-align: start;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #b62348;
  color: #fff;
}
.desktop-only {
  background-color: #b62348;
  padding: 0.8rem 1.2rem;
  border-radius: 20px;
  color: white;
}
.mobile-only {
  background-color: #b62348;
  padding: 0.8rem 1.2rem;
  border-radius: 20px;
  color: white;
  text-align: start;
}

/* Show dropdown on hover for desktop */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: flex;
  }

  /* Keep parent link styled when dropdown is hovered */
  .dropdown:hover > .dropbtn {
    color: #b62348;
    transform: scale(1.1);
  }
}

/* Download button */
.Download-Btn {
  .Download-Btn {
    white-space: normal; /* Allow text to wrap */
    text-align: center;
    padding: 0.5rem 0.5rem; /* Reduced padding */
    font-size: 1rem; /* Slightly smaller font */
    min-width: 120px; /* Minimum width to prevent too small buttons */
  }
}

.Download-Btn:hover {
  background-color: #1a97c8;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Menu icon hidden on desktop */
.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  user-select: none;
}

/* Responsive for small screens - FIXED DROPDOWN ISSUE */
@media (max-width: 768px) {
  .Links-Container .Download-Btn.mobile-only {
    width: auto; /* Changed from 30% to auto */
    margin: 1rem auto; /* Centers the button */
    padding: 0.5rem 1rem; /* Adjusted padding */
  }

  /* You might want to adjust the existing rule to avoid conflicts */
  .mobile-only {
    display: block;
    padding: 5rem 1rem;
    font-size: 1rem;
    /* Remove the old margin and text-align */
  }
  .global-header {
    justify-content: space-between;
    align-items: center;
  }

  .Links-Container {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 10vh;
    left: 0;
    width: 100%;
    background-color: #1a97c8;
    padding: 1rem 0;
    z-index: 9999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
  }

  .Links-Container.active {
    display: flex;
    justify-content: center;
    align-items: start;
    max-height: 100vh;
    opacity: 1;
    overflow-y: auto;
  }

  .Links-Container a {
    font-size: 1.5rem;
    margin-left: 1.5rem;
    text-align: left;
    width: calc(100% - 3rem);
    padding: 1rem 0;
  }
  .Links-Container a:hover {
    color: #b62348;
  }
  /* Show menu icon */
  .menu-icon {
    display: block;
  }

  /* Hide desktop download button */
  .desktop-only {
    display: none;
  }

  /* Show mobile download button inside nav */
  .mobile-only {
    display: block;
    margin: 0rem 1.5rem;
    text-align: center;
  }

  /* FIXED: Dropdown styles for mobile */
  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: none;
    min-width: auto;
    display: none;
    margin: 0;
    width: 100%;
    border-radius: 0;
  }

  .dropdown-content.active {
    display: flex;
    max-height: 1000px; /* Large enough to show all items */
    transition: max-height 0.4s ease;
  }

  .dropdown-content a {
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    width: 100%;
  }

  .dropdown-content a:hover {
    background-color: rgba(182, 35, 72);
    color: #fff;
  }
}

/* Desktop: show desktop-only, hide mobile-only */
@media (min-width: 769px) {
  .desktop-only {
    display: inline-block;
  }
  .mobile-only {
    display: none;
  }
}

/* Footer Styles */
.Global-Footer {
  display: flex;
  flex-direction: column;
  background: #47b2e4;
  background: linear-gradient(
    90deg,
    rgba(71, 178, 228, 1) 27%,
    rgba(137, 207, 240, 1) 100%
  );
  color: white;
  padding: 0.5rem 0;
}

.footer-row {
  width: 80%;
  padding: 1rem 0;
  margin: auto;
}

/* First Row - Existing Content Centered */
.first-row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* First Container */
.First-Container {
  display: flex;
  justify-content: center;
  min-width: 200px;
}

.First-Container img {
  width: 150px;
  height: auto;
}

/* Second Container - Centered Links */
.Second-Container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
  margin: 0 auto; /* Center within flex space */
}

.Second-Container a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.Second-Container a:hover {
  color: #b62348;
  transform: scale(1.05);
}

/* Third Container */
.Third-Container {
  min-width: 250px;
}

.footer_main-block {
  width: 100%;
}

.title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: start;
  color: #fff;
}

/* Additional Rows */
.second-row,
.third-row {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
  padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .first-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .Second-Container {
    align-items: center;
    text-align: center;
  }
}
/* Second Row Styles */
.second-row {
  display: flex;
  justify-content: space-evenly;
  align-items: stretch; /* Make all items same height */
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1rem;
  background-color: rgba(255, 255, 255, 0.1); /* Light background */
}

.data {
  flex: 1;
  min-width: 250px;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.data:hover {
  background-color: rgba(255, 255, 255, 0.15); /* Heavier background */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.data-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.data .title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  text-align: start; /* Align all text to start */
}

.data p,
.data a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin: 0.5rem 0;
  text-align: start; /* Align all text to start */
  line-height: 1.6;
}

.data a:hover {
  color: #b62348;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .second-row {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .data {
    min-width: 100%;
  }
}
.third-row a {
  color: #b62348;
  opacity: 0.8;
}
.whatsapp-float:hover {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.Icons-Container {
  display: flex;
  justify-content: center; /* Center icons horizontally */
  gap: 1.5rem; /* Space between icons */
  margin: 1rem;
}

.Icons-Container a {
  color: white; /* Icon color */
  font-size: 1.8rem; /* Icon size */
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Icons-Container a:hover {
  color: #b62348; /* Hover color matching your accent */
  transform: scale(1.2); /* Slight grow effect on hover */
}
.fourth-row p {
  text-align: center;
  color: #b62348;
  opacity: 0.7;
  margin-bottom: 1vh;
}
.fourth-row {
  margin-bottom: -3vh;
}
@media screen and (max-width: 600px) {
  .third-row p {
    font-size: small;
  }
}
