/* Global Styles */
:root {
  --navy: #0F172A;
  --blue: #2563EB;
  --gold: #D97706;
  --light-gray: #F1F5F9;
  --soft-white: #FFFFFF;
  --dark-gray: #334155;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Skip to Content Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--blue);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* Premium Loading Animation */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(26, 115, 232, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
  }
}

.service-card,
.stat-card,
.portfolio-card {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-card:nth-child(6) { animation-delay: 0.6s; }

/* Premium hover effects */
.premium-hover {
  position: relative;
  overflow: hidden;
}

.premium-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.premium-hover:hover::before {
  left: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  letter-spacing: -0.01em;
  background-color: var(--soft-white);
  color: var(--dark-gray);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 0;
  box-shadow: none;
}

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

.nav-center {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.nav-center ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-center ul li {
  margin: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 60px;
  width: auto;
}

.logo span {
  color: var(--blue);
  position: relative;
}

.logo span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--blue);
}

/* Mobile Controls Container */
.mobile-controls {
  display: none;
  align-items: center;
  gap: 10px; /* Add spacing between menu icon and language toggle */
  flex-direction: row-reverse; /* Reverse order: language toggle first, then menu icon */
  justify-content: flex-end; /* Align to the right side */
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  padding: 12px;
  margin-right: -12px;
  margin-left: -12px;
  min-width: 50px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px; /* Add rounded corners */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.mobile-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05); /* Subtle hover effect */
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
  transition: all 0.3s ease;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 120px 0;
  }
  
  .hero-text h1 {
    font-size: 42px;
  }
  
  .hero-text p {
    font-size: 18px;
  }
  
  .section-title h2 {
    font-size: 32px;
  }
  
  .section-title p {
    font-size: 18px;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  
  .service-card {
    padding: 28px;
  }
  
  .two-column {
    gap: 48px;
  }
  
  .content-grid {
    gap: 32px;
  }
  
  .content-text h2 {
    font-size: 28px;
  }
  
  .content-text .subtitle {
    font-size: 18px;
  }
  
  .content-text p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .mobile-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-center {
    position: relative;
  }
  
  /* Show mobile controls container */
  .mobile-controls {
    display: flex;
  }
  
  /* Show mobile language toggle on mobile screens */
  .mobile-language-toggle {
    display: block;
  }
  
  /* Hide desktop language toggle on mobile */
  .desktop-language-toggle {
    display: none;
  }
  
  .nav-center ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    background-color: var(--soft-white);
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 100;
    margin-top: 15px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .nav-center ul.show {
    display: flex;
  }
  
  .nav-center ul li {
    margin: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5px 0;
  }
  
  .nav-center ul li:last-child {
    border-bottom: none;
  }
  
  /* Smaller logo on mobile */
  .logo-image {
    height: 50px;
  }
  
  .nav-center ul li a {
    display: block;
    padding: 20px 0;
    font-size: 20px;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
  }
  
  .nav-center ul li a:hover,
  .nav-center ul li a.active {
    color: var(--blue);
  }
  
  .hero {
    padding: 100px 0;
  }
  
  .hero-text h1 {
    font-size: 32px;
  }
  
  .hero-text p {
    font-size: 18px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .section-title p {
    font-size: 18px;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  
  .service-card {
    padding: 28px;
  }
  
  .two-column {
    gap: 48px;
  }
  
  .content-grid {
    gap: 32px;
  }
  
  .content-text h2 {
    font-size: 28px;
  }
  
  .content-text .subtitle {
    font-size: 18px;
  }
  
  .content-text p {
    font-size: 16px;
  }
  
  .hero-text h1 {
    font-size: 36px;
  }
  
  .hero-text p {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }
  
  .btn {
    width: 100%;
  }
  
  .btn-secondary {
    margin-left: 0;
  }
  
  .hero-text {
    padding: 20px;
    margin: 0 20px;
    border-radius: 12px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .section-title p {
    font-size: 16px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 60px 0;
  }
  
  /* Language Toggle Adjustment for Mobile */
  .language-toggle {
    margin-left: 10px;
    padding: 6px;
  }
  
  /* Show mobile language toggle on mobile screens */
  .mobile-language-toggle {
    display: block;
  }
  
  /* Hide desktop language toggle on mobile */
  .desktop-language-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0;
  }
  
  .hero-text h1 {
    font-size: 32px;
  }
  
  .hero-text {
    padding: 15px;
    margin: 0 15px;
    border-radius: 10px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .service-card {
    padding: 24px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  /* Further adjust language toggle for small screens */
  .language-toggle {
    margin-left: 8px;
    padding: 5px;
  }
  
  .language-toggle button {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Language Toggle */
.language-toggle {
  display: flex;
  background-color: var(--soft-white);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--light-gray);
  margin-left: 20px; /* Add some space between nav and language toggle */
  position: relative;
}

.language-toggle button {
  padding: 6px 12px;
  border-radius: 999px;
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.language-toggle button.active {
  background-color: var(--blue);
  color: var(--soft-white);
}

/* Dropdown Language Toggle */
.dropdown-language-toggle {
  position: relative;
  display: inline-block;
}

.dropdown-language-toggle .current-language {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  border: 1px solid var(--blue);
  color: var(--soft-white);
  gap: 6px;
}

.dropdown-language-toggle .current-language:hover {
  background-color: #1d4ed8;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.dropdown-language-toggle .current-language:active {
  transform: translateY(0);
}

.dropdown-language-toggle .arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.dropdown-language-toggle.show .arrow {
  transform: rotate(180deg);
}

.dropdown-language-toggle .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: var(--soft-white);
  min-width: 160px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  z-index: 1000;
  margin-top: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-language-toggle.show .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-language-toggle .dropdown-content::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--soft-white);
  z-index: 1001;
}

.dropdown-language-toggle .dropdown-content button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  text-align: left;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark-gray);
  position: relative;
  transition: all 0.2s ease;
}

.dropdown-language-toggle .dropdown-content button:hover {
  background-color: #f1f5f9;
}

.dropdown-language-toggle .dropdown-content button.active {
  background-color: var(--blue);
  color: var(--soft-white);
  font-weight: 600;
}

.dropdown-language-toggle .dropdown-content button.active::after {
  content: '✓';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}



/* Hide mobile language toggle on desktop */
.mobile-language-toggle {
  display: none;
}

/* Hero Section */
.hero, .hero-section {
  padding: 80px 0;
  position: relative;
  color: var(--soft-white);
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  position: relative;
  z-index: 1;
  filter: none;
}

/* Fallback background pattern */
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

.hero::before, .hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

/* Color variations for different page types */
.hero-about::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-services::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-case-studies::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-contact::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: left;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2);
  display: inline-block;
  margin: 0 auto;
  max-width: 600px;
}

