:root {
  --primary: #0F172A;
  --secondary: #1E293B;
  --accent: #B45309;
  --accent-hover: #92400E;
  --accent-glow: rgba(180, 83, 9, 0.35);
  --text-main: #334155;
  --text-light: #64748B;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: color 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  margin-top: 4.5rem;
  padding: 10rem 2rem;
  background-color: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--white);
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.2rem;
  color: #CBD5E1;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--accent);
  color: var(--white);
  font-weight: 600;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* ========================================
   COMMON SECTION STYLES
   ======================================== */

section {
  padding: 7rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--accent);
  margin: 1.25rem auto 0;
}

.section-subtitle {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ========================================
   PHILOSOPHY SECTION
   ======================================== */

.philosophy {
  background-color: var(--bg-card);
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.philosophy-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
  background-color: var(--bg-main);
}

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

.service-card {
  background-color: var(--bg-card);
  padding: 3.5rem 3rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-top: 4px solid var(--primary);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.service-card h3 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
}

.service-desc {
  color: var(--text-main);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.service-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 1px;
}

.service-list li strong {
  color: var(--text-main);
}

/* ========================================
   METHODOLOGY SECTION
   ======================================== */

.methodology {
  background-color: var(--primary);
  color: var(--white);
}

.methodology .section-title {
  color: var(--white);
}

.methodology-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  color: #94A3B8;
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.timeline-step {
  background: rgba(255, 255, 255, 0.04);
  padding: 3rem 2.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}

.step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 700;
  display: inline-block;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.25rem;
  line-height: 1;
}

.timeline-step h4 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.timeline-step p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   ABOUT / LEADERSHIP SECTION
   ======================================== */

.about {
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

.founder-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
}

.founder-highlight {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.6;
}

.founder-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background-color: #0B1120;
  color: var(--white);
  padding: 5rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-col p {
  color: #94A3B8;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-col a {
  color: var(--accent);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #D97706;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #475569;
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom a {
  color: #64748B;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-separator {
  margin: 0 0.5rem;
  color: #334155;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

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

  .timeline {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .hero {
    padding: 7rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  section {
    padding: 5rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .service-card {
    padding: 2.5rem 2rem;
  }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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