/* Custom Properties / Color Variables */
:root {
  --primary-color: #2B3247; /* Very Dark Blue/Navy - NEW */
  --secondary-color: #a9a08f; /* Muted Gray/Beige - NEW */
  --accent-color: #ffc400; /* Vibrant Gold/Yellow */
  --bg-light: #ffffff;
  --bg-section: #f7f7f7;
  --text-color: #333333;
  --light-text: #ffffff;
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  margin-bottom: 0.5em;
  color: var(--primary-color);
}
.light-text {
  color: var(--light-text);
}
.center-text {
  text-align: center;
}
.center-text-small {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}
.icon-gold {
  color: var(--accent-color);
}

/* --- New Logo Image Styling --- */

/* Ensures the logo itself is sized appropriately for the header */
.header-logo-img {
  height: 50px; /* Adjust height as needed, 40px is standard for modern headers */
  width: auto;
  display: block;
}

/* --- Modification to Existing .logo Class --- */

/* Remove the old text styling properties from the .logo anchor element */
.main-header .logo {
  /* The following rules override the old text-based styling: */
  font-size: initial;
  font-weight: normal;
  color: inherit;
  text-decoration: none;
  letter-spacing: normal;
  padding: 0; /* Ensures the image doesn't get unnecessary padding */
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
  .header-logo-img {
    height: 35px; /* Slightly smaller logo on mobile */
  }
}

/* --- UX Feature 1: Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  height: 4px;
  background-color: var(--accent-color);
  width: 0%;
  transition: width 0.05s linear;
}

/* --- Header & Navigation --- */
.main-header {
  background-color: var(--bg-light);
  box-shadow: var(--shadow-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-light);
  list-style: none;
  min-width: 180px;
  box-shadow: var(--shadow-subtle);
  padding: 10px 0;
  border-radius: 4px;
  display: none;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  padding: 8px 15px;
  display: block;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
  padding: 10px;
}

/* --- Hero Section & CTAs --- */
.hero-section {
  background: url("placeholder-hero-image.jpg") no-repeat center center/cover;
  color: var(--light-text);
  text-align: center;
  padding: 120px 20px;
  position: relative;
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(25, 37, 50, 0.75); /* NEW Primary Color overlay */
  z-index: -1;
}

.hero-content h1 {
  color: var(--light-text);
  margin-bottom: 15px;
  font-size: 3.5rem;
}
.hero-content .subtitle {
  font-size: 1.4rem;
  margin-bottom: 50px;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.cta-button {
  padding: 14px 35px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.cta-button.primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: 2px solid var(--accent-color);
}
.cta-button.primary:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
  border: 2px solid var(--primary-color);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--light-text);
  border: 2px solid var(--light-text);
}
.cta-button.secondary:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
  border-color: var(--light-text);
}

/* Trust Bar */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 0.95rem;
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.trust-bar span:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  padding-right: 15px;
}
.trust-bar span:first-child {
  padding-left: 15px;
}

/* --- Core Value Proposition --- */
.value-proposition {
  padding: 80px 0;
  background-color: var(--secondary-color); /* NEW Secondary Color */
  color: var(--text-color);
}
.value-proposition h2 {
  color: var(--light-text);
  margin-bottom: 60px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.value-item {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  border-top: 5px solid var(--accent-color);
}
.value-item i {
  font-size: 3rem;
  margin-bottom: 15px;
}
.value-item h3 {
  margin-bottom: 10px;
}

/* --- Specialized Services Showcase --- */
.services-showcase {
  padding: 100px 0 10px 0;
}
.showcase-card {
  display: flex;
  align-items: center;
  margin-bottom: 70px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}
.showcase-card .text-content {
  flex: 1;
  padding: 40px;
}
.showcase-card .image-placeholder {
  flex: 1;
  height: 350px;
  background-color: var(--secondary-color);
}
.showcase-card.corporate .image-placeholder {
  background: url("placeholder-conference-image.jpg") no-repeat center
    center/cover;
}
.showcase-card.leisure .image-placeholder {
  background: url("placeholder-safari-image.jpg") no-repeat center center/cover;
}
.showcase-card.reverse {
  flex-direction: row-reverse;
}
.text-content h3 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}
.text-content ul {
  list-style: none;
  margin: 20px 0;
}
.text-content ul li {
  margin-bottom: 8px;
  font-weight: 500;
}
.text-content ul li i {
  color: var(--accent-color);
  margin-right: 10px;
}