.hero-text p {
  margin-left: 0;
  margin-right: auto;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-top: 0;
  animation: fadeIn 1s ease-out 0.3s forwards;
  opacity: 1;
}

.hero-text h1 span {
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 600px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease-out 0.3s forwards;
  opacity: 1;
  margin-left: 0;
  margin-right: auto;
}

/* Divider */
.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  margin: 20px auto;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: 140px;
  margin: 6px 3px;
}

/* Expand CTA buttons on desktop */
@media (min-width: 1025px) {
  .btn {
    width: auto;
    min-width: 160px;
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .hero-buttons .btn {
    flex: 1;
    min-width: 140px;
  }
  
  .cta-section .btn {
    width: auto;
    min-width: 180px;
    padding: 12px 24px;
    font-size: 14px;
    margin: 8px 4px;
  }
}

/* CTA Section Button Styles */
.cta-section .btn-primary {
  background: #1d4ed8;
  color: var(--soft-white);
  border: 1px solid #1d4ed8;
  box-shadow: none;
  text-decoration: none;
}

.cta-section .btn-secondary {
  background: #ffffff;
  color: #1d4ed8;
  border: 1px solid #1d4ed8;
  box-shadow: none;
  text-decoration: none;
}

.cta-section .btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: none;
  text-decoration: none;
}

