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

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #231f20;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TOP BAR ========== */
.top-bar {
  background-color: #004b7b;
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.85rem;
  text-align: center;
}

/* ========== NAVIGATION ========== */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 20px;
  border-bottom: 2px solid #008bc5;
}

.logo-container {
  max-width: 250px;
  height: auto;
  display: block;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #004b7b;
  letter-spacing: -0.5px;
}

.logo p {
  font-size: 0.75rem;
  color: #231f20;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #231f20;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #008bc5;
}

/* ========== BUTTONS ========== */
.btn-outline {
  border: 2px solid #008bc5;
  background: transparent;
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 700;
  color: #008bc5;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}

.btn-outline:hover {
  background: #008bc5;
  color: #ffffff;
}

.btn-primary {
  background: #008bc5;
  border: none;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  background: #004b7b;
}

/* ========== SLIDESHOW ========== */
.hero-slideshow {
  position: relative;
  margin-bottom: 40px;
}

.slideshow-container {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}

.slide {
  display: none;
  position: relative;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.slide-text {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  color: #ffffff;
  padding: 30px;
  text-align: center;
}

.slide-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  padding: 16px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

.prev:hover,
.next:hover {
  background: #008bc5;
}

.dots-container {
  text-align: center;
  padding: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #cbd5e1;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.active-dot,
.dot:hover {
  background-color: #008bc5;
}

.fade {
  animation: fade 0.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* ========== MISSION STATEMENT ========== */
.mission-statement {
  text-align: center;
  padding: 50px 20px;
  background: #ffffff;
  border-radius: 32px;
  margin: 40px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mission-statement h3 {
  color: #004b7b;
  font-size: 1.5rem;
}

.mission-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #008bc5;
  margin: 15px 0;
}

.mission-statement p:last-of-type {
  color: #231f20;
}

/* ========== SECTION HEADINGS ========== */
.section-head {
  text-align: center;
  margin: 60px 0 40px;
}

.section-head h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #004b7b;
}

.section-head p {
  color: #231f20;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.service-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  text-align: center;
  border-bottom: 4px solid #008bc5;
}

.service-card:hover {
  transform: translateY(-6px);
  border-bottom-color: #004b7b;
}

.service-icon-img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}

.service-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #004b7b;
}

.service-card p {
  color: #231f20;
}

.learn-link {
  color: #008bc5;
  font-weight: 700;
  text-decoration: none;
}

.learn-link:hover {
  color: #004b7b;
}

/* ========== TESTIMONIAL ========== */
.testimonial {
  background: #008bc5;
  color: #ffffff;
  border-radius: 48px;
  padding: 48px 32px;
  margin: 60px 0;
  text-align: center;
}

.testimonial q {
  font-size: 1.4rem;
  font-weight: 500;
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-author {
  margin-top: 24px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.9;
}

.quote-icon {
  width: 40px;
  margin-bottom: 15px;
}

/* ========== TWO COLUMN LAYOUT ========== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 50px 0;
  align-items: center;
}

.rounded-img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.two-column h3 {
  color: #004b7b;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.two-column p {
  color: #231f20;
}

/* ========== CAREGIVERS CTA ========== */
.caregivers-cta {
  background: #f0f6fa;
  padding: 56px 32px;
  border-radius: 48px;
  margin: 40px 0;
  text-align: center;
  border: 1px solid #008bc5;
}

.caregivers-cta h3 {
  color: #004b7b;
  font-size: 1.8rem;
}

.caregivers-cta p {
  color: #231f20;
}

/* ========== SERVICE DETAIL PAGES ========== */
.service-detail {
  margin: 50px 0;
  padding: 40px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-left: 6px solid #008bc5;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-detail-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 24px;
}

.service-detail h2 {
  color: #004b7b;
  font-size: 2rem;
}

.service-detail ul {
  padding-left: 24px;
}

.service-detail ul li {
  color: #231f20;
  margin: 8px 0;
}

.note {
  background: #e6f3f9;
  padding: 12px;
  border-radius: 16px;
  color: #004b7b;
  font-size: 0.9rem;
}

.service-badge {
  background: #008bc5;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 40px;
  margin-top: 15px;
  color: #ffffff;
  font-weight: 600;
}

/* ========== APPLICATION FORM ========== */
.application-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #008bc5;
}

.application-form h3 {
  color: #004b7b;
  margin-bottom: 15px;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  color: #231f20;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  outline: none;
  border-color: #008bc5;
  box-shadow: 0 0 0 3px rgba(0, 139, 197, 0.1);
}

.small-note {
  font-size: 0.8rem;
  color: #231f20;
  opacity: 0.7;
  margin: 10px 0;
}

/* ========== BENEFITS LIST ========== */
.benefits-list {
  background: #f0f6fa;
  padding: 24px;
  border-radius: 24px;
  margin-top: 20px;
}

.benefits-list h3 {
  color: #004b7b;
  margin-bottom: 15px;
}

.benefits-list ul {
  list-style: none;
  padding: 0;
}

.benefits-list ul li {
  color: #231f20;
  margin: 12px 0;
  padding-left: 24px;
  position: relative;
}

.benefits-list ul li:before {
  content: "✓";
  color: #008bc5;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ========== ASSOCIATIONS ========== */
.associations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin: 48px 0;
  padding: 20px;
  background: #ffffff;
  border-radius: 40px;
  border: 1px solid #e2e8f0;
  color: #231f20;
}

/* ========== CALLOUT BOX ========== */
.callout-box {
  background: #004b7b;
  color: #ffffff;
  padding: 40px;
  border-radius: 32px;
  text-align: center;
  margin: 40px 0;
}

.callout-box h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.callout-box .btn-primary {
  background: #008bc5;
  margin-top: 15px;
}

.callout-box .btn-primary:hover {
  background: #ffffff;
  color: #004b7b;
}

/* ========== PAGE HEADER ========== */
.page-header {
  text-align: center;
  margin: 50px 0 40px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #004b7b;
}

.page-header p {
  color: #231f20;
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 40px 0;
}

.contact-info {
  background: #f0f6fa;
  padding: 30px;
  border-radius: 28px;
}

.contact-info h2 {
  color: #004b7b;
  margin-bottom: 20px;
}

.contact-info p {
  color: #231f20;
  margin: 12px 0;
}

.contact-info a {
  color: #008bc5;
  text-decoration: none;
}

.contact-info a:hover {
  color: #004b7b;
}

.emergency-badge {
  background: #e6f3f9;
  padding: 20px;
  border-radius: 28px;
  margin-top: 20px;
  color: #004b7b;
}

.contact-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.contact-form h2 {
  color: #004b7b;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  color: #231f20;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #008bc5;
}

.locations-map {
  text-align: center;
  margin: 50px 0;
  padding: 30px;
  background: #f0f6fa;
  border-radius: 32px;
}

.locations-map h2 {
  color: #004b7b;
}

/* ========== RESOURCES PAGE ========== */
.resources-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0;
}

