@font-face {
  font-family: "Utile Display";
  src: url("fonts/UtileDisplay-Regular-TRIAL.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Utile Display";
  src: url("fonts/UtileDisplay-Medium-TRIAL.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Utile Display";
  src: url("fonts/UtileDisplay-Semibold-TRIAL.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Utile Display";
  src: url("fonts/UtileDisplay-Bold-TRIAL.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Utile Display";
  src: url("fonts/UtileDisplay-Black-TRIAL.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

:root {
  --top-marquee-height: 38px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h2,
h3 {
  font-family: "Utile Display", "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 1px;
}

h1 {
  font-family: "Utile Display", "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 1px;
}

a {
  transition: all 0.3s ease;
}

button {
  transition: all 0.3s ease;
}

/* Navigation */
.top-announcement {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-marquee-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0e2e46;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 1100;
}

.announcement-track {
  min-width: 100%;
  white-space: nowrap;
  text-align: center;
  /* animation: announcement-slide 16s linear infinite; */
}

.announcement-track span {
  display: inline-flex;
  align-items: center;
  /* padding-right: 3.5rem; */
}

.announcement-track span::before,
.announcement-track span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd36a;
  box-shadow: 0 0 0 0 rgba(255, 211, 106, 0.8);
  animation: announcement-pulse 1.8s ease-out infinite;
}

.announcement-track span::before {
  margin-right: 0.75rem;
}

.announcement-track span::after {
  margin-left: 0.75rem;
}

@media (max-width: 768px) {
  .top-announcement {
    font-size: 12px;
    text-align: center;
  }

  .announcement-track {
    text-align: center;
    white-space: normal;
    width: 100%;
    line-height: 1.3;
    padding: 0 0.5rem;
  }

  .announcement-track span {
    padding-right: 0;
    justify-content: center;
  }
}

@keyframes announcement-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes announcement-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 211, 106, 0.75);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 211, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 211, 106, 0);
  }
}

.navbar {
  background-color: #000;
  padding: 0.5rem 2rem;
  border-bottom: none;
  position: fixed;
  top: var(--top-marquee-height);
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-fixed .logo {
  filter: invert(1);
}
.navbar.scrolled {
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 2rem;
}

.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.7);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-menu-centered {
  align-items: center;
}

.navbar.scrolled .navbar-brand {
  color: #000 !important;
}

.navbar-nav .nav-link {
  color: #fff !important;
  margin-left: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.navbar.scrolled .navbar-nav .nav-link {
  color: #333 !important;
}

.navbar-nav .nav-link:hover {
  color: #f0f0f0 !important;
}

.navbar.scrolled .navbar-nav .nav-link:hover {
  color: #2877ae !important;
}

/* Dropdown Menu */
.dropdown-menu {
  background-color: rgba(0, 0, 0, 0.95);
  border: 1px solid #333;
  border-radius: 4px;
  padding: 0;
  min-width: 280px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  margin-top: 0.5rem !important;
}

.navbar.scrolled .dropdown-menu {
  background-color: #fff;
  border-color: #f0f0f0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: #fff !important;
  font-size: 0.85rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid #333;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.navbar.scrolled .dropdown-item {
  color: #333 !important;
  border-bottom-color: #f0f0f0;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #333 !important;
  color: #fff !important;
  padding-left: 2rem;
}

.navbar.scrolled .dropdown-item:hover,
.navbar.scrolled .dropdown-item:focus {
  background-color: #f8f8f8 !important;
  color: #2877ae !important;
  padding-left: 2rem;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.nav-link.dropdown-toggle::after {
  border-top-color: currentColor;
}

@media (min-width: 992px) {
  .nav-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
  }

  .nav-logo-left {
    justify-self: start;
  }

  #navbarNav {
    justify-self: center;
    flex: 0 0 auto;
    display: flex !important;
    justify-content: center;
  }

  .navbar .navbar-nav {
    margin: 0;
    justify-content: center;
  }

  .nav-logo-right {
    justify-self: end;
  }

  .navbar-nav .nav-link {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
}

.hero-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(180deg, #2877ae17 0%, #2877ae8f 100%); */
  background: #2877ae17;
  background: linear-gradient(
    180deg,
    rgba(40, 119, 174, 0.13) 0%,
    rgba(36, 79, 110, 1) 95%
  );
  z-index: 2;
}

.hero-content {
  text-align: left;
  max-width: 1000px;
  z-index: 2;
  position: relative;
  padding: 0;
  margin: 0 0 3rem 3rem;
}

.hero h1 {
  font-family: "Utile Display", "Playfair Display", serif;
  font-size: 5.3rem;
  line-height: 1;
  margin-bottom: 0.3rem;
  font-weight: 900;
  letter-spacing: 3px;
  animation: fadeInUp 1.2s ease-out;
  color: #fff;
  /* text-transform: capitalize; */
  text-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.8),
    0px 0px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 1.2rem;
  animation: fadeInUp 1.2s ease-out 0.2s both;
  letter-spacing: 2px;
  /* text-transform: uppercase; */
  max-width: 75%;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.scroll-indicator {
  animation: fadeInUp 1.2s ease-out 0.4s both;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.hero-cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  align-items: center;
  animation: fadeInUp 1.2s ease-out 0.6s both;
  flex-wrap: wrap;
}

.cta-btn-primary {
  background: #2877ae;
  color: #fff;
  border: 2px solid #2877ae;
  padding: 1.1rem 2.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(40, 119, 174, 0.2);
}

.cta-btn-primary:hover {
  background: #1f6392;
  border-color: #1f6392;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(40, 119, 174, 0.3);
}

.cta-btn-secondary {
  background: #fff;
  color: #1f6392;
  border: 2px solid #fff;
  padding: 0.2rem 1rem;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn-secondary:hover {
  background: #f5f5f5;
  color: #000;
  border-color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid #1f6392;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Sections */
.content-section {
  padding: 8rem 2rem;
  border-bottom: 1px solid #f0f0f0;
  background-color: #fff;
  position: relative;
  z-index: 10;
}

.content-section:first-of-type {
  margin-top: -8rem;
}

.section-header {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #000;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #000;
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
  font-weight: 400;
}

.explore-btn {
  background: #fff;
  color: #000;
  border: 2px solid #fff;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  padding: 0.65rem 1.8rem;
}

.explore-btn:hover {
  background: #f5f5f5;
  color: #000;
  border-color: #fff;
  transform: translateY(-5px);
  border: 2px solid #1f6392;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.section-image {
  /* height: 400px; */
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.section-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Alternating layout */
.alt-row {
  /* gap: 5rem; */
}

.alt-row.reverse {
  /* flex-direction: row-reverse; */
}

/* Features/Cards Section */
.features-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #fdf5de 0%, #ffffff 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
  color: #fff;
  position: relative;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
  letter-spacing: 0.5px;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
}

.feature-btn {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid #000;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border-radius: 4px;
}

.feature-btn:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bod {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sticky-scroll-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sticky-text-column {
    position: relative;
    top: auto;
  }

  .bod {
    grid-template-columns: repeat(2, 1fr);
  }
  .navbar-collapse {
    background: #000;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .navbar {
    padding: 1rem 1.5rem;
  }

  .hero-content {
    margin: 0 0 1.5rem 1.5rem;
  }

  .nav-logo-right {
    display: none !important;
  }

  .navbar-nav .nav-link {
    margin-left: 1rem;
    margin-right: 0;
    font-size: 0.8rem;
  }

  /* Hero */
  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Sections */
  .section-header {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .content-section {
    padding: 3rem 1.5rem;
  }

  .features-section {
    padding: 3rem 1.5rem;
  }

  .sticky-scroll-section {
    padding: 3rem 1.5rem;
  }

  .section-image {
    height: 250px;
    margin-top: 1.5rem;
  }

  .alt-row {
    /* flex-direction: column; */
    gap: 2rem;
  }

  .alt-row.reverse {
    /* flex-direction: column; */
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  /* Quote */
  .quote-text {
    font-size: 1.5rem;
  }

  .quote-section {
    padding: 4rem 1.5rem;
  }

  /* Resident Portal */
  .resident-portal-section {
    padding: 3rem 1.5rem;
  }

  .portal-content h2 {
    font-size: 1.5rem;
  }

  .portal-content p {
    font-size: 0.95rem;
  }

  .portal-cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }

  /* Footer */
  .footer-map-section {
    height: 300px;
  }

  .footer-content {
    padding: 2rem 1.5rem;
  }

  .footer-address {
    font-size: 0.95rem;
  }

  .footer-contact {
    font-size: 0.85rem;
  }

  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }

  .footer-poa-link a {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
  }

  /* Cards */
  .bod {
    grid-template-columns: 1fr;
  }

  .parent {
    width: 100%;
    height: 300px;
  }
}

/* Sticky Scroll Section */
.sticky-scroll-section {
  padding: 8rem 2rem 1rem 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fdf5de 100%);
}

.sticky-scroll-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 8rem;
}

.scroll-images-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.scroll-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.scroll-image-wrapper:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.scroll-image-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.scroll-image-wrapper:hover .scroll-image-item {
  transform: translateY(-8px);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.overlay-title {
  font-family: "Utile Display", "Playfair Display", serif;
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.overlay-btn {
  background: #fff;
  color: #000;
  padding: 0.65rem 1.8rem;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.overlay-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #93c8cc 0%, #2877ae 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.overlay-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 119, 174, 0.35);
  border-color: #2877ae;
  transition: all 0.3s ease;

  transform: translateY(-5px);
  background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
}

.image-caption {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  line-height: 1.5;
}

.sticky-text-column {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sticky-text-column h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #000;
}

.sticky-text-column p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.sticky-text-column a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
  transition: all 0.3s ease;
  border-bottom: 2px solid #000;
  padding-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.sticky-text-column a:hover {
  color: #666;
  border-bottom-color: #666;
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .sticky-scroll-section {
    padding: 4rem 1.5rem 1rem;
  }

  .sticky-scroll-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .sticky-text-column {
    position: static;
    top: auto;
  }

  .scroll-image-wrapper {
    height: 320px;
  }

  .overlay-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .sticky-scroll-section {
    padding: 3rem 1rem 1rem;
  }

  .scroll-images-column {
    gap: 1rem;
  }

  .scroll-image-wrapper {
    height: 260px;
  }

  .image-overlay {
    padding: 1rem;
  }

  .image-overlay p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .overlay-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
  }

  .overlay-btn {
    font-size: 0.72rem;
    padding: 0.55rem 1.2rem;
  }

  .sticky-text-column h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .sticky-text-column p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
  }
}

/* Resident Portal Section */
.resident-portal-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #fdf5de 0%, #ffffff 100%);
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.portal-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.portal-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.5px;
}

.portal-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 3rem;
}

.portal-cta-btn {
  background: linear-gradient(135deg, #2877ae 0%, #2877ae 100%);
  color: #fff;
  border: 2px solid #2877ae;
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 1px;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.portal-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #93c8cc 0%, #2877ae 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.portal-cta-btn:hover {
  background: linear-gradient(135deg, #93c8cc 0%, #2877ae 100%);
  border-color: #93c8cc;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 119, 174, 0.35);
}

/* Quote Section */
.quote-section {
  background-color: #fdf5de;
  padding: 8rem 2rem;
  text-align: center;
}

.quote-text {
  font-family: "Utile Display", "Playfair Display", serif;
  font-size: 2.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #000;
  font-weight: 700;
}

.quote-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  color: #fff;
  padding: 0;
}

.footer-map-section {
  width: 100%;
  height: 512px;
  border-bottom: 1px solid #333;
}

.footer-map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-content {
  padding: 5rem 2rem 0rem 2rem;
  text-align: center;
}

.footer-address {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #e0e0e0;
}

.footer-contact {
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.footer-contact a {
  display: inline-block;
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-links {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
}

.footer-links a {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-poa-link {
  border-top: 1px solid #333;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}

.footer-poa-link a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  padding: 0.85rem 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  background-color: transparent;
}

.footer-poa-link a:hover {
  background-color: #fff;
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.bod {
  background: linear-gradient(135deg, #fdf5de 0%, #ffffff 100%);
  padding: 6rem 2rem;
}

.modern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 0 auto;
}

.grid-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-align: center;
  border-top: 4px solid #2877ae;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(40, 119, 174, 0.12);
}

.grid-icon {
  font-size: 3rem;
  color: #2877ae;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.grid-item:hover .grid-icon {
  transform: scale(1.15);
}

.grid-title {
  font-family: "Utile Display", "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  min-height: 45px;
}

.grid-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.grid-btn {
  background: linear-gradient(135deg, #2877ae 0%, #2877ae 100%);
  color: #fff;
  border: 2px solid #2877ae;
  padding: 0.65rem 1.8rem;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.grid-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #93c8cc 0%, #2877ae 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.grid-btn:hover {
  background: linear-gradient(135deg, #93c8cc 0%, #2877ae 100%);
  border-color: #93c8cc;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 119, 174, 0.35);
  color: #fff;
}

@media (max-width: 1024px) {
  .modern-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .modern-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .grid-item {
    padding: 1.5rem 1rem;
  }

  .grid-icon {
    font-size: 2.5rem;
  }

  .grid-title {
    font-size: 1rem;
  }

  .grid-description {
    font-size: 0.85rem;
  }

  .bod {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .modern-grid {
    grid-template-columns: 1fr;
  }
}

/* Help CTA Section */
.help-cta-section {
  background: linear-gradient(135deg, #fdf5de 0%, #f5f0e8 100%);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.help-cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(40, 119, 174, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.help-cta-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(147, 200, 204, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.help-cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.help-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(40, 119, 174, 0.12);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.help-cta-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(40, 119, 174, 0.2);
  border-color: #2877ae;
  background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
}

.help-cta-text {
  font-family: "Utile Display", "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.5px;
}

.help-cta-arrow {
  font-size: 1.5rem;
  color: #2877ae;
  transition: transform 0.3s ease;
}

.help-cta-link:hover .help-cta-arrow {
  transform: translateX(8px);
}

@media (max-width: 768px) {
  .help-cta-section {
    padding: 3rem 1.5rem;
  }

  .help-cta-text {
    font-size: 1.1rem;
  }

  .help-cta-link {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Login Page */
.login-page {
  position: relative;
  min-height: 100vh;
  padding: 9rem 0 6rem;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(147, 200, 204, 0.2) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, #0b1117 0%, #0f1a22 35%, #1c2e3a 100%);
  overflow: hidden;
}

.login-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(147, 200, 204, 0.4) 0%,
    rgba(40, 119, 174, 0.05) 65%,
    transparent 75%
  );
  filter: blur(4px);
  pointer-events: none;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: stretch;
}

.login-card {
  background: #fff;
  border-radius: 18px;
  padding: 3rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.login-card-header h1 {
  font-family: "Utile Display", "Playfair Display", serif;
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #0b1117;
}

.login-card-header p {
  color: #51606c;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2877ae;
  font-weight: 700;
  margin-bottom: 1rem;
}

.login-form {
  display: grid;
  gap: 1.4rem;
}

.login-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0b1117;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-wrap i {
  position: absolute;
  left: 1rem;
  color: #8aa1b2;
  font-size: 1rem;
}

.login-input-wrap input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  border-radius: 12px;
  border: 1px solid #e1e6eb;
  background: #f8fafc;
  font-size: 0.95rem;
  transition:
    border 0.2s ease,
    box-shadow 0.2s ease;
}

.login-input-wrap input:focus {
  border-color: #2877ae;
  box-shadow: 0 0 0 3px rgba(40, 119, 174, 0.15);
  outline: none;
  background: #fff;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.login-remember {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: #45535f;
}

.login-remember input {
  accent-color: #2877ae;
}

.login-link {
  color: #2877ae;
  text-decoration: none;
  font-weight: 700;
}

.login-link:hover {
  color: #1f6392;
}

.login-submit {
  border: none;
  background: linear-gradient(135deg, #2877ae 0%, #1f6392 100%);
  color: #fff;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 50px;
  box-shadow: 0 12px 30px rgba(40, 119, 174, 0.25);
  text-transform: uppercase;
}

.login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(40, 119, 174, 0.35);
}

.login-divider {
  position: relative;
  text-align: center;
  margin: 0.5rem 0;
  color: #90a0ad;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.login-divider::before,
.login-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: #e1e6eb;
}

.login-divider::before {
  left: 0;
}

.login-divider::after {
  right: 0;
}

.login-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 2px solid #0b1117;
  color: #0b1117;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.login-outline:hover {
  background: #0b1117;
  color: #fff;
}

.login-side {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(11, 17, 23, 0.78) 0%,
      rgba(11, 17, 23, 0.5) 40%,
      rgba(11, 17, 23, 0.1) 100%
    ),
    url("img/hero-cover.png") center/cover no-repeat;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  color: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.login-side-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, #0b1117 100%);
  opacity: 0.8;
}

.login-side-content {
  position: relative;
  z-index: 1;
}

.login-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.login-side h2 {
  font-family: "Utile Display", "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.login-side p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e6edf3;
  margin-bottom: 2rem;
}

.login-side-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.login-side-stats strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}

.login-side-stats span {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1200px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-side {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .login-page {
    padding: 7.5rem 0 4rem;
  }

  .login-card {
    padding: 2rem;
  }

  .login-card-header h1 {
    font-size: 2rem;
  }

  .login-options {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-side {
    padding: 2rem;
  }

  .login-side h2 {
    font-size: 1.8rem;
  }

  .login-side-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 1.5rem;
  }

  .login-divider::before,
  .login-divider::after {
    width: 25%;
  }
}

/* Maintenance Request Page */
.maintenance-page {
  padding: 3rem 0 6rem;
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
  min-height: 100vh;
}

.maintenance-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}

.maintenance-sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  align-self: flex-start;
  position: sticky;
  top: 110px;
}

.maintenance-sidebar h3 {
  font-family: "Utile Display", "Playfair Display", serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #1f2a35;
}

.maintenance-nav {
  display: grid;
  gap: 0.5rem;
}

.maintenance-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  color: #485464;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.maintenance-nav a:hover {
  background: #f0f4f8;
  color: #1f6392;
}

.maintenance-nav a.active {
  background: #2d7cb8;
  color: #fff;
}

.maintenance-content {
  display: grid;
  gap: 1.5rem;
}

.maintenance-header {
  background: #2d7cb8;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(45, 124, 184, 0.2);
}

.maintenance-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

.maintenance-header-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.maintenance-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: #3f4b59;
  line-height: 1.7;
}

.maintenance-card p {
  margin-bottom: 0.85rem;
}

.maintenance-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 0 1.5rem 1.8rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.maintenance-form-head {
  margin: 1.5rem -1.5rem 1.5rem;
  background: linear-gradient(180deg, #f2f2f2 0%, #dadada 100%);
  border-radius: 10px 10px 0 0;
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.maintenance-form {
  display: grid;
  gap: 1.2rem;
}

.maintenance-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
}

.maintenance-row label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #2c3640;
}

.maintenance-row select,
.maintenance-row input[type="text"],
.maintenance-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #cfd6de;
  background: #fff;
  font-size: 0.9rem;
}

.maintenance-row textarea {
  resize: vertical;
}

.maintenance-date-grid,
.maintenance-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: center;
}

.maintenance-time-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.maintenance-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #2c3640;
}

