/**
 * @file
 * Subtheme specific CSS.
 *
 * theme.css → Handles backgrounds, colors, and typography.
 *
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
  font-family: 'Arial', sans-serif; /* Example font; adjust as needed */
  background-color: #f8f9fa; /* Light background for the page */
}

/* 1. Top Utility Bar */
.top-utility-bar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  padding: 10px 0; /* Add vertical padding for better spacing */
}

/* 2. Header Sections */
.header-right {
  display: flex;
  align-items: center; /* Center items vertically */
}

.header-center {
  font-size: 1rem; /* Slightly smaller text for center elements */
  color: #333; /* Dark gray text for readability */
}

.header-left {
  display: flex;
  align-items: center; /* Align items like the menu icon */
  gap: 10px; /* Space between elements, e.g., button and language switcher */
}

/* 3. Navigation Bar */
.navigation-bar {
  display: flex;
  align-items: center; /* Center content vertically */
}

/* 4. News Ticker */
.news-ticker {
  height: 40px; /* Set a fixed height */
  overflow: hidden; /* Hide overflowing content for scrolling effect */
}

.news-ticker .bg-danger {
  padding: 0 10px; /* Padding for the red section */
  font-size: 1.1rem; /* Bold and prominent */
}

.news-ticker .flex-grow-1 {
  white-space: nowrap; /* Keep text on one line */
  animation: ticker-scroll 20s linear infinite; /* Scrolling animation */
}

.full-width-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  z-index: 1;
}

/* Keyframes for News Ticker animation */
@keyframes ticker-scroll {
  0% {
    transform: translateX(100%); /* Start off-screen */
  }
  100% {
    transform: translateX(-100%); /* Scroll to the left */
  }
}


/* 6. Footer Enhancements */
footer {
  padding: 40px 0; /* Add padding for better spacing */
}

footer .col-12 col-md-3 {
  /* Target the footer columns */
  text-align: left; /* Align text to left for readability */
}

footer .row {
  margin-bottom: 20px; /* Space between footer rows */
}

/* General Utilities */
a {
  color: #dc3545; /* Match Bootstrap's danger color for links */
  text-decoration: none; /* Remove underlines */
}

a:hover {
  text-decoration: underline; /* Add underline on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .top-utility-bar {
    padding: 5px 0; /* Reduce padding on smaller screens */
  }

  .news-ticker {
    height: 30px; /* Smaller height for mobile */
    font-size: 0.9rem; /* Smaller text */
  }

  .slideshow {
    height: 250px; /* Reduce slideshow height on mobile */
  }

  footer {
    padding: 20px 0; /* Less padding on mobile */
  }
}