/* --- Global Network & Strategic Partnerships (Tabbed Design) --- */
.network-trust-section {
  /* Reduced top/bottom padding for tighter spacing */
  padding: 60px 0;
  background-color: var(--bg-light);
}

.section-title-primary {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.section-subtitle {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* --- 5. Global Network and Strategic Partnerships (Simplified Logo Wall) --- */
.network-trust-section.simplified-design {
  /* Using light background for high contrast with dark logos/text */
  padding: 10px 0 60px 0;
  background-color: var(--bg-light);
}

.section-title-primary {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-subtitle-small {
  /* Tightened margin to match the new flow */
  margin-bottom: 30px;
  font-size: 1.1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.logo-grid-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
}

.large-logo-grid img {
  /* Larger size for higher visual impact on the homepage */
  max-width: 180px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}

.large-logo-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
/* --- INFINITE LOGO SLIDER STYLES --- */

/* Wrapper that hides the overflow */
.logo-slider-container {
  width: 100%;
  overflow: hidden;
  margin: 40px 0;
  /* CRITICAL: Ensures content inside the container stays on one line */
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* The actual element that moves */
.logo-slider-track {
  /* Ensures the track itself moves as a single, continuous line */
  display: inline-flex;
  width: auto;
  animation: scrollLogos 40s linear infinite; /* Adjust time for speed */
}

/* Pause the animation on hover */
.logo-slider-container:hover .logo-slider-track {
  animation-play-state: paused;
}

.logo-slide {
  /* Each repeated group of logos is treated as a continuous block */
  display: inline-flex;
  justify-content: space-around;
  align-items: center;

  /* Important: Must calculate the width based on the number of duplicates (3) 
       and the viewport width (100vw) to ensure movement is consistent. */
  width: calc(100vw - 40px); /* 100vw minus container padding (40px) */

  flex-shrink: 0;
  padding: 20px 0;
}

.logo-slide img {
  /* Logo styling to ensure consistency and visual appeal */
  height: 70px; /* Fixed height for consistency */
  max-width: 140px;
  width: auto;
  object-fit: contain;
  padding: 0 15px; /* Space between logos */

  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}

.logo-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* CSS Keyframes for movement */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Move the content exactly the width of ONE duplicated slide block (1/3 of total content) */
    transform: translateX(-33.3333%);
  }
}

/* Responsive Adjustments for Mobile: Make logos smaller and speed up scroll */
@media (max-width: 768px) {
  .logo-slide img {
    height: 50px;
    max-width: 100px;
  }
  .logo-slider-track {
    animation-duration: 25s; /* Faster scroll on mobile */
  }
  .logo-slide {
    /* Re-calculate width for mobile if needed, though 100vw should suffice */
    width: 100vw;
  }
}
.center-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
}
.mt-4 {
  margin-top: 40px;
}

/* Logo Grid for Partners */
.logo-grid-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.logo-grid-partners img {
  max-width: 160px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-grid-partners img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Revised Callout Box Style */

.callout-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}
.callout-box.revised-style p {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0;
}

/* --- Client Feedback/Testimonials Section --- */
.testimonials-section {
  /* Reduced top padding to bring it closer to the Network section */
  padding: 60px 0 80px 0;
  background-color: var(--primary-color);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.testimonial-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}
.testimonial-card i {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.testimonial-author {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: var(--primary-color);
  font-style: normal;
}
.center-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* --- Process CTA Section --- */
.process-cta-section {
  padding: 80px 0;
  background-color: var(--bg-section);
}
.process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 30px;
  margin: 40px 0;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-color);
}
.process-steps i {
  color: var(--accent-color);
  font-size: 0.9rem;
}
.mt-4 {
  margin-top: 40px;
}

/* --- Footer --- */
footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 50px 0 20px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.footer-grid ul {
  list-style: none;
}
.footer-grid ul a {
  color: var(--light-text);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  opacity: 0.8;
}
.footer-grid ul a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-contact i {
  color: var(--accent-color);
  margin-right: 10px;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- UX Feature 3: Back to Top Button --- */
#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: var(--accent-color);
  color: var(--primary-color);
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}
#backToTopBtn:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

