/* ================= GLOBAL RESETS & TYPOGRAPHY VARIABLES ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #dcdedd;
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.company-content h2,
.services-wrapper h2,
.why-choose-container h2 {
   font-size: 56px;
   font-weight: 800;
   line-height: 1.1;
   letter-spacing: -1px;
}

.small-title {
   font-size: 18px;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 3px;
   color: #d4af37;
}

/* ================= ACCORDION SHUTTER LAYOUT ENGINE ================= */
.about-hero-container {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #f1f1f1;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-sizing: border-box;
}

.about-hero-box {
  width: 100%;
  padding: 40px 50px;
  background: linear-gradient(135deg, rgba(34, 81, 110, 0.85), rgba(32, 80, 109, 0.85));
  display: flex;
  flex-direction: column;
}

.about-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 35px;
  flex-shrink: 0;
}

.about-hero-content {
  flex: 1;
  display: flex;
  gap: 30px;
  align-items: stretch;
  min-height: 520px;
}

.about-left-shutter-container {
  flex: 1.4;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.shutter-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(11, 77, 125, 0.15);
  border-radius: 8px;
  padding: 20px 15px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.shutter-content-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 30px 24px;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.shutter-title {
  color: #0b4d7d;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
  position: absolute;
  top: 50%;
}

.shutter-title i {
  font-size: 20px;
  color: #d4af37;
}

.shutter-details {
  opacity: 0;
  width: 100%;
  margin-top: 35px;
  transform: translateY(15px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.shutter-details p {
  color: #212020;
  font-size: 22px;
  line-height: 2;
  font-weight: 500;
}

.shutter-box:hover,
.shutter-box.active {
  flex: 4.5;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #0b4d7d;
  box-shadow: 0 12px 30px rgba(11, 77, 125, 0.15);
}

.shutter-box:hover .shutter-title,
.shutter-box.active .shutter-title {
  transform: rotate(0deg);
  color: #000000;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  justify-content: flex-start;
}

.shutter-box:hover .shutter-details,
.shutter-box.active .shutter-details {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.about-right-preview-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.about-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.about-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease-in-out, transform 0.45s ease-out;
  z-index: 1;
}

.about-slider img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* ================= ICON-STICKY HOVER REVEAL BROCHURE SYSTEM ================= */
.sticky-brochure-wrapper {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.Documents-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: none;
  cursor: pointer;
  background-color: #0b4d7d;
  box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.3);
  width: 56px; 
  height: 54px;
  padding: 0px 0px 0px 12px;
  border-radius: 30px 0 0 30px;
  gap: 12px;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
}

.folderContainer {
  width: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.fileBack { z-index: 1; width: 100%; height: auto; }
.filePage { width: 55%; height: auto; position: absolute; z-index: 2; transition: all 0.3s ease-out; transform: translateY(2px); }
.fileFront { width: 100%; height: auto; position: absolute; z-index: 3; opacity: 0.95; transform-origin: bottom; transition: all 0.3s ease-out; transform: translateY(6px); }

.Documents-btn .text { 
  color: white; 
  font-size: 15px; 
  font-weight: 600; 
  letter-spacing: 0.5px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.Documents-btn:hover {
  background-color: #0b2a4a;
  width: 155px;
}

.Documents-btn:hover .text {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

.Documents-btn:hover .filePage { transform: translateY(-4px); }
.Documents-btn:hover .fileFront { transform: rotateX(35deg) translateY(6px); }
.Documents-btn:active { transform: scale(0.97); }

/* ================= MODAL LIGHTBOX OVERLAY ================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(52, 52, 51, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
}

.modal-content {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  position: relative;
}

.modal-content img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 10px;
  background-color: #f7fafc;
}

.modal-actions { margin-top: 20px; display: flex; justify-content: center; gap: 15px; }
.download-btn, .back-btn { padding: 12px 28px; border-radius: 30px; border: none; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.25s ease; }
.download-btn { background: #f0a12b; color: #000000; }
.back-btn { background: #e2e8f0; color: #4a5568; }
.download-btn:hover { background: #ec961e; transform: translateY(-1px); }
.back-btn:hover { background: #cbd5e1; color: #1a202c; transform: translateY(-1px); }

/* ================= COMPANY ABOUT ("OUR JOURNEY") ================= */
.company-about {
  width: 100%;
  padding: 90px 0;
  background: #dcdedd;
  display: flex;
  justify-content: center;
}

.company-about .container {
  width: 100%;
  max-width: 2240px;
  margin: 0 auto;
  padding: 0 30px;
}

.company-grid {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
}

.company-images {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 460px;
}

.company-images .img-main {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(11, 42, 74, 0.15);
  z-index: 1;
}

.company-images .img-overlay {
  position: absolute;
  width: 45%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  border: 6px solid #f4efef;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 2;
  right: -25px;
  bottom: -15px;
}

.company-content {
  flex: 1.1;
  display: flex;
  flex-direction: column;
}

.company-content .small-title {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #0b4d7d;
  margin-bottom: 12px;
}

.company-content h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #0b2a4a;
  margin-bottom: 35px;
  letter-spacing: -0.5px;
}

.journey-interactive-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.journey-interactive-cards .journey-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 24px 30px;
  width: 100%;
  min-height: 110px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(11, 42, 74, 0.04);
  border: 1px solid rgba(11, 42, 74, 0.08);
  transform-origin: right center;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1), filter 400ms ease, background-color 0.3s ease, border-color 0.3s ease;
}

.journey-card:hover {
  transform: scale(1.2, 1.2); 
  background-color: #ffffff;  
  box-shadow: 0 20px 40px rgba(11, 42, 74, 0.25); 
  border-color: rgba(11, 42, 74, 0.3);
  position: relative;
  z-index: 999; 
  transform-origin: right center; 
}

.journey-interactive-cards:hover > .journey-card:not(:hover) {
  filter: blur(3px); 
  transform: scale(0.95, 0.95); 
  opacity: 0.6; 
}

.journey-card.theme-mission { background-color: #f7fafc; border-left: 5px solid #0b4d7d; }
.journey-card.theme-vision { background-color: #f0f4f8; border-left: 5px solid #d4af37; }
.journey-card.theme-whatwedo { background-color: #eaf0f6; border-left: 5px solid #257163; }

.journey-card .card-tip { font-size: 18px; font-weight: 700; color: #0b2a4a; margin-bottom: 8px; }
.journey-card .card-second-text { font-size: 14.5px; line-height: 1.6; color: #4a5568; }

/* ================= SERVICES (3D FLIPPING CARDS RESET) ================= */
.services-section {
  width: 100%;
  background: linear-gradient(135deg, rgba(247, 249, 251, 0.9), rgba(25, 71, 99, 0.9));
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 65px 0;
  box-sizing: border-box;
  clear: both;
}

.services-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 0 30px;
  box-sizing: border-box;
}

.services-wrapper h2 {
  width: 100%;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.flip-card {
  background-color: transparent !important;
  width: 280px !important;
  height: 260px !important;
  perspective: 1200px !important;
  margin: 0 !important;
}

.service-card,
.service-card.up,
.service-card.highlight,
.flip-card.up {
  transform: none !important;
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  min-height: unset !important;
  box-shadow: none !important;
  background: transparent !important;
  width: 280px !important;
  height: 260px !important;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
  border-radius: 12px;
}

.flip-card:hover .flip-card-inner { transform: rotateY(180deg) !important; }

.flip-card-front, .flip-card-back {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.flip-card-front { background: #ffffff !important; display: flex !important; flex-direction: column !important; }
.flip-card-front img { width: 100% !important; height: 100% !important; object-fit: cover !important; margin: 0 !important; }

.front-overlay-title {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: linear-gradient(to top, rgba(11, 42, 74, 0.95) 40%, rgba(11, 42, 74, 0)) !important;
  color: #ffffff !important;
  padding: 35px 15px 15px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
  font-family: "Poppins", sans-serif;
  z-index: 3;
}

.flip-card-back {
  background: linear-gradient(135deg, #0b2a4a 0%, #0b4d7d 100%) !important;
  color: #ffffff !important;
  transform: rotateY(180deg) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 20px !important;
  border: 2px solid rgba(212, 175, 55, 0.4) !important;
}

.service-back-icon { font-size: 32px !important; color: #d4af37 !important; margin-bottom: 10px !important; display: inline-block !important; }
.flip-card-back h3 { font-size: 19px !important; font-weight: 700 !important; margin: 0 0 8px 0 !important; letter-spacing: 0.5px !important; color: #ffffff !important; font-family: "Poppins", sans-serif; }
.flip-card-back p { font-size: 13.5px !important; line-height: 1.45 !important; color: #e2e8f0 !important; font-family: "Segoe UI", sans-serif; text-align: center !important; margin: 0 !important; width: 100% !important; }

/* ================= WHY CHOOSE US (COMPACT 3D CAROUSEL PARADIGM) ================= */
.why-choose-3d-section {
  background: #dcdedd;
  padding: 60px 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-choose-container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 30px; text-align: center; }
.why-choose-container h2 { font-size: 56px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; margin-bottom: 40px; color: #0b2a4a; }

.wrapper-3d-viewport {
  width: 100%;
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.inner-3d-carousel-track {
  --w: 200px;
  --h: 280px;
  --translateZ: calc((var(--w) + var(--h)) + 20px);
  --rotateX: -6deg;
  position: absolute;
  width: var(--w);
  height: var(--h);
  transform-style: preserve-3d;
  animation: rotateCarouselClockwise 25s linear infinite;
  transition: transform 0.5s ease;
}

@keyframes rotateCarouselClockwise {
  from { transform: rotateX(var(--rotateX)) rotateY(0deg); }
  to { transform: rotateX(var(--rotateX)) rotateY(360deg); }
}

.card-3d-item {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 25px rgba(11, 42, 74, 0.08);
  overflow: hidden;
  box-sizing: border-box;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  transform: rotateY(calc((360deg / var(--quantity)) * var(--index))) translateZ(var(--translateZ));
  border: 2px solid rgba(var(--color-accent), 0.15);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.card-3d-item:hover {
  border-color: rgb(var(--color-accent));
  box-shadow: 0 15px 35px rgba(var(--color-accent), 0.2);
}

.img-3d-content {
  width: 100%;
  height: 100%;
  padding: 12px 14px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
  text-align: center;
  background: radial-gradient(circle, rgba(var(--color-accent), 0.02) 0%, rgba(var(--color-accent), 0.07) 100%);
  box-sizing: border-box;
}

.icon-circle-shutter {
  width: 54px;
  height: 54px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: rgb(var(--color-accent));
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.04);
  margin: 0 0 10px 0; 
  border: 1px solid rgba(var(--color-accent), 0.1);
  flex-shrink: 0;
}

.img-3d-content h3 { 
  font-size: 16px; 
  font-weight: 700; 
  color: #0b2a4a; 
  margin: 0 0 8px 0; 
  font-family: "Poppins", sans-serif; 
  flex-shrink: 0; 
}

.img-3d-content p { 
  font-size: 12px; 
  line-height: 1.45; 
  color: #4a5568; 
  font-family: "Segoe UI", sans-serif; 
  margin: 0; 
  word-wrap: break-word;
}

/* ================= SYSTEM RESPONSIVE SUB-BREAKPOINTS ================= */
@media (max-width: 1024px) {
  .about-hero-content { flex-direction: column-reverse; gap: 30px; }
  .about-left-shutter-container { height: 380px; width: 100%; }
  .about-right-preview-container { width: 100%; height: 300px; }
  .company-grid { flex-direction: column; gap: 45px; }
  .company-images { width: 100%; max-width: 600px; margin: 0 auto; min-height: 420px; }
  .company-content { width: 100%; }
}

@media (max-width: 768px) {
  .why-choose-container h2 { font-size: 38px; }
  .wrapper-3d-viewport { height: auto; }
  .inner-3d-carousel-track {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: none !important;
    animation: none !important;
  }
  .card-3d-item { position: relative; width: 100%; transform: none !important; height: auto; }
  .services-wrapper h2 { font-size: 32px; margin-bottom: 25px; }
  .flip-card, .service-card { width: 100% !important; max-width: 300px !important; height: 250px !important; }
}

@media (max-width: 660px) {
  .company-images { min-height: 320px; }
  .company-images .img-main { width: 100%; }
  .company-images .img-overlay { display: none; }
  .company-content h2 { font-size: 32px; }
  .journey-card { padding: 20px; }
}

@media (max-width: 560px) {
  .about-left-shutter-container { flex-direction: column; height: auto; }
  .shutter-box { padding: 20px; height: auto; position: relative; background: #ffffff; }
  .shutter-content-wrapper { position: relative; padding: 0; }
  .shutter-title { position: relative; transform: none !important; top: 0; left: 0; color: #0b4d7d !important; }
  .shutter-details { opacity: 1 !important; transform: none !important; margin-top: 10px; }
  .shutter-details p { color: #1a202c; font-size: 25px; line-height: 1.6; font-weight: 500; }
}