/* ========= DESIGN SYSTEM & VARIABLES ========= */
:root {
  /* Colors - Premium Blue & Gold Palette */
  --primary: #1a365d;
  --primary-light: #2d4a7a;
  --primary-dark: #0f172a;
  --accent: #ecc94b;
  --accent-dark: #d4a834;
  --accent-glow: rgba(236, 201, 75, 0.3);
  
  /* Neutral Palette */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --glass-blur: blur(12px);

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

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

/* ========= UTILITIES ========= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding { padding: 80px 0; }
}

/* ========= ANIMATIONS ========= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.anim-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-slow);
}

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

/* ========= NAVBAR ========= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.85); /* Dark background when scrolled */
  backdrop-filter: var(--glass-blur);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-symbol {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}

.logo-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 2px;
}

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

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

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

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

/* ========= HERO ========= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.5;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--primary-dark) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(236, 201, 75, 0.1);
  border: 1px solid rgba(236, 201, 75, 0.2);
  border-radius: 9999px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(236, 201, 75, 0.3);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--white);
}

/* ========= CLIENTS MARQUEE ========= */
.clients-section {
  padding: 60px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}

.marquee-content {
  display: flex;
  gap: 80px;
  padding: 20px 0;
  animation: marquee 30s linear infinite;
}

.client-logo {
  height: 40px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: var(--transition-fast);
}

.client-logo:hover {
  filter: grayscale(0) opacity(1);
}

/* ========= SECTIONS COMMON ========= */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
}

/* ========= SERVICES ========= */
.services-section {
  background: var(--white);
}

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

.service-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.service-img {
  height: 240px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 2.5rem;
  flex-grow: 1;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--gray-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: var(--transition-base);
}

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

.service-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.service-desc {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========= ABOUT / STATS ========= */
.about-section {
  background: var(--gray-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

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

.stat-card {
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Purpose & Values */
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.purpose-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-base);
}

.purpose-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.purpose-card h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.values-section {
  margin-top: 6rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-weight: 500;
  color: var(--gray-300);
  transition: var(--transition-fast);
}

.value-tag:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  transform: scale(1.05);
}

.value-tag svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.value-tag:hover svg {
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .purpose-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

/* ========= TESTIMONIALS ========= */
.testimonials-section {
  background: var(--gray-50);
}

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

.testimonial-card {
  padding: 2.5rem;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 3rem;
  color: var(--gray-100);
  font-family: serif;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-weight: 700;
  color: var(--primary-dark);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ========= CONTACT ========= */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gray-50);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-form-card {
  padding: 3.5rem;
  border-radius: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

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

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* ========= FOOTER ========= */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 100px 0 40px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-brand {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
}

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

.footer-desc {
  color: var(--gray-300);
  max-width: 400px;
  line-height: 1.8;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  color: var(--gray-300);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ========= MOBILE RESPONSIVE ========= */
@media (max-width: 1024px) {
  .hero-title { font-size: 4rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: var(--glass-blur);
  }

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

/* ========= LANGUAGE TOGGLE ========= */
.lang-toggle {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  border-radius: 50px;
  opacity: 0.6;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--primary-dark);
  opacity: 1;
}

.lang-btn:hover:not(.active) {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-toggle {
  display: none;
}

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