/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables (Narayani Brand Identity - Navy Blue & Steel Gray/Silver) */
:root {
  --bg-primary: #ffffff; /* Crisp premium white */
  --bg-secondary: #f4f6f9; /* Ultra-light warm slate/silver */
  --bg-tertiary: #e9ecef; /* Muted light gray */
  --bg-glass: rgba(255, 255, 255, 0.88); /* Translucent glass white */
  --border-glass: rgba(0, 37, 84, 0.08); /* Soft blue-gray border */
  --text-primary: #001f3f; /* Deep Navy - main text for high contrast */
  --text-secondary: #4a5568; /* Slate Gray - secondary text */
  --text-muted: #718096; /* Light gray text */
  --color-primary: #002554; /* Main Brand Navy Blue */
  --color-primary-light: #0b3c75; /* Lighter corporate blue */
  --color-accent: #5a626a; /* Steel Gray from logo */
  --color-accent-light: #8a95a5; /* Soft silver gray */
  --gradient-brand: linear-gradient(135deg, #002554 0%, #0b3c75 50%, #1e6091 100%);
  --gradient-dark: linear-gradient(180deg, #f4f6f9 0%, #ffffff 100%);
  --shadow-brand: 0 10px 30px rgba(0, 37, 84, 0.12);
  --shadow-card: 0 15px 35px rgba(0, 37, 84, 0.05);
  --font-sans: Arial, Helvetica, sans-serif;
  --font-headings: 'Poppins', sans-serif;
  --font-logo: 'Montserrat', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --max-width: 1300px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) var(--bg-primary);
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  line-height: 1.6;
}

img {
  max-width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 37, 84, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(0, 37, 84, 0.15);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  background: rgba(0, 37, 84, 0.03);
  color: var(--color-primary-light);
  transform: translateY(-3px);
}

.btn-gold-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-gold-outline:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-brand);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 37, 84, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
  transition: var(--transition-smooth);
}

header.scrolled .container {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
}

.logo-icon-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.logo-text {
  font-family: var(--font-logo);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.logo-text span {
  font-size: 0.8em;
  font-weight: 700;
  color: #5a626a;
}

header.scrolled .logo-icon-img {
  height: 46px;
}

header.scrolled .logo-text {
  font-size: 1.55rem;
}

.logo:hover .logo-icon-img {
  transform: scale(1.06);
}

.logo:hover .logo-text {
  color: var(--color-primary-light);
  transform: scale(1.02);
}

.footer-logo-icon-img {
  height: 76px;
}

/* Footer overrides */
footer .logo-text {
  color: #ffffff;
  font-size: 2.1rem;
}

footer .logo-text span {
  color: rgba(255, 255, 255, 0.7);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-only {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hero Slider Section (Full-visibility background image slider) */
.hero-slider-section {
  position: relative;
  height: auto; /* Dynamic height to match image aspect ratio */
  background-color: var(--bg-secondary);
  overflow: hidden;
  padding-top: 85px; /* space for header */
}

.slider-container {
  position: relative;
  width: 100%;
  height: auto;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 1;
}

.hero-slide:first-child {
  position: relative; /* Keeps container height set dynamically by inline image */
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-backdrop-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* Zero crop, zero distortion */
}





/* Slide Centered Content Overlay */
.slide-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  align-items: flex-start; /* Align text to the top (sky area) to prevent road/car occlusion */
  justify-content: center;
  padding-top: 5rem; /* Space from header navigation */
  z-index: 2;
}

/* Masked Brand Typography (INICIO Style) - Clean wrapper, no white background box */
.masked-text-wrapper {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  animation: scaleUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.masked-brand-text {
  font-size: clamp(9.5rem, 12vw, 16.5rem); /* Majestic larger lettering scaled fluidly to fit maximum screen width */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 8px; /* Slightly tighter gap to allow larger font width without clipping */
  line-height: 1;
  text-align: center;
  background-image: url('assets/Narayani-3.jpg'); /* Using Narayani-3.jpg inside the letters frame */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: block;
  margin: 0 auto;
  padding-left: 8px; /* Offset to center text perfectly due to letter-spacing */
  filter: drop-shadow(0 15px 35px rgba(0, 37, 84, 0.4)); /* Shadows behind text so it floats on background */
  transition: transform var(--transition-smooth);
}

.masked-brand-text:hover {
  transform: scale(1.03);
}

.masked-hero-subtitle {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary); /* Navy Blue matching logo text */
  letter-spacing: 5px;
  margin-top: 0.5rem; /* Significantly reduced gap between letters and subtitle */
  display: block;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8); /* Light glow so it is 100% visible on background */
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* Slider arrows and controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.slider-arrow:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-brand);
}