.maintenance-upload {
  border-top: 1px solid #e4e8ee;
  padding-top: 1.2rem;
}

.maintenance-upload h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #1f2a35;
}

.maintenance-upload p {
  font-size: 0.85rem;
  color: #5b6775;
  margin-bottom: 0.8rem;
}

.maintenance-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.maintenance-btn {
  border: none;
  padding: 0.6rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.maintenance-submit {
  background: #58b04a;
  color: #fff;
}

.maintenance-cancel {
  background: #e0524a;
  color: #fff;
}

@media (max-width: 1024px) {
  .maintenance-shell {
    grid-template-columns: 1fr;
  }

  .maintenance-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .maintenance-row {
    grid-template-columns: 1fr;
  }

  .maintenance-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* My Account Page */
.account-page {
  padding: 3rem 0 6rem;
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
  min-height: 100vh;
}

.account-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}

.account-content {
  display: grid;
  gap: 1.5rem;
}

.account-header {
  background: #2d7cb8;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(45, 124, 184, 0.2);
}

.account-header h1 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.account-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.account-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: #3f4b59;
  line-height: 1.7;
}

.account-card p {
  margin-bottom: 0.85rem;
}

.account-alert {
  color: #d4342a;
  font-weight: 700;
}

.account-download {
  display: inline-block;
  margin-top: 0.4rem;
  color: #245f8f;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.account-download:hover {
  color: #1f4f78;
}