.resource-full {
  background: #ffffff;
  padding: 30px;
  border-radius: 28px;
  border-left: 6px solid #008bc5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resource-full h2 {
  color: #004b7b;
  margin-bottom: 15px;
}

.resource-full p {
  color: #231f20;
  margin-bottom: 15px;
}

.newsletter-signup {
  background: #f0f6fa;
  padding: 40px;
  border-radius: 32px;
  text-align: center;
  margin: 40px 0;
}

.newsletter-signup h3 {
  color: #004b7b;
  font-size: 1.6rem;
}

/* ========== BLOG GRID ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 40px 0 70px;
}

.blog-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf2f7;
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.blog-card h4 {
  font-size: 1.3rem;
  margin: 20px 20px 10px;
  color: #004b7b;
}

.blog-card p {
  margin: 0 20px 16px;
  color: #231f20;
}

.blog-link {
  margin: 0 20px 24px;
  display: inline-block;
  font-weight: 700;
  color: #008bc5;
  text-decoration: none;
}

.blog-link:hover {
  color: #004b7b;
}

/* ========== STORY SECTION (ABOUT PAGE) ========== */
.story-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  margin: 40px 0 60px;
}

.story-text {
  flex: 1;
}

.story-text h3 {
  color: #004b7b;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.story-text p {
  color: #231f20;
  margin-bottom: 20px;
}

