/* Minimalist Luxury Design - The Polites Method */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #151413;
  --bg-secondary: #1d1b1a;
  --glass-bg: rgba(29, 27, 26, 0.65);
  --glass-border: rgba(197, 160, 89, 0.1);
  --primary-color: #c5a059;       /* Soft Sand / Champagne Gold */
  --accent-color: #d4b475;        /* Brighter Champagne */
  --text-primary: #eae8e6;
  --text-secondary: #a6a29f;
  --text-muted: #736f6d;
  --font-headings: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  --header-height: 80px;
  --transition-smooth: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --glow-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --sand-glow-shadow: 0 0 30px rgba(197, 160, 89, 0.15);
}

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

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

/* Scroll-Reveal Transitions */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: 2px;
}

h3 {
  font-size: 1.75rem;
}

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

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 8rem 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid var(--primary-color);
}

.btn-sand {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-sand:hover {
  background-color: var(--primary-color);
  color: var(--bg-primary);
  box-shadow: var(--sand-glow-shadow);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 0.95rem;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(21, 20, 19, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.05);
  height: 70px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

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

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

/* Mobile Menu Toggle */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 3rem;
    gap: 2.5rem;
    transition: var(--transition-smooth);
  }
  .nav-links.active {
    right: 0;
  }
}

/* Hero Section */
.hero {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-height) + 6rem) 2rem 6rem;
  background: radial-gradient(circle at center, rgba(30, 26, 22, 0.4) 0%, rgba(21, 20, 19, 1) 75%);
}

.hero-logo-container {
  margin-bottom: 3rem;
  max-width: 380px;
  width: 100%;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  opacity: 0.95;
  transition: var(--transition-smooth);
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 3px;
}

.hero-tagline {
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 3.5rem;
}

/* Cards System */
.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 3rem;
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--sand-glow-shadow);
}

/* Pathways Grid */
.pathway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 4rem;
}

.pathway-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pathway-card h3 {
  margin-bottom: 1rem;
}

.pathway-card p {
  margin-bottom: 2.5rem;
  font-size: 1rem;
  font-weight: 300;
}

.pathway-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 768px) {
  .pathway-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--sand-glow-shadow);
  transition: var(--transition-smooth);
}

.about-image img:hover {
  transform: scale(1.02);
  border-color: var(--primary-color);
}

.about-bio h3 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.about-bio p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-left: 1px solid rgba(197, 160, 89, 0.15);
  padding-left: 2.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2.5rem - 6px);
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 2px solid var(--bg-primary);
}

.timeline-year {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* Client Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: 2.8fr 1fr;
  gap: 2.5rem;
}

.showcase-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.showcase-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.showcase-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--sand-glow-shadow);
}

@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Testimonial slider */
.testimonial-slider-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.testimonial-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 250px;
  position: relative;
}

.testimonial-item {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  width: 100%;
}

.testimonial-item.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-quote {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.testimonial-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.testimonial-author {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  color: var(--primary-color);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.slider-arrow {
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Footer */
footer {
  padding: 6rem 0 3rem;
  background-color: #0f0e0d;
  border-top: 1px solid rgba(197, 160, 89, 0.05);
}

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

.footer-about h3 {
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.footer-about p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

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

.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.footer-contact a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(197, 160, 89, 0.05);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .testimonial-quote {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .testimonial-body {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }
}