.account-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.account-panel-head {
  background: linear-gradient(180deg, #f2f2f2 0%, #dadada 100%);
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.account-panel-body {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem;
  border-bottom: 1px solid #e4e8ee;
}

.account-info {
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #2c3640;
}

.account-info span {
  font-weight: 700;
}

.account-info strong {
  margin-left: 0.25rem;
}

.account-pay {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.account-pay button {
  background: #58b04a;
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.65rem 1.4rem;
  box-shadow: 0 6px 16px rgba(88, 176, 74, 0.28);
}

.account-edit-link {
  font-size: 0.85rem;
  color: #245f8f;
  text-decoration: none;
  font-weight: 700;
}

.account-edit-link:hover {
  color: #1e4f78;
  text-decoration: underline;
}

.account-history {
  padding: 1.5rem;
}

.account-history h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #1f2a35;
}

.account-table {
  border-top: 1px solid #d7dde5;
}

.account-row {
  display: grid;
  grid-template-columns: 140px 140px 1fr 140px;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e4e8ee;
  font-size: 0.9rem;
}

.account-row-head {
  font-weight: 700;
  color: #1f2a35;
}

.account-table .account-row:not(.account-row-head):nth-child(even) {
  background: #f7f8fa;
}

@media (max-width: 1200px) {
  .account-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .account-panel-body {
    flex-direction: column;
  }

  .account-pay {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .account-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .hero-subtitle {
    width: 100%;
  }
  .account-row span:last-child {
    font-weight: 700;
  }
}

/* Your Information Page */
.info-hero {
  padding: 8rem 0 3rem;
  background:
    linear-gradient(
      120deg,
      rgba(30, 70, 105, 0.82) 0%,
      rgba(45, 124, 184, 0.75) 55%,
      rgba(20, 62, 98, 0.8) 100%
    ),
    url("img/2.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.info-hero h1 {
  font-family: "Utile Display", "Playfair Display", serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.info-hero p {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0;
}

.info-page {
  padding: 3rem 0 6rem;
  background: #f6f7fb;
}

.info-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}

.info-content {
  display: grid;
  gap: 1.5rem;
}

.info-header {
  background: #2d7cb8;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-header h1 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1f5c8d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: #3f4b59;
  line-height: 1.7;
  font-size: 0.95rem;
}

.info-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.info-tab {
  border: none;
  background: #4baed1;
  color: #fff;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}

.info-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  position: relative;
}

.info-panel-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
}

.info-avatar {
  display: flex;
  justify-content: center;
}

.info-avatar-box {
  width: 140px;
  height: 180px;
  border: 2px solid #e1e6eb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #9aa4af;
  font-size: 0.75rem;
  gap: 0.35rem;
}

.info-details {
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #2c3640;
}

.info-details span {
  font-weight: 700;
  margin-right: 0.4rem;
}

.info-detail-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed #e4e8ee;
}

.info-detail-row strong {
  font-weight: 600;
  color: #3a4755;
}

.info-checks {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.5rem;
}

.info-checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #2c3640;
}

.info-scrollbar {
  position: absolute;
  top: 1.5rem;
  right: 0.8rem;
  width: 6px;
  height: calc(100% - 3rem);
  border-radius: 6px;
  background: linear-gradient(180deg, #cdd3db 0%, #9aa4af 100%);
}

@media (max-width: 1200px) {
  .info-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .info-panel-body {
    grid-template-columns: 1fr;
  }

  .info-detail-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 768px) {
  .info-hero {
    padding: 6rem 0 3rem;
  }

  .info-hero h1 {
    font-size: 1.7rem;
  }
}

/* Messaging Page */
.messaging-page {
  padding: 3rem 0 6rem;
  background: #f6f7fb;
  min-height: 100vh;
}

.messaging-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}

.messaging-content {
  display: grid;
  gap: 1.5rem;
}

.messaging-header {
  background: #2d7cb8;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
}

.messaging-header h1 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
}

