/* ===============================
   Modern Theme Variables
================================ */
:root {
  --primary: #094e7f;
  --accent: #ff6600;
  --bg-light: #f8f9fa;
  --text-dark: #212529;
  --border-color: #dee2e6;
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.08);
  --radius: 10px;
}

/* ===============================
   Global Reset & Typography
================================ */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===============================
   Layout
================================ */
main {
  margin-top: 165px;
  min-height: 100vh;
}

@media (max-width: 575px) {
  main {
    margin-top: 225px;
  }
}

/* ===============================
   Header
================================ */
.header {
  background: linear-gradient(135deg, #e3f2fd, #f8fbff);
  height: 100px;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1033;
  border-bottom: 1px solid var(--border-color);
}

.site-header {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.site-header2 {
  font-size: 1.1rem;
  color: #555;
}

@media (max-width: 767px) {
  .site-header {
    font-size: 1.2rem;
  }
  .site-header2 {
    font-size: 1rem;
  }
}

/* ===============================
   Navbar
================================ */
.navbar {
  background-color: var(--primary) !important;
  box-shadow: var(--shadow-soft);
}

.fixed-top {
  top: 100px;
}

.nav-link {
  color: #fff !important;
  font-weight: 600;
  padding: 10px 14px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

/* ===============================
   Content Areas
================================ */
.main-content {
  background: #fff;
  padding: 25px;
  border-right: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
  text-align: justify;
}

.page-header {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

/* ===============================
   Sidebars
================================ */
.left-sidebar,
.right-sidebar {
  border-right: 1px solid var(--border-color);
}

.sidebar-header {
  background-color: #e9f2ff;
  padding: 10px;
  font-weight: 700;
  border-radius: 6px;
}

/* ===============================
   Cards & Lists
================================ */
.card,
.right-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}

.list-group-item {
  font-size: 0.95rem;
  padding: 10px 14px;
}

.list-group-item:hover {
  background-color: #f1f3f5;
}

/* ===============================
   Buttons
================================ */
.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #e65c00;
  border-color: #e65c00;
}

/* ===============================
   Home Login Section
================================ */
.home-login {
  min-height: 300px;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, #27def4, #73e5cb);
}

/* ===============================
   News Bar
================================ */
.news-bar {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
}

.scroll-header {
  background-color: var(--accent);
  color: #fff;
  padding: 10px;
  font-weight: 700;
}

.news-content {
  padding: 12px;
}

/* ===============================
   Footer
================================ */
footer {
  background-color: var(--primary) !important;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-links a {
  color: #fff;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ===============================
   Social Icons
================================ */
.socialIcon {
  width: 22px;
  margin: 4px;
  transition: transform 0.2s ease;
}

.socialIcon:hover {
  transform: scale(1.15);
}

@media (max-width: 767px) {
  .socialIcon {
    width: 24px;
  }
}

/* ===============================
   Back to Top Button
================================ */
#myMoveToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  background-color: #555;
  color: #fff;
  padding: 14px 16px;
  border-radius: 50%;
  font-size: 16px;
}

#myMoveToTopBtn:hover {
  background-color: var(--accent);
}

/* ===============================
   Utilities
================================ */
.help-block {
  color: red;
  font-style: italic;
}

.loginIcon {
  border-radius: 30px;
  font-weight: 700;
}



.news-wrapper {
  overflow: hidden;
  white-space: nowrap;
  background: #FFF;
  padding-top: 5px;
}

.news-track {
  display: inline-flex;
  gap: 50px;
  animation: scroll-left 30s linear infinite; /* faster scroll */
}


.news-track span {
  white-space: nowrap;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

