/* Warning Banner Styles */
.warning-banner {
  background: linear-gradient(135deg, #ff6b6b 0%, #e63946 100%);
  color: white;
  padding: 25px 0;
  margin: 0;
  text-align: center;
  border-bottom: 3px solid #c99900;
  position: relative;
  z-index: 99;
}

.warning-banner h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.warning-banner p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.warning-banner a {
  color: #ffd166;
  font-weight: bold;
  text-decoration: underline;
}

.warning-banner a:hover {
  color: white;
}

/* Services Grid Styles for 21 Categories */
.services-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.service-category-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.category-img {
  height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.category-details {
  padding: 14px 12px 18px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-details h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.category-details p {
  color: var(--gray);
  margin-bottom: 10px;
  font-size: 0.89rem;
  line-height: 1.45;
}

.category-price {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.98rem;
}

.services-note {
  text-align: center;
  background: var(--light-gray);
  padding: 25px;
  border-radius: 10px;
  margin-top: 30px;
}

.services-note p {
  margin-bottom: 20px;
  color: var(--dark);
}

/* Highlight Grid Styles */
.highlight-grid {
  display: grid;
  /* Use minmax(0, 1fr) so columns share available space and avoid overflow caused by
     intrinsic minimums. This reliably produces 4 columns on wide viewports. */
  /* Allow columns to shrink but keep a small minimum so 4 columns fit on wide screens.
     Using 140px minimum makes wrapping less likely on typical desktop widths. */
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 30px;
}

/* Force four columns on sufficiently wide viewports to match the requested layout */
@media (min-width: 1000px) {
  .highlight-grid {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }
}

.highlight-row {
  display: contents;
}

.highlight-row.second {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.highlight-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-sizing: border-box; /* ensure padding/border don't force overflow */
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card img {
  width: 100%;
  /* Let image height scale down on smaller viewports while keeping a max height */
  height: clamp(110px, 16vw, 160px);
  object-fit: cover;
}

.highlight-content {
  /* Scale padding modestly with viewport so content breathes but fits more when needed */
  padding: clamp(12px, 2vw, 20px);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.highlight-content h4 {
  color: #1d3557;
  margin-bottom: 15px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  text-align: center;
}

.highlight-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.highlight-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  align-items: center;
  white-space: normal;
  word-break: break-word;
}

.highlight-list li:last-child {
  border-bottom: none;
}

.highlight-list i {
  color: #6b6b6b; /* neutral icon color so emphasis is on the text label */
  margin-right: 10px;
  flex-shrink: 0;
}

.highlight-list strong.pass-badge {
  color: var(--success);
  font-weight: 700;
  margin: 0 0 6px 0;
  display: block; /* label on its own line */
  background: none;
  padding: 0;
  font-size: 0.98rem;
}
.highlight-list strong.fail-badge {
  color: #e53935; /* red label for Fail */
  font-weight: 700;
  margin: 0 0 6px 0;
  display: block; /* label on its own line */
  background: none;
  padding: 0;
  font-size: 0.98rem;
}
.highlight-list li {
  font-size: 0.95rem;
  color: #444;
}

/* Description text that follows the label inside highlight list items */
.highlight-list .item-desc {
  color: #444; /* standard body color for description */
  margin-left: 0; /* reset since label is block-level */
  display: block; /* ensure description appears on the next line */
  font-weight: 400;
  margin-bottom: 6px;
}

/* Special styling for the inspection report highlight card to improve Swahili presentation */
.report-card .highlight-content h4 {
  font-size: 1.15rem;
  text-align: center;
  color: var(--primary);
  margin-bottom: 12px;
}
.report-card .highlight-list {
  padding: 8px 6px;
}
.report-card .highlight-list li {
  display: block; /* stack label and description vertically */
  padding: 10px 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(245,245,245,0.6), rgba(255,255,255,0.6));
  margin-bottom: 10px;
}
.report-card .highlight-list li:last-child {
  margin-bottom: 0;
}
.report-card .highlight-list strong.pass-badge,
.report-card .highlight-list strong.fail-badge {
  font-size: 1rem;
  margin-bottom: 6px;
  display: block;
}
.report-card .highlight-list .item-desc {
  color: #333;
  font-size: 0.95rem;
  margin-top: 4px;
  line-height: 1.45;
}

/* Slight icon spacing inside the labels */
.report-card .highlight-list strong i {
  margin-right: 8px;
  color: inherit;
}

/* News badge styling */
.news-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  margin-left: 10px;
  font-size: 0.75rem;
  vertical-align: middle;
}

.news-card.news-latest {
  border: 2px solid rgba(230,57,70,0.08);
}

/* Force news titles to be uppercase (works for dynamic translations too) */
.news-details h3 {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}

/* Responsive Design for Services Grid */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .category-img {
    height: 110px;
  }
  /* Keep 4 columns on wider tablets/desktops; switch to 2 columns at smaller widths handled below */
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .category-img {
    height: 90px;
  }
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlight-row.second {
    justify-content: flex-start;
  }
  .warning-banner h3 {
    font-size: 1.3rem;
  }
  .warning-banner p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-category-card {
    max-width: 100%;
  }
  .category-img {
    height: 70px;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .highlight-row.second {
    flex-direction: column;
    gap: 0;
  }
  .warning-banner {
    padding: 20px 0;
  }
  .warning-banner h3 {
    font-size: 1.2rem;
  }
  .warning-banner p {
    font-size: 0.9rem;
  }
}

/* Slide animation for hero slideshow */
.slide-in-right {
  animation: slideInRight 1s forwards;
}
.slide-out-left {
  animation: slideOutLeft 1s forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0.5;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0.5;
  }
}
/* ===== SLIDESHOW STYLING ===== */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: none;
  z-index: 1;
  pointer-events: none;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 80%;
  max-width: 800px;
}