.messaging-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
}

.messaging-panel-head {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: #f2f2f2;
  border-bottom: 1px solid #d5dbe3;
}

.messaging-tabs {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.6rem;
  background: linear-gradient(180deg, #f7f7f7 0%, #dcdcdc 100%);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

.messaging-tabs span.active {
  color: #000;
}

.messaging-tabs a {
  color: #1f63d2;
  text-decoration: underline;
  font-weight: 700;
}

.messaging-inbox-title {
  text-align: center;
  font-weight: 700;
}

.messaging-delete {
  color: #1f63d2;
  text-decoration: underline;
  font-weight: 700;
  font-size: 0.9rem;
}

.messaging-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  padding: 1.2rem 1rem 1.5rem;
}

.messaging-folders {
  display: grid;
  gap: 1rem;
  padding-right: 1rem;
  border-right: 1px solid #e1e6ee;
}

.messaging-folder {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.95rem;
}

.messaging-folder-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 1.2rem;
}

.messaging-folder-text span {
  color: #1f63d2;
  font-weight: 700;
  margin-left: 0.2rem;
}

.messaging-list {
  display: grid;
  gap: 1rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.6rem;
}

.messaging-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.8rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #e6eaf0;
  padding-bottom: 0.8rem;
}

.messaging-item:last-child {
  border-bottom: none;
}

