/* Reset and Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Smooth scroll and fixed navbar offset */
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 70px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ─── NAVIGATION MASTER SYSTEM ────────────────────────── */
.nav-wrap {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(0, 31, 63, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-wrap.shrink {
  background: #001f3f;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-wrap .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  transition: height 0.3s ease;
}
.nav-wrap.shrink .nav {
  height: 50px;
}

/* 1. BRAND SECTION */
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-logo {
  height: 38px;
  width: auto;
  transition: transform 0.3s ease;
}
.main-logo:hover {
  transform: scale(1.05);
}
.accreditations img {
  height: 40px;
  opacity: 0.9;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}
.accreditations img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* 2. DESKTOP NAVIGATION */
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links-desktop {
  display: flex;
  list-style: none;
  gap: 5px;
}

.nav-links-desktop > li {
  position: relative;
}

.nav-links-desktop a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0rem;
  padding: 8px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.nav-links-desktop a:hover,
.nav-links-desktop li:hover > a {
  color: #f4a261;
  background: rgba(255, 255, 255, 0.05);
}

/* Submenu Arrow (Desktop) */
.chevron::after {
  content: '\25bc';
  font-size: 8px;
  margin-left: 2px;
  opacity: 0.6;
  transition: transform 0.3s ease;
}
.nav-links-desktop li:hover .chevron::after {
  transform: rotate(180deg);
}

/* Submenu Desktop */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #001f3f;
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  list-style: none;
  z-index: 1000;
}

.nav-links-desktop li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  padding: 12px 20px;
  font-size: 0.9rem;
  border-radius: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.submenu li:last-child a { border-bottom: none; }

/* 3. MOBILE HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 6px;
  z-index: 9995; /* Sit below the drawer but above the header background */
  transition: opacity 0.3s ease;
}

.hamburger.hidden {
  opacity: 0;
  pointer-events: none;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 4. MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #011627;
  z-index: 10000;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  padding: 20px 25px;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.close-btn {
  background: #f4a261;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(244, 162, 97, 0.4);
}

.mobile-nav-links {
  list-style: none;
  padding: 20px 0;
}

.mobile-nav-links li a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 16px 25px;
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

/* MOBILE SUBMENU STYLES */
.mobile-submenu {
  list-style: none;
  background: rgba(0,0,0,0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.mobile-has-submenu.active .mobile-submenu {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out;
}

.mobile-submenu li a {
  padding: 12px 40px;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mobile-chevron::after {
  content: '\25bc';
  font-size: 0.8rem;
  margin-left: 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.mobile-has-submenu.active .mobile-chevron::after {
  transform: rotate(180deg);
  color: #f4a261;
}

.mobile-nav-links li a:active {
  background: rgba(244, 162, 97, 0.1);
  color: #f4a261;
}

/* RESPONSIVE BREAKPOINT */
@media (max-width: 1024px) {
  .nav-links-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .brand {
    gap: 15px;
  }
  .main-logo {
    height: 45px;
  }
  .accreditations img {
    height: 18px;
  }
}

/* Shrink on Scroll */
.nav-wrap.shrink {
  background: rgba(0, 21, 45, 0.98);
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.12);
}

.nav-wrap.shrink .nav {
  padding: 4px 0;
}

.nav-wrap.shrink .nav .container {
  padding: 4px 12px;
}



/* Scroll Indicator */
#scroll-track {
  position: fixed;
  right: 20px;
  top: 20%;
  width: 6px;
  height: 60vh;
  background: rgba(244, 162, 97, 0.2);
  border-radius: 3px;
  z-index: 1000;
  display: none;
  overflow: hidden; 
}

#scroll-line {
  position: absolute;
  width: 100%;
  height: 0;
  background: #f4a261;
  border-radius: 3px;
  transition: height 0.3s ease;
}

#scroll-ball {
  position: absolute;
  width: 12px;
  height: 12px; 
  background: #f4a261;
  border-radius: 50%; 
  right: -3px;
  transition: top 0.3s ease;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3); 
}

@media (min-width: 769px) {
  #scroll-track {
    display: block;
  }
}







/* ==================== HERO  ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
}

/* Background Carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden; 
}

.carousel-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Optional gentle zoom */
.carousel-slide.active img {
  animation: zoom 18s infinite alternate;
}
@keyframes zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* Arrows - bottom center, always clickable */
.carousel-nav {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 25px;
  z-index: 20; /* Above overlay */
  pointer-events: auto;
}