.slider-arrow.prev {
  left: 2rem;
}

.slider-arrow.next {
  right: 2rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 37, 84, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dots .dot.active {
  background: var(--color-primary);
  width: 25px;
  border-radius: 5px;
}



/* Ticker Section (Infinite Scroll Advantages) */
.ticker-section {
  padding: 1.75rem 0 2rem 0; /* Significantly reduced top padding to minimize gap below slider dots */
  background-color: var(--bg-secondary);
  border-bottom: 1px solid rgba(0, 37, 84, 0.05);
  overflow: hidden;
}

.ticker-header {
  text-align: center;
  margin-bottom: 1.5rem; /* Tightened margin below header to keep advantages compact */
}

.ticker-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.ticker-underline {
  width: 50px;
  height: 3px;
  background: var(--gradient-brand);
  margin: 0.5rem auto 0 auto;
  border-radius: 2px;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  background: transparent;
  position: relative;
}

/* Mask overlays for fade-out effects on edges */
.ticker-wrap::before, .ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-left-to-right 32s linear infinite;
  align-items: center;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.65rem 1.75rem;
  margin: 0 0.75rem;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 37, 84, 0.06);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.ticker-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b892 0%, #00d2ad 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(0, 184, 146, 0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticker-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color 0.4s ease;
}

/* Hover effects for capsules */
.ticker-item:hover {
  transform: translateY(-3px);
  background: var(--color-primary);
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(0, 37, 84, 0.18);
}

.ticker-item:hover .ticker-text {
  color: #ffffff;
}

.ticker-item:hover .ticker-icon {
  transform: scale(1.1) rotate(360deg);
  background: linear-gradient(135deg, #ffffff 0%, #f4f6f9 100%);
  color: #00b892;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Left-to-right keyframes */
@keyframes scroll-left-to-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Amenities Section */
.amenities-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid rgba(0, 37, 84, 0.03);
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-desc-center {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.section-title-underline-center {
  width: 50px;
  height: 3px;
  background: var(--gradient-brand);
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 991px) {
  .amenity-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .amenity-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.amenity-card {
  background: #ffffff;
  border: 1px dashed rgba(0, 184, 146, 0.25);
  border-radius: 12px;
  padding: 2rem 1.25rem;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  opacity: 0;
  transform: translateY(40px);
}

.amenity-card.reveal-active {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--card-index) * 0.05s);
}

.amenity-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px dashed #00b892;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  color: #00b892;
  font-size: 1.85rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.amenity-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.amenity-card-desc {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Hover effects for cards */
.amenity-card:hover {
  transform: translateY(-8px);
  border-style: solid;
  border-color: #00b892;
  box-shadow: 0 15px 30px rgba(0, 184, 146, 0.15);
}

.amenity-card:hover .amenity-icon-wrapper {
  background: rgba(0, 184, 146, 0.08);
  transform: scale(1.05);
}

/* Sections Common Styles */
section {
  padding: 7rem 0;
  position: relative;
}

.section-bg-dark {
  background-color: var(--bg-primary);
}

.section-bg-secondary {
  background-color: var(--bg-secondary);
  background-image: radial-gradient(circle at 10% 20%, rgba(0, 37, 84, 0.015) 0%, transparent 40%);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem auto;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary-light);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-brand);
  margin: 0.8rem auto 0 auto;
  border-radius: 2px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-content h3 {
  font-size: 1.8rem;
  line-height: 1.3;
}

.about-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.about-bullets li i {
  color: var(--color-primary-light);
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

.about-stats, .stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 37, 84, 0.06);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 37, 84, 0.03);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 37, 84, 0.08);
  border-color: rgba(0, 37, 84, 0.12);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 37, 84, 0.04);
  border: 1px solid rgba(0, 37, 84, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.05);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  line-height: 1.3;
}

