/* ============================================
   BÉLANCE IMMIGRATION SOLUTIONS
   Complete Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  --primary-red: #C41E3A;
  --primary-red-dark: #A01830;
  --primary-red-light: #E84A66;
  --dark: #0F172A;
  --dark-secondary: #1E293B;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --success: #10B981;
  --warning: #F59E0B;
  --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray-500);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-red);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-red);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  clip-path: circle(36% at 50% 50%);
  -webkit-clip-path: circle(36% at 50% 50%);
  background: #fff;
}

.logo-text span {
  display: block;
  line-height: 1.2;
}

.logo-text .brand-name {
  font-size: 1.1rem;
  color: var(--primary-red);
  letter-spacing: 0.02em;
}

.logo-text .brand-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--gray-600);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 500;
  color: var(--gray-700);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary-red);
}

.nav-mobile .btn {
  margin-top: 1rem;
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 50%, #1a365d 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 30, 58, 0.15);
  color: var(--primary-red-light);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(196, 30, 58, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--primary-red-light);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-stat-avatars {
  display: flex;
}

.hero-stat-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--dark);
  margin-left: -10px;
  object-fit: cover;
}

.hero-stat-avatars img:first-child {
  margin-left: 0;
}

.hero-stat-text {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.hero-stat-text strong {
  color: var(--white);
  display: block;
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  z-index: 3;
}

.hero-float-card.top-right {
  top: -20px;
  right: -20px;
  min-width: 160px;
}

.hero-float-card.bottom-left {
  bottom: 30px;
  left: -30px;
  min-width: 180px;
}

.float-card-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
}

.float-card-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.float-card-sub {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
}

/* Stats Bar */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 0 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--primary-red);
  font-size: 1.25rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

/* Services */
.services-section {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gray-100);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-red);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-red);
  color: var(--white);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-link:hover {
  gap: 0.75rem;
}

/* Why Choose Us */
.why-section {
  background: var(--dark);
  color: var(--white);
}

.why-section .section-title {
  color: var(--white);
}

.why-section .section-desc {
  color: var(--gray-400);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.why-item {
  display: flex;
  gap: 1rem;
}

.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(196, 30, 58, 0.15);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red-light);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.why-item-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.why-item-desc {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.why-form-wrapper {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  color: var(--gray-700);
}

.why-form-wrapper .section-title {
  color: var(--dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* Countries */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.country-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  background: var(--white);
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-red);
}

.country-flag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow);
}

.country-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.countries-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Accreditations */
.accreditations-section {
  background: var(--off-white);
}

.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: center;
}

.accreditation-item {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.accreditation-item:hover {
  box-shadow: var(--shadow);
}

.accreditation-logo {
  height: 50px;
  width: auto;
  margin: 0 auto 0.75rem;
  opacity: 0.7;
  transition: var(--transition);
}

.accreditation-item:hover .accreditation-logo {
  opacity: 1;
}

.accreditation-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
}

.accreditation-role {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* Success Stories */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.story-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  min-width: 0;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.story-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.story-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.story-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Testimonials Placeholder */
.testimonials-placeholder {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  border: 2px dashed var(--gray-300);
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
}

.testimonials-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.testimonials-placeholder h3 {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.testimonials-placeholder p {
  color: var(--gray-400);
}

/* About Page */
.about-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
  padding: 10rem 0 5rem;
  color: var(--white);
  text-align: center;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--gray-500);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary-red);
}

.value-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.team-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--gray-200);
  transition: var(--transition);
}

.team-card:hover .team-image {
  border-color: var(--primary-red);
  transform: scale(1.05);
}

.team-members .section-padding {
  padding-top: 3rem;
}

.team-members .team-grid {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.team-role {
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.team-desc {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.contact-item-detail {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--gray-400);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--dark-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-red);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-red-light);
  padding-left: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--dark-secondary);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-red-dark);
  transform: translateY(-3px);
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page Header (for inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
  padding: 10rem 0 4rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.breadcrumbs a:hover {
  color: var(--primary-red-light);
}

/* Services Detail Page */
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even) > * {
  direction: ltr;
}

.service-detail-image {
  height: 100%;
  min-height: 350px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.service-detail-content {
  padding: 2.5rem;
}

.service-detail-content h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-features {
  margin-top: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Countries Page */
.country-detail-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.country-detail-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.country-detail-header {
  padding: 2rem;
  background: var(--off-white);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.country-detail-flag {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.country-detail-header h3 {
  font-size: 1.25rem;
  color: var(--dark);
}

.country-detail-header span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.country-detail-body {
  padding: 1.5rem 2rem;
}

.country-detail-body p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.country-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.375rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Success Story Detail */
.story-highlight {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: var(--white);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  margin-bottom: 3rem;
}

.story-highlight h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.story-highlight p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Form Success Message */
.form-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.form-success.show {
  display: flex;
}

.form-error {
  background: rgba(196, 30, 58, 0.1);
  color: var(--primary-red);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  display: none;
}

.form-error.show {
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    margin: 2rem auto 0;
    width: 100%;
  }

  .hero-image-wrapper {
    max-width: 500px;
    width: 100%;
  }

  .hero-float-card {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .countries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .accreditations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-detail-card:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .header-cta .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .services-grid,
  .stories-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .featured-story {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid var(--primary-red);
    overflow: hidden;
  }

  .featured-story .featured-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
  }

  .featured-story .featured-copy {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .story-card {
    overflow: hidden;
    min-width: 0;
  }

  .story-image {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
  }

  .story-content {
    padding: 1.25rem;
  }

  .stories-grid {
    overflow: hidden;
  }

  .featured-story {
    width: 100%;
    max-width: 100%;
  }

  .featured-story .featured-image {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accreditations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .featured-story,
  .story-card[style*="grid-template-columns"],
  .story-card[style*="display: grid"] {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .featured-story .featured-image,
  .story-card[style*="display: grid"] .featured-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 260px !important;
    object-fit: cover !important;
  }

  .featured-story .featured-copy {
    padding: 2rem !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .stories-grid {
    gap: 1rem;
  }

  .story-image {
    max-height: 320px;
  }

  .story-content {
    padding: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }
}