.cta-section .btn-secondary:hover {
  background: #f0f5ff;
  transform: translateY(-1px);
  box-shadow: none;
  text-decoration: none;
}

.cta-section .btn-primary:active,
.cta-section .btn-secondary:active {
  transform: translateY(0);
  box-shadow: none;
  text-decoration: none;
}

/* Button focus states for accessibility */
.btn:focus {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

/* Button animation on page load */
.btn {
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

.btn:nth-child(1) {
  animation-delay: 0.1s;
}

.btn:nth-child(2) {
  animation-delay: 0.2s;
}

.btn:nth-child(3) {
  animation-delay: 0.3s;
}

.btn-primary {
  background: #1d4ed8;
  color: var(--soft-white);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid #1d4ed8;
  text-transform: none;
  letter-spacing: 0.02em;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: none;
  background: #2563eb;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-secondary {
  background: #ffffff;
  color: #1d4ed8;
  border: 1px solid #1d4ed8;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
}

.btn-secondary:hover {
  background: #f0f5ff;
  color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  animation: fadeIn 1s ease-out 0.6s forwards;
  opacity: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  text-decoration: none;
}

@media (min-width: 1025px) {
  .hero-buttons {
    justify-content: flex-start;
  }
  
  .hero-buttons .btn {
    flex: 1;
    min-width: 180px;
  }
}

/* Section Styles */
section {
  padding: 80px 0;
}

/* Reduced padding for special offer section */
section.bg-light {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--navy);
}

.section-title p {
  font-size: 20px;
  color: var(--dark-gray);
  max-width: 700px;
  margin: 0 auto 24px;
}

.bg-light {
  background-color: transparent;
}

/* Section background colors - using only 2 professional colors */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); /* Light blue gradient */
}

.services-section {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); /* Light gray gradient */
}

/* Why Choose Us section (3rd section) */
section:nth-of-type(3) {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); /* Light blue gradient */
}

/* Special Offer Section (4th section) */
section:nth-of-type(4) {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); /* Warm orange gradient */
}

.promo-section {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); /* Warm orange gradient */
}

/* Final CTA section (5th section) */
section:nth-of-type(5) {
  background: transparent;
  padding: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--soft-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
}

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

.service-card .service-image {
  margin-bottom: 24px;
  flex-shrink: 0;
}

.service-card .service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card .service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--soft-white);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--navy);
  flex-shrink: 0;
}

.service-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-card ul.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-card ul.service-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.service-card ul.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: bold;
  font-size: 18px;
}

.service-card .btn {
  margin-top: auto;
  flex-shrink: 0;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 64px;
  align-items: start;
}

@media (min-width: 1200px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
  
  .two-column ul li {
    font-size: 20px;
  }
  
  .promo-content p {
    font-size: 20px;
  }
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}

.two-column ul {
  list-style: none;
  padding: 0;
}

.two-column ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.7;
}

.two-column ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: bold;
  font-size: 20px;
}

.expansion-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.expansion-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
}

/* Portrait image styling for Why Choose Us section */
.expansion-image.portrait img {
  max-height: 500px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .expansion-image.portrait img {
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .expansion-image.portrait img {
    max-height: 250px;
  }
}

.content-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--navy);
}

.content-text .subtitle {
  font-size: 20px;
  color: var(--dark-gray);
  margin-bottom: 30px;
  font-weight: 500;
}

.content-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--dark-gray);
}

.content-text ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.content-text ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--dark-gray);
}

.content-text ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: bold;
  font-size: 24px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--soft-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 24px;
  color: var(--blue);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--navy);
}

.feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
}

/* Portfolio Image Styling */
.portfolio-img {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition);
  background: none;
  height: auto;
}

.portfolio-img img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.portfolio-card {
  background-color: var(--soft-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: none;
}

.portfolio-content {
  padding: 24px;
  text-align: center;
}

.portfolio-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.portfolio-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 16px;
}

