/* ========================================
   XenzSolutions - Premium Corporate Website
   Matching Reference Screenshots Exactly
   Color Palette: Teal + Dark Navy
   Typography: Gloock (Headings) + DM Sans (Body)
======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Gloock&display=swap');

/* CSS Variables */
:root {
  --primary-teal: #0d9488;
  --primary-teal-light: #14b8a6;
  --primary-teal-dark: #0f766e;
  --dark-navy: #1a2e35;
  --dark-navy-light: #243c45;
  --dark-navy-darker: #0f1c22;
  --bg-light: #f5f7f7;
  --bg-white: #ffffff;
  --bg-gray: #e8ecec;
  --text-dark: #1a2e35;
  --text-gray: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background-color: var(--bg-white);
  color: var(--text-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3 {
  font-family: 'Gloock', serif;
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.2;
}

h4, h5 {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
}

h4 {
  font-size: 1rem;
}

p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Label */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-teal);
  margin-bottom: 12px;
  display: inline-block;
}

/* ========================================
   HEADER
======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 44px;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-teal);
}

/* Dropdown Arrow */
.nav-link .arrow {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.3s ease;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-gray);
  transition: var(--transition);
}

.dropdown-item:hover {
  color: var(--primary-teal);
  background: var(--bg-light);
}

/* CTA Button */
.btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--dark-navy);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--dark-navy-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

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

.btn-teal:hover {
  background: var(--primary-teal-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  background: var(--dark-navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 600px;
}

.hero-content {
  padding: 80px 0;
  padding-right: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-teal);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--primary-teal);
  border-radius: 50%;
}

.hero h1 {
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--primary-teal);
}

.hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-text strong {
  color: var(--text-white);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
  font-family: 'Gloock', serif;
  font-size: 2rem;
  color: var(--primary-teal);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

.hero-image {
  position: relative;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: var(--bg-white);
  padding: 14px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.hero-floating-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.hero-floating-card h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.hero-floating-card p {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ========================================
   COUNTRIES SECTION
======================================== */
.countries {
  padding: 80px 0;
  background: var(--bg-light);
}

.countries .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.country-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.country-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.country-flag {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.country-flag img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.country-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.country-card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services {
  padding: 80px 0;
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.services-content {
  max-width: 480px;
}

.services-content h2 {
  margin-bottom: 16px;
}

.services-content > p {
  margin-bottom: 28px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 10px;
  transition: var(--transition);
}

.service-item:hover {
  background: var(--bg-gray);
}

.service-item-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}

.service-item h4 {
  margin-bottom: 4px;
}

.service-item p {
  font-size: 0.85rem;
}

.services-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 450px;
}

.services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   WHY XENZ SECTION
======================================== */
.why-xenz {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-gray) 0%, var(--bg-light) 100%);
}

.why-xenz .section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.why-xenz .section-header h2 {
  color: var(--text-dark);
}

.why-xenz .section-header p {
  color: var(--text-gray);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background: var(--dark-navy);
  border-radius: 12px;
  padding: 28px 24px;
  transition: var(--transition);
}

.trust-card:hover {
  transform: translateY(-4px);
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: rgba(13, 148, 136, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-teal);
  stroke-width: 1.5;
  fill: none;
}

.trust-card h4 {
  color: var(--text-white);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.trust-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

/* ========================================
   PROCESS SECTION
======================================== */
.process {
  padding: 80px 0;
  background: var(--bg-white);
}

.process .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 70px;
  right: 70px;
  height: 1px;
  background: var(--border-light);
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: 50%;
  font-family: 'Gloock', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary-teal);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-number {
  border-color: var(--primary-teal);
  background: var(--primary-teal);
  color: var(--text-white);
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.process-step p {
  font-size: 0.85rem;
  max-width: 200px;
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
  padding: 80px 0;
  background: var(--bg-light);
}

.about .section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.partner-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-teal);
  transition: var(--transition);
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
}

.partner-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.partner-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary-teal);
  stroke-width: 1.5;
  fill: none;
}

.partner-info h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.partner-info span {
  font-size: 0.8rem;
  color: var(--primary-teal);
  font-weight: 500;
}

.partner-card > p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-tag {
  display: inline-block;
  padding: 5px 10px;
  background: var(--bg-light);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-gray);
  border: 1px solid var(--border-light);
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials {
  padding: 80px 0;
  background: var(--bg-white);
}

.testimonials .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-teal);
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.testimonial-author h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.testimonial-country img {
  border-radius: 2px;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-info {
  max-width: 380px;
}

.contact-info .section-label {
  margin-bottom: 12px;
}

.contact-info h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.contact-info > p {
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}

.contact-item h4 {
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.contact-item p, .contact-item a {
  font-size: 0.85rem;
  color: var(--text-gray);
}

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

.response-promise {
  background: var(--dark-navy);
  border-radius: 10px;
  padding: 20px;
}

.response-promise h4 {
  color: var(--text-white);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.response-promise p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.response-promise .highlight {
  color: var(--primary-teal);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group label span {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-teal);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

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

.form-submit {
  margin-top: 6px;
}

.form-submit .btn {
  width: 100%;
  padding: 14px 28px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  padding: 50px 0 28px;
  background: var(--dark-navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  max-width: 260px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-teal);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.footer-column h4 {
  color: var(--text-white);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

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

.footer-newsletter p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-white);
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.newsletter-form input:focus {
  border-color: var(--primary-teal);
}

.newsletter-form button {
  background: var(--primary-teal);
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-teal-dark);
}

.newsletter-form button svg {
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

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

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 400px;
    order: -1;
  }

  .hero-content {
    padding-right: 0;
    padding: 50px 0;
  }

  .hero-floating-card {
    display: none;
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .services-image {
    height: 350px;
    order: -1;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .process-timeline::before {
    display: none;
  }

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

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 40px;
    gap: 18px;
    transition: right 0.3s ease;
    z-index: 998;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 999;
  }

  .header-cta {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: 8px 0 0 14px;
    box-shadow: none;
    display: none;
  }

  .nav-item:hover .dropdown {
    display: block;
  }

  .hero {
    padding: 0;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-image {
    height: 300px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .countries-grid,
  .trust-grid,
  .process-timeline,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .why-xenz,
  .process,
  .about,
  .testimonials,
  .contact,
  .countries {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

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

  .footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 46, 53, 0.75);
  z-index: 997;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}
