/* Partnus - Professional Stylesheet */

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-preload body {
  opacity: 0;
}

.lang-ready body {
  opacity: 1;
  transition: opacity 0.15s ease;
}

html {
  scroll-behavior: smooth;
}

/* Brand Colors - Light Mode (Default) */
:root {
  --primary-blue: #3055a3;
  --primary-red: #e13a3c;
  --primary-red-hover: #c03131;
  --primary-blue-hover: #27447e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5db;
  --gray-700: #374151;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 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);

  /* Light mode specific */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-card: #ffffff;
  --text-primary: #374151;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
}

/* Dark Mode */
[data-theme="dark"] {
  --primary-blue: #5b8fd9;
  --primary-red: #f25f5f;
  --primary-red-hover: #e04545;
  --primary-blue-hover: #7aa5e5;
  --gray-50: #1f2937;
  --gray-100: #374151;
  --gray-300: #4b5563;
  --gray-700: #e5e7eb;
  --white: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);

  /* Dark mode specific */
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-card: #1f2937;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --border-color: #374151;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 30;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar .logo {
  flex-shrink: 0;
}

.navbar .logo img {
  height: 2.5rem;
  width: auto;
}

/* Nav right side items container */
.navbar .nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar .nav-links {
  display: none;
  gap: 2rem;
  flex-shrink: 0;
}

.navbar .nav-links a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar .nav-links a:hover {
  color: var(--primary-red);
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1556745757-8d76bdb6984b?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(48, 85, 163, 0.7);
}

.hero .content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 48rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* About Page Specific Styles */