.portfolio-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.portfolio-meta span {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.pricing-card {
  background-color: var(--soft-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: none;
}

.pricing-card.featured {
  border: 2px solid var(--blue);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}

.price {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-gray);
}

.pricing-header p {
  font-size: 16px;
  color: var(--dark-gray);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: var(--dark-gray);
}

.pricing-features li:before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  margin-right: 10px;
}

.pricing-features li.not-included {
  color: var(--medium-gray);
}

.pricing-features li.not-included:before {
  content: "✗";
  color: var(--red);
  font-weight: bold;
  margin-right: 10px;
}

.pricing-card .btn {
  width: 100%;
  margin-top: 20px;
}

.pricing-note {
  margin-top: 50px;
  padding: 20px;
  background-color: rgba(37, 99, 235, 0.05);
  border-radius: var(--radius-md);
}

.pricing-note p {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--navy);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
}

.contact-card {
  background-color: var(--soft-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: none;
}

.contact-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--soft-white);
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--navy);
}

.contact-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

/* Contact Page Styles */
.contact-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.contact-intro h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--navy);
}

.contact-intro p {
  font-size: 18px;
  color: var(--dark-gray);
  line-height: 1.7;
}

.contact-info h2,
.contact-form h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--navy);
}

.contact-method {
  margin-bottom: 32px;
  padding: 24px;
  background-color: var(--soft-white);
  border-radius: var(--radius-md);
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-method h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.contact-method p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: var(--transition);
  background-color: var(--soft-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.international-inquiry {
  text-align: center;
}

.international-inquiry h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}

.international-inquiry p {
  font-size: 18px;
  color: var(--dark-gray);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.inquiry-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.inquiry-option {
  background-color: var(--soft-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.inquiry-option:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.inquiry-image {
  margin-bottom: 20px;
}

.inquiry-image img {
  max-height: 150px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.inquiry-option h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}

.inquiry-option p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 0;
}

.cta-section {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.cta-section p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-section a {
  color: white;
  text-decoration: underline;
}

.cta-section a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-section h2 {
    font-size: 28px;
  }
  
  .cta-section p {
    font-size: 18px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--navy);
}

.cta-section-image {
  margin: 24px 0;
}

.cta-section-image img {
  max-height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: none;
}

.cta-section p {
  font-size: 18px;
  color: var(--dark-gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Promo Content */
.promo-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 10px;
}

.promo-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #1e293b; /* Darker slate color for better contrast */
  font-weight: 500;
}

/* Device Preview Modes */
body.tablet-preview {
  transform: scale(0.8);
  transform-origin: top center;
  max-width: 768px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
  background: white;
}

body.mobile-preview {
  transform: scale(0.6);
  transform-origin: top center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
  background: white;
}

/* Adjust language switcher for preview modes */
body.tablet-preview .language-toggle,
body.mobile-preview .language-toggle {
  position: fixed;
  top: 24px;
  right: 20px; /* Move it to the right */
  z-index: 1001;
}

@media (max-width: 768px) {
  body.tablet-preview .language-toggle,
  body.mobile-preview .language-toggle {
    top: 14px;
    right: 20px; /* Adjust for smaller screen */
  }
  
  /* Reduced padding for special offer section on mobile */
  section.bg-light {
    padding: 30px 0;
  }
  
  .promo-content {
    padding: 5px;
  }
  
  .promo-content p {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  /* Maintain background colors on mobile */
  .hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  }
  
  .services-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  }
  
  section:nth-of-type(3) {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  }
  
  /* Special Offer Section (4th section) */
  section:nth-of-type(4) {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  }
  
  .promo-section {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  }
  
  section:nth-of-type(5) {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  }
  
  /* Responsive adjustments for content lists */
  .content-text ul li {
    font-size: 16px;
    padding-left: 25px;
  }
  
  .content-text ul li:before {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  body.tablet-preview .language-toggle,
  body.mobile-preview .language-toggle {
    top: 12px;
    right: 20px; /* Adjust for smaller screen */
    transform: scale(0.9); /* Make it slightly smaller */
  }
}

@media (min-width: 1200px) {
  .promo-content p {
    font-size: 20px;
  }
}

.footer-logo-image {
  height: 40px;
  width: auto;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--navy) 0%, #071426 100%);
  color: var(--soft-white);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #CBD5E0;
  margin-bottom: 16px;
}

.footer-links h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--soft-white);
}

