:root {
  /* Premium Ivory & Slate Palette */
  --bg-main: #FAFAFA;
  --bg-muted: #F3F4F6;
  --text-primary: #0F172A; /* Deep Navy/Charcoal */
  --text-secondary: #475569; /* Slate */
  --accent: #2563EB; /* Trusting Corporate Blue */
  --accent-hover: #1D4ED8;
  --white: #FFFFFF;
  --border: #E2E8F0;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-light { color: #E2E8F0 !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

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

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--white);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: transparent;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 1rem 5%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.lang-selector {
  font-weight: 600;
}
.lang-selector span {
  font-weight: 300;
  color: var(--text-secondary);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  background-color: var(--text-primary);
  background-image: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #CBD5E1;
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
}

/* Base Sections */
.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-head {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
  padding: 8rem 0;
  background: var(--white);
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-right p {
  color: var(--text-secondary);
}

/* Services Section */
.services-section {
  padding: 8rem 0;
  background: var(--bg-muted);
}

.services-section .section-header {
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: transparent;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

/* Showroom CTA (Dark Section) */
.showroom-cta {
  padding: 8rem 0;
  background-color: var(--text-primary);
}

.showroom-cta max-width {
  max-width: 800px;
  margin: 0 auto;
}

/* Footer / Contact */
.footer {
  background-color: #0B1120;
  color: var(--white);
  padding: 6rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94A3B8;
  max-width: 350px;
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-contact p {
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #94A3B8;
}

.contact-list a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-list a:hover {
  color: var(--white);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: #64748B;
  font-size: 0.9rem;
}

/* Animations & Responsive */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dropdown Menu */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-primary);
    text-transform: none;
    font-size: 0.95rem;
}
.dropdown-menu a:hover {
    background: var(--bg-muted);
}
.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Inner Pages Structure */
.page-header {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 6rem;
    background-color: var(--text-primary);
    text-align: center;
    background-size: cover;
    background-position: center;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.7), rgba(15,23,42,0.95));
    z-index: 1;
}
.page-header .container {
    position: relative;
    z-index: 2;
}
.page-header .page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}
.page-header .section-badge {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.2rem 1rem;
    border-radius: 20px;
}

/* Background Image Classes */
.bg-about { background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=80'); }
.bg-contact { background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&w=1600&q=80'); }
.bg-growth { background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1600&q=80'); }
.bg-digital { background-image: url('https://images.unsplash.com/photo-1432888498266-38ffec3eaf0a?auto=format&fit=crop&w=1600&q=80'); }
.bg-market { background-image: url('https://images.unsplash.com/photo-1512428559087-560fa5ceab42?auto=format&fit=crop&w=1600&q=80'); }
.bg-showroom { background-image: url('https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?auto=format&fit=crop&w=1600&q=80'); }
.bg-operations { background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=80'); }

.page-content {
    padding: 6rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

/* Marketplaces Showcase */
.marketplaces-showcase {
    width: 100%;
    margin: 4rem 0;
}

.marketplaces-banner {
    display: flex;
    height: 40vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.marketplaces-banner .panel {
    flex: 1;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(120%);
    transition: filter 0.4s ease;
}

.marketplaces-banner .panel:hover {
    filter: grayscale(0%) contrast(100%);
}

.marketplaces-banner h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #8b0000;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 10;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; /* white stroke for legibility */
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.marketplaces-logos {
    padding: 4rem 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    background: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.mock-logo {
    font-size: 1.2rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.mock-logo:hover {
    color: var(--accent);
}

.mock-logo.serif { font-family: var(--font-heading); text-transform: none; font-size: 1.5rem; }
.mock-logo.cursive { font-family: 'Brush Script MT', 'Lucida Handwriting', cursive; text-transform: none; font-size: 2rem; font-weight: 400; }
.mock-logo.heavy { font-weight: 900; font-family: 'Arial Black', sans-serif; letter-spacing: -1px; }
.mock-logo.light { font-weight: 300; letter-spacing: 3px; }
.page-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.page-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.page-content ul {
    list-style-position: inside;
    margin-bottom: 2rem;
}
.page-content li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

@media (max-width: 992px) {
  .hero-title { font-size: 4rem; }
  .layout-split { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Typing Effect */
.cursor {
  display: inline-block;
  color: var(--accent);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.rotating-word {
  color: var(--accent);
}


/* Management Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}
.team-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.team-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #eee;
    border-radius: 4px; /* subtle rounded edges */
}
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* Ensures the top of the picture is not clipped */
    transition: transform 0.5s ease;
}
.team-card:hover .team-image img {
    transform: scale(1.05);
}
.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 0, 0, 0.6); /* Brand Red Overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.team-card:hover .team-overlay {
    opacity: 1;
}
.team-overlay span {
    color: #fff;
    font-weight: 500;
    border: 1px solid #fff;
    padding: 0.6rem 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}
.team-card h4 {
    margin: 0;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}
.team-title {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Modal styling */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85); /* Darker backdrop for elegant focus */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 650px;
    padding: 4rem;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 4px;
}
.modal-backdrop.active .modal-content {
    transform: translateY(0);
}
.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--black);
    line-height: 1;
    transition: color 0.3s;
}
.close-modal:hover {
    color: var(--accent);
}
.team-modal-title {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .mobile-menu-btn { display: block; }
  .nav-links { 
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 2rem 5%;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .nav-links li { margin-bottom: 1rem; }
  .nav-links a { font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-cta { flex-direction: column; }
  .marketplaces-banner h2 { font-size: 1.5rem; white-space: normal; width: 90%; text-shadow: 1px 1px 4px rgba(0,0,0,0.8); }
  .marketplaces-banner { min-height: 250px; }
  .marketplaces-logos { gap: 2rem; }
}