.carousel-prev, .carousel-next {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.25);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-prev:hover, .carousel-next:hover {
  background: #f4a261;
  transform: scale(1.12);
}

/* Dots - no overlap */
.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
  pointer-events: auto;
}

.dot {
  width: 13px;
  height: 13px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active, .dot:hover {
  background: #f4a261;
  transform: scale(1.4);
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,31,63,0.6), rgba(0,91,160,0.4));
  z-index: 2;
}

/* Content - fully clickable */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 20px;
}


.hero-left h1 { 
  font-size: 3.5rem; 
  font-weight: 800; 
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5); 
  margin-top: 3.5rem; /* Pulled further down */
  line-height: 1.1;
}
.hero-left .lead { font-size: 1.3rem; margin: 30px 0 45px; opacity: 0.95; max-width: 820px; }
.hero-cta .btn { display: inline-block; padding: 15px 35px; margin-right: 15px; border-radius: 10px; transition: all 0.3s; text-decoration: none; font-weight: 600; }
.btn.primary { background: #f4a261; color: #fff; border: 2px solid #f4a261; }
.btn.ghost { border: 2px solid #fff; color: #fff; background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); }
.btn:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.25); }

/* Hero Badges */
.hero-badges {
  display: flex;
  gap: 15px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 15px 20px;
  border-radius: 12px; /* Square-like with soft corners */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
  min-width: 180px;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  border-color: rgba(244, 162, 97, 0.5);
}

.badge-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f4a261;
  font-weight: 700;
  margin-bottom: 2px;
}

.badge-no {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

/* Responsive - your way */
@media (max-width: 1024px) {
  .hero-left h1 { font-size: 2.5rem; }
  .hero-cta .btn { padding: 10px 20px; }
}
@media (max-width: 768px) {
  .hero-content { flex-direction: column; text-align: center; justify-content: center; gap: 30px; }
  .hero-left h1 { font-size: 2rem; }
  .hero-left .lead { font-size: 1rem; }
  .hero-card { width: 100%; max-width: 380px; }
  .carousel-nav { bottom: 90px; }
  .carousel-dots { bottom: 30px; }
  .carousel-prev, .carousel-next { width: 55px; height: 55px; font-size: 24px; }
}
@media (max-width: 480px) {
  .hero-left h1 { font-size: 1.8rem; }
  .carousel-prev, .carousel-next { width: 50px; height: 50px; font-size: 22px; }
}





/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.card-section {
  background: #fff;
  box-shadow: 0 8px 36px rgba(2, 6, 23, 0.06);
  border-radius: 12px;
  margin: 20px auto;
  padding: 48px;
  max-width: calc(100% - 40px);
}

.section.alt-1,
.section.alt-2 {
  background: #fff;
  box-shadow: 0 8px 36px rgba(2, 6, 23, 0.06);
  border-radius: 12px;
  margin: 20px auto;
  padding: 48px;
  position: relative;
  max-width: calc(100% - 40px);
}

.section.alt-2::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(232, 246, 255, 0.45), rgba(232, 246, 255, 0.15));
  pointer-events: none;
  z-index: 0;
}

.section-title {
  font-size: 2.5rem;
  color: #001f3f;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #f4a261;
  transition: width 0.3s ease;
}

.section:hover .section-title::after {
  width: 100px;
}

.grid-2,
.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.small-gap {
  gap: 20px;
}

@media (max-width: 1024px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .small-gap {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .card-section {
    padding: 24px 16px;
    margin: 10px auto;
    max-width: calc(100% - 20px);
    border-radius: 16px;
  }

  .section.alt-1,
  .section.alt-2 {
    padding: 24px 16px;
    margin: 10px auto;
    max-width: calc(100% - 20px);
    border-radius: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 320px) {
  .section-title {
    font-size: 1.8rem;
  }

  .card-section {
    padding: 16px;
  }
}

/* About Section */
#about .main-col p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.8;
}

.intro-photo .photo-card img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 12px;
}

.intro-photo .photo-card {
  background: linear-gradient(180deg, #fff, #f7fbff);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  text-align: center;
}

.intro-photo .photo-card figcaption {
  margin-top: 10px;
  font-weight: 600;
}

.bg-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  #about .grid-2 {
    grid-template-columns: 1fr;
  }

  #about .main-col p {
    text-align: left;
  }

  .intro-photo {
    order: 2;
  }

  .intro-photo .photo-card img {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .intro-photo .photo-card img {
    max-width: 560px;
  }
}






/* ========================================
   MESSAGE SECTION – NARROW TEXT + 2‑ROW PHOTOS
   ======================================== */