/* Hero Inner */
.hero-inner {
  position: relative;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.hero-inner .content {
  text-align: center;
  padding: 0 1.5rem;
  max-width: 48rem;
}

.hero-inner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-inner p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Two Column Grid */
.grid-two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

/* Contact page layout - stretch both columns equally */
.grid-two-column.contact-layout {
  align-items: stretch;
}

.grid-two-column.contact-layout .contact-form-area,
.grid-two-column.contact-layout .office-info-area {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.grid-two-column.contact-layout .office-info-area {
  justify-content: space-between;
}

.grid-two-column.reverse {
  direction: rtl;
}

.grid-two-column.reverse > * {
  direction: ltr;
}

.content-area {
  order: 2;
}

.image-area {
  order: 1;
}

.grid-two-column.reverse .content-area {
  order: 1;
}

.grid-two-column.reverse .image-area {
  order: 2;
}

/* Section Titles */
.section-title.left-aligned {
  text-align: left;
  margin-bottom: 2rem;
}

/* Text Styles */
.text-large {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.rounded-image {
  border-radius: 1rem;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* Mission & Vision Cards */
.mission-vision-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.mission-vision-card h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.mission-vision-card p {
  line-height: 1.6;
  color: var(--gray-700);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.value-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--white);
}

.value-card h3 {
  color: var(--primary-blue);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Statistics Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.team-member {
  text-align: center;
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-image {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

.team-member h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-red);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.team-description {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--primary-blue-hover);
}

.btn-form {
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
}

.btn-form:hover {
  background-color: var(--primary-blue-hover);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section.bg-gray {
  background-color: var(--gray-50);
}

.section.bg-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.trust-bar {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.trust-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.35rem;
}

.trust-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 4rem;
}

.section.bg-primary .section-title {
  color: var(--white);
}

/* Card Styles */
.card-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.card {
  background-color: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(225, 58, 60, 0.2);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-red);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Service Cards */
.service-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-align: center;
  width: 100%;
  max-width: 18rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.service-card-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(48, 85, 163, 0.1);
  border-radius: 9999px;
  margin: 0 auto 1.5rem;
  flex-shrink: 0;
}

.service-card-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-blue);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.service-card p {
  color: var(--gray-700);
  font-size: 0.875rem;
  line-height: 1.5;
  flex-grow: 1;
}

/* Swiper Container */
.mySwiper {
  padding: 1rem 0 3rem 0;
}

.swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

/* Swiper Customization */
.swiper-pagination-bullet {
  background: var(--primary-blue);
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--primary-blue);
  padding: 0.25rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: var(--primary-red);
}

.swiper-button-prev {
  left: 1rem;
}

.swiper-button-next {
  right: 1rem;
}

.swiper-button-prev svg,
.swiper-button-next svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Form Styles */
.form {
  max-width: 32rem;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-300);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(48, 85, 163, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 2rem 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer .brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer .brand img {
  height: 2.5rem;
  width: auto;
}

.footer .links {
  display: flex;
  gap: 1rem;
}

.footer .links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer .links a:hover {
  color: var(--primary-red);
}

/* Language Switcher - Dropdown Style */
.language-switcher {
  position: relative;
  margin-left: 1rem;
  z-index: 100;
}

.language-btn-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  background-color: var(--white);
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 70px;
  justify-content: center;
}

.language-btn-main:hover {
  border-color: var(--primary-blue);
  background-color: var(--gray-50);
}

.language-btn-main svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.language-switcher.open .language-btn-main svg,
.language-switcher:focus-within .language-btn-main svg {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  margin-top: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.language-switcher.open .language-dropdown,
.language-switcher:focus-within .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-btn {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  border: none;
  background-color: transparent;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.lang-btn:hover {
  background-color: var(--gray-50);
  color: var(--primary-blue);
}

.lang-btn.active {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.lang-btn.active:hover {
  background-color: var(--primary-blue-hover);
}

/* Dark mode language switcher */
[data-theme="dark"] .language-btn-main {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .language-btn-main:hover {
  background-color: var(--bg-card);
  border-color: var(--primary-blue);
}

[data-theme="dark"] .language-dropdown {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .lang-btn {
  color: var(--text-primary);
}

[data-theme="dark"] .lang-btn:hover {
  background-color: var(--bg-card);
}

/* Services Page Styles */
.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-detailed-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-detailed-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-detailed-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.service-detailed-icon svg {
  width: 28px;
  height: 28px;
}

.service-detailed-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.service-detailed-card p {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--gray-700);
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 600;
}

.service-cta {
  margin-top: auto;
}

.btn-service {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.btn-service:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-1px);
}

/* Industry Solutions Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.industry-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.industry-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.industry-icon {
  width: 80px;
  height: 80px;
  background-color: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-blue);
}

.industry-icon svg {
  width: 36px;
  height: 36px;
}

.industry-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.industry-card p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
}

.benefit-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 160px;
}

/* Contact Page Styles */
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-method-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.contact-method-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.contact-method-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.contact-method-icon svg {
  width: 36px;
  height: 36px;
}

.contact-method-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.contact-method-card p {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-details {
  text-align: left;
  margin-bottom: 1.5rem;
}

.contact-detail-item {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-detail-item span {
  color: var(--gray-700);
}

.contact-detail-item strong {
  color: var(--primary-blue);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Contact Form Styles */
.contact-form-area {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(48, 85, 163, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

/* Office Information Styles */
.office-info-area {
  padding: 0rem;
}

.office-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  flex: 1;
}

.office-card .section-title {
  margin-bottom: 1rem;
}

.office-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.office-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.office-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.office-detail-icon {
  width: 50px;
  height: 50px;
  background-color: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.office-detail-icon svg {
  width: 24px;
  height: 24px;
}

.office-detail-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.office-detail-content p {
  color: var(--gray-700);
  line-height: 1.6;
}

.office-detail-content strong {
  color: var(--primary-blue);
}

/* Interactive Map */
.map-container {
  flex: 1;
  min-height: 350px;
}

.interactive-map {
  position: relative;
  height: 100%;
  min-height: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.interactive-map:hover {
  box-shadow: var(--shadow-lg);
}

.interactive-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.map-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.map-overlay:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.map-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.map-info p {
  font-size: 0.875rem;
  color: var(--primary-blue);
  margin: 0;
  cursor: pointer;
}

/* Keep map overlay text dark in dark mode (white background overlay) */
[data-theme="dark"] .map-overlay {
  background-color: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .map-info h4 {
  color: #374151 !important;
}

[data-theme="dark"] .map-info p {
  color: #3055a3 !important;
}

/* Map Actions */
.map-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.btn-map-action {
  padding: 0.375rem 0.75rem;
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-map-action:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-1px);
}

.btn-map-action:active {
  transform: translateY(0);
}

/* Map Fallback */
.map-fallback {
  height: 300px;
  background-color: var(--gray-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--gray-300);
}

.map-fallback-content {
  text-align: center;
  color: var(--gray-700);
  padding: 2rem;
}

.map-fallback-content svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.map-fallback-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.map-fallback-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.map-fallback-content .btn {
  margin-top: 1rem;
}

/* Map Placeholder (fallback) */
.map-container {
  margin-top: 2rem;
}

.map-placeholder {
  height: 250px;
  background-color: var(--gray-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--gray-300);
}

.map-placeholder-content {
  text-align: center;
  color: var(--gray-700);
}

.map-placeholder-content svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.map-placeholder-content p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Contact Benefits Grid */
.contact-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-benefit-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.contact-benefit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.contact-benefit-icon {
  width: 70px;
  height: 70px;
  background-color: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-blue);
}

.contact-benefit-icon svg {
  width: 32px;
  height: 32px;
}

.contact-benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.contact-benefit-card p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Responsive Design */
@media (min-width: 768px) {
  .navbar .nav-links {
    display: flex;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero p {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer .container {
    flex-direction: row;
  }

  .hero-inner h1 {
    font-size: 3.5rem;
  }

  .hero-inner p {
    font-size: 1.5rem;
  }

  .grid-two-column {
    grid-template-columns: 1fr 1fr;
  }

  .content-area {
    order: 1;
  }

  .image-area {
    order: 2;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }

  .hero-inner h1 {
    font-size: 4rem;
  }

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .language-switcher {
    margin-left: auto;
    margin-right: 1rem;
  }

  .services-detailed-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-detailed-card {
    padding: 1.5rem;
  }

  .service-detailed-icon {
    width: 50px;
    height: 50px;
  }

  .service-detailed-icon svg {
    width: 24px;
    height: 24px;
  }

  .industry-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .industry-card {
    padding: 1.5rem;
  }

  .industry-icon {
    width: 60px;
    height: 60px;
  }

  .industry-icon svg {
    width: 28px;
    height: 28px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
  }

  .benefit-icon svg {
    width: 28px;
    height: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .interactive-map {
    height: 250px;
  }

  .map-overlay {
    position: static;
    margin-top: 1rem;
    margin-right: 0;
    background-color: var(--white);
    border: 1px solid var(--gray-100);
  }

  .map-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn-map-action {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .services-detailed-grid {
    grid-template-columns: 1fr;
  }

  .service-detailed-card {
    padding: 1rem;
  }

  .service-detailed-card h3 {
    font-size: 1.25rem;
  }

  .industry-card {
    padding: 1rem;
  }

  .industry-card h3 {
    font-size: 1.125rem;
  }

  .benefit-item {
    padding: 1rem;
  }

  .benefit-item h3 {
    font-size: 1.125rem;
  }

  .contact-methods-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-method-card {
    padding: 1.5rem;
  }

  .contact-method-icon {
    width: 60px;
    height: 60px;
  }

  .contact-method-icon svg {
    width: 28px;
    height: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-area {
    padding: 1.5rem;
  }

  .office-info-area {
    padding: 0rem;
  }

  .office-card {
    padding: 1.5rem;
  }

  .office-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .office-detail-icon {
    margin-bottom: 1rem;
  }

  .contact-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-benefit-card {
    padding: 1.5rem;
  }

  .contact-benefit-icon {
    width: 60px;
    height: 60px;
  }

  .contact-benefit-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.relative {
  position: relative;
}

.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.mt-8 {
  margin-top: 2rem;
}

.focus\:outline-none:focus {
  outline: none;
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
  transition: all 0.3s ease;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-blue);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: max-height 0.4s ease, padding 0.4s ease;
  z-index: 40;
}

.mobile-menu.active {
  max-height: 300px;
  padding: 1.5rem;
}

.mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.mobile-menu a:last-child {
  margin-bottom: 0;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background-color: var(--gray-50);
  color: var(--primary-red);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

/* ============================================
   FLOATING CTA BUTTON
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-hover));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(225, 58, 60, 0.4);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 50;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(225, 58, 60, 0.5);
}

.floating-cta svg {
  width: 20px;
  height: 20px;
}

.floating-cta span {
  display: none;
}

@media (min-width: 768px) {
  .floating-cta span {
    display: inline;
  }
}

@media (max-width: 480px) {
  .floating-cta {
    bottom: 20px;
    right: 20px;
    padding: 14px;
    border-radius: 50%;
  }
}

/* ============================================
   ENTRANCE ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease forwards;
}

/* Animation Delays */
.animation-delay-200 {
  animation-delay: 0.2s;
  opacity: 0;
}

.animation-delay-400 {
  animation-delay: 0.4s;
  opacity: 0;
}

.animation-delay-600 {
  animation-delay: 0.6s;
  opacity: 0;
}

.animation-delay-800 {
  animation-delay: 0.8s;
  opacity: 0;
}

/* Scroll-triggered Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation for Multiple Items */
.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

/* ============================================
   ENHANCED HOVER EFFECTS
   ============================================ */
.card:hover .card-icon,
.service-card:hover .service-card-icon,
.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.3s ease;
}

.card .card-icon,
.service-card .service-card-icon,
.value-card .value-icon {
  transition: transform 0.3s ease;
}

/* Button Hover Effects */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

/* ============================================
   FORM VALIDATION STYLES
   ============================================ */
.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(225, 58, 60, 0.1);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-error-message {
  color: var(--primary-red);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.form-error-message.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-error-message svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Form Loading State */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  margin-right: 10px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success State */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeInUp 0.5s ease;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: scaleIn 0.5s ease, pulse 2s ease infinite 0.5s;
}

.form-success-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.form-success h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Error State */
.form-error {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeInUp 0.5s ease;
}

.form-error.visible {
  display: block;
}

.form-error-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: scaleIn 0.5s ease, shake 0.5s ease;
}

.form-error-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.form-error h3 {
  color: #ef4444;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.form-error p {
  color: var(--gray-700);
  line-height: 1.6;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* ============================================
   STATISTICS COUNTER ANIMATION
   ============================================ */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

/* Counter animation will be handled by JS */
.stat-number.counting {
  transition: none;
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
  z-index: 100;
  transition: width 0.1s linear;
}

/* ============================================
   LOADING STATE FOR PAGE
   ============================================ */
body:not(.loaded) .animate-fade-in-up,
body:not(.loaded) .animate-on-scroll {
  opacity: 0;
}

body.loaded .animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* ============================================
   ACTIVE NAV LINK INDICATOR
   ============================================ */
.navbar .nav-links a {
  position: relative;
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
  width: 100%;
}

/* ============================================
   DARK MODE TOGGLE - Enhanced Animation
   ============================================ */
.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gray-300);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  position: absolute;
  width: 22px;
  height: 22px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Moon icon - visible in light mode */
.theme-toggle .moon-icon {
  color: #1e3a5f;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Sun icon - hidden in light mode */
.theme-toggle .sun-icon {
  color: #f59e0b;
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

/* Dark mode toggle button styles */
[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  border-color: #475569;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: #fbbf24;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

/* Dark mode: Show sun, hide moon */
[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

/* ============================================
   COMPREHENSIVE DARK MODE STYLES
   ============================================ */

/* Body and main backgrounds */
[data-theme="dark"] body,
[data-theme="dark"] .bg-white {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

/* Override Tailwind classes */
[data-theme="dark"] [class*="bg-white"] {
  background-color: var(--bg-primary) !important;
}

[data-theme="dark"] [class*="text-gray-700"],
[data-theme="dark"] [class*="text-gray-600"],
[data-theme="dark"] [class*="text-gray-800"] {
  color: var(--text-primary) !important;
}

[data-theme="dark"] [class*="text-gray-500"],
[data-theme="dark"] [class*="text-gray-400"] {
  color: var(--text-secondary) !important;
}

/* Navbar */
[data-theme="dark"] .navbar {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

/* All card types */
[data-theme="dark"] .card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .team-member,
[data-theme="dark"] .contact-method-card,
[data-theme="dark"] .service-detailed-card,
[data-theme="dark"] .industry-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form-area,
[data-theme="dark"] .office-card,
[data-theme="dark"] .mission-vision-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .benefit-card,
[data-theme="dark"] .process-step {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
}

/* Sections */
[data-theme="dark"] .section {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .section.bg-gray {
  background-color: var(--bg-secondary);
}

/* Hero section */
[data-theme="dark"] .hero {
  background-color: var(--bg-primary);
}

/* Text colors - only apply to elements NOT in colored sections */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--text-primary);
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] li {
  color: var(--text-secondary);
}

/* EXCEPTIONS: Keep original colors for elements on colored backgrounds */
[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero p,
[data-theme="dark"] .hero span,
[data-theme="dark"] .hero-inner h1,
[data-theme="dark"] .hero-inner p,
[data-theme="dark"] .hero-inner span,
[data-theme="dark"] .parallax-hero h1,
[data-theme="dark"] .parallax-hero p,
[data-theme="dark"] .text-white,
[data-theme="dark"] [class*="text-white"],
[data-theme="dark"] .bg-primary h1,
[data-theme="dark"] .bg-primary h2,
[data-theme="dark"] .bg-primary p,
[data-theme="dark"] .bg-primary span,
[data-theme="dark"] .section.bg-primary h1,
[data-theme="dark"] .section.bg-primary h2,
[data-theme="dark"] .section.bg-primary p,
[data-theme="dark"] .section.bg-primary span,
[data-theme="dark"] .footer p,
[data-theme="dark"] .footer span,
[data-theme="dark"] .footer a,
[data-theme="dark"] .stat-item p,
[data-theme="dark"] .stat-item span,
[data-theme="dark"] .stat-label {
  color: inherit;
}

/* Force white text in hero sections */
[data-theme="dark"] .hero-inner h1 {
  color: #ffffff !important;
}

[data-theme="dark"] .hero-inner p {
  color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="dark"] .parallax-content h1,
[data-theme="dark"] .parallax-content p {
  color: #ffffff !important;
}

/* Force white text in statistics section (on colored bg) */
[data-theme="dark"] .stat-number {
  color: #ffffff !important;
}

[data-theme="dark"] .stat-label {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Force white text in sections with bg-primary */
[data-theme="dark"] .section.bg-primary .section-title,
[data-theme="dark"] .section.bg-primary h2,
[data-theme="dark"] .section.text-white h2,
[data-theme="dark"] .section.text-white p,
[data-theme="dark"] .section.text-white span {
  color: #ffffff !important;
}

[data-theme="dark"] .section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .section-subtitle {
  color: var(--text-secondary);
}

/* Form elements */
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .form-group label {
  color: var(--text-primary);
}

[data-theme="dark"] ::placeholder {
  color: var(--text-secondary);
}

/* Mobile menu */
[data-theme="dark"] .mobile-menu {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .mobile-menu a {
  color: var(--text-primary);
  border-bottom-color: var(--border-color);
}

/* Footer */
[data-theme="dark"] .footer {
  background-color: #0a0f1a;
  color: #ffffff;
}

[data-theme="dark"] .footer a {
  color: #ffffff;
}

/* Links */
[data-theme="dark"] .nav-links a {
  color: var(--text-primary);
}

[data-theme="dark"] .nav-links a:hover {
  color: var(--primary-blue);
}

/* Borders */
[data-theme="dark"] .border-gray-200,
[data-theme="dark"] [class*="border-gray"] {
  border-color: var(--border-color) !important;
}

/* FAQ accordion */
[data-theme="dark"] .faq-question {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

[data-theme="dark"] .faq-answer {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

/* Client logos section */
[data-theme="dark"] .client-logos {
  border-top-color: var(--border-color);
}

/* Swiper navigation */
[data-theme="dark"] .swiper-button-next,
[data-theme="dark"] .swiper-button-prev {
  color: var(--text-primary);
  background-color: var(--bg-card);
}

/* Floating CTA */
[data-theme="dark"] .floating-cta {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Scroll progress */
[data-theme="dark"] .scroll-progress {
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--primary-blue);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-blue);
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
  color: #fbbf24;
  fill: #fbbf24;
}

/* Client Logos */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.client-logo {
  height: 40px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

[data-theme="dark"] .client-logo {
  filter: grayscale(100%) invert(1);
}

[data-theme="dark"] .client-logo:hover {
  filter: grayscale(0%) invert(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   PARALLAX EFFECTS
   ============================================ */
.parallax-hero {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
  z-index: -1;
}

/* Fallback for mobile - fixed attachment doesn't work well */
@media (max-width: 1024px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* Floating decorative elements */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.floating-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-blue);
  top: 10%;
  right: -100px;
  animation-delay: 0s;
}

.floating-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-red);
  bottom: 20%;
  left: -50px;
  animation-delay: 2s;
}

.floating-shape-3 {
  width: 150px;
  height: 150px;
  background: var(--primary-blue);
  top: 50%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Parallax text movement */
.parallax-content {
  position: relative;
  z-index: 10;
}

/* Scroll-based parallax for sections */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(48, 85, 163, 0.05) 0%, transparent 70%);
  pointer-events: none;
  animation: parallaxBg 20s linear infinite;
}

@keyframes parallaxBg {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-5%, -5%);
  }
  100% {
    transform: translate(0, 0);
  }
}