.footer-contact h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--soft-white);
}

.footer-contact p {
  margin-bottom: 8px;
  color: #CBD5E0;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-size: 14px;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.footer-grid > div h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--soft-white);
}

.footer-grid .social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-grid .social-links a {
  color: #CBD5E0;
  transition: color 0.3s ease;
}

.footer-grid .social-links a:hover {
  color: var(--soft-white);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #CBD5E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--soft-white);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 120px 0;
  }
  
  .hero-text h1 {
    font-size: 42px;
  }
  
  .hero-text p {
    font-size: 18px;
  }
  
  .section-title h2 {
    font-size: 32px;
  }
  
  .section-title p {
    font-size: 18px;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  
  .service-card {
    padding: 28px;
  }
  
  .two-column {
    gap: 48px;
  }
  
  .content-grid {
    gap: 32px;
  }
  
  .content-text h2 {
    font-size: 28px;
  }
  
  .content-text .subtitle {
    font-size: 18px;
  }
  
  .content-text p {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
  
  .two-column ul li {
    font-size: 20px;
  }
  
  .promo-content p {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .mobile-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-center {
    position: relative;
  }
  
  .nav-center ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--soft-white);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    margin-top: 10px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .nav-center ul.show {
    display: flex;
  }
  
  .nav-center ul li {
    margin: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .nav-center ul li:last-child {
    border-bottom: none;
  }
  
  .nav-center ul li a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .nav-center ul li a:hover,
  .nav-center ul li a.active {
    color: var(--blue);
  }
  
  .hero {
    padding: 100px 0;
  }
  
  .hero-text h1 {
    font-size: 36px;
  }
  
  .hero-text p {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }
  
  .btn {
    width: 100%;
  }
  
  .btn-secondary {
    margin-left: 0;
  }
  
  .hero-text {
    padding: 20px;
    margin: 0 20px;
    border-radius: 12px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .section-title p {
    font-size: 16px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 60px 0;
  }
  
  /* Language Toggle Adjustment for Mobile */
  .language-toggle {
    margin-left: 10px;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0;
  }
  
  .hero-text h1 {
    font-size: 32px;
  }
  
  .hero-text {
    padding: 15px;
    margin: 0 15px;
    border-radius: 10px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .service-card {
    padding: 24px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  /* Further adjust language toggle for small screens */
  .language-toggle {
    margin-left: 8px;
    padding: 5px;
  }
  
  .language-toggle button {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Improved semantic structure */
.service-card,
.feature-card,
.portfolio-card,
.contact-card {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

/* Enhanced focus styles for interactive elements */
.btn:focus,
.nav-center ul li a:focus,
.language-toggle button:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Improved image accessibility */
img {
  max-width: 100%;
  height: auto;
}

img[alt=""] {
  border: 2px solid #ff0000;
}

/* Image size optimizations */
.service-image img,
.content-image img,
.blog-image img,
.category-image img,
.newsletter-image img,
.expansion-image img,
.inquiry-image img,
.contact-method-image img,
.capability-image img,
.founder-image img,
.portfolio-image img,
.cta-image img,
.service-card img,
.feature-card img,
.contact-card img {
  max-height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Case Studies Image Darkening */
/* Darken hero background images slightly */
.hero-bg-image {
  filter: brightness(0.9);
}

/* Darken content images slightly */
.content-image img {
  filter: brightness(0.9);
}

/* Darken CTA background images slightly */
.cta-section.cta-with-bg {
  filter: brightness(0.9);
}

/* Specific adjustments for different sections */
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  position: relative;
  z-index: 2;
  filter: none;
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition);
  background: none;
}

/* Ensure uniform sizing for all content images */
.content-image,
.service-image,
.inquiry-image,
.contact-method-image,
.capability-image,
.founder-image,
.cta-section-image,
.blog-image,
.category-image,
.newsletter-image,
.footer-logo-image {
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.content-image img,
.service-image img,
.inquiry-image img,
.contact-method-image img,
.capability-image img,
.founder-image img,
.cta-section-image img,
.blog-image img,
.category-image img,
.newsletter-image img,
.footer-logo-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Expansion Image */
.expansion-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.expansion-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
}

/* CTA Image */
.cta-image {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
}

/* CTA Section with Background Image */
.cta-section.cta-with-bg {
  border-radius: 12px;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  margin: 20px 0;
  height: 400px;
}

.cta-section.cta-with-bg .cta-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cta-overlay {
  position: relative;
  background-color: rgba(7, 20, 38, 0.85);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  backdrop-filter: blur(2px);
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cta-section.cta-with-bg p a {
  text-decoration: none;
}

.cta-section.cta-with-bg p a:hover {
  text-decoration: none;
}

.cta-section.cta-with-bg h2 {
  color: var(--soft-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.cta-section.cta-with-bg p {
  color: var(--soft-white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 32px;
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments for CTA section */
@media (max-width: 768px) {
  .cta-section.cta-with-bg {
    padding: 40px 20px;
  }
  
  .cta-overlay {
    padding: 30px 15px;
  }
  
  .cta-section.cta-with-bg h2 {
    font-size: 28px;
  }
  
  .cta-section.cta-with-bg p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .cta-section.cta-with-bg {
    padding: 30px 15px;
  }
  
  .cta-overlay {
    padding: 20px 10px;
  }
  
  .cta-section.cta-with-bg h2 {
    font-size: 24px;
  }
}

/* Unique Capability Section */
.unique-capability {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.capability-item {
  background-color: var(--soft-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  text-align: center;
}

.capability-item:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.capability-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 24px 0 16px;
  color: var(--navy);
}

.capability-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
}

/* Founder Note Section */
.founder-note {
  max-width: 900px;
  margin: 0 auto;
}

.founder-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.founder-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--dark-gray);
  font-style: italic;
}

.founder-text p.founder-name {
  font-style: normal;
  font-weight: 700;
  text-align: right;
  margin-top: 30px;
  margin-bottom: 0;
}

/* Footer Logo */
.footer-logo-image {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
}

/* Better contrast for text */
body {
  color: var(--dark-gray);
  background-color: var(--soft-white);
}

.section-title h2 {
  color: var(--navy);
}

/* Improved link styling for better UX */
a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
  color: #1d4ed8;
}

/* Enhanced footer link styling */
.footer-links a {
  color: #CBD5E0;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--soft-white);
  text-decoration: underline;
}

/* Improved form accessibility */
.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Stats Section Styling */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-card {
  background: linear-gradient(135deg, var(--soft-white) 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--navy) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.stat-card:hover::before {
  transform: scaleX(1);
}

.number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* Enhanced stats for dark background sections */
.bg-light .stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.bg-light .number {
  color: var(--navy);
  text-shadow: 0 2px 4px rgba(7, 20, 38, 0.1);
}

/* Responsive adjustments for stats */
@media (max-width: 768px) {
  .stats-grid {
    gap: 20px;
    margin-top: 30px;
  }
  
  .stat-card {
    padding: 25px 15px;
  }
  
  .number {
    font-size: 2.8rem;
  }
  
  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 20px 10px;
  }
  
  .number {
    font-size: 2.5rem;
  }
}

/* Contact Cards Section */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.contact-card {
  background: linear-gradient(135deg, var(--soft-white) 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--navy) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
}

.contact-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--soft-white);
  stroke-width: 1.5;
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--navy);
}

.contact-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* Contact Method with Icons */
.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: var(--soft-white);
  border-radius: var(--radius-md);
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateX(5px);
  box-shadow: none;
}

.contact-icon-small {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-icon-small svg {
  width: 24px;
  height: 24px;
  fill: var(--soft-white);
}

.contact-details h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.contact-details p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 4px;
}

.contact-note {
  font-size: 14px !important;
  color: #64748b !important;
  font-style: italic;
}

/* Contact Map */
.contact-map {
  margin-top: 40px;
}

.contact-map h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}

.map-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-placeholder p {
  color: #64748b;
  font-size: 16px;
  font-weight: 500;
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: var(--transition);
  background-color: var(--soft-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Checkbox Styles */
.checkbox-group {
  margin: 25px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-gray);
}

.checkbox-label input {
  width: auto;
  margin-right: 12px;
  margin-top: 4px;
}

/* Inquiry Options with Icons */
.inquiry-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.inquiry-option {
  background-color: var(--soft-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.inquiry-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.inquiry-option:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.inquiry-option:hover::before {
  transform: scaleX(1);
}

.inquiry-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.inquiry-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--soft-white);
  stroke-width: 1.5;
}

.inquiry-option h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
  text-align: center;
}

.inquiry-option p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 0;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .contact-method {
    flex-direction: column;
  }
  
  .contact-icon-small {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .map-placeholder {
    height: 150px;
  }
  
  .inquiry-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .inquiry-option {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .contact-icon {
    width: 70px;
    height: 70px;
  }
  
  .contact-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .contact-card h3 {
    font-size: 20px;
  }
  
  .contact-details h3 {
    font-size: 18px;
  }
}

/* Cross-border Content */
.cross-border-content {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.cross-border-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
}

.cross-border-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cross-border-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
  max-height: 300px;
  object-fit: cover;
}

.cross-border-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--navy);
}

.cross-border-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.cross-border-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.cross-border-text ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.7;
}

.cross-border-text ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: bold;
  font-size: 20px;
}

