/*
 * Commission on Human Rights and Public Administration Integrity - Eswatini
 * Main Stylesheet
 */

/* 
 * Color Variables - based on Eswatini national colors
 * Blue: #3e5eb3
 * Yellow: #ffd100
 * Red: #b10c0c
 * Black: #000000
 * White: #ffffff
 * Gray shades for text and backgrounds
 */

/* Slideshow Styles */
/* MOBILE RESPONSIVE TWEAKS FOR SLIDESHOW */
@media (max-width: 768px) {
    .hero-section,
    .hero-slide,
    .slideshow-container {
        height: 60vh !important; /* Shorter on mobile to avoid too much scroll */
        min-height: 400px !important;
    }

    .slideshow-slide img {
        object-fit: cover !important; /* Fill container without distortion */
        object-position: center !important; /* Focus on center of image */
    }

    .slideshow-indicators {
        bottom: 15px !important; /* Closer to bottom on small screens */
        gap: 8px !important;
    }

    .slideshow-indicator {
        width: 12px !important;
        height: 12px !important;
    }

    .hero-content {
        padding: 20px !important; /* More breathing room for text */
    }

    .hero-content h1 {
        font-size: 2rem !important; /* Smaller title on mobile */
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    .btn-lg {
        padding: 12px 24px !important;
        font-size: 1rem !important;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .hero-section,
    .hero-slide,
    .slideshow-container {
        height: 50vh !important;
        min-height: 350px !important;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
    }
}
.slideshow-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.news-card:hover .gallery-overlay {
    opacity: 1;
}
.slideshow-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.slideshow-slide.active {
  opacity: 1;
}

.slideshow-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 10;
}

.slideshow-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slideshow-indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.slideshow-indicator.active {
  background-color: var(--white);
  transform: scale(1.2);
  border-color: var(--primary-light);
}
:root {
  --primary: #3e5eb3;
  --primary-dark: #2a4182;
  --primary-light: #5a7ac9;
  --secondary: #ffd100;
  --secondary-dark: #dbb400;
  --accent: #b10c0c;
  --dark: #222222;
  --gray-dark: #444444;
  --gray: #666666;
  --gray-light: #dddddd;
  --gray-lighter: #f8f8f8;
  --white: #ffffff;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
}

/* Base Styles */
body {
  font-family: 'Roboto', sans-serif;
  color: var(--gray-dark);
  line-height: 1.6;
  background-color: var(--gray-lighter);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.btn {
  border-radius: 0;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

.form-control, .form-select {
  border-radius: 0;
  padding: 0.75rem;
  border-color: var(--gray-light);
}

.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(62, 94, 179, 0.25);
  border-color: var(--primary);
}

img {
  max-width: 100%;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.top-bar span {
  margin-right: 1rem;
}

.top-bar i {
  margin-right: 0.25rem;
}

.social-icon {
  color: var(--white);
  margin-left: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--secondary);
  transform: translateY(-2px);
}

/* Main Header */
.main-header {
  background-color: var(--white);
  padding: 1.5rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: block;
}

.site-title {
  padding-left: 1rem;
  border-left: 1px solid var(--gray-light);
}

.site-title h1 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
  color: var(--primary);
}

.site-title h2 {
  font-size: 1.1rem;
  margin-bottom: 0;
  font-weight: 500;
  color: var(--gray-dark);
  padding-bottom: 0;
}

.site-title h2:after {
  display: none;
}

/* Main Navigation */
.navbar {
  background-color: var(--primary);
  padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--white);
  padding: 1rem 1.2rem;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary);
  background-color: rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary);
}

.dropdown-menu {
  border-radius: 0;
  padding: 0;
  margin-top: 0;
  border: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--primary-light);
  color: var(--white);
}