.messaging-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.messaging-panel-footer {
  background: linear-gradient(180deg, #f2f2f2 0%, #dadada 100%);
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
}

@media (max-width: 1200px) {
  .messaging-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .messaging-panel-head {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .messaging-body {
    grid-template-columns: 1fr;
  }

  .messaging-folders {
    border-right: none;
    border-bottom: 1px solid #e1e6ee;
    padding-bottom: 1rem;
  }
}

/* About Page */
.about-page {
  padding: 3rem 0 6rem;
  background: #f6f7fb;
  min-height: 100vh;
}

.about-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}

.about-content {
  display: grid;
  gap: 1.5rem;
}

.about-header {
  background: #2d7cb8;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
}
.faqs-header {
  background: #2d7cb8;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
}

.about-header h1 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
}
.faqs-header h1 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
}

.about-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.6rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: #3f4b59;
  line-height: 1.7;
}

.about-card p {
  margin-bottom: 0.9rem;
}

.about-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.about-list li {
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .about-shell {
    grid-template-columns: 1fr;
  }
}

/* Notifications Page */
.notifications-page {
  padding: 3rem 0 6rem;
  background: #f6f7fb;
  min-height: 100vh;
}

.notifications-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}

.notifications-content {
  display: grid;
  gap: 1.5rem;
}