.caption h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.caption p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-btn {
  margin: 5px;
}

/* Responsive adjustments for slideshow */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  
  .caption h1 {
    font-size: 2rem;
  }
  
  .caption p {
    font-size: 1rem;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .caption h1 {
    font-size: 1.8rem;
  }
}
/* Vigezo vya Rangi */
:root {
  --primary: #e63946;
  --secondary: #c99900;
  --accent: #457b9d;
  --dark: #1d3557;
  --light: #f1faee;
  --white: #ffffff;
  --gray: #6c757d;
  --light-gray: #f8f9fa;
  --success: #2a9d8f;
}

/* Misingi ya Mtindo */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
  background-color: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(201, 153, 0, 0.4);
}

.btn-secondary:hover {
  background-color: #b28900;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 153, 0, 0.6);
}

/* Header - IMPROVED ALIGNMENT AND SPACING */
header {
  background: #222;
  color: #fff;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 4px solid var(--secondary);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.header-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px;
  margin: 0 auto;
}

.branding {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 32px;
  flex-shrink: 0;
}

.logo {
  height: 48px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  object-fit: contain;
  display: block;
  margin-left: 0;
}

.brand-text h1 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.2;
  color: #fff;
}

.brand-text p {
  font-size: 0.8rem;
  margin: 0;
  color: #ccc;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 40px; /* Increased gap for better separation */
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px; /* Increased gap between navigation items */
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 16px; /* Increased padding for better spacing */
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--secondary);
  color: #222;
  font-weight: bold;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Language Selector */
.language-selector {
  position: relative;
}

.language-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: #222;
  background-color: #fff;
}

.language-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.language-btn img {
  width: 20px;
  margin-right: 8px;
}

.language-options {
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  display: none;
  z-index: 100;
  min-width: 150px;
}

.language-options.active {
  display: block;
}

.language-option {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  color: #222;
  background: none;
}

.language-option:hover {
  background-color: #f5f5f5;
  color: var(--primary);
}

.language-option img {
  width: 20px;
  margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 900px) {
  .header-container {
    padding: 0 15px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #222;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 20px;
    display: none;
    z-index: 99;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .main-nav a {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }
  
  .header-right {
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .brand-text h1 {
    font-size: 1.2rem;
  }
  
  .brand-text p {
    font-size: 0.7rem;
  }
  
  .language-btn span {
    display: none;
  }
  
  .language-btn {
    padding: 8px;
  }
  
  .language-btn img {
    margin-right: 0;
  }
}

/* Hero Section - REFINED LAYOUT AND STYLES */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Huduma Section */
.services-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 25px;
  background: var(--light-gray);
  border: none;
  border-radius: 30px;
  margin: 0 10px 10px 0;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.tab-btn i {
  margin-right: 8px;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.services-content {
  display: none;
}

.services-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-details {
  padding: 20px;
}

.service-details h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.service-price {
  font-size: 1.2rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 15px;
}

.service-features {
  margin-bottom: 20px;
}

.service-features li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.service-features i {
  color: var(--success);
  margin-right: 10px;
}

/* Kuhusu Sisi Section - MAREKEBISHO YA VIDEO */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sehemu ya Video */
.about-media {
  margin-top: 40px;
}

.video-section {
  margin-bottom: 30px;
}

.video-section h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.video-section h3 i {
  color: var(--primary);
  margin-right: 10px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-description {
  margin-top: 15px;
  color: var(--gray);
}

/* Booking Section */
.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.booking-form {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.booking-info {
  background: linear-gradient(135deg, #e53935 0%, #fbc02d 100%);
  color: #fff;
  padding: 38px 32px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(230,57,70,0.10);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.booking-info h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-info ul {
  margin-bottom: 18px;
  padding-left: 0;
  list-style: none;
  width: 100%;
}

.booking-info li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.08rem;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(230,57,70,0.04);
}

.booking-info i {
  margin-right: 10px;
  color: #fbc02d;
  font-size: 1.3rem;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
}

.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  resize: vertical;
  min-height: 150px;
}

/* SEHEMU MPYA YA MATANGAZO/HABARI */
.news-section {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.news-details {
  padding: 20px;
}

.news-date {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.news-details h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1d3557;
  cursor: pointer;
  line-height: 1.4;
}

.news-details p {
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.6;
}

.news-link {
  color: #e63946;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.news-link:hover {
  text-decoration: underline;
}

.news-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.news-link:hover i {
  transform: translateX(5px);
}

/* Modal for news details */
.news-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.modal-content {
  background-color: var(--white);
  margin: 40px auto;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
  padding: 20px;
  background-color: var(--primary);
  color: var(--white);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

.modal-body {
  padding: 30px;
}

.modal-image {
  width: 100%;
  height: 420px; /* increased height so meeting images are more visible */
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Image used by modal slideshow */
.modal-image img.modal-slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  opacity: 1;
  transition: opacity 400ms ease-in-out;
}

@media (max-width: 800px) {
  .modal-image {
    height: 260px;
  }
}

.modal-date {
  color: var(--gray);
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content, .booking-container, .contact-container, .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .header-right {
    flex-direction: column;
    align-items: flex-end;
  }
  
  .language-selector {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 900px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #222;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 20px;
    z-index: 99;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .main-nav li {
    margin: 0;
  }
  
  .header-right {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: auto;
  }
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .header-container {
    flex-wrap: wrap;
  }
  
  .branding {
    margin-bottom: 10px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .main-nav ul {
    flex-direction: column;
    gap: 8px;
  }
  .main-nav a {
    max-width: 100%;
    white-space: normal;
    text-overflow: unset;
    font-size: 0.93rem;
    padding: 8px 8px;
  }
  .branding {
    gap: 8px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
}