.message-grid-narrow-text {
  display: grid;
  grid-template-columns: 1.6fr 1fr;   /* ~55% text | ~45% photos */
  gap: 2.2rem;
  align-items: stretch;               /* equal height */
  margin-top: 1.5rem;
}


.message-text {
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 4px 12px rgba(2,6,23,.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  color: #1a1a1a;
}
.message-text p {
  margin: 0 0 1rem;
  text-align: left;
  text-justify: inter-word;
  hyphens: auto;
  font-size: 1rem;
  line-height: 1.8;
}
.message-text p:last-child { margin-bottom: 0; }


.message-photos-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;            
  gap: 1.4rem;
  height: 100%;
}

/* Each row */
.photo-row {
  display: flex;
  justify-content: center;            
  gap: 1.2rem;
}

/* Top row – 3 members */
.top-row { gap: 1.4rem; }

/* Bottom row – 2 members */
.bottom-row { gap: 1.6rem; }


.board-member {
  text-align: center;
  width: 100%;
  max-width: 150px;
  background: #fff;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(2,6,23,.06);
  border: 1px solid rgba(244,162,97,.1);
  transition: all .35s cubic-bezier(.2,.8,.4,1);
  overflow: visible; 
  min-height: 170px; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.board-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(2,6,23,.12);
  border-color: #f4a261;
}

/* Photo */
.board-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);   
  margin: 0 auto .8rem;
  filter: brightness(1) contrast(1);       
  transition: transform .35s ease, box-shadow .35s ease;
}
.board-member:hover .board-photo { transform: scale(1.05); }

/* Name + title */
.board-name {
  color: #001f3f;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.3;
  margin-top: 0.4rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.board-name small {
  display: block;
  font-weight: 600;
  color: #555;
  font-size: .8rem;
  margin-top: .25rem;
  line-height: 1.3;
  white-space: normal; 
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 12px 28px rgba(244,162,97,.35); }
  50%      { box-shadow: 0 12px 32px rgba(244,162,97,.45); }
}
.board-member:hover .board-photo {
  animation: pulse-glow .6s ease-in-out;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .message-grid-narrow-text {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .message-text,
  .message-photos-grid { height: auto; }

  .message-photos-grid { order: 2; }

  .photo-row {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .top-row { justify-content: center; }
  .bottom-row { justify-content: center; }

  .board-member {
    max-width: 130px;
    padding: 0.8rem;
    min-height: 160px;
  }
  .board-photo {
    width: 100px;
    height: 100px;
  }
  .board-name {
    font-size: .9rem;
  }
  .board-name small {
    font-size: .75rem;
  }
}

@media (max-width: 768px) {
  .photo-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }
  .board-member {
    max-width: 110px;
    min-height: 150px;
    padding: 0.7rem;
  }
  .board-photo {
    width: 85px;
    height: 85px;
  }
  .board-name {
    font-size: .85rem;
  }
  .board-name small {
    font-size: .7rem;
  }
}

@media (max-width: 480px) {
  .board-photo {
    width: 75px;
    height: 75px;
  }
  .board-name {
    font-size: .8rem;
  }
  .board-name small {
    font-size: .68rem;
    line-height: 1.2;
  }
  .message-text { padding: 1.2rem; }
  .board-member {
    max-width: 100px;
    min-height: 140px;
    padding: 0.6rem;
  }
}



/* Mission Section */
.mission-box {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}

.mission-content {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
  padding: 6px 0;
}

.mission-content h3 {
  color: #001f3f;
  margin-bottom: 18px;
}

.mission-content p {
  margin: 10px 0;
  color: #243b53;
  line-height: 1.9;
  text-align: center;
}

.section.alt-1 .ornament,
.section.alt-2 .ornament {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.section.alt-1 .ornament.top-left {
  left: 12px;
  top: 12px;
}

.section.alt-1 .ornament.bottom-right {
  right: 18px;
  bottom: 18px;
  transform: rotate(8deg);
}

.mission-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 10px;
  padding: 0;
}

.mission-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(244, 162, 97, 0.03), rgba(255, 255, 255, 0.02));
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mission-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.06);
}

.li-icon {
  flex: 0 0 44px;
}

.li-text {
  color: #233645;
  font-size: 0.98rem;
  line-height: 1.6;
}

.li-text strong {
  color: #001f3f;
}

@media (max-width: 900px) {
  .mission-box {
    padding: 32px 24px;
  }

  .mission-content {
    max-width: 100%;
  }

  .mission-content p {
    text-align: left;
  }

  .mission-box .ornament {
    display: none;
  }

  .mission-list {
    grid-template-columns: 1fr;
  }

  .mission-list li {
    padding: 12px;
  }
}

