/* Style principal pour Oman Expat Services */

:root {
  /* Palette de couleurs inspirée d'Oman */
  --primary-blue: #1a5276; /* Bleu profond rappelant la mer d'Oman */
  --secondary-blue: #2980b9; /* Bleu plus clair */
  --sand-color: #e6c9a8; /* Couleur sable des déserts d'Oman */
  --gold-accent: #d4af37; /* Accent doré pour les éléments importants */
  --turquoise-accent: #16a085; /* Turquoise pour les accents secondaires */
  --text-dark: #333333; /* Texte principal */
  --text-light: #ffffff; /* Texte sur fond foncé */
  --background-light: #f8f9fa; /* Fond clair */
  --background-dark: #2c3e50; /* Fond foncé */
  --border-color: #e0e0e0; /* Couleur de bordure */
}

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

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-light);
}

/* En-tête */
header {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  max-height: 60px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

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

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

.language-selector {
  margin-left: 1.5rem;
  position: relative;
}

.language-selector select {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* Bannière d'accueil */
.hero-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://khngrvne.manus.space/assets/images/oman-landscape.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--gold-accent);
  color: var(--text-dark);
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--turquoise-accent);
  color: var(--text-light);
}

/* Sections principales */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 20px;
}

section {
  margin-bottom: 4rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--gold-accent);
  margin: 0 auto;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

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

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-content p {
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--secondary-blue);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.read-more:hover::after {
  margin-left: 10px;
}

/* Pourquoi nous choisir */
.why-choose-us {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 4rem 0;
}

.why-choose-us .section-title h2 {
  color: var(--text-light);
}

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

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gold-accent);
}

.feature-item h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Témoignages */
.testimonials {
  background-color: var(--background-light);
  padding: 4rem 0;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-blue);
}

.testimonial-role {
  color: var(--text-dark);
  opacity: 0.8;
}

/* Instagram Feed */
.instagram-feed {
  text-align: center;
}

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

.instagram-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1/1;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-icon {
  color: white;
  font-size: 2rem;
}

/* Contact CTA */
.contact-cta {
  background-color: var(--sand-color);
  padding: 4rem 0;
  text-align: center;
}

.contact-cta h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.contact-cta p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Pied de page */
footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column h3 {
  color: var(--sand-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-accent);
}

.contact-info {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 10px;
  color: var(--gold-accent);
}

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

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-light);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--gold-accent);
  color: var(--background-dark);
}

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

.footer-bottom p {
  opacity: 0.7;
}

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-blue);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-blue);
}

/* Formulaire de contact */
.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-blue);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-button {
  background-color: var(--primary-blue);
  color: var(--text-light);
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--secondary-blue);
}

/* Page À propos */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.team-section {
  margin-top: 4rem;
}

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

.team-member {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.team-photo {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.team-bio {
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

.team-social a:hover {
  color: var(--gold-accent);
}

/* Page Services */
.service-header {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 4rem 0;
  text-align: center;
}

.service-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-content {
  direction: ltr;
}

.service-detail-content h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.service-detail-content p {
  margin-bottom: 1.5rem;
}

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

.service-features li {
  margin-bottom: 0.8rem;
  padding-left: 30px;
  position: relative;
}

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

/* Page Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.blog-content h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.blog-content p {
  margin-bottom: 1.5rem;
}

/* Page Confiance Invest */
.invest-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.benefit-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  font-size: 3rem;
  color: var(--gold-accent);
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Page 10 Ans d'Ancienneté */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--primary-blue);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 30px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--gold-accent);
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-date {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--primary-blue);
  color: var(--text-light);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.timeline-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

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

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Utilitaires */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}


.partners-grid {
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center items horizontally */
  gap: 2rem; /* Space between partner names */
  margin-top: 1.5rem;
}

.partner-name {
  text-align: center;
}

.partner-name p {
  font-size: 2.5rem; /* Match the h2 size */
  color: var(--primary-blue);
  font-weight: 500; /* Add some weight */
  margin-bottom: 0.5rem; /* Adjust spacing if needed */
}



/* Hide platform-injected footer elements */
.page-footer-mobile,
.page-footer,
.footer-dialog,
body > script:last-of-type, /* Attempt to hide injected script tags if they are last */
body > style:last-of-type /* Attempt to hide injected style tags if they are last */
{
    display: none !important;
    visibility: hidden !important;
}

