:root {
  --bg-main: #252C39;
  --bg-card: #1E2430;
  --bg-surface: #181F2B;
  --bg-input: #2D3748;
  --accent: #EC312B;
  --accent-hover: #D42520;
  --accent-glow: rgba(236, 49, 43, 0.45);
  --border-color: #CBD2D9;
  --border-subtle: rgba(203, 210, 217, 0.16);
  --text-main: #FFFFFF;
  --text-dim: #A0AEC0;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 65px 0;
}

.bg-card-surface {
  background-color: var(--bg-surface);
}

/* ==========================================================================
   Top Information Strip
   ========================================================================== */
.top-bar {
  background: #181E29;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.top-bar-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-contact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.top-contact a {
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition);
}

.top-contact a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Header & Mobile Hamburger Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(37, 44, 57, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-logo {
  height: 48px;
  width: auto;
  display: block;
}

.fallback-logo {
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.3rem;
}

.fallback-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.portal-nav-btn {
  background-color: var(--accent);
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.portal-nav-btn:hover {
  background-color: var(--accent-hover);
}

/* Hamburger Icon Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition);
}

/* Hamburger to 'X' Animation */
.hamburger-btn.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Background Dimmer when Mobile Drawer is Open */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 998;
}

.menu-overlay.active {
  display: block;
}

/* Red Divider Line */
.red-line {
  height: 4px;
  background-color: var(--accent);
  width: 70px;
  margin: 16px 0 24px;
  border-radius: 2px;
}

.center-line {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 520px;
  max-height: 800px;
  overflow: hidden;
  background-color: var(--bg-surface);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-content {
  max-width: 780px;
}

.hero-tag {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--accent);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(30, 36, 48, 0.75);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 32px;
  border-radius: 999px;
}

/* ==========================================================================
   Buttons with Hover Lift & Shine
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #D4D4D4;
}

.btn-secondary:hover {
  background-color: #EBEBEB;
  transform: translateY(-2px);
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  transition: 0.75s ease;
}

.btn-shine:hover::after {
  left: 125%;
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   Typography & Layout Components
   ========================================================================== */
.section-badge {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-heading {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
}

.centered-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.body-lead {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.7;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.mt-10 { margin-top: 10px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.text-dim { color: var(--text-dim); }

.content-block p {
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: #F7FAFC;
}

.highlight-callout {
  background: rgba(236, 49, 43, 0.08);
  border-left: 4px solid var(--accent);
  padding: 16px;
  border-radius: 4px;
  margin-top: 20px;
}

.highlight-bold {
  font-weight: 700;
  font-size: 1.02rem;
  color: #FFFFFF;
  margin-bottom: 6px !important;
}

.highlight-sub {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 0 !important;
}

.image-showcase-box {
  position: relative;
}

.curved-img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.experience-counter {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.count-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
}

.count-desc {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

/* Feature Cards */
.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 20px;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 49, 43, 0.4);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-box p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.card-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 30px;
}

.service-highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ==========================================================================
   Gallery Grids (Photos & Videos)
   ========================================================================== */
.gallery-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.gallery-subheading {
  font-size: 1.4rem;
  font-weight: 700;
}

.gallery-grid,
.video-grid,
.unified-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item,
.media-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: var(--transition);
}

.gallery-item {
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-hover-tag {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(30, 36, 48, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-hover-tag {
  opacity: 1;
}

/* Video Thumbnails */
.media-thumb-wrap,
.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background-color: #0E131C;
  overflow: hidden;
}

.media-thumb-wrap img,
.media-thumb-wrap video,
.video-thumb-wrap img,
.video-thumb-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.45s ease;
}

.video-card:hover .video-thumb-wrap img,
.video-card:hover .video-thumb-wrap video,
.media-card:hover .media-thumb-wrap img,
.media-card:hover .media-thumb-wrap video {
  transform: scale(1.05);
}

.play-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  padding-left: 3px;
  box-shadow: 0 0 0 6px rgba(236, 49, 43, 0.35);
  transition: var(--transition);
}

.video-card:hover .play-btn-circle {
  transform: translate(-50%, -50%) scale(1.1);
  background: #FF3B30;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  color: #FFFFFF;
}

.media-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(14, 19, 28, 0.85);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.media-type-badge.video-badge {
  background: var(--accent);
}

.media-card-info,
.video-info {
  padding: 16px;
}

.media-card-info h4,
.video-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.media-card-info p,
.video-info p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.gallery-bottom-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

/* ==========================================================================
   Quotation Form & Feedback Alert Banner
   ========================================================================== */
.quote-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 32px;
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: 6px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(236, 49, 43, 0.2);
}

/* In-Page Success / Error Alert Banner */
.form-feedback-alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  animation: fadeIn 0.4s ease-out;
}

.form-feedback-alert.success {
  background-color: #14532D;
  border: 1px solid #22C55E;
  color: #F0FDF4;
}

.form-feedback-alert.error {
  background-color: #7F1D1D;
  border: 1px solid #EF4444;
  color: #FEF2F2;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact Info Box */
.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 26px;
}

.contact-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.detail-icon {
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-row p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.contact-detail-row a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 26px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  background-color: #171D27;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: var(--text-main);
  text-decoration: none;
}

.admin-lock-link {
  color: var(--text-dim) !important;
  font-size: 0.78rem;
  opacity: 0.7;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

/* Lightboxes */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 19, 28, 0.96);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 86vw;
  max-height: 86vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.lightbox-caption {
  margin-top: 14px;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2010;
}

.lightbox-btn.close { top: 20px; right: 20px; }
.lightbox-btn.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-btn.next { right: 20px; top: 50%; transform: translateY(-50%); }

.video-content {
  width: 100%;
  max-width: 880px;
}

.video-player-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Fail-Safe Scroll Animations (Never shows black empty screen)
   ========================================================================== */
.scroll-reveal {
  opacity: 1;
  transform: translate(0, 0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

body.js-ready .scroll-reveal:not(.is-visible) {
  opacity: 0;
}

body.js-ready .reveal-up:not(.is-visible) {
  transform: translateY(24px);
}

body.js-ready .reveal-left:not(.is-visible) {
  transform: translateX(-24px);
}

body.js-ready .reveal-right:not(.is-visible) {
  transform: translateX(24px);
}

.scroll-reveal.is-visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile-Friendly Rules)
   ========================================================================== */
@media (max-width: 992px) {
  .top-info {
    display: none; /* Hide long street address on tablet/mobile header */
  }
  .top-bar-wrap {
    justify-content: center;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .grid-three,
  .gallery-grid,
  .video-grid,
  .unified-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hamburger-btn {
    display: flex; /* Show Hamburger Toggle */
  }

  /* Slide-in Mobile Drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #181F2B;
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 85px 24px 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.7);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .portal-nav-btn {
    margin-top: 16px;
    width: 100%;
    text-align: center;
  }

  .slider-arrow {
    display: none; /* Swipe used on mobile */
  }
}

@media (max-width: 600px) {
  .section {
    padding: 45px 0;
  }

  .hero-slider-section {
    height: 65vh;
    min-height: 460px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .grid-three,
  .gallery-grid,
  .video-grid,
  .unified-media-grid,
  .form-row {
    grid-template-columns: 1fr; /* Single column on mobile phones */
  }

  .quote-form-container,
  .card-panel,
  .contact-card-box {
    padding: 22px 16px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 14px;
    border-radius: 50%;
    bottom: 18px;
    right: 18px;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .lightbox-btn.prev { left: 10px; }
  .lightbox-btn.next { right: 10px; }
}