.about-media {
  position: relative;
}

.about-img-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-glass);
}

.about-img-container img {
  width: 100% !important;
  height: auto !important;
  max-height: 80vh !important;
  object-fit: contain !important;
  display: block;
  transition: var(--transition-smooth);
}

.about-img-container:hover img {
  transform: scale(1.05);
}

.about-overlay-box {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 250px;
  box-shadow: var(--shadow-card);
  animation: float 4s ease-in-out infinite;
}

.about-overlay-box h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.about-overlay-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Projects Section */
.projects-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 37, 84, 0.2);
  box-shadow: 0 20px 40px rgba(0, 37, 84, 0.08);
}

.project-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.1);
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  color: var(--color-primary-light);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 1px;
}

.project-card-title {
  font-size: 1.3rem;
  color: var(--text-primary);
  font-weight: 700;
}

.project-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 37, 84, 0.06);
  padding-top: 1rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.project-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

.project-meta-item i {
  color: var(--color-primary-light);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 37, 84, 0.88) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-title {
  transform: translateY(0);
}

.gallery-category {
  color: var(--color-accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 37, 84, 0.15);
  border: 1px solid var(--border-glass);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-primary);
}

.lightbox-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* Career Section */
.career-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.career-intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.career-intro h3 {
  font-size: 2rem;
}

.career-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.career-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.career-benefits li i {
  color: var(--color-primary);
  font-size: 1rem;
}

.career-listings {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.partner-cta-box {
  background: var(--bg-primary);
  border: 1px dashed rgba(0, 184, 146, 0.25);
  border-radius: 16px;
  padding: 3rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-cta-box:hover {
  transform: translateY(-5px);
  border-style: solid;
  border-color: #00b892;
  box-shadow: 0 20px 40px rgba(0, 184, 146, 0.15);
}

.partner-box-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 184, 146, 0.06);
  color: #00b892;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  border: 1px dashed rgba(0, 184, 146, 0.2);
}

.partner-cta-box:hover .partner-box-icon {
  background: #00b892;
  color: #ffffff;
  transform: scale(1.05) rotate(5deg);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 184, 146, 0.25);
}

.partner-cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.partner-cta-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 420px;
}

.partner-cta-box .btn {
  padding: 0.85rem 2.25rem;
  font-weight: 600;
}

/* Career Modal */
.apply-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 37, 84, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.apply-modal.active {
  display: flex;
}

.apply-modal-content {
  background: #fff;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 550px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 37, 84, 0.15);
  animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.apply-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.apply-modal-close:hover {
  color: var(--text-primary);
}

.apply-modal h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--color-primary);
  background: #fff;
}

.form-file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(0, 37, 84, 0.1);
  padding: 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--bg-secondary);
}

.form-file-upload:hover {
  border-color: var(--color-primary);
  background: #fff;
}

.form-file-upload i {
  font-size: 2rem;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
}

.form-file-upload input {
  display: none;
}

/* Contact Us Section */
.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
}