/* Responsive adjustments for cross-border content */
@media (max-width: 1024px) {
  .cross-border-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cross-border-image {
    order: -1;
  }
  
  .cross-border-image img {
    max-height: 250px;
  }
  
  .cross-border-text h3 {
    font-size: 24px;
  }
  
  .cross-border-text p,
  .cross-border-text ul li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .cross-border-content {
    margin-top: 30px;
  }
  
  .cross-border-image img {
    max-height: 200px;
  }
}

@media (max-width: 480px) {
  .cross-border-image img {
    max-height: 150px;
  }
  
  .cross-border-text h3 {
    font-size: 22px;
  }
  
  .cross-border-text p,
  .cross-border-text ul li {
    font-size: 15px;
  }
  
  .cross-border-text ul li {
    padding-left: 25px;
  }
  
  .cross-border-text ul li:before {
    font-size: 18px;
  }
}

/* Services CTA Image */
.services-cta-image {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.services-cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: none;
  max-height: 250px;
  object-fit: cover;
}

/* Responsive adjustments for services CTA image */
@media (max-width: 1024px) {
  .services-cta-image img {
    max-height: 200px;
  }
}

@media (max-width: 768px) {
  .services-cta-image {
    margin: 15px 0;
  }
  
  .services-cta-image img {
    max-height: 180px;
  }
}

@media (max-width: 480px) {
  .services-cta-image img {
    max-height: 150px;
  }
}


/* Hide mobile language toggle on desktop */
.mobile-language-toggle {
  display: none;
}

/* Hide desktop language toggle on mobile */
@media (max-width: 768px) {
  .desktop-language-toggle {
    display: none;
  }
  
  /* Show mobile language toggle in mobile menu */
  .mobile-language-toggle {
    display: flex;
    align-items: center;
  }
  
  .mobile-language-toggle .language-toggle {
    margin-left: 0 !important;
    justify-content: center;
    background-color: rgba(241, 245, 249, 0.8);
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    min-height: 50px; /* Match height of mobile toggle */
  }
  
  .mobile-language-toggle .language-toggle button {
    padding: 4px 10px !important;
    font-size: 12px !important;
    min-width: 30px;
    min-height: 25px;
    margin: 0 2px;
    background: none;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-language-toggle .language-toggle button.active {
    background-color: var(--blue);
    color: var(--soft-white);
  }
}