.story-img {
  flex: 1;
  background: #e6f3f9;
  border-radius: 36px;
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

.about-mission,
.story-full,
.values-list,
.leadership {
  margin: 40px 0;
  padding: 30px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #008bc5;
}

.about-mission h2,
.story-full h2,
.values-list h2,
.leadership h2 {
  color: #004b7b;
  margin-bottom: 20px;
}

.values-list ul {
  padding-left: 24px;
}

.values-list li {
  color: #231f20;
  margin: 12px 0;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

/* ========== FOOTER ========== */
footer {
  background: #004b7b;
  color: #ffffff;
  padding: 48px 0 32px;
  margin-top: 60px;
  border-radius: 32px 32px 0 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-grid h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-grid h4 {
  color: #00affa;
  margin-bottom: 12px;
}

.footer-grid p {
  color: #ffffff;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-grid a {
  color: #25b9f9;
  text-decoration: none;
}

.footer-grid a:hover {
  color: #ffffff;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  color: #ffffff;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-screen .logo-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.loading-screen .logo-wrapper img {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
  animation: pulseLogo 1.5s ease-in-out infinite;
}

.loading-screen .company-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #004b7b;
  margin-top: 10px;
  letter-spacing: 2px;
}

.loading-screen .company-tagline {
  font-size: 0.8rem;
  color: #64748b;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 4px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 20px auto;
}

.loading-spinner .spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #008bc5;
  animation: spin 1s linear infinite;
}

.loading-spinner .spinner-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: #004b7b;
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.loading-spinner .spinner-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top-color: #00affa;
  animation-duration: 2s;
}