/* --- Responsive Adjustments (Mobile View) --- */
@media (max-width: 768px) {
  /* Navigation Fixes */
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: var(--bg-light);
    box-shadow: var(--shadow-subtle);
    padding: 10px 0;
    border-top: 1px solid #eee;
    z-index: 90;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    padding: 10px 20px;
    color: var(--text-color);
    width: 100%;
    text-align: center;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0;
  }
  .dropdown-menu li a {
    padding: 8px 0 8px 40px;
    background-color: var(--bg-section);
  }

  /* Layout Adjustments */
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 15px;
  }
  .trust-bar {
    flex-wrap: wrap;
    gap: 10px 15px;
    font-size: 0.85rem;
  }
  .trust-bar span:not(:last-child) {
    border-right: none;
    padding-right: 0;
  }
  .showcase-card,
  .showcase-card.reverse {
    flex-direction: column;
  }
  .showcase-card .image-placeholder {
    width: 100%;
    height: 200px;
  }
  .value-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    flex-direction: column;
    gap: 10px;
  }
  .process-steps i {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Tab Adjustments */
  .tab-navigation {
    flex-direction: column;
    align-items: center;
  }
  .tab-link {
    width: 100%;
    text-align: center;
    margin: 5px 0;
    border-bottom: 1px solid var(--secondary-color);
  }
  .tab-link.active {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
  }
}

/* --- ABOUT US PAGE SPECIFIC STYLES --- */

/* Sub Hero Section (General style for all inner page banners) */
.sub-hero-section {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 80px 20px;
  text-align: center;
}

