/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Alma Host Custom Styles
   ========================================================================== */

/* CSS Variables */
:root {
  --brand-primary: #05c672;
  --brand-primary-lighter: #26d98b;
  --brand-primary-lighter-2: #038f53;
  --brand-primary-lighter-3: rgba(0, 129, 45, 0.06);
  --brand-primary-lighter-4: rgba(35, 37, 41, 0.18);
  --brand-primary-darker: #038f53;
  --brand-primary-gradient-start: #05c672;
  --brand-primary-gradient-end: #133140;
  --brand-primary-gradient-h: linear-gradient(90deg, var(--brand-primary-gradient-start) 0%, var(--brand-primary-gradient-end) 100%);
  --brand-primary-gradient-v: linear-gradient(0deg, var(--brand-primary-gradient-end) 0%, var(--brand-primary-gradient-start) 100%);
  --brand-secondary: #235a76;
  --brand-secondary-lighter: #667b9e;
  --brand-secondary-darker: #038f53;
  --brand-secondary-gradient-start: #235a76;
  --brand-secondary-gradient-end: #038f53;

  --bg-white: white;

  --accent-color: rgb(38, 217, 139);
  --background: rgba(0, 0, 0, 0);
  --text-white: white;
  --text-main: rgba(235, 241, 255, 0.92);
  --text-light: rgba(235, 241, 255, 0.7);
  --text-dim: rgba(235, 241, 255, 0.5);
  --bg-dark: #202020;
  /*--bg-dark: #0a0a0a;*/
  --bg-darker: #050505;
  --bg-light: rgba(35, 37, 41, 0.3);
  --border-color: rgba(235, 241, 255, 0.1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(5, 198, 114, 0.3);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

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

/* Header & Navigation */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: var(--bg-dark);
}

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

.logo h1 {
  margin: 0;
  color: var(--text-white);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: var(--shadow-glow);
}

.lang-toggle {
  background: var(--brand-primary);
  color: var(--text-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: var(--brand-primary-darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  background: var(--brand-primary-gradient-v);
  color: var(--text-white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="30" cy="90" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--bg-dark);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--brand-primary);
  border-radius: 2px;
}

/* Modern Services Layout */
.services-modern {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.service-row {
  position: relative;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.service-row:last-child {
  border-bottom: none;
}

.service-row::before {
  content: attr(data-number);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.1);
  z-index: 0;
}

.service-block {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-primary);
  opacity: 0.2;
  transition: all 0.3s ease;
}

.service-row:hover .service-number {
  opacity: 0.2;
  transform: scale(1.1);
}

.service-link-modern {
  background: var(--brand-primary);
  color: var(--text-white);
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.service-link-modern:hover {
  background: var(--brand-primary-darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.service-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Hero Modern Styles */
.hero-content {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  justify-content: center;
  margin-top: 3rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-weight: 500;
}

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

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-main);
  font-size: 1.125rem;
}

.feature-item p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Principles Section */
.principles {
  padding: 5rem 0;
  background: var(--bg-dark);
}

/* Expertise Section */
.expertise {
  padding: 5rem 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.expertise::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 80%, var(--brand-primary) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, var(--brand-secondary) 0%, transparent 50%);
  z-index: 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
  margin-top: 3rem;
}

.expertise-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.expertise-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-glow);
}

.expertise-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.expertise-item h3 {
  font-size: 1.5rem;
  color: var(--text-white);
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.expertise-item p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--brand-primary-gradient-h);
  color: var(--text-white);
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: var(--brand-primary-gradient-v);
}

.principles-content {
  margin-top: 3rem;
}

.principles-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-main);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

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

.value-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-darker);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-item h3 {
  font-size: 1.25rem;
  color: var(--brand-primary);
  margin: 0 0 1rem 0;
}

.value-item p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

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

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

/* Partners Horizontal Scroll */
.partners-horizontal {
  margin-top: 3rem;
}

.partners-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

.partners-scroll::-webkit-scrollbar {
  height: 8px;
}

.partners-scroll::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-radius: 4px;
}

.partners-scroll::-webkit-scrollbar-thumb {
  background: var(--bg-dark);
  border-radius: 4px;
}

.partner-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 120px;
  scroll-snap-align: start;
  transition: all 0.3s ease;
}

.partner-logo-item:hover {
  transform: translateY(-4px);
}

.partner-icon {
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  object-fit: scale-down;
  transition: all 0.3s ease;
}

.partner-logo-item span {
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
  text-align: center;
}

/* Parallax Effects */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  animation: float 20s infinite linear;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.principles {
  position: relative;
}

.principles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-light);
  pointer-events: none;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--bg-white);
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-item.featured {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-darker) 100%);
  color: white;
  border: none;
}

.service-item.featured .service-title,
.service-item.featured .service-description {
  color: white;
}

.service-item.featured .service-features li {
  color: rgba(255, 255, 255, 0.9);
}

.service-item.featured .service-cta {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.service-item.featured .service-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 40px;
  height: 40px;
}

.service-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, var(--brand-primary) 0%, transparent 70%);
  border-radius: 1rem;
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-right: 1.5rem;
  color: var(--text-light);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--brand-primary);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--brand-primary);
  align-self: flex-start;
}

.service-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-cta svg {
  transition: transform 0.3s ease;
}

.service-cta:hover svg {
  transform: translateX(4px);
}

/* Partners Section */
.partners {
  padding: 5rem 0;
  background: var(--bg-dark);
}

/* Advanced Partners Layout */
.partners-advanced {
  margin-top: 3rem;
}

.partner-showcase {
  margin-bottom: 4rem;
}

.partner-featured {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 3rem;
  background: var(--bg-white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  align-items: center;
}

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

.partner-logo-img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.partner-logo-img:hover {
  transform: scale(1.05);
}

.partner-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partner-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.partner-desc {
  color: var(--text-light);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

.partner-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  background: linear-gradient(135deg, var(--brand-primary), var(--secondary-color));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

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

.partner-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
}

.partner-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 1rem 0;
}

.partner-details {
  margin-top: 1rem;
}

.partner-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-darker));
  border-radius: 1.5rem;
  color: white;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Footer Styles */
.site-footer {
  background: var(--bg-darker);
  color: white;
  margin-top: 0;
}

.footer-content {
  padding: 3rem 0 2rem 0;
}

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

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

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: white;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--brand-primary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Contact Info in Footer */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(4px);
}

.contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-details span,
.contact-details a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-details a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

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

/* RTL Support */
[dir="rtl"] .service-link {
  flex-direction: row-reverse;
}

[dir="rtl"] .contact-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .service-features li {
  padding-right: 0;
  padding-left: 1.5rem;
}

[dir="rtl"] .service-features li::before {
  right: auto;
  left: 0;
}

[dir="rtl"] .service-cta {
  flex-direction: row-reverse;
}

[dir="rtl"] .service-cta:hover svg {
  transform: translateX(-4px);
}

[dir="rtl"] .contact-item {
  flex-direction: row;
}

[dir="rtl"] .contact-item:hover {
  transform: translateX(-4px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .service-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }

  .service-visual {
    margin-bottom: 1rem;
  }

  .partner-featured {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .partner-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }

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

  .nav-container {
    padding: 1rem 15px;
  }

  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 4rem 0;
  }

  .services,
  .partners {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

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

  .service-item {
    padding: 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon svg {
    width: 30px;
    height: 30px;
  }

  .partner-featured {
    padding: 1.5rem;
  }

  .partner-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-content {
    padding: 2rem 0 1rem 0;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

