/* Base Section */
.hero-section {
  position: relative;
  padding: 80px 5%;
  /* background-color: #ffffff; */
  overflow: hidden;
}

/* Decorative Circle */
.hero-section ul,
.hero-section ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-section ul li:first-child {
  width: 500px;
  height: 500px;
  background-color: var(--primary-color);
  position: absolute;
  right: 0px;
  top: -100px;
  z-index: 0;
}

/* Container */
.tour-service-container {
  margin-top: 95px;
  /* max-width: 1200px; */
  position: relative;
  z-index: 2;
}

/* Left Content Block */
.tour-service-content {
  float: left;
  width: 50%;
  box-sizing: border-box;
  padding-right: 3%;
  padding-left: 3%;
}

.tour-service-title {
    font-size: 45px;
    font-weight: 600;
  color: #000;
  margin-bottom: 20px;
}

.tour-service-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 30px;
}

.tour-service-btn {
  display: inline-block;
  background-color: var(--btn-color);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tour-service-btn:hover {
  background-color: #1c4d87;
}

/* Right Image Block */
.tour-service-image-wrapper {
    justify-items: center;
  float: right;
  width: 50%;
  text-align: center;
  box-sizing: border-box;
}

.tour-service-image {
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Clear Floats */
.tour-service-container::after {
  content: "";
  display: block;
  clear: both;
}

/* Responsive Design */

/* Tablet View */
@media (max-width: 992px) {
  .tour-service-content,
  .tour-service-image-wrapper {
    float: none;
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .tour-service-title {
    font-size: 2rem;
  }

  .tour-service-description {
    font-size: 1rem;
  }

  .tour-service-image-wrapper {
    margin-top: 30px;
  }

  .hero-section ul li:first-child {
    width: 400px;
    height: 260px;
    right: -150px;
    top: -80px;
  }
}

/* Mobile View */
@media (max-width: 576px) {
  .hero-section {
    padding: 60px 20px;
  }

  .tour-service-title {
    font-size: 1.8rem;
  }

  .tour-service-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }

  .hero-section ul li:first-child {
    width: 250px;
    height: 215px;
    right: -100px;
    top: -60px;
  }
}

.quad-section ul li:first-child {
  width: 500px;
  height: 500px;
  background-color: var(--primary-color);
  position: absolute;
  border-radius: 50%;
  left: -113px;
  top: 510px;
}

.quad-section {
  padding: 80px 20px;
  /* background: #f9fafb; */
  text-align: center;
  margin-bottom: 50px;
}

.quad-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #1b1b1b;
}

.quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.quad-card {
  z-index: 1;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.quad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.quad-card img {
  border-radius: 0 0 90% 0;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.quad-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1b1b1b;
  margin: 20px 20px 10px;
}

.quad-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0 20px 25px;
  line-height: 1.6;
}

.quad-card a {
  color: var(--accent-color, #ff6600);
  text-decoration: none;
  font-weight: 600;
}

/* ✅ Responsive Design */
@media (max-width: 992px) {
  .quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .quad-card img {
    height: 200px;
  }
}

/* Make parent relative so absolute circle is positioned correctly */


/* Optional: responsive circle */
/* @media (max-width: 768px) {
  .corporate-section-circle ul li:first-child {
    width: 300px;
    height: 300px;
    top: 50px;
    right: -50px;
  }
} */
/*.corporate-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: 0;
  width: 500px;
  height: 500px;
  background-color: var(--btn-color);
  border-radius: 50%;
  z-index: -1;
}*/

.corporate-section {
  position: relative;
  overflow: visible;
  z-index: 1; /* content above circle */
}

.corporate-section {
  /* background: var(--primary-color); */
  color: #fff;
  padding: 10px 90px; /* reduced side padding for small devices */
  /* overflow: hidden; */
}

.corporate-container {
  background: var(--primary-color);
  margin: 0 auto;
  padding: 45px 20px;
  text-align: center;
}

/* Title + Subtitle */
.corporate-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
}

.corporate-subtitle {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
  color: #d7dfe6;
}

/* Slider Wrapper */
.corporate-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

/* Slider */
.corporate-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px; /* spacing for scrollbar hidden */
}

.corporate-slider::-webkit-scrollbar {
  display: none;
}

/* Card */
.corporate-card {
  flex: 0 0 var(--corporate-card-width);
  border-radius: 8px;
  background: transparent;
  margin-right: 20px; /* spacing between cards */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.corporate-card:last-child {
  margin-right: 0;
}

/* Heading inside card */
.corporate-card-heading {
  color: var(--accent-color);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

/* Image */
.corporate-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* keeps image ratio responsive */
  background-size: cover;
  background-position: center;
  border-radius: 1px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  /* margin-bottom: 10px; */
}

/* Card Body */
.corporate-card-body {
  background: #fff;
  color: #111;
  padding: 20px;
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: left;
  flex: 1;
}

.corporate-card-body ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

/* Navigation Buttons */
.corporate-nav-btn {
  width: 40px;
  height: 40px;
  background: #fff;
  color: #1e2a32;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  margin: 0 10px;
}

.corporate-nav-btn:hover {
  transform: scale(1.1);
}

/* CARD WIDTH VARIABLES */
:root {
  --corporate-card-width: 340px; /* default for desktop */
}

/* Medium Devices */
@media (max-width: 1000px) {
  :root {
    --corporate-card-width: 280px;
  }
}

/* Small Devices */
@media (max-width: 768px) {
  :root {
    --corporate-card-width: 85vw;
  }

  .corporate-card-heading {
    font-size: 16px;
  }

  .corporate-card-body {
    padding: 15px;
    font-size: 14px;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .corporate-container {
    padding: 30px 10px;
  }

  .corporate-card-heading {
    font-size: 14px;
  }

  .corporate-card-body {
    padding: 12px;
    font-size: 13px;
  }
}