.notifications-header {
  background: #2d7cb8;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
}

.notifications-header h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.notifications-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.notifications-intro {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  color: #3f4b59;
  line-height: 1.6;
}

.notifications-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #2d7cb8;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.08);
}

.notifications-unit {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: #2c3640;
}

.notifications-table {
  border-top: 1px solid #d7dde5;
}

.notifications-row {
  display: grid;
  grid-template-columns: 140px 180px 160px 1fr 160px;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e4e8ee;
  font-size: 0.9rem;
  color: #2c3640;
}

.notifications-head {
  font-weight: 700;
  color: #1f2a35;
}

.notifications-empty {
  grid-template-columns: 1fr;
  color: #6b7280;
  font-style: italic;
}

@media (max-width: 1200px) {
  .notifications-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .notifications-row {
    grid-template-columns: 1fr;
  }

  .notifications-intro {
    grid-template-columns: 1fr;
  }
}

/* Violations Page */
.violations-page {
  padding: 3rem 0 6rem;
  background: #f6f7fb;
  min-height: 100vh;
}

.violations-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}

.violations-content {
  display: grid;
  gap: 1.5rem;
}

.violations-header {
  background: #2d7cb8;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
}

.violations-header h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.violations-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.violations-intro {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  color: #3f4b59;
  line-height: 1.6;
}

.violations-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #2d7cb8;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.08);
}

.violations-unit {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  color: #2c3640;
}

.violations-table {
  border-top: 1px solid #d7dde5;
}

.violations-row {
  display: grid;
  grid-template-columns: 140px 160px 120px 120px 120px 100px;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e4e8ee;
  font-size: 0.9rem;
  color: #2c3640;
}

.violations-head {
  font-weight: 700;
  color: #1f2a35;
}

.violations-empty {
  grid-template-columns: 1fr;
  color: #6b7280;
  font-style: italic;
  background: #f7fafc;
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #e2e8f0;
}

@media (max-width: 1200px) {
  .violations-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .violations-row {
    grid-template-columns: 1fr;
  }

  .violations-intro {
    grid-template-columns: 1fr;
  }
}

/* Website FAQs Page */
.faqs-page {
  padding: 3rem 0 6rem;
  background: #f6f7fb;
  min-height: 100vh;
}

.faqs-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}

.faqs-content {
  display: grid;
  gap: 1.5rem;
}

.faqs-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.faqs-card-head {
  background: #2d7cb8;
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.faqs-form {
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.faqs-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  align-items: center;
}

.faqs-row label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #2c3640;
}

.faqs-row input,
.faqs-row select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #cfd6de;
  background: #fffdf0;
  font-size: 0.9rem;
}

.faqs-actions {
  display: flex;
  gap: 0.6rem;
  padding-top: 0.4rem;
}

.faqs-submit,
.faqs-cancel {
  border: none;
  padding: 0.45rem 1.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
}

.faqs-submit {
  background: #5a5a5a;
  color: #fff;
}

.faqs-cancel {
  background: transparent;
  color: #1f63d2;
}

.faqs-list {
  padding: 1.5rem;
  display: grid;
  gap: 1.3rem;
  color: #3f4b59;
  line-height: 1.6;
}

.faqs-list h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.faqs-list p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .faqs-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .faqs-row {
    grid-template-columns: 1fr;
  }
}
/* ===== Page Loader ===== */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* black background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#pageLoader img {
  width: 120px;
  height: auto;
  animation: logoZoom 1.6s ease-in-out infinite;
}

/* Zoom in-out animation */
@keyframes logoZoom {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

/* Hide loader */
#pageLoader.hide {
  opacity: 0;
  visibility: hidden;
}