.contact-form-wrapper {
  background: #fff;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.contact-form-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 0;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-card {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 37, 84, 0.04);
  border: 1px solid rgba(0, 37, 84, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.contact-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-map-mock {
  position: relative;
  height: 250px;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  overflow: hidden;
  margin-top: 1rem;
  background: #f1f5f9;
}

.contact-map-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-marker-pin {
  width: 32px;
  height: 32px;
  background: var(--gradient-brand);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 37, 84, 0.15);
}

.map-marker-pin::after {
  content: '';
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
}

.map-marker-label {
  background: var(--bg-glass);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--border-glass);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Footer */
/* Footer */
footer {
  background-color: #000000; /* Pure black footer background */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2rem 0;
  position: relative;
  color: #ffffff; /* White text color */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

footer .logo img {
  filter: brightness(0) invert(1); /* Turns all colors in logo icon and logo text to pure white for dark theme contrast */
  transition: var(--transition-smooth);
}

footer .logo:hover img {
  filter: brightness(0) invert(1) opacity(0.85);
}

.footer-about p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7); /* Slightly muted white for paragraph text */
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: linear-gradient(135deg, #00b892 0%, #00d2ad 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 184, 146, 0.3);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-nav h4 {
  font-size: 1.1rem;
  color: #ffffff; /* Pure white titles */
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7); /* Muted white link text */
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #00b892; /* High-contrast green on hover */
  padding-left: 5px;
}

.footer-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-gallery h4 {
  font-size: 1.1rem;
  color: #ffffff;
}

.footer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem; /* Space between frames */
  max-width: 280px; /* Perfect width matching reference proportions */
}

.footer-gallery-item {
  position: relative;
  aspect-ratio: 3 / 2; /* Landscape ratio matching reference image */
  border-radius: 6px; /* Rounded corners for the white frame */
  background: #ffffff; /* White border frame backing */
  padding: 3px; /* Frame border thickness spacing */
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.footer-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px; /* Slight inner rounding for photo */
  transition: transform 0.4s ease;
}

.footer-gallery-item:hover {
  transform: translateY(-3px);
  background: #00b892; /* Frame turns green on hover */
  box-shadow: 0 6px 15px rgba(0, 184, 146, 0.4);
}

.footer-gallery-item:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5); /* Muted white for copyright */
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) left(-20px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Success Popups */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #fff;
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 15px 35px rgba(0, 37, 84, 0.15);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  color: var(--color-primary-light);
  font-size: 1.25rem;
}

.toast-msg {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Sub-page Header Overrides */
body.sub-page header {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 37, 84, 0.05);
}

body.sub-page header .container {
  height: 75px;
}

body.sub-page header .logo-icon-img {
  height: 48px;
}

body.sub-page header .logo-text {
  font-size: 1.65rem;
}

