:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #333;
  --light-bg: #f5f6fa;
  --white: #ffffff;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

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

/* Navigation */
nav {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.logo a {
  text-decoration: none;
  color: var(--primary-color);
}

.logo a:hover {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
  border: none;
  background: none;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
  }

  nav .container {
    padding: 0.5rem 20px;
  }
}

/* Welcome Section */
#welcome {
  padding: 80px 0;
  background-color: var(--light-bg);
}

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

.welcome-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.welcome-card a {
  text-decoration: none;
  color: var(--text-color);
}

.welcome-card:hover {
  transform: translateY(-5px);
}

.welcome-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.welcome-intro,
.services-intro,
.expertise-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.8;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 100px 0 50px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin: 0;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
}

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

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

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #c0392b;
}

/* Services */
#services {
  padding: 80px 0;
  background-color: var(--light-bg);
}

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

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-details {
  text-align: left;
  margin-top: 1.5rem;
}

.service-details ul,
.service-details ol {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.service-details h4 {
  color: var(--secondary-color);
  margin-top: 1rem;
}

.case-studies {
  margin-top: 4rem;
}

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

.case-study {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.case-challenge {
  color: var(--secondary-color);
  font-style: italic;
  margin: 1rem 0;
}

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

.method-step {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Expertise */
#expertise {
  padding: 80px 0;
}

.expertise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.expertise-text ul {
  list-style: none;
  margin-top: 1rem;
}

.expertise-text li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.expertise-text li::before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

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

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary-color);
}

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

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

.skill-category {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.skill-category h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

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

.experience-details ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.key-achievements {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 5px;
}

.key-achievements h5 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* Témoignages
#testimonials {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.testimonials-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.8;
}

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

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
} 
*/

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-info h3 {
  margin-bottom: 0.25rem;
}

.client-position {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin: 0;
}

.client-avatar {
  flex-shrink: 0;
}

.client-avatar svg {
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background: white;
}

.rating {
  color: #ffd700;
}

blockquote {
  font-style: italic;
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--secondary-color);
}

.project-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.project-details h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.project-details ul {
  list-style: none;
}

.project-details li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.project-details li::before {
  content: "✓";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

.case-studies {
  margin-top: 4rem;
  grid-column: 1 / -1;
}

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

.case-study-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.case-results {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Parcours */
#parcours {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--secondary-color);
}

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

.timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: calc(50% - 30px);
  margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

/* Contact
#contact {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details p {
  margin-bottom: 1rem;
}

.contact-details i {
  color: var(--secondary-color);
  margin-right: 1rem;
  width: 20px;
}

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

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
}

textarea {
  height: 150px;
  resize: vertical;
}
 */

/* Profile Section Styles */
.profile-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-content {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.profile-image {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.02);
}

.profile-text {
  flex: 1;
}

.profile-text h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.profile-title {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.profile-description {
  line-height: 1.8;
  color: var(--text-color);
  font-size: 1.1rem;
}

/* Legal Pages Styles */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-content article {
  margin-bottom: 2rem;
}

.legal-content h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

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

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

/* New Styles
.add-testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
}

.testimonial-form {
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-type {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-type button {
  padding: 0.5rem 1rem;
  border: 2px solid var(--secondary-color);
  background: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-type button.active {
  background: var(--secondary-color);
  color: var(--white);
}

.audio-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.audio-controls button {
  padding: 0.8rem 1.5rem;
  border: none;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}

.audio-controls button:hover {
  background-color: var(--primary-color);
}

#audio-preview {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#recorded-audio {
  width: 100%;
  margin: 1rem 0;
}

.star-rating {
  display: flex;
  gap: 0.5rem;
  font-size: 1.5rem;
  color: #ffd700;
  cursor: pointer;
}

.star-rating i {
  transition: all 0.2s ease;
}

.star-rating i.hovered,
.star-rating i.fas {
  color: #ffd700;
}

.star-rating i:hover {
  transform: scale(1.2);
}
 */
/* Blog Styles
#blog {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
 */
/* Blog Sidebar
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.search-box {
  display: flex;
  margin-bottom: 2rem;
}

.search-box input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px 0 0 5px;
}

.search-box button {
  padding: 0.8rem 1.2rem;
  background: var(--secondary-color);
  border: none;
  color: white;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.categories {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.categories ul {
  list-style: none;
}

.categories li {
  margin-bottom: 0.5rem;
}

.categories a {
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.categories a:hover,
.categories a.active {
  color: var(--secondary-color);
  background: rgba(52, 152, 219, 0.1);
  border-radius: 5px;
}

.popular-posts {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.popular-posts h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.popular-posts ul {
  list-style: none;
}

.popular-posts li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.popular-posts li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.popular-posts a {
  text-decoration: none;
  color: var(--text-color);
  display: block;
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.popular-posts a:hover {
  color: var(--secondary-color);
}

.post-date {
  font-size: 0.9rem;
  color: #666;
}
 */
/* Blog Posts
.blog-post {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  padding: 2rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.post-meta span {
  display: flex;
  align-items: center;
}

.post-meta i {
  margin-right: 0.5rem;
}

.blog-post h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.post-preview {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 5px;
}

.post-preview h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.post-preview ul {
  list-style: none;
  margin-left: 1rem;
}

.post-preview li {
  margin-bottom: 0.5rem;
  position: relative;
}

.post-preview li::before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: -1rem;
}

.read-more {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background: var(--primary-color);
}
 */
/* Newsletter Signup
.newsletter-signup {
  background: white;
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.newsletter-signup h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.newsletter-signup p {
  margin-bottom: 2rem;
  color: #666;
}

#newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

#newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}
 */
/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .expertise-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline::before {
    left: 0;
  }
  
  .timeline-content {
    width: calc(100% - 30px);
    margin-left: 30px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .profile-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-image {
    width: 250px;
    height: 250px;
    margin-bottom: 2rem;
  }
  
  .testimonial-type {
    flex-direction: column;
  }
  
  .audio-controls button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    position: static;
    margin-bottom: 2rem;
  }
  
  #newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-signup {
    padding: 2rem;
  }
}

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

.service-card,
.expertise-stats,
.timeline-content {
  animation: fadeIn 0.5s ease-out forwards;
}