.loading-text {
  margin-top: 25px;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.loading-text .dots {
  display: inline-block;
  animation: dots 1.4s infinite;
}

.loading-text .dots span {
  display: inline-block;
  animation: dotBounce 1.4s infinite both;
}

.loading-text .dots span:nth-child(1) {
  animation-delay: 0s;
}
.loading-text .dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-text .dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.loading-progress {
  width: 200px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 4px;
  margin-top: 15px;
  overflow: hidden;
  position: relative;
}

.loading-progress .progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #008bc5, #004b7b);
  border-radius: 4px;
  animation: progress 2s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseLogo {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes dots {
  0%, 20% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes dotBounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes progress {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

/* Loading screen responsive */
@media (max-width: 768px) {
  .loading-screen .logo-wrapper img {
    max-width: 150px;
  }
  
  .loading-screen .company-name {
    font-size: 1.2rem;
  }
  
  .loading-spinner {
    width: 45px;
    height: 45px;
  }
  
  .loading-progress {
    width: 150px;
  }
}

/* ========== INBOX PAGE STYLES ========== */
.inbox-container {
  display: flex;
  gap: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-height: 600px;
  margin: 30px 0;
  overflow: hidden;
}

.inbox-sidebar {
  width: 260px;
  background: #f8fafc;
  padding: 20px 0;
  border-right: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.inbox-sidebar .compose-btn {
  margin: 0 16px 20px;
  width: calc(100% - 32px);
  padding: 12px;
  background: #008bc5;
  color: #ffffff;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
}

.inbox-sidebar .compose-btn:hover {
  background: #004b7b;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #231f20;
  transition: 0.15s;
  border-left: 3px solid transparent;
  font-family: 'Inter', sans-serif;
}

.sidebar-menu li:hover {
  background: #edf2f7;
}

.sidebar-menu li.active {
  background: #e6f3f9;
  border-left-color: #008bc5;
  color: #004b7b;
  font-weight: 600;
}

.sidebar-menu li .badge {
  margin-left: auto;
  background: #008bc5;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
}

.inbox-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.inbox-header {
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
}

.inbox-header h2 {
  color: #004b7b;
  font-size: 1.2rem;
}

.inbox-header .search-box {
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 40px;
  width: 250px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: #231f20;
}

.inbox-header .search-box:focus {
  outline: none;
  border-color: #008bc5;
}

.message-list {
  flex: 1;
  overflow-y: auto;
  background: #ffffff;
}

.message-row {
  display: grid;
  grid-template-columns: 40px 200px 1fr 150px 60px;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: 0.1s;
  align-items: center;
  gap: 12px;
}

.message-row:hover {
  background: #f8fafc;
}

.message-row.unread {
  font-weight: 600;
  background: #f0f7ff;
}

.message-row .checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
  background: #ffffff;
  color: #ffffff;
}

.message-row .checkbox.checked {
  background: #008bc5;
  border-color: #008bc5;
  color: #ffffff;
}

.message-row .sender {
  color: #231f20;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-row .subject {
  color: #231f20;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-row .subject .tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
  margin-right: 8px;
  font-weight: 500;
  display: inline-block;
}

.tag-contact {
  background: #dbeafe;
  color: #1e40af;
}

.tag-applicant {
  background: #fce7f3;
  color: #9d174d;
}

.tag-newsletter {
  background: #d1fae5;
  color: #065f46;
}

.message-row .date {
  color: #64748b;
  font-size: 0.85rem;
  white-space: nowrap;
}

.message-row .actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.message-row .actions button {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 4px;
  transition: 0.15s;
}

.message-row .actions button:hover {
  color: #008bc5;
}

.message-row .actions button.delete:hover {
  color: #dc2626;
}

.message-detail {
  padding: 24px;
  background: #fafcff;
  border-top: 1px solid #e2e8f0;
  display: none;
}

.message-detail.open {
  display: block;
}

.message-detail .detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.message-detail .detail-header h3 {
  color: #004b7b;
}

.message-detail .detail-meta {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.message-detail .detail-body {
  color: #231f20;
  line-height: 1.7;
  white-space: pre-wrap;
  padding: 16px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.message-detail .detail-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.message-detail .detail-actions button {
  padding: 8px 20px;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}

.btn-reply {
  background: #008bc5;
  color: #ffffff;
}

.btn-reply:hover {
  background: #004b7b;
}

.btn-print {
  background: #e2e8f0;
  color: #231f20;
}

.btn-print:hover {
  background: #cbd5e1;
}

.btn-pdf {
  background: #004b7b;
  color: #ffffff;
}

.btn-pdf:hover {
  background: #002d4a;
}

.btn-save {
  background: #f59e0b;
  color: #ffffff;
}

.btn-save:hover {
  background: #d97706;
}

.btn-delete {
  background: #dc2626;
  color: #ffffff;
}

.btn-delete:hover {
  background: #b91c1c;
}

/* ========== USER PROFILE IN TOP BAR ========== */
.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  padding: 8px 20px 8px 12px;
  background: #f8fafc;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  transition: 0.2s;
}

.user-profile:hover {
  background: #edf2f7;
}

.user-profile .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #008bc5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  overflow: hidden;
  flex-shrink: 0;
}

.user-profile .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-profile .user-name {
  font-weight: 600;
  color: #231f20;
  font-size: 1rem;
}

.dropdown-menu {
  position: absolute;
  top: 52px;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  padding: 8px 0;
  display: none;
  z-index: 100;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: #231f20;
  text-decoration: none;
  transition: 0.1s;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
}

.dropdown-menu a i {
  width: 20px;
  text-align: center;
  color: #64748b;
}

.dropdown-menu a:hover i {
  color: #008bc5;
}

/* ========== COMPOSE MODAL ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: #ffffff;
  border-radius: 16px;
  width: 600px;
  max-width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.modal h2 {
  color: #004b7b;
  margin-bottom: 20px;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  color: #231f20;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  outline: none;
  border-color: #008bc5;
}

.modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

.modal .modal-actions button {
  padding: 10px 24px;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
}

.modal .modal-actions .btn-cancel {
  background: #e2e8f0;
  color: #231f20;
}

.modal .modal-actions .btn-cancel:hover {
  background: #cbd5e1;
}

.modal .modal-actions .btn-send {
  background: #008bc5;
  color: #ffffff;
}

.modal .modal-actions .btn-send:hover {
  background: #004b7b;
}

/* ========== DELETE CONFIRMATION MODAL ========== */
.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.confirm-overlay.open {
  display: flex;
}

.confirm-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.confirm-box h3 {
  color: #dc2626;
  margin-bottom: 12px;
}

.confirm-box p {
  color: #231f20;
  margin-bottom: 20px;
}

.confirm-box .confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirm-box .confirm-actions button {
  padding: 10px 32px;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
}

.confirm-box .confirm-actions .btn-yes {
  background: #dc2626;
  color: #ffffff;
}

.confirm-box .confirm-actions .btn-yes:hover {
  background: #b91c1c;
}

.confirm-box .confirm-actions .btn-no {
  background: #e2e8f0;
  color: #231f20;
}

.confirm-box .confirm-actions .btn-no:hover {
  background: #cbd5e1;
}

/* ========== REPLY FORM ========== */
.reply-form {
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: none;
}

.reply-form.open {
  display: block;
}

.reply-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  min-height: 80px;
  color: #231f20;
}

.reply-form textarea:focus {
  outline: none;
  border-color: #008bc5;
}

.reply-form .reply-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.reply-form .reply-actions button {
  padding: 8px 20px;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
}

.reply-form .reply-actions .btn-send-reply {
  background: #008bc5;
  color: #ffffff;
}

.reply-form .reply-actions .btn-send-reply:hover {
  background: #004b7b;
}

.reply-form .reply-actions .btn-cancel-reply {
  background: #e2e8f0;
  color: #231f20;
}

.reply-form .reply-actions .btn-cancel-reply:hover {
  background: #cbd5e1;
}

/* ========== PROFILE SETUP OVERLAY ========== */
.profile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.profile-overlay .profile-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
}

.profile-overlay .profile-box h2 {
  color: #004b7b;
  margin-bottom: 20px;
}

.profile-overlay .profile-box input,
.profile-overlay .profile-box select {
  width: 100%;
  padding: 12px;
  margin: 8px 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  color: #231f20;
}

.profile-overlay .profile-box input:focus,
.profile-overlay .profile-box select:focus {
  outline: none;
  border-color: #008bc5;
}

.profile-overlay .profile-box input[type="file"] {
  padding: 8px;
}

.profile-overlay .profile-box .profile-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.profile-overlay .profile-box .profile-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-family: 'Inter', sans-serif;
}

.profile-overlay .profile-box .profile-actions .btn-primary {
  background: #008bc5;
  color: #ffffff;
}

.profile-overlay .profile-box .profile-actions .btn-primary:hover {
  background: #004b7b;
}

.profile-overlay .profile-box .profile-actions .btn-secondary {
  background: #e2e8f0;
  color: #231f20;
}

.profile-overlay .profile-box .profile-actions .btn-secondary:hover {
  background: #cbd5e1;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

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

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

  .slide-text h2 {
    font-size: 1.5rem;
  }

  .slide img {
    height: 300px;
  }

  .prev,
  .next {
    padding: 8px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .mission-text {
    font-size: 1.3rem;
  }

  .section-head h3 {
    font-size: 1.6rem;
  }

  .service-card h4 {
    font-size: 1.2rem;
  }

  .service-detail {
    padding: 20px;
  }

  .service-detail h2 {
    font-size: 1.5rem;
  }

  /* Inbox Responsive */
  .inbox-container {
    flex-direction: column;
  }

  .inbox-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .inbox-sidebar .compose-btn {
    width: calc(100% - 32px);
  }

  .message-row {
    grid-template-columns: 30px 1fr 80px;
    gap: 8px;
    padding: 10px 16px;
  }

  .message-row .sender {
    grid-column: 2;
  }

  .message-row .subject {
    grid-column: 2;
  }

  .message-row .date {
    grid-column: 3;
    text-align: right;
  }

  .message-row .actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .inbox-header .search-box {
    width: 100%;
  }

  .modal {
    padding: 20px;
  }

  .message-detail .detail-header {
    flex-direction: column;
  }

  .message-detail .detail-actions {
    margin-top: 12px;
  }

  .message-detail .detail-actions button {
    font-size: 0.85rem;
    padding: 6px 14px;
  }

  .user-profile .user-name {
    display: none;
  }

  .dropdown-menu {
    right: -10px;
  }
}

@media (max-width: 480px) {
  .message-row {
    grid-template-columns: 24px 1fr;
    gap: 6px;
  }

  .message-row .sender {
    grid-column: 2;
    font-size: 0.9rem;
  }

  .message-row .subject {
    grid-column: 2;
    font-size: 0.85rem;
  }

  .message-row .date {
    grid-column: 2;
    text-align: left;
    font-size: 0.75rem;
    color: #94a3b8;
  }

  .message-row .actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .message-detail .detail-actions {
    flex-direction: column;
  }

  .message-detail .detail-actions button {
    width: 100%;
    justify-content: center;
  }

  .modal {
    padding: 16px;
  }
}

/* ========== UTILITY CLASSES ========== */
.small {
  font-size: 0.8rem;
  color: #231f20;
  opacity: 0.7;
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}