/* Page Hero Banner for Sub-pages */
.page-hero-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 10rem 0 5rem 0; /* Extra top padding for header space */
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(0, 184, 146, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-section .page-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-hero-section .breadcrumbs {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
}

.page-hero-section .breadcrumbs a {
  color: #00b892;
  text-decoration: none;
  transition: var(--transition-fast);
}

.page-hero-section .breadcrumbs a:hover {
  color: #ffffff;
}

.page-hero-section .breadcrumbs span {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Rules */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 1.25rem;
  }
  .nav-link {
    font-size: 0.9rem;
  }
  .nav-actions {
    gap: 1rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }
  .masked-brand-text {
    font-size: clamp(5.5rem, 9vw, 8.5rem);
    letter-spacing: 6px;
    padding-left: 6px;
  }

  .masked-hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 4px;
    margin-top: 0.4rem;
  }
  .about-grid, .career-container, .contact-container {
    gap: 2.5rem;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .mobile-only {
    display: block !important;
  }

  header .container, body.sub-page header .container {
    height: 70px;
  }
  .logo-icon-img, body.sub-page header .logo-icon-img {
    height: 48px;
  }
  .logo-text, body.sub-page header .logo-text {
    font-size: 1.5rem;
  }
  header.scrolled .logo-icon-img, body.sub-page header.scrolled .logo-icon-img {
    height: 40px;
  }
  header.scrolled .logo-text, body.sub-page header.scrolled .logo-text {
    font-size: 1.35rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 3rem 3rem 3rem;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .hero-slider-section {
    height: auto;
    padding-top: 85px;
  }
  
  .slider-arrow {
    display: none;
  }
  
  .slide-content-overlay {
    padding-top: 3.5rem;
  }
  .masked-brand-text {
    font-size: clamp(3.8rem, 8vw, 5.8rem);
    letter-spacing: 4px;
    padding-left: 4px;
  }
  .masked-hero-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    margin-top: 0.35rem;
  }
  
  .search-widget {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
  
  .search-widget .btn {
    grid-column: span 2;
    margin-top: 0.5rem;
  }
  
  .about-grid, .career-container, .contact-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-media {
    order: -1;
  }

  .about-overlay-box {
    left: 15px;
    bottom: 15px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  header .container, body.sub-page header .container {
    height: 65px;
  }
  .logo-icon-img, body.sub-page header .logo-icon-img {
    height: 42px;
  }
  .logo-text, body.sub-page header .logo-text {
    font-size: 1.3rem;
  }
  header.scrolled .logo-icon-img, body.sub-page header.scrolled .logo-icon-img {
    height: 36px;
  }
  header.scrolled .logo-text, body.sub-page header.scrolled .logo-text {
    font-size: 1.15rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-bullets {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .about-stats, .stats-row {
    gap: 1rem;
  }
  .stat-card {
    padding: 1.25rem 1rem;
  }
  .stat-num {
    font-size: 1.8rem;
  }
  .ticker-wrap::before, .ticker-wrap::after {
    width: 60px;
  }
  .ticker-item {
    padding: 0 0.75rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.25rem;
  }
  
  header .container, body.sub-page header .container {
    height: 60px;
  }
  .logo-icon-img, body.sub-page header .logo-icon-img {
    height: 38px;
  }
  .logo-text, body.sub-page header .logo-text {
    font-size: 1.2rem;
  }
  header.scrolled .logo-icon-img, body.sub-page header.scrolled .logo-icon-img {
    height: 32px;
  }
  header.scrolled .logo-text, body.sub-page header.scrolled .logo-text {
    font-size: 1.05rem;
  }

  .hero-slider-section {
    height: auto;
    padding-top: 75px;
  }
  
  .slide-content-overlay {
    padding-top: 1.5rem;
  }
  .masked-brand-text {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
    letter-spacing: 2px;
    padding-left: 2px;
  }
  .masked-hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-top: 0.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .search-widget {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .search-widget .btn {
    grid-column: span 1;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Make Job Cards stack vertically on mobile */
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .job-card .btn {
    width: 100%;
    text-align: center;
  }

  /* Prevent career apply modal form from narrow squeeze */
  .apply-modal-content {
    padding: 1.5rem;
    width: 92%;
    margin: 0 auto;
  }

  /* Accessible close target inside lightbox viewport on mobile */
  .lightbox-close {
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    z-index: 2001;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
  .contact-form-wrapper {
    padding: 1.75rem;
  }
  .about-overlay-box {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: 100%;
    margin-top: 1rem;
  }
  .about-stats, .stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-card {
    padding: 1.25rem 1.5rem;
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    align-items: center;
  }
  .stat-card::before {
    width: 4px;
    height: 100%;
    top: 0;
    left: 0;
  }
  .stat-text-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  .stat-num {
    font-size: 1.8rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .ticker-wrap::before, .ticker-wrap::after {
    width: 30px;
  }
  .footer-gallery-grid {
    max-width: 100%;
  }
  .footer-logo-icon-img {
    height: 56px;
  }
  footer .logo-text {
    font-size: 1.6rem;
  }
  .career-intro h3 {
    font-size: 1.5rem;
  }
  .contact-form-wrapper h3 {
    font-size: 1.4rem;
  }
  .nav-menu {
    width: 260px;
    padding: 90px 2rem 2rem 2rem;
  }
}

@media (max-width: 380px) {
  .masked-brand-text {
    font-size: 2.1rem;
    letter-spacing: 1px;
    padding-left: 1px;
  }
  header .container, body.sub-page header .container {
    height: 55px;
  }
  .logo-icon-img, body.sub-page header .logo-icon-img {
    height: 32px;
  }
  .logo-text, body.sub-page header .logo-text {
    font-size: 1.05rem;
  }
  header.scrolled .logo-icon-img, body.sub-page header.scrolled .logo-icon-img {
    height: 28px;
  }
  header.scrolled .logo-text, body.sub-page header.scrolled .logo-text {
    font-size: 0.95rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .container {
    padding: 0 1rem;
  }
  .stat-card {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .stat-num {
    font-size: 1.5rem;
  }
  .contact-map-mock {
    height: 180px;
  }
  .hero-slider-section {
    padding-top: 65px;
  }
  .masked-hero-subtitle {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
}

/* Unique Enhancements CSS */

/* 1. Core Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.pillar-card {
  background: var(--bg-primary);
  border: 1px solid rgba(0, 37, 84, 0.06);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-brand);
  border-color: transparent;
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 37, 84, 0.05) 0%, rgba(11, 60, 117, 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.5rem;
  color: var(--color-primary-light);
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-wrapper {
  background: var(--gradient-brand);
  color: #ffffff;
  transform: rotateY(180deg);
}

.pillar-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 2. Process Flow Section */
.process-flow-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-step-card {
  background: var(--bg-primary);
  border: 1px solid rgba(0, 37, 84, 0.06);
  padding: 3rem 2.25rem;
  border-radius: 12px;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 184, 146, 0.2);
}

.step-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #00b892;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 184, 146, 0.3);
}

.step-icon {
  font-size: 2.25rem;
  color: var(--color-primary-light);
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.process-step-card:hover .step-icon {
  transform: scale(1.1);
  color: #00b892;
}

.process-step-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.process-step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 3. Video Tours Section */
.video-tours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.video-tour-card {
  background: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid rgba(0, 37, 84, 0.05);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.video-tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-brand);
}

.video-preview-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
  cursor: pointer;
}

.video-preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.video-tour-card:hover .video-preview-wrapper img {
  transform: scale(1.05);
  opacity: 0.7;
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  background: #00b892;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 184, 146, 0.4);
  transition: var(--transition-smooth);
}

.video-tour-card:hover .play-btn-overlay {
  background: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 8px 25px rgba(0, 37, 84, 0.4);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.video-tour-info {
  padding: 1.75rem;
}

.video-tour-info h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.video-tour-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* 4. FAQ Accordion Styles */
.contact-faq {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(0, 37, 84, 0.08);
  padding-top: 2.5rem;
}

.contact-faq h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(0, 37, 84, 0.06);
  border-radius: 8px;
  background: var(--bg-primary);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(0, 184, 146, 0.3);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question i {
  font-size: 0.85rem;
  color: var(--color-primary-light);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-question {
  color: #00b892;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #00b892;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 5. Commission Tiers Grid */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
  align-items: stretch;
}

.tier-card {
  background: var(--bg-primary);
  border: 1px solid rgba(0, 37, 84, 0.06);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-brand);
}

.tier-card.featured {
  border: 2px solid #00b892;
  transform: scale(1.03);
  box-shadow: var(--shadow-brand);
}

.tier-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.tier-popular-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #00b892;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tier-badge {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.tier-rate {
  font-size: 3.5rem;
  font-weight: 800;
  color: #00b892;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.tier-card.featured .tier-rate {
  color: var(--color-primary-light);
}

.tier-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  display: block;
}

.tier-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 37, 84, 0.05);
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tier-features li i {
  font-size: 0.95rem;
}

.tier-features li i.fa-check {
  color: #00b892;
}

/* Responsiveness overrides for Enhancements */
@media (max-width: 991px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-flow-container {
    grid-template-columns: 1fr;
  }
  .video-tours-grid {
    grid-template-columns: 1fr;
  }
  .tiers-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .tier-card.featured {
    transform: none;
  }
  .tier-card.featured:hover {
    transform: translateY(-8px);
  }
}

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

/* 6. Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 37, 84, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