/* Contact Page */
.contact-page {
  padding: 3.5rem 0 6rem;
  background: linear-gradient(180deg, #f4f8fc 0%, #ffffff 100%);
  min-height: 100vh;
}

.contact-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
}

.contact-content {
  display: grid;
  gap: 1.5rem;
}

.contact-header {
  background: linear-gradient(135deg, #1f5c8d 0%, #2d7cb8 100%);
  color: #fff;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 12px 28px rgba(29, 91, 142, 0.24);
}

.contact-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-header p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.contact-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e7edf4;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2a35;
  margin-bottom: 0.55rem;
}

.contact-card p {
  margin-bottom: 0.85rem;
  color: #4b5a6a;
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 0.8rem;
  margin-bottom: 0.45rem;
  color: #245f8f;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.87rem;
}

.contact-card a:hover {
  color: #1d4e76;
}

.contact-form-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.contact-form-head {
  background: linear-gradient(180deg, #f2f2f2 0%, #dadada 100%);
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.contact-form {
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.contact-row {
  display: grid;
  gap: 0.45rem;
}

.contact-row label {
  font-size: 0.84rem;
  color: #2c3640;
  font-weight: 700;
}

.contact-row input,
.contact-row select,
.contact-row textarea {
  width: 100%;
  border: 1px solid #cfd6de;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: #2c3640;
  background: #fff;
}

.contact-row textarea {
  resize: vertical;
}

.contact-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

.contact-btn {
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.contact-btn-primary {
  background: #2d7cb8;
  color: #fff;
}

.contact-btn-primary:hover {
  background: #256798;
}

.contact-btn-secondary {
  background: #e9eef5;
  color: #1f2a35;
}

.contact-btn-secondary:hover {
  background: #dde5ee;
}

.contact-emergency {
  background: linear-gradient(135deg, #fff7f4 0%, #ffffff 100%);
  border: 1px solid #ffd8cc;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(172, 78, 40, 0.09);
}

.contact-emergency h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: #8a2f1a;
}

.contact-emergency p {
  margin: 0 0 0.75rem;
  color: #6f3d30;
  line-height: 1.6;
  font-size: 0.9rem;
}

.contact-emergency a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #9b2f14;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.contact-emergency a:hover {
  color: #7e250f;
}

@media (max-width: 1200px) {
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-two-col {
    grid-template-columns: 1fr;
  }

  .contact-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 2.5rem 0 4rem;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Portal Design System Expansion (Login-Inspired) */
:root {
  --portal-bg-start: #0a121a;
  --portal-bg-mid: #0f1f2b;
  --portal-bg-end: #1d3345;
  --portal-surface: #ffffff;
  --portal-surface-muted: #f7f9fc;
  --portal-text-strong: #111d29;
  --portal-text-body: #4d5b69;
  --portal-border: #dbe4ee;
  --portal-accent: #2877ae;
  --portal-accent-2: #1f6392;
  --portal-radius-lg: 22px;
  --portal-radius-md: 25px;
  --portal-radius-pill: 999px;
  --portal-shadow: 0 22px 55px rgba(6, 15, 24, 0.34);
}

.maintenance-page,
.account-page,
.info-page,
.about-page,
.notifications-page,
.violations-page,
.faqs-page,
.contact-page,
.messaging-page {
  position: relative;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(147, 200, 204, 0.16) 0%,
      transparent 38%
    ),
    radial-gradient(
      circle at 88% 16%,
      rgba(40, 119, 174, 0.18) 0%,
      transparent 40%
    ),
    linear-gradient(
      135deg,
      var(--portal-bg-start) 0%,
      var(--portal-bg-mid) 45%,
      var(--portal-bg-end) 100%
    );
}

.maintenance-content,
.account-content,
.info-content,
.about-content,
.notifications-content,
.violations-content,
.faqs-content,
.contact-content,
.messaging-content {
  gap: 1.35rem;
}

.maintenance-sidebar,
.maintenance-card,
.maintenance-form-card,
.account-card,
.account-panel,
.info-card,
.info-panel,
.about-card,
.notifications-card,
.violations-card,
.faqs-card,
.contact-card,
.contact-form-panel,
.contact-emergency,
.messaging-panel {
  background: var(--portal-surface);
  border-radius: var(--portal-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: var(--portal-shadow);
}

.maintenance-header,
.account-header,
.info-header,
.about-header,
.notifications-header,
.violations-header,
.faqs-header,
.contact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  color: var(--portal-text-strong);
  border: 1px solid var(--portal-border);
  box-shadow: 0 16px 38px rgba(8, 20, 31, 0.22);
}

.maintenance-header h1,
.account-header h1,
.info-header h1,
.about-header h1,
.faqs-header h1,
.notifications-header h2,
.violations-header h2,
.contact-header h2,
.contact-header p {
  color: var(--portal-text-strong);
}

.maintenance-header-icon,
.account-icon,
.info-icon,
.about-header-icon,
.notifications-header-icon,
.violations-header-icon,
.faqs-header-icon,
.contact-header-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    var(--portal-accent) 0%,
    var(--portal-accent-2) 100%
  );
  color: #fff;
  box-shadow: 0 10px 24px rgba(40, 119, 174, 0.3);
}

.maintenance-sidebar {
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.maintenance-sidebar h3 {
  color: var(--portal-text-strong);
}

.maintenance-nav a {
  border-radius: var(--portal-radius-pill);
}

.maintenance-nav a.active {
  background: linear-gradient(
    135deg,
    var(--portal-accent) 0%,
    var(--portal-accent-2) 100%
  );
  color: #fff;
  box-shadow: 0 10px 24px rgba(40, 119, 174, 0.32);
}

.maintenance-nav a:hover {
  background: #edf4fb;
  color: var(--portal-accent-2);
}

.maintenance-form-head,
.account-panel-head,
.contact-form-head,
.faqs-card-head,
.messaging-panel-head,
.messaging-panel-footer {
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #f8fbff 0%, #eaf1f8 100%);
  color: var(--portal-text-strong);
}

.maintenance-row select,
.maintenance-row input[type="text"],
.maintenance-row textarea,
.faqs-row input,
.faqs-row select,
.contact-row input,
.contact-row select,
.contact-row textarea {
  border-radius: var(--portal-radius-md);
  border-color: var(--portal-border);
  background: var(--portal-surface-muted);
  padding: 0.72rem 0.9rem;
}

.maintenance-row select:focus,
.maintenance-row input[type="text"]:focus,
.maintenance-row textarea:focus,
.faqs-row input:focus,
.faqs-row select:focus,
.contact-row input:focus,
.contact-row select:focus,
.contact-row textarea:focus {
  outline: none;
  border-color: var(--portal-accent);
  box-shadow: 0 0 0 3px rgba(40, 119, 174, 0.14);
  background: #fff;
}

.maintenance-btn,
.account-pay button,
.faqs-submit,
.faqs-cancel,
.contact-btn,
.messaging-delete,
.messaging-tabs a {
  border-radius: var(--portal-radius-pill);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.maintenance-submit,
.account-pay button,
.faqs-submit,
.contact-btn-primary {
  background: linear-gradient(
    135deg,
    var(--portal-accent) 0%,
    var(--portal-accent-2) 100%
  );
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(40, 119, 174, 0.28);
}

.maintenance-submit:hover,
.account-pay button:hover,
.faqs-submit:hover,
.contact-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(40, 119, 174, 0.34);
}

.maintenance-cancel,
.faqs-cancel,
.contact-btn-secondary,
.messaging-delete {
  background: #eef3f8;
  color: #2a3e52;
  border: 1px solid #d9e3ed;
}

.maintenance-cancel:hover,
.faqs-cancel:hover,
.contact-btn-secondary:hover,
.messaging-delete:hover {
  background: #e5edf6;
  color: #1e3448;
}

.messaging-delete {
  text-decoration: none;
  padding: 0.45rem 0.95rem;
  justify-self: end;
}

.messaging-tabs {
  border-radius: 999px;
  background: #eef3f8;
}

.messaging-tabs a {
  text-decoration: none;
  padding: 0.25rem 0.7rem;
  background: #fff;
  color: var(--portal-accent);
  border: 1px solid #d9e3ed;
}

.messaging-tabs a:hover {
  background: #f7fbff;
  color: var(--portal-accent-2);
}

.info-tab {
  border-radius: var(--portal-radius-pill);
  background: #eef3f8;
  color: #2a3e52;
  border: 1px solid #d9e3ed;
}

.info-tab:hover {
  background: #e6eef8;
}

.notifications-icon,
.violations-icon,
.messaging-folder-icon,
.messaging-item-icon {
  border-radius: var(--portal-radius-md);
  background: #edf4fb;
  color: var(--portal-accent);
}

.notifications-row,
.violations-row,
.account-row {
  border-bottom-color: #e7edf4;
}

.portal-info-collapse {
  display: grid;
  gap: 0.75rem;
}

.portal-info-toggle {
  width: 100%;
  border: 1px solid #d9e3ed;
  border-radius: var(--portal-radius-pill);
  background: #eef3f8;
  color: #2a3e52;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 0.52rem 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.portal-info-toggle:hover {
  background: #e5edf6;
}

.portal-info-toggle i {
  transition: transform 0.2s ease;
}

.portal-info-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.portal-info-body p:last-child {
  margin-bottom: 0;
}

.faqs-item {
  border: 1px solid #e1e9f1;
  border-radius: 14px;
  background: #f8fbff;
  overflow: hidden;
}

.faqs-question {
  width: 100%;
  border: none;
  background: transparent;
  color: #213344;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
  padding: 0.8rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
}

.faqs-question i {
  transition: transform 0.2s ease;
  color: #376182;
}

.faqs-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faqs-answer {
  border-top: 1px solid #e1e9f1;
  padding: 0.8rem 0.95rem;
  background: #fff;
}

.faqs-answer p {
  margin: 0;
}

.notifications-intro,
.violations-intro {
  align-items: start;
}

.violations-sample {
  background: #f8fbff;
}

.account-edit-link {
  color: var(--portal-accent);
}

.account-edit-link:hover {
  color: var(--portal-accent-2);
}

@media (max-width: 900px) {
  .maintenance-page,
  .account-page,
  .info-page,
  .about-page,
  .notifications-page,
  .violations-page,
  .faqs-page,
  .contact-page,
  .messaging-page {
    padding-top: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1460px;
  }
}