.sub-hero-section h1 {
  color: var(--light-text);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.sub-hero-section p {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* 1. Company Overview & History */
.company-overview-section {
  padding: 80px 0 60px 0;
}

.overview-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.overview-details {
  flex: 2;
}

.overview-image {
  flex: 1;
  /* Placeholder for a relevant image */
  background: url("placeholder-overview-image.jpg") no-repeat center
    center/cover;
  min-height: 350px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.overview-facts {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--secondary-color);
}

.overview-facts div {
  text-align: center;
  flex: 1;
}

.overview-facts i {
  font-size: 2rem;
  margin-bottom: 5px;
}

/* 2. Mission & Vision */
.mission-vision-section {
  padding: 60px 0;
  background-color: var(--bg-section);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vision-card,
.mission-card {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
  border-left: 5px solid var(--accent-color);
}

.vision-card i,
.mission-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* 3. Core Values (Uses existing .value-proposition styles but adds padding for extra content) */
/* The layout and colors are inherited from the home page, but we add more items */
.value-proposition {
  padding: 80px 0;
}
.value-proposition .value-grid {
  /* Set specific column count for 5 items to look balanced */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* 4. Our Clientele */
.clientele-section {
  padding: 80px 0;
}

.clientele-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
}

.client-type {
  flex: 1;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
}

.client-type i {
  font-size: 2rem;
  margin-bottom: 10px;
}
.client-type h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Responsive adjustments for About Us */
@media (max-width: 900px) {
  .overview-grid {
    flex-direction: column;
  }
  .overview-image {
    width: 100%;
    min-height: 250px;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .clientele-grid {
    flex-direction: column;
  }
  .overview-facts {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .overview-facts div {
    margin: 10px 0;
  }
}
/* --- SERVICES PAGE SPECIFIC STYLES --- */

/* Inner Page Hero Banner (Services) */
.sub-hero-section {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 80px 20px;
  text-align: center;
}

.sub-hero-section h1 {
  color: var(--light-text);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.sub-hero-section p {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* 1. Sector Focus (Gateway CTAs) */
.sector-focus-section {
  padding: 80px 0 60px 0;
}

.sector-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.sector-card {
  background-color: var(--bg-section);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
  border-top: 4px solid var(--primary-color);
  transition: transform 0.3s;
}

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

.sector-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.sector-card i {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Specific Small CTA for Service Hubs - ensures consistent button sizing */
.cta-button.small-cta {
  display: inline-block;
  padding: 10px 25px;
  margin-top: 20px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

/* 2. Full Service Offering Cards */
.full-services-list {
  padding: 60px 0 80px 0;
  background-color: var(--bg-section);
}

.service-cards-grid {
  display: grid;
  /* FIX: Ensure multiple columns on desktop/tablet */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card-item {
  background-color: var(--bg-light);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.service-card-item h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.service-card-item i {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* 3. Final CTA Fixes */
.process-cta-section {
  padding: 80px 0;
  background-color: var(--bg-section);
  text-align: center;
}

/* FIX: CTA Text Overlap */
.process-cta-section .cta-text-spacing {
  margin-bottom: 30px;
  font-size: 1.1rem;
  display: block;
}

/* Ensures the main CTA button has proper top margin */
.process-cta-section a.large-cta {
  margin-top: 10px;
}

/* Responsive adjustments for Services Page */
@media (max-width: 768px) {
  .sector-cards-grid {
    /* Stacks the Corporate/Leisure cards vertically on mobile */
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-cards-grid {
    /* Ensures full width single column on mobile for the full service list */
    grid-template-columns: 1fr;
  }
}

/* --- LEISURE PAGE SPECIFIC STYLES --- */

/* Fix the large CTA button text and size (re-defining for safety) */
.cta-button.large-cta {
  padding: 16px 40px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

/* Update the Leisure Hero Banner spacing */
.sub-hero-section.leisure-banner {
  padding: 100px 20px; /* Increased padding for better spacing */
}

/* Ensure sub-text is centered and has proper spacing */
.sub-hero-section.leisure-banner p {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 20px auto;
}

/* 1. Safari Expertise Section */
.safari-expertise-section {
  padding: 80px 0 60px 0;
}

.safari-grid {
  display: flex;
  gap: 50px;
  align-items: center;
}

.safari-image {
  flex: 1;
}

/* Button Alignment Fix: ensures the text and CTA align left */
.safari-details,
.adventure-details {
  flex: 1;
  text-align: left;
}
.align-left-cta {
  /* Ensures the button stays aligned left */
  display: inline-block;
}

/* Using a class for general large image containers */
/* .image-placeholder-large {
  background: url("placeholder-safari-large.jpg") no-repeat center center/cover;
  min-height: 450px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
} */
/* --- Showcase Image Container Styling --- */

/* Parent container styling to ensure the image is forced into a height and width */
.showcase-card .image-placeholder {
    flex: 1; /* Retains 50% width on desktop */
    height: 350px; /* Set a consistent height for the container on desktop */
    overflow: hidden;
}

/* New Image Class for Showcase Consistency */
.responsive-image-showcase {
    /* Ensures the image itself fills the dimensions of its container */
    width: 100%; 
    height: 100%;
    
    /* CRITICAL: Scales the image to cover the entire space without distortion */
    object-fit: cover; 
    
    display: block;
    border-radius: 0 8px 8px 0; /* Only right side rounded corners to match card design */
    /* Remove box-shadow from image if it's already on the showcase-card container */
}


/* --- Responsive Fixes (Ensuring it stacks correctly on mobile) --- */
@media (max-width: 768px) {
    /* Rule to stack content vertically (should already be in your CSS) */
    .showcase-card, .showcase-card.reverse {
        flex-direction: column;
    }

    /* On mobile, the image placeholder takes 100% width and has reduced height */
    .showcase-card .image-placeholder {
        width: 100%;
        height: 250px; /* Reduced height for mobile view */
        order: 1; /* Puts image above text on mobile */
    }
    
    /* Adjust border radius for mobile stacking */
    .responsive-image-showcase {
        border-radius: 8px 8px 0 0; /* Rounded corners on top only */
    }
}
/* Ensure the image placeholder itself respects the 50/50 split */
.showcase-card .image-placeholder {
    flex: 1; /* This ensures it takes its fair share of the space */
    /* REMOVE any conflicting fixed width properties here if they exist */
}

/* --- Showcase Image Container Styling (Final Fix) --- */

/* Parent Container: Ensures the 50/50 flex split and controls the minimum height */
.showcase-card .image-placeholder {
    flex: 1; 
    /* Set a minimum height based on the text content. 350px is a safe minimum for the list/text beside it. */
    min-height: 350px; 
    height: auto; 
    overflow: hidden;
}

/* Styles applied directly to the image */
.responsive-image-showcase {
    /* Critical: Tells the image to fill the container entirely */
    width: 100%; 
    height: 100%;
    
    /* Ensures the image maintains aspect ratio while filling the container, fixing the blank space issue */
    object-fit: cover; 
    
    display: block;
    box-shadow: var(--shadow-subtle); 
    
    /* Border radius matches the reverse card design (left side rounded) */
    border-radius: 8px 0 0 8px; 
}


/* --- Responsive Fixes --- */
@media (max-width: 768px) {
    /* On mobile, the image placeholder takes 100% width and has reduced height */
    .showcase-card .image-placeholder {
        width: 100%;
        min-height: 250px; /* Reduced height for mobile view */
        height: auto;
        order: 1; /* Puts image above text on mobile */
    }
    
    /* Adjust border radius for mobile stacking */
    .responsive-image-showcase {
        border-radius: 8px 8px 0 0; /* Rounded corners on top only */
    }
}

/* --- Dedicated CSS for About Us Overview Image --- */

/* Ensures the image itself is highly controlled */
.responsive-image-overview {
    width: 100%;
    height: 100%;
    display: block;
    
    /* Scales the image to cover the container without distortion */
    object-fit: cover; 
    
    /* Set a minimum height to ensure vertical space is reserved */
    min-height: 350px; 
    
    /* Styles matching the professional look */
    border-radius: 8px;
    box-shadow: var(--shadow-subtle); 
}

/* Styles for the parent container in the About Us grid */
.company-overview-section .overview-image {
    flex: 1; /* Retains its 1/3 or 50% split in the grid */
    min-height: 350px; /* Enforces minimum height on the container */
    overflow: hidden;
}

/* Responsive Fix for Mobile Stacking */
@media (max-width: 900px) {
    /* When the grid stacks vertically */
    .company-overview-section .overview-image {
        width: 100%;
        min-height: 250px; /* Reduced height for mobile view */
        order: 1; /* Puts image above text on mobile */
    }
    
    /* Adjust image height on mobile */
    .responsive-image-overview {
        min-height: 250px; 
    }
}

/* --- Dedicated CSS for Adventure/Small Showcase Images --- */

/* Parent container styling (reusing .adventure-image flex rules) */
.adventure-image {
    flex: 1;
    overflow: hidden;
}

/* Styles applied directly to the small image */
.responsive-image-small {
    /* Critical: Ensures the image fills the container entirely */
    width: 100%;
    height: 100%;
    
    /* Scales the image to cover the container without distortion/blank space */
    object-fit: cover; 
    
    /* Set a guaranteed minimum height for visual structure */
    min-height: 300px; 
    
    display: block;
    border-radius: 8px;
    box-shadow: var(--shadow-subtle); 
}

/* Responsive Fixes for Mobile Stacking */
@media (max-width: 900px) {
    /* When the grid stacks vertically, ensure the image height is manageable */
    .adventure-image {
        min-height: 220px; 
        order: 1; /* Puts image above text on mobile */
    }
    
    .responsive-image-small {
        min-height: 220px; 
    }
}
/* Ensure the image wrapper conforms to the space */
.image-wrapper {
    /* If you set padding on the image, the wrapper helps contain it */
    width: 100%;
    overflow: hidden;
}
.safari-details p {
  margin-bottom: 20px;
}

.safari-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.safari-highlights li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.safari-highlights li i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* 2. Holidays and Destinations Section */
.holidays-section {
  padding: 60px 0 80px 0;
  background-color: var(--bg-section);
}

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

.destination-card {
  background-color: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s;
}

.destination-card:hover {
  transform: translateY(-5px);
}

/* Placeholder for Destination Images - Use classes for specific images */
.card-image-placeholder {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.destination-maldives {
  background-image: url("placeholder-destination-maldives.jpg");
}
.destination-pyramids {
  background-image: url("placeholder-destination-pyramids.jpg");
}
.destination-city {
  background-image: url("placeholder-destination-city.jpg");
}

.destination-card h4 {
  padding: 15px 20px 5px;
  font-size: 1.3rem;
}

.destination-card p {
  padding: 0 20px 20px;
  font-size: 0.95rem;
}

/* 3. Adventure & Eco Tours Section */
.adventure-section {
  padding: 80px 0;
}

.adventure-grid {
  display: flex;
  flex-direction: row-reverse; /* Details on left, Image on right */
  gap: 50px;
  align-items: center;
}

.adventure-image {
  flex: 1;
}

.image-placeholder-small {
  background: url("placeholder-waterfall.jpg") no-repeat center center/cover;
  min-height: 300px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.service-checklist {
  margin-top: 30px;
}
.check-item {
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-color);
}

.check-item i {
  margin-right: 10px;
  color: var(--accent-color);
}

/* 4. Final CTA Section (Dark Blue Background) */
.final-cta-leisure {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--light-text);
}

.final-cta-leisure h2 {
  color: var(--light-text);
}

.final-cta-leisure .cta-text-spacing {
  color: var(--light-text);
  opacity: 0.8;
}

.support-icons {
  margin: 30px 0;
}

.support-icons i {
  font-size: 3rem;
  margin: 0 15px;
  color: var(--accent-color);
}

/* Responsive adjustments for Leisure Page */
@media (max-width: 900px) {
  .safari-grid,
  .adventure-grid {
    flex-direction: column;
  }

  .safari-image,
  .adventure-image {
    width: 100%;
    order: 1;
  }
  .safari-details,
  .adventure-details {
    order: 2;
    text-align: center; /* Center alignment for content blocks on small screens */
  }
  .image-placeholder-large {
    min-height: 350px;
  }
  .destination-grid {
    grid-template-columns: 1fr;
  }
  .support-icons i {
    font-size: 2.5rem;
    margin: 0 10px;
  }
  /* Ensure buttons center align on mobile when content block is centered */
  .align-left-cta {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
/* --- CORPORATE PAGE SPECIFIC STYLES --- */

/* 1. M.I.C.E. Expertise Section */
.mice-expertise {
  padding: 80px 0 60px 0;
}

.mice-grid {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.mice-text {
  flex: 1;
  text-align: left;
}

.mice-image {
  flex: 1;
}

/* Image placeholder style (reusing large style) */
.mice-image .image-placeholder-large {
  background: url("placeholder-conference-large.jpg") no-repeat center
    center/cover;
  min-height: 400px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.mice-highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.mice-highlights li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.mice-highlights li i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* 2. Service Structure (5 Pillars) */
.corporate-structure {
  padding: 80px 0;
  background-color: var(--primary-color);
}

.corporate-structure h2,
.corporate-structure p {
  color: var(--light-text);
}

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

.structure-pillar {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--accent-color);
}

.structure-pillar i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.structure-pillar h3 {
  font-size: 1.25rem;
}

/* 3. Integrated Services Checklist */
.integrated-services {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.service-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.service-checklist .check-item {
  background-color: var(--secondary-color);
  padding: 15px 25px;
  border-radius: 4px;
  font-weight: 500;
  color: var(--primary-color);
}

.service-checklist .check-item i {
  margin-right: 10px;
  color: var(--accent-color);
}

/* Responsive adjustments for Corporate Page */
@media (max-width: 900px) {
  .mice-grid {
    flex-direction: column-reverse; /* Put image on top of text on mobile */
  }
  .mice-text {
    order: 2;
    text-align: center;
  }
  .mice-image {
    order: 1;
    width: 100%;
  }
  .mice-image .image-placeholder-large {
    min-height: 250px;
  }
  .structure-grid {
    grid-template-columns: 1fr;
  }
  .service-checklist {
    grid-template-columns: 1fr;
  }
  .structure-pillar,
  .mice-text {
    text-align: center;
  }
  .mice-highlights,
  .mice-text .small-cta {
    /* Center lists and buttons on mobile */
    display: block;
    margin: 20px auto;
    width: fit-content;
  }
  .mice-highlights {
    text-align: left;
  }
}
/* --- CONTACT US PAGE SPECIFIC STYLES --- */

/* 1. Contact Info Cards */
.contact-info-section {
  padding: 80px 0 60px 0;
  background-color: var(--bg-section);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.contact-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.contact-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.contact-detail {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 15px 0 10px;
}

.contact-detail-large {
  font-weight: bold;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 20px 0;
}

.emergency-card {
  border: 2px solid var(--accent-color);
}
.emergency-card i {
  color: var(--accent-color);
}
.emergency-card .note {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 2. Inquiry Form and Map Section */
.inquiry-form-section {
  padding: 60px 0 80px 0;
}

.form-grid {
  display: flex;
  gap: 40px;
}

.form-details {
  flex: 1;
}

.form-container {
  flex: 1;
}

.form-details p {
  margin-bottom: 30px;
}

.contact-map {
  margin-top: 30px;
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

/* Form Styles */
.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button[type="submit"] {
  width: 100%;
  /* Inherits styling from .cta-button.primary.large-cta */
}

/* Responsive adjustments for Contact Us Page */
@media (max-width: 900px) {
  .form-grid {
    flex-direction: column;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}
