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

:root {
  /* Premium Color Palette */
  --color-primary: #0A192F;
  /* Deep Navy */
  --color-secondary: #172A45;
  /* Lighter Navy */
  --color-accent: #0000c0;
  /* Elegant Champagne Gold */
  --color-accent-hover: #0000c0;

  --color-bg-main: #FAFBFC;
  /* Very soft off-white for main background */
  --color-bg-surface: #FFFFFF;
  /* Pure white for cards/surfaces */
  --color-bg-alt: #F3F5F7;
  /* Alternate section background */

  --color-text-main: #2D3748;
  /* Dark slate for high legibility */
  --color-text-muted: #718096;
  /* Muted slate for secondary text */
  --color-text-light: #FFFFFF;
  /* White text on dark backgrounds */

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Layout */
  --container-max-width: 1280px;
  --spacing-section: 8rem;
  --spacing-element: 2rem;

  /* UI Elements */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  --shadow-soft: 0 10px 40px -10px rgba(10, 25, 47, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(10, 25, 47, 0.15);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 600;
}

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

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

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

.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.section {
  padding: var(--spacing-section) 0;
}

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

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

.section-dark h2,
.section-dark h3 {
  color: var(--color-text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-family: var(--font-body);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(197, 168, 128, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-text-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px;
  transition: var(--transition-smooth);
  background-color: #f7f7f7; /* white background by default */
  color: #000000; /* default text color black */
}

.site-header .nav-link,
.site-header .lang-selector,
.site-header {
  color: #000000;
}

.logo-text {
  color: #fff;
}

.site-header.scrolled {
  background: #f7f7f7;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled .nav-link,
.site-header.scrolled .lang-selector,
.site-header.scrolled .logo-text {
  color: #000000;
}

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

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

/* Logo image styles */
.logo-img {
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
}

/* Logo updates for header on white background */

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

.nav-link {
  color: #000000;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: 1rem;
  flex-direction: column;
  justify-content: space-between;
  width: 2rem;
  height: 1.75rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #000000;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.lang-selector {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
}

.site-header.scrolled .btn-header {
  background-color: var(--color-primary);
  color: white;
}

/* ==========================================================================
   Hero Section (Split Grid)
   ========================================================================== */
.split-hero {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background-image: linear-gradient(180deg, rgba(10, 25, 47, 0.92), rgba(10, 25, 47, 0.75)),
    url('https://images.unsplash.com/photo-1776914579657-3396d13eb13e?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text-light);
}

.split-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.14) 0%, rgba(10, 25, 47, 0) 72%);
  z-index: 0;
}

.split-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05), transparent 25%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text-content {
  max-width: 600px;
}

.hero-text-content .hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text-content .hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-actions .btn-outline {
  border-color: rgba(220, 219, 219, 0.8);
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.hero-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: 28px;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  top: 12%;
  left: 8%;
  width: 40%;
  height: 40%;
  filter: blur(45px);
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.split-hero:hover .hero-img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 0;
  }

  .hero-text-content {
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-image-wrapper {
    aspect-ratio: 16/9;
  }
}

/* ==========================================================================
   Who We Are Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-hover);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 4px solid var(--color-accent);
  border-left: 4px solid var(--color-accent);
  z-index: -1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.value-card {
  background: var(--color-bg-surface);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-sm);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border-bottom: 3px solid transparent;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--color-accent);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.value-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.service-card {
  background: var(--color-bg-surface);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.service-content {
  padding: 3rem 2.5rem;
}

.service-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-content p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.service-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.service-card:hover .service-link::after {
  transform: translateX(5px);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  background: var(--color-bg-surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-info {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 4rem 3rem;
}

.contact-info h3 {
  color: var(--color-text-light);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  margin-top: 0.1rem;
}

.contact-detail p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form-container {
  padding: 4rem 3rem 4rem 1rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-control {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #E2E8F0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}

.form-control::placeholder {
  color: #A0AEC0;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   Clients Carousel
   ========================================================================== */
.clients-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.client-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #A0AEC0;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
  cursor: default;
}

.client-logo:hover {
  color: var(--color-primary);
  filter: grayscale(0%);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--color-accent);
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Insights & FAQ
   ========================================================================== */
.insights-faq-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.accordion-item {
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 1rem;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content p {
  padding-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.news-card {
  background: var(--color-bg-surface);
  padding: 2rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(5px);
}

.news-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.news-card p {
  color: var(--color-accent);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ==========================================================================
   Careers & Downloads
   ========================================================================== */
.resources-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.resource-card {
  background: var(--color-bg-surface);
  padding: 3rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.resource-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.resource-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.resource-card p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #050d18;
  /* Darker navy */
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 0 2rem;
}

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

.footer-brand p {
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-title {
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {

  .about-grid,
  .contact-wrapper,
  .footer-grid,
  .insights-faq-wrapper,
  .resources-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
  }

  .contact-form-container {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f7f7f7;
    padding: 2rem 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    z-index: 999;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.25rem;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    color: #000000;
  }

  .header-actions {
    gap: 1rem;
  }

  .lang-selector {
    display: none;
  }

  .hero-grid {
    padding: 3rem 0;
  }

  .hero-text-content .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-image-wrapper {
    aspect-ratio: 16/9;
    max-height: 420px;
  }

  .hero-text-content {
    margin-top: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 5rem 0;
  }

  .resource-card {
    padding: 2rem;
  }
}