/* ========================================
   CATEGORIES SECTION – CRUISE LINE + 8 CARDS
   ======================================== */


.cruise-line-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  padding: 28px 24px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cruise-line-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.cruise-line-card h4 {
  color: #001f3f;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid #f4a261;
  padding-bottom: 10px;
  display: inline-block;
}

/* Subcategories */
.subcategories {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.subcat {
  background: rgba(244, 162, 97, 0.08);
  padding: 12px 18px;
  border-radius: 12px;
  min-width: 180px;
  transition: all 0.3s ease;
  border: 1px solid rgba(244, 162, 97, 0.2);
}

.subcat:hover {
  background: rgba(244, 162, 97, 0.15);
  transform: translateY(-3px);
  border-color: #f4a261;
}

.subcat strong {
  color: #001f3f;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 4px;
}

.subcat small {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Blur Background Effect */
.cruise-line-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 50%, #ffd9b8 0%, #f4a261 60%, transparent 100%);
  filter: blur(40px);
  opacity: 0.25;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.8s ease, opacity 0.45s ease;
  pointer-events: none;
  z-index: -1;
}

.cruise-line-card:hover::before {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 0.35;
}


.cards-grid .cat-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards-grid .cat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cards-grid .cat-card h4 {
  color: #001f3f;
  border-bottom: 2px solid #f4a261;
  padding-bottom: 10px;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.cards-grid .cat-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}


.cards-grid .cat-card:nth-child(1)::before { background: radial-gradient(60% 60% at 30% 30%, #ffd9b8 0%, #ffb6a3 60%, transparent 100%); }
.cards-grid .cat-card:nth-child(2)::before { background: radial-gradient(60% 60% at 30% 30%, #cfe8ff 0%, #a7d8ff 60%, transparent 100%); left: 60%; top: -20%; }
.cards-grid .cat-card:nth-child(3)::before { background: radial-gradient(60% 60% at 30% 30%, #f0e8ff 0%, #d6a8ff 60%, transparent 100%); left: -8%; top: -40%; }
.cards-grid .cat-card:nth-child(4)::before { background: radial-gradient(60% 60% at 30% 30%, #d7f6df 0%, #7bd389 60%, transparent 100%); left: 60%; top: -10%; }
.cards-grid .cat-card:nth-child(5)::before { background: radial-gradient(60% 60% at 30% 30%, #fff3cc 0%, #ffd07a 60%, transparent 100%); left: -12%; top: -20%; }
.cards-grid .cat-card:nth-child(6)::before { background: radial-gradient(60% 60% at 30% 30%, #e0f7ff 0%, #bfeaff 60%, transparent 100%); left: 58%; top: -30%; }
.cards-grid .cat-card:nth-child(7)::before { background: radial-gradient(60% 60% at 30% 30%, #ffdfe6 0%, #ffb3c7 60%, transparent 100%); left: -6%; top: -36%; }
.cards-grid .cat-card:nth-child(8)::before { background: radial-gradient(60% 60% at 30% 30%, #e8f7e9 0%, #b7e6c6 60%, transparent 100%); left: 62%; top: -18%; }

.cards-grid .cat-card::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.20;
  left: -10%;
  top: -30%;
  transform: scale(1) translateZ(0);
  transition: transform 0.8s ease, opacity 0.45s ease;
  pointer-events: none;
}

.cards-grid .cat-card:hover::before {
  transform: scale(1.05) translateY(-6px);
  opacity: 0.34;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
  .cruise-line-card::before,
  .cards-grid .cat-card::before {
    display: none;
  }

  .subcategories {
    gap: 1rem;
  }

  .subcat {
    min-width: 140px;
    padding: 10px 14px;
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .cruise-line-card {
    padding: 20px;
    margin-bottom: 2rem;
  }

  .subcategories {
    flex-direction: column;
    align-items: center;
  }

  .subcat {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cruise-line-card h4 {
    font-size: 1.3rem;
  }

  .subcat strong {
    font-size: 1rem;
  }

  .subcat small {
    font-size: 0.85rem;
  }
}

/* Process Section */
.process-grid {
  display: grid;
  gap: 30px;
}

.process-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card.phase-left {
  background: linear-gradient(180deg, #fff8f7 0%, #ffffff 100%);
  border: 1px solid rgba(244, 162, 97, 0.04);
}

.process-card.phase-right {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
  border: 1px solid rgba(31, 111, 235, 0.03);
}

.process-card h4 {
  color: #001f3f;
  position: relative;
  z-index: 2;
}

.process-card ol {
  list-style-position: inside;
  padding-left: 20px;
  position: relative;
  z-index: 2;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.12);
}

.phase-orn {
  position: absolute;
  right: -6%;
  top: -10%;
  width: 140%;
  height: 120px;
  pointer-events: none;
}

.process-card.phase-left .phase-orn {
  background: radial-gradient(60% 60% at 30% 30%, #ffd9b8 0%, #ffb6a3 60%, transparent 100%);
}

.process-card.phase-right .phase-orn {
  background: radial-gradient(60% 60% at 30% 30%, #cfe8ff 0%, #a7d8ff 60%, transparent 100%);
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .phase-orn {
    display: none;
  }
}

/* ========================================
   12-STEP TIMELINE – EQUAL HEIGHT + UNIFORM TIME BOX
   ======================================== */

.timeline-section {
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.timeline-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 12px;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 60px;
  left: 12px;
  right: 12px;
  height: 4px;
  background: linear-gradient(90deg, #f4a261, #1f6feb, #10b981);
  border-radius: 2px;
  z-index: 1;
  opacity: 0.2;
}


.timeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}


.timeline-step {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  box-shadow: 0 8px 25px rgba(2, 6, 23, 0.08);
  text-align: center;
  border: 1px solid rgba(2, 6, 23, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;

  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; 
}

.timeline-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.15);
  border-color: rgba(244, 162, 97, 0.2);
}

/* Step Number */
.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

/* Gradient per step */
.step-1 .step-number { background: linear-gradient(135deg, #ff6b6b, #f06292); }
.step-2 .step-number { background: linear-gradient(135deg, #4ecdc4, #44a08d); }
.step-3 .step-number { background: linear-gradient(135deg, #45b7d1, #96c93d); }
.step-4 .step-number { background: linear-gradient(135deg, #f093fb, #f5576c); }
.step-5 .step-number { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.step-6 .step-number { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.step-7 .step-number { background: linear-gradient(135deg, #fa709a, #fee140); }
.step-8 .step-number { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.step-9 .step-number { background: linear-gradient(135deg, #ff9a9e, #fad0c4); }
.step-10 .step-number { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.step-11 .step-number { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.step-12 .step-number { background: linear-gradient(135deg, #84fab0, #8fd3f4); }

/* Text */
.timeline-step p {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #334155;
  flex-grow: 1; 
}

.timeline-step p strong {
  color: #001f3f;
  font-weight: 700;
  font-size: 1.08rem;
  display: block;
  margin-bottom: 4px;
}

.timeline-step p small {
  color: #64748b;
  font-weight: 500;
  font-size: 0.88rem;
  display: block;
}

/* TIME-FRAMEE */
.time-frame {
  background: linear-gradient(135deg, #1f6feb, #60a5fa);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 25px;
  display: inline-block;
  margin-top: auto;
  min-width: 150px;           
  width: fit-content;
  min-height: 36px;           
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(31, 111, 235, 0.3);
  white-space: nowrap;
  align-self: center;
}

.timeline-step[data-step="12"] .time-frame {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

/* For "As per Client Suggestion"  */
.timeline-step .time-frame {
  min-width: 150px !important;
  width: auto;
  max-width: 100%;
  text-align: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
  .timeline-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
  }
}

@media (max-width: 768px) {
  .timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .timeline-step p {
    font-size: 0.95rem;
  }

  .time-frame {
    font-size: 0.8rem;
    padding: 7px 12px;
    min-width: 130px;
    min-height: 34px;
  }

  .timeline-line {
    top: 54px;
  }
}

@media (max-width: 520px) {
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .timeline-step {
    padding: 1.6rem 1.2rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .time-frame {
    min-width: 140px;
    font-size: 0.82rem;
  }

  .timeline-line {
    display: none;
  }
}

/* Process Slogans */
.process-slogans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.slogan-box {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.slogan-box.left {
  background: linear-gradient(180deg, #fff8f0 0%, #ffffff 100%);
  border: 1px solid rgba(244, 162, 97, 0.06);
}

.slogan-box.right {
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
  border: 1px solid rgba(31, 111, 235, 0.04);
}

.slogan-box h4 {
  font-size: 1.25rem;
  color: #001f3f;
  margin: 0 0 8px;
}

.slogan-box p {
  margin: 0;
  color: #263238;
  line-height: 1.35;
}

.slogan-orn {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 180%;
  height: 160px;
  pointer-events: none;
}

.slogan-box::before {
  content: '';
  position: absolute;
  left: -30%;
  top: -10%;
  width: 160%;
  height: 180%;
  background: radial-gradient(circle at 20% 30%, rgba(244, 162, 97, 0.06), transparent 20%),
              radial-gradient(circle at 80% 70%, rgba(31, 111, 235, 0.04), transparent 20%);
  pointer-events: none;
}

.slogan-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.12);
}

@media (max-width: 900px) {
  .slogan-orn {
    width: 220%;
    height: 140px;
    top: -28%;
    right: -30%;
  }

  .process-slogans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .slogan-orn {
    display: none;
  }

  .slogan-box {
    padding: 14px;
  }
}

/* Corporate Structure */
.org-chart {
  margin: 10px auto;
  padding: 22px 20px;
  background: linear-gradient(180deg, rgba(244, 162, 97, 0.02), rgba(255, 255, 255, 0.0));
  border-radius: 12px;
  max-width: 920px;
  overflow-x: auto;
  position: relative;
}

.org-chart ul {
  padding-top: 6px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.org-chart li {
  padding: 8px 6px 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.org-chart li:only-child {
  padding-top: 0;
}

.org-chart .node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  min-width: 110px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.06);
  color: #001f3f;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.org-chart ul ul .node {
  padding: 10px 14px;
  font-weight: 600;
}

.org-chart ul ul ul .node {
  padding: 8px 12px;
  font-weight: 500;
}

.org-chart .org-lines {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.org-chart::before {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 10px;
  bottom: 10px;
  background: radial-gradient(circle at 10% 20%, rgba(244, 162, 97, 0.03), transparent 20%),
              radial-gradient(circle at 90% 80%, rgba(31, 111, 235, 0.02), transparent 25%);
  z-index: 0;
  border-radius: 14px;
  pointer-events: none;
}

/* Level-specific node styles */
.org-chart > ul > li > .node {
  background: linear-gradient(90deg, #ffe8d0, #fff3ea);
  color: #8a3d00;
  border: 2px solid rgba(244, 162, 97, 0.14);
  min-width: 140px;
}

.org-chart > ul > li > ul > li > .node {
  background: linear-gradient(90deg, #e8f3ff, #f3fbff);
  color: #0a4ea1;
  border: 2px solid rgba(31, 111, 235, 0.08);
  min-width: 120px;
}

.org-chart > ul > li > ul > li > ul > li > .node {
  background: linear-gradient(90deg, #eafbe9, #f6fff5);
  color: #1b7a3b;
  border: 2px solid rgba(43, 158, 86, 0.06);
  min-width: 100px;
}

/* Dot after node name */
.org-chart .node::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  margin-left: 10px;
  vertical-align: middle;
}

.org-chart > ul > li > .node::after {
  background: #f4a261;
  box-shadow: 0 2px 6px rgba(244, 162, 97, 0.25);
}

.org-chart > ul > li > ul > li > .node::after {
  background: #1f6feb;
  box-shadow: 0 2px 6px rgba(31, 111, 235, 0.12);
}

.org-chart > ul > li > ul > li > ul > li > .node::after {
  background: #2b9e56;
  box-shadow: 0 2px 6px rgba(43, 158, 86, 0.12);
}

/* Hover effect */
.org-chart .node:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.08);
}

/* Responsive */
@media (max-width: 1024px) {
  .org-chart { max-width: 800px; }
  .org-chart .node { min-width: 90px; padding: 6px 10px; }
}

@media (max-width: 900px) {
  .org-chart ul { flex-direction: column; align-items: center; }
  .org-chart li { padding: 10px 0 0 0; }
  .org-chart { padding: 20px 12px; }
}

@media (max-width: 768px) {
  .org-chart { max-width: 100%; padding: 16px 10px; }
  .org-chart .node { min-width: 80px; }
}

@media (max-width: 480px) {
  .org-chart .node { min-width: 70px; font-size: 0.9rem; }
  .org-chart > ul > li > .node { min-width: 100px; }
}

@media (max-width: 320px) {
  .org-chart .node { min-width: 60px; font-size: 0.85rem; }
}
/* ========================================
   CONTACT SECTION – FULLY RESPONSIVE
   ======================================== */

/* Base container */
.contact-section {
  padding: 2rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Office + Countries */
.contact-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

/* Office Card */
.office-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  border: 1px solid rgba(244, 162, 97, 0.15);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.office-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.15);
  border-color: #f4a261;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: flex-start;
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}

.icon-wrapper svg {
  width: 26px;
  height: 26px;
  stroke: white;
}

.office-card h4 {
  color: #001f3f;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.office-details p {
  margin: 0.7rem 0;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

.office-details strong {
  color: #001f3f;
  font-weight: 600;
}

/* Placement Card */
.placement-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  border: 1px solid rgba(244, 162, 97, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.placement-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(244, 162, 97, 0.12), transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(31, 111, 235, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.placement-card:hover::before { 
  opacity: 1; 
}

.placement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.15);
  border-color: #f4a261;
}

.placement-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: flex-start;
}

.globe-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f4a261, #f97316);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(244, 162, 97, 0.4);
  flex-shrink: 0;
}

.globe-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.placement-header h4 {
  color: #001f3f;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.9rem;
  flex-grow: 1;
  justify-items: center;
}

.country-item {
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  border: 1px solid rgba(244, 162, 97, 0.2);
  border-radius: 14px;
  padding: 0.8rem 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  font-size: 0.92rem;
  color: #334155;
}

.country-item:hover {
  background: linear-gradient(145deg, #fff8f0, #ffe8d6);
  border-color: #f4a261;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(244, 162, 97, 0.25);
}

.country-item .flag {
  font-weight: 700;
  color: #001f3f;
  font-size: 0.98rem;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 992px) {
  .contact-top-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .office-card,
  .placement-card {
    padding: 1.8rem;
  }

  .countries-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.8rem;
  }

  .office-card h4,
  .placement-header h4 {
    font-size: 1.3rem;
  }

  .icon-wrapper,
  .globe-icon {
    width: 44px;
    height: 44px;
  }

  .icon-wrapper svg {
    width: 24px;
    height: 24px;
  }

  .globe-icon svg {
    width: 26px;
    height: 26px;
  }
}


@media (max-width: 768px) {
  .contact-section {
    padding: 1.5rem 1rem;
  }

  .contact-top-grid {
    gap: 1.2rem;
  }

  .office-card,
  .placement-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .card-header,
  .placement-header {
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .office-card h4,
  .placement-header h4 {
    font-size: 1.25rem;
  }

  .office-details p {
    font-size: 0.92rem;
    margin: 0.6rem 0;
  }

  .countries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
  }

  .country-item {
    min-height: 58px;
    padding: 0.7rem 0.4rem;
    font-size: 0.88rem;
  }

  .country-item .flag {
    font-size: 0.94rem;
  }
}

/* Mobile Devices */
@media (max-width: 576px) {
  .contact-section {
    padding: 1rem 0.75rem;
  }

  .contact-top-grid {
    gap: 1rem;
  }

  .office-card,
  .placement-card {
    padding: 1.25rem;
    border-radius: 14px;
  }

  .card-header,
  .placement-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .icon-wrapper,
  .globe-icon {
    width: 40px;
    height: 40px;
  }

  .icon-wrapper svg {
    width: 22px;
    height: 22px;
  }

  .globe-icon svg {
    width: 24px;
    height: 24px;
  }

  .office-card h4,
  .placement-header h4 {
    font-size: 1.2rem;
  }

  .office-details p {
    font-size: 0.89rem;
    line-height: 1.55;
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .country-item {
    min-height: 54px;
    padding: 0.6rem 0.3rem;
    font-size: 0.85rem;
    border-radius: 12px;
  }

  .country-item .flag {
    font-size: 0.9rem;
  }

  .country-item:hover {
    transform: translateY(-2px);
  }
}

/* Extra Small Mobile */
@media (max-width: 380px) {
  .countries-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .country-item {
    min-height: 50px;
    padding: 0.5rem 0.2rem;
    font-size: 0.82rem;
  }

  .country-item .flag {
    font-size: 0.87rem;
  }

  .office-card h4,
  .placement-header h4 {
    font-size: 1.15rem;
  }

  .office-details p {
    font-size: 0.86rem;
  }
}
/* Contact Form & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form,
.map-placeholder {
  background: #ffffff;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
  border: 1px solid rgba(2, 6, 23, 0.04);
}

.contact-form h4,
.map-placeholder h4 {
  color: #001f3f;
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(2, 6, 23, 0.1);
  font-size: 0.98rem;
  margin-bottom: 12px;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f4a261;
  outline: none;
}

.map-placeholder iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.muted {
  margin-top: 0.8rem;
  color: #f4a261;
  font-size: 0.9rem;
}

/* Quote */
.quote-block {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 16px;
  margin-top: 3rem;
  border: 1px dashed rgba(244, 162, 97, 0.3);
}

blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: #444;
  margin: 0 0 1rem;
  line-height: 1.6;
}

cite {
  color: #f4a261;
  font-weight: 600;
  font-size: 1rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .contact-top-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .countries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .map-placeholder iframe {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .office-card,
  .placement-card {
    padding: 1.6rem;
  }

  .card-header,
  .placement-header {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .icon-wrapper,
  .globe-icon {
    width: 42px;
    height: 42px;
  }

  .icon-wrapper svg,
  .globe-icon svg {
    width: 24px;
    height: 24px;
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .country-item {
    min-height: 60px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .countries-grid {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .map-placeholder {
    padding: 1.4rem;
  }

  .map-placeholder iframe {
    height: 200px;
  }

  .quote-block {
    padding: 1.5rem;
  }

  blockquote {
    font-size: 1.1rem;
  }
}




/* Footer */
.footer {
  background: #001f3f;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.footer h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.legal {
  font-size: 0.9rem;
  color: #ccc;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

/* Buttons and Modal */
.btn {
  display: inline-block;
  padding: 12px 25px;
  margin-right: 15px;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.btn.primary {
  background: #f4a261;
  color: #fff;
}

.btn.ghost {
  border: 2px solid #f4a261;
  color: #f4a261;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(244, 162, 97, 0.4);
}

.logout-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1100;
  padding: 8px 16px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 28px;
  background: #dc3545;
  color: white;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1001;
}

@media (max-width: 768px) {
  .modal-content {
    width: 90%;
  }

  .btn {
    padding: 8px 16px;
    margin-right: 10px;
  }

  .logout-btn {
    padding: 6px 12px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
/* Floating PDF Button  */
  .floating-pdf-btn {
    position: fixed;
    bottom: 80px;           
    right: 20px;
    background: #f4a261;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
    z-index: 999;           
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    gap: 2px;
  }

  .floating-pdf-btn:hover {
    background: #e08f50;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(244, 162, 97, 0.4);
  }

  .floating-pdf-btn svg {
    width: 22px;
    height: 22px;
  }

  .pdf-label {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  /* Back-to-Top Button  */
  #backToTop {
    bottom: 20px !important;
    right: 20px !important;
    z-index: 998 !important;   
  }

  
  @media (max-width: 480px) {
    .floating-pdf-btn {
      width: 50px;
      height: 50px;
      bottom: 75px;
      right: 15px;
    }
    .pdf-label {
      display: none;
    }
    #backToTop {
      bottom: 15px !important;
      right: 15px !important;
      width: 45px;
      height: 45px;
      font-size: 16px;
    }
  }

/* Document Cards */
#pdf-grid .doc-card,
#license-cert-grid .doc-card {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s;
}

#pdf-grid .doc-card:hover,
#license-cert-grid .doc-card:hover {
  transform: translateY(-4px);
}

#pdf-grid .doc-card img,
#license-cert-grid .doc-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #f9f9f9;
}

#pdf-grid .doc-card a,
#license-cert-grid .doc-card a {
  display: inline-block !important;
  margin-top: 15px !important;
  background-color: #f4a261 !important;
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(244, 162, 97, 0.2) !important;
}

#pdf-grid .doc-card a:hover,
#license-cert-grid .doc-card a:hover {
  background: #e76f51;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(231, 111, 81, 0.3);
  text-decoration: none;
}
/* PDF preview canvas */
.pdf-canvas {
  width: 100%;
  height: 220px;
  background: #fdfdfd;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
  display: block;
}

/* Document cards */
#pdf-grid .doc-card,
#license-cert-grid .doc-card {
  background:#fff;
  padding:1rem;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  text-align:center;
  transition:transform .2s;
}
#pdf-grid .doc-card:hover,
#license-cert-grid .doc-card:hover { transform:translateY(-4px); }

#pdf-grid .doc-card img,
#license-cert-grid .doc-card img,
#license-cert-grid .doc-card canvas {
  width:100%;
  height:180px;
  object-fit:contain;
  border-radius:8px;
  margin-bottom:.5rem;
  background:#f9f9f9;
}

#pdf-grid .doc-card a,
#license-cert-grid .doc-card a {
  display:inline-block;
  margin-top:.5rem;
  color:#f4a261;
  font-weight:600;
  text-decoration:none;
}
#pdf-grid .doc-card a:hover,
#license-cert-grid .doc-card a:hover { text-decoration:underline; }