:root {
  --bg: #0f172a;
  --accent: #38bdf8;
  --accent-soft: #e0f2fe;
  --text-main: #002d4b;
  --text-muted: #293c48;
  --card-bg: #002d4b;
  --border: #1f2937;
  --email: #3c4b1a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #FFFFFF 0, #002D4B 150%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
}

a {
  color: var(--email);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.btn-align {
  background: var(--accent);
  color: #0b1120;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
  flex-wrap: wrap;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
	grid-template-columns: minmax(0, 1fr);
  }
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 20px;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent-soft);
  background: rgba(0, 45, 75, 0.9);
  box-shadow: 0 9px 40px rgba(15, 23, 42, 0.6);
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(51, 51, 51, 0.4);
  margin-bottom: 18px;
}

.hero-highlight span.badge {
  background: rgba(56, 189, 248, 0.15);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-primary {
  background: var(--accent);
  color: #0b1120;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  background: #0ea5e9;
}

.btn-secondary {
  background: rgba(0, 45, 75, 0.9);
  color: var(--accent-soft);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
  text-decoration: none;
}

.hero-contact {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-contact strong {
  color: var(--text-muted);
  font-weight: 500;
}

.hero-card {
  background: radial-gradient(circle at top, #3C4650 0, #002d4b 60%);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
  color: var(--accent-soft);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hero-card-title {
  font-size: 14px;
  color: var(--accent-soft);
}

.hero-card-pill {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-soft);
  background: rgba(15, 23, 42, 0.9);
  text-align: center;
}

.hero-card-main {
  font-size: 15px;
  margin-bottom: 10px;
}

.hero-card-main strong {
  color: var(--accent-soft);
}

.hero-card-meta {
  font-size: 12px;
  color: var(--accent-soft);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hero-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card-meta span.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.6);
  flex-shrink: 0; 
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-card-footer span.label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
}

.hero-card-footer span.value {
  color: var(--accent-soft);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px 40px;
}

section {
  margin-top: 60px;
}

section:first-of-type {
  margin-top: 20px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.section-title {
  font-size: 18px;
  font-weight: 500;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
	
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.value-card {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 12px 10px;
  height: 100%;
}

.value-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.value-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--accent-soft);
}

.value-body {
  font-size: 13px;
  color: var(--accent-soft);
}

.value-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin-top: 8px;
  color: var(--accent-soft);
}

.value-badge span.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.6);
  flex-shrink: 0; 
}

@media (max-width: 800px) {
  .contact-grid {
	grid-template-columns: minmax(0, 1fr);
  }
}

.calendar-card {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 12px 10px;
  font-size: 13px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

footer {
  border-top: 1px solid var(--border);
  padding: 14px 20px 18px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
}

footer span.brand {
  color: var(--text-main);
  font-weight: 700;
}

.flip-card {
  perspective: 1000px;
  height: 260px;
  position: relative;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 260px;
  backface-visibility: hidden;
  top: 0;
  left: 0;
}

.flip-front {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  overflow: hidden;
}

/* Image wrapper fills the card */
.value-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.value-image-wrapper img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back {
  transform: rotateY(180deg);
  overflow: visible;
}

/* Text overlay */
.value-image-text {
  position: absolute;
  bottom: 0;                 /* place at bottom */
  left: 0;
  width: 100%;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.45);   /* subtle dark overlay */
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.contact-modal-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 500px;
  padding: 20px;
  margin: 10% auto;
  text-align: center;
  color: var(--accent-soft);
}

.contact-qr {
  width: 450px;
  height: auto;
  margin: 10px 0;
}

.contact-email {
  color: var(--accent-soft);
}

.close-modal {
  float: right;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
}

.close-modal:hover {
  color: var(--accent-soft);
}

/* Listing Card Layout */
.listing-card {
  display: grid;
  grid-template-columns: 40% 60%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

/* Left side: image */
.listing-left {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.listing-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right side: details */
.listing-right {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.listing-title {
  color: var(--accent-soft);
  margin-bottom: 10px;
  font-size: 18px;
  align-self: stretch;
}

.listing-details {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  color: var(--accent-soft);
  font-size: 14px;
  align-self: stretch;
}

.listing-details li {
  margin-bottom: 4px;
}

/* Apply button matches your existing style */
.listing-right .apply-link {
  display: inline-block;
  padding: 8px 14px;
  background: var(--accent);
  color: #0b1120;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.listing-right .apply-link:hover {
  background: #0ea5e9;
}

/* Responsive */
@media (max-width: 800px) {
  .listing-card {
    grid-template-columns: 1fr;
  }

  .listing-left {
    height: 180px;
  }
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px; /* spacing between icons */
}

.social-icons img {
  max-width: 100%
  width: 24px;   /* adjust to your preferred size */
  height: 24px;
  display: block;
  transition: opacity 0.2s ease;
}

.social-icons img:hover {
  opacity: 0.7;
}