.navbar .form-control {
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.navbar .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.navbar .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Main Content */
.main-content {
  min-height: 500px;
  padding: 2rem 0;
}

/* Page Banner */
.page-banner {
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
  position: relative;
  color: var(--white);
  margin-bottom: 2rem;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item, .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  height: 600px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Vision & Mission Section */
.vision-mission {
  padding: 4rem 0;
  background-color: var(--white);
}

.vision-box, .mission-box {
  background-color: var(--gray-lighter);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vision-box {
  border-top: 5px solid var(--primary);
}

.mission-box {
  border-top: 5px solid var(--secondary);
}

.vision-box h2, .mission-box h2 {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.vision-box h2:after, .mission-box h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
}

.vision-box h2:after {
  background-color: var(--primary);
}

.mission-box h2:after {
  background-color: var(--secondary);
}

/* Quick Access Section */
.quick-access {
  padding: 4rem 0;
  background-color: var(--gray-lighter);
}

.quick-box {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 0;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.quick-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.quick-box h3 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.quick-box p {
  margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.about-section h2 {
  margin-bottom: 1.5rem;
}

.about-section p {
  margin-bottom: 1.2rem;
}

.about-section img {
  border-radius: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Latest News Section */
.latest-news {
  padding: 4rem 0;
  background-color: var(--gray-lighter);
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.news-card {
  background-color: var(--white);
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-date {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  font-weight: 500;
  margin-top: 1rem;
  color: var(--primary);
}

.read-more:hover {
  color: var(--primary-dark);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Content Blocks */
.content-block {
  background-color: var(--white);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content-block h2 {
  margin-bottom: 1.5rem;
}

.content-block h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Sidebar */
.sidebar {
  margin-bottom: 2rem;
}

.sidebar-block {
  background-color: var(--white);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-block h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--gray-light);
}

.quick-links li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.quick-links li:last-child {
  border-bottom: none;
}

.quick-links a {
  display: block;
}

.quick-links i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.contact-info p {
  margin-bottom: 0.7rem;
}

.contact-info i {
  width: 20px;
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Value Items */
.value-item {
  background-color: var(--gray-lighter);
  padding: 1.5rem;
  border-radius: 0;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.value-item .icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.value-item h4 {
  margin-bottom: 0.7rem;
}

/* Mandate Tabs */
.navigation-pills {
  margin: 2rem 0;
}

.nav-pills .nav-link {
  border-radius: 0;
  padding: 1rem 1.5rem;
  background-color: var(--gray-lighter);
  color: var(--gray-dark);
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
  background-color: var(--primary);
  color: var(--white);
}

.mandate-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 0;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mandate-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.case-example {
  background-color: var(--gray-lighter);
  padding: 1.5rem;
  border-left: 5px solid var(--primary);
}

.case-example h4 {
  margin-bottom: 1rem;
}

.case-example ul {
  margin-bottom: 0;
}

/* Procedure Steps */
.procedure-steps {
  margin-top: 2rem;
}

.procedure-step {
  display: flex;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  padding-top: 0.5rem;
}

.step-content h4 {
  margin-bottom: 0.5rem;
}

/* Complaint Form */
.complaint-form {
  margin-top: 2rem;
}

.form-label {
  font-weight: 500;
}

.required {
  color: var(--danger);
}

.form-text {
  color: var(--gray);
  font-size: 0.85rem;
}

.form-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.investigation-list li {
  padding: 0.5rem 0;
}

.investigation-list i {
  color: var(--success);
  margin-right: 0.5rem;
}

.info-notes p {
  background-color: var(--gray-lighter);
  padding: 0.7rem;
  border-left: 3px solid var(--info);
  margin-bottom: 0.7rem;
}

/* Contact Information */
.contact-info-block {
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.contact-item .details h4 {
  margin-bottom: 0.3rem;
}

.contact-item .details p {
  margin-bottom: 0;
}

.working-hours-block {
  margin: 2rem 0;
}

.working-hours {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.working-hours:last-child {
  border-bottom: none;
}

.map-container {
  margin-top: 1rem;
}

.map-placeholder {
  background-color: var(--gray-lighter);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--gray-light);
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* FAQ Accordion */
.faq-section {
  padding: 3rem 0;
  background-color: var(--gray-lighter);
}

.accordion-item {
  border-radius: 0;
  margin-bottom: 1rem;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  padding: 1.2rem;
  background-color: var(--white);
  color: var(--dark);
  font-weight: 500;
  border: none;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--gray-light);
}

.accordion-body {
  padding: 1.5rem;
  background-color: var(--white);
}

/* News Article */
.news-article {
  background-color: var(--white);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--gray);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-light);
}

.article-meta span {
  margin-right: 1.5rem;
}

.article-meta i {
  margin-right: 0.5rem;
}

.article-content {
  line-height: 1.8;
  margin-bottom: 2rem;
}

.article-share {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
}

.article-share h4 {
  margin-bottom: 1rem;
}

.social-share {
  display: flex;
  gap: 0.5rem;
}

.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--gray-light);
  color: var(--dark);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.share-link:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.article-navigation {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}

/* News Listing */
.news-list {
  margin-top: 2rem;
}

.news-item {
  display: flex;
  margin-bottom: 2rem;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-date {
  width: 100px;
  flex-shrink: 0;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.recent-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-news-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.recent-news-list li:last-child {
  border-bottom: none;
}

.recent-news-list li.active a {
  color: var(--primary);
  font-weight: 500;
}

.recent-news-title {
  margin-bottom: 0.3rem;
}

.recent-news-date {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Documents */
.documents-filter {
  background-color: var(--gray-lighter);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.documents-list {
  margin-top: 2rem;
}

.document-item {
  display: flex;
  margin-bottom: 1.5rem;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 1.5rem;
}

.document-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.document-icon {
  font-size: 2rem;
  color: var(--danger);
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
}

.document-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.document-meta {
  margin: 1rem 0;
  color: var(--gray);
}

.document-meta span {
  margin-right: 1.5rem;
}

.document-meta i {
  margin-right: 0.3rem;
}

.category-list li {
  padding: 0.5rem 0;
}

.category-list i {
  margin-right: 0.5rem;
  color: var(--primary);
}

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

.document-thumbnail {
  font-size: 4rem;
  color: var(--danger);
  margin-bottom: 1rem;
}

/* Site Map */
.sitemap-section {
  padding: 3rem 0;
}

.sitemap-category {
  margin-bottom: 2rem;
}

.sitemap-category h3 {
  font-size: 1.3rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.sitemap-category h3 i {
  margin-right: 0.7rem;
  color: var(--primary);
}

.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-links li {
  padding: 0.5rem 0;
}

.sitemap-links i {
  margin-right: 0.5rem;
  color: var(--primary);
  font-size: 0.8rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  background-color: var(--gray-lighter);
}

.empty-state i {
  font-size: 4rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

/* Live Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.chat-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h5 {
  margin-bottom: 0;
  color: var(--white);
  font-size: 1.1rem;
}

.chat-header i {
  margin-right: 0.5rem;
}

.btn-minimize {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
}

.chat-body {
  height: 400px;
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
  background-color: var(--gray-lighter);
}

.message {
  margin-bottom: 1rem;
  display: flex;
}

.message.user {
  justify-content: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  position: relative;
}

.message.admin .message-content {
  background-color: var(--primary-light);
  color: var(--white);
  border-bottom-left-radius: 0;
}

.message.user .message-content {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-bottom-right-radius: 0;
}

.message-time {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.3rem;
  opacity: 0.8;
}

.message.user .message-time {
  text-align: right;
}

.chat-form {
  padding: 1rem;
  border-top: 1px solid var(--gray-light);
}

.chat-input {
  display: flex;
  padding: 0.8rem;
  border-top: 1px solid var(--gray-light);
}

.chat-input .form-control {
  border-radius: 20px;
  border-color: var(--gray-light);
}

.btn-send {
  background-color: var(--primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.btn-send:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.chat-button i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.chat-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--gray-light);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer address {
  margin-bottom: 0;
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer i {
  margin-right: 0.5rem;
  width: 20px;
  color: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  padding: 0.4rem 0;
}

.footer-links a {
  color: var(--gray-light);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 991.98px) {
  .site-title {
    padding-left: 0;
    border-left: none;
    margin-top: 1rem;
    text-align: center;
  }
  
  .logo-container {
    text-align: center;
  }
  
  .hero-slide {
    height: 500px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .quick-box {
    margin-bottom: 2rem;
  }

  .news-card {
    margin-bottom: 2rem;
  }
  
  .chat-widget {
    width: 300px;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    text-align: center;
  }
  
  .top-bar .col-md-4 {
    margin-top: 0.5rem;
  }
  
  .hero-slide {
    height: 400px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .vision-box, .mission-box {
    margin-bottom: 2rem;
  }
  
  .about-section img {
    margin-top: 2rem;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
  }
  
  .procedure-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .news-item {
    flex-direction: column;
  }
  
  .news-date {
    width: 100%;
    padding: 0.5rem;
  }
  
  .chat-widget {
    width: 100%;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }
  
  .chat-button {
    right: 10px;
    bottom: 10px;
    padding: 0.8rem;
  }
  
  .chat-button span {
    display: none;
  }
  
  .chat-button i {
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .page-banner {
    padding: 3rem 0;
  }
  
  .article-title {
    font-size: 1.8rem;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-item .icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
