/* Pages Styles */

/* Home Page */
.home-page {
  position: relative;
}

/* About Page */
.about-page {
  padding-top: var(--header-height);
}

.about-hero {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-10) 0;
  text-align: center;
}

.about-content {
  padding: var(--space-10) 0;
}

.about-stats {
  background: var(--bg-secondary);
  padding: var(--space-8) 0;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Services Page */
.services-page {
  padding-top: var(--header-height);
}

/* Services Section Redesign */
.section-services {
  position: relative;
  padding: var(--space-8) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  overflow: hidden;
  color: #272727;
}

.section-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.services-container {
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.services-grid {
  position: relative;
}

.service-card {
  position: relative;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.service-card-inner {
  background: #ffffff;
  border-radius: 20px;
  padding: 0;
  height: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.service-card:hover .service-card-inner {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.05) 0%, rgba(var(--accent-rgb), 0.08) 100%);
  transition: all 0.5s ease;
  z-index: 0;
}

.service-card:hover .service-overlay {
  height: 100%;
}

/* Service Header */
.service-header {
  position: relative;
  padding: 30px 30px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 1;
}

.service-icon-wrapper {
  position: relative;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(var(--accent-rgb), 0.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon img {
  max-width: 45px;
  max-height: 45px;
  filter: brightness(0) invert(1);
  z-index: 2;
  position: relative;
}

.service-number {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  z-index: 2;
  position: relative;
}

.service-badge {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

/* Service Body */
.service-body {
  padding: 0 30px 20px;
  flex-grow: 1;
  z-index: 1;
  position: relative;
}

.service-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #272727;
  margin-bottom: var(--space-4);
  transition: all 0.3s ease;
  line-height: 1.3;
}

.service-card:hover .service-title {
  color: var(--accent);
}

.service-content {
  color: #6c757d;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Service Footer */
.service-footer {
  padding: 20px 30px 30px;
  z-index: 1;
  position: relative;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 15px 20px;
  background: rgba(var(--accent-rgb), 0.05);
  border-radius: 12px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.1), transparent);
  transition: all 0.5s ease;
}

.service-btn:hover::before {
  left: 100%;
}

.service-btn:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-icon {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-btn:hover .btn-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.btn-icon svg {
  transition: transform 0.3s ease;
}

/* Section Footer */
.section-footer {
  margin-top: var(--space-8);
  position: relative;
  z-index: 1;
}

.section-footer .btn {
  padding: 18px 40px;
  font-weight: 600;
  border-radius: 50px;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 991px) {
  .section-services {
    padding: var(--space-8) 0;
  }

  .services-container {
    margin-top: var(--space-6);
  }

  .service-header {
    padding: 25px 25px 15px;
  }

  .service-body {
    padding: 0 25px 15px;
  }

  .service-footer {
    padding: 15px 25px 25px;
  }

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

  .service-number {
    font-size: 28px;
  }

  .service-title {
    font-size: var(--font-size-lg);
  }

  .section-footer {
    margin-top: 50px;
  }
}

@media (max-width: 767px) {
  .section-services {
    padding: var(--space-6) 0;
  }

  .service-header {
    padding: 20px 20px 15px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .service-body {
    padding: 0 20px 15px;
    text-align: center;
  }

  .service-footer {
    padding: 15px 20px 20px;
  }

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

  .service-number {
    font-size: 24px;
  }

  .service-title {
    font-size: var(--font-size-base);
  }

  .service-content {
    font-size: 15px;
  }

  .service-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .btn-icon {
    width: 30px;
    height: 30px;
  }

  .section-footer .btn {
    padding: 15px 35px;
    font-size: 15px;
  }
}

/* Contact Page */
.contact-page {
  padding-top: var(--header-height);
}

.contact-hero {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-10) 0;
  text-align: center;
}

.contact-form-section {
  padding: var(--space-10) 0;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-info {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item-content h5 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.contact-item-content p {
  margin: 0;
  color: var(--text-secondary);
}

/* Blog Page */
.blog-page {
  padding-top: var(--header-height);
}

.blog-hero {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-10) 0;
  text-align: center;
}

.blog-grid {
  padding: var(--space-10) 0;
}

.blog-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-all);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-all);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 2rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}



/* Error Pages */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-secondary);
}

.error-content {
  max-width: 600px;
  padding: 2rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.error-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form,
  .contact-info {
    padding: 2rem;
  }

  .blog-post-article {
    padding: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filters {
    flex-direction: column;
    align-items: center;
  }

  .error-code {
    font-size: 6rem;
  }
}

/* About Section Redesign */
.section-about {
    padding: var(--space-12) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-main-wrapper {
    margin-top: var(--space-6);
}

.about-content-container {
    padding-right: 30px;
}

/* About Text Section */
.about-text-section {
    margin-bottom: var(--space-8);
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 0;
}

.about-description p {
    margin-bottom: 20px;
}

/* Stats Section */
.about-stats-section {
    margin-bottom: 50px;
    padding: 40px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 16px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ateliers Section */
.about-ateliers-section {
    margin-bottom: 50px;
}

.about-ateliers-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

.about-ateliers-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 2px;
}

.about-ateliers-grid {
    display: grid;
    gap: 20px;
}

.about-atelier-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-atelier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.about-atelier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.about-atelier-card-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-atelier-icon {
    flex-shrink: 0;
}

.atelier-icon-bg {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.atelier-icon-bg i {
    color: white;
    font-size: 24px;
}

.about-atelier-content {
    flex: 1;
}

.about-atelier-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.about-atelier-address {
    color: #6c757d;
    margin-bottom: 8px;
    font-size: 14px;
}

.about-atelier-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
}

.about-atelier-phone i {
    font-size: 12px;
}

.about-atelier-action {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-atelier-action i {
    color: var(--accent);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.about-atelier-card:hover .about-atelier-action {
    background: var(--accent);
}

.about-atelier-card:hover .about-atelier-action i {
    color: white;
    transform: translateX(3px);
}

/* CTA Section */
.about-cta-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-cta-btn,
.about-contact-btn {
    padding: 18px 35px;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.about-cta-btn {
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.about-cta-btn::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: left 0.5s ease;
}

.about-cta-btn:hover::before {
    left: 100%;
}

.about-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.4);
}

.about-contact-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Images Section */
.about-images-container {
    padding-left: 30px;
}

.about-images-wrapper {
    position: relative;
    height: 600px;
}

.about-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 75%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

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

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

.about-main-image:hover .image-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

.play-button i {
    color: var(--accent);
    font-size: 24px;
    margin-left: 4px;
}

.about-secondary-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    z-index: 3;
}

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

.image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

/* Floating Elements */
.about-floating-element {
    position: absolute;
    z-index: 1;
}

.element-1 {
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    bottom: 30%;
    left: 5%;
    animation: float 6s ease-in-out infinite 3s;
}

.floating-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(168, 85, 247, 0.1);
}

.floating-icon i {
    color: var(--accent);
    font-size: 24px;
}

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

/* Responsive Design */
@media (max-width: 991px) {
    .section-about {
        padding: 80px 0;
    }

    .about-content-container,
    .about-images-container {
        padding-left: 0;
        padding-right: 0;
    }

    .about-images-container {
        margin-bottom: 50px;
    }

    .about-images-wrapper {
        height: 400px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .about-cta-section {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-cta-section {
        flex-direction: column;
        align-items: center;
    }

    .about-cta-btn,
    .about-contact-btn {
        width: 100%;
        justify-content: center;
    }

    .about-images-wrapper {
        height: 300px;
    }

    .about-floating-element {
        display: none;
    }
}

/*** atouts Start ***/
.section-atouts {
  position: relative;
  padding: var(--space-8) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  overflow: hidden;
}

.section-atouts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="atouts-grid" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%23dee2e6" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23atouts-grid)"/></svg>');
  z-index: 0;
}

.atouts-container {
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.section-atouts .atout-item {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  padding: 40px 30px;
}

.section-atouts .atout-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(var(--accent-rgb), 0.15);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.section-atouts .atout-item .atout-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  margin: 0 auto 25px;
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3);
  transition: all 0.3s ease;
}

.section-atouts .atout-item:hover .atout-icon {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(var(--accent-rgb), 0.4);
}

.section-atouts .atout-item .atout-icon i {
  color: white;
  font-size: 32px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.section-atouts .atout-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section-atouts .atout-content h5 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.section-atouts .atout-item:hover .atout-content h5 {
  color: var(--accent);
}

.section-atouts .atout-content p {
  color: #6c757d;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}
/*** atouts End ***/

/* CTA Button */
.btn-primary.border-secondary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: 2px solid var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.3);
}

.btn-primary.border-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(var(--accent-rgb), 0.4);
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

/* Responsive Design */
@media (max-width: 991px) {
  .section-atouts {
    padding: var(--space-8) 0;
  }

  .atouts-container {
    margin-top: var(--space-6);
  }

  .atout-icon {
    width: 100px;
    height: 100px;
  }

  .atout-icon-img {
    width: 50px;
    height: 50px;
  }

  .atout-content h5 {
    font-size: 20px;
  }

  .atout-content p {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .section-atouts {
    padding: var(--space-6) 0;
  }

  .atout-item {
    margin-bottom: 20px;
  }

  .atout-icon {
    width: 90px;
    height: 90px;
  }

  .atout-icon-img {
    width: 45px;
    height: 45px;
  }

  .atout-content h5 {
    font-size: 18px;
  }

  .atout-content p {
    font-size: 14px;
  }

  .btn-primary.border-secondary {
    font-size: 16px;
    padding: 15px 30px;
  }
}


/* Contact Section Redesign */
.section-contact {
  padding: var(--space-8) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grid)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
  margin-top: var(--space-6);
}

/* Contact Info Styles */
.contact-info-wrapper {
  height: 100%;
}

.contact-info-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}

.ateliers-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.atelier-card {
  transition: all 0.3s ease;
}

.atelier-card-inner {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.atelier-card:hover .atelier-card-inner {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.15);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.atelier-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

.atelier-name {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.atelier-details p {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
}

.atelier-details i {
  width: 16px;
  margin-right: 10px;
  color: var(--accent);
  font-size: 12px;
}

/* Contact Form Styles */
.contact-form-wrapper {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-form-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.contact-form-subtitle {
  color: #6c757d;
  font-size: 16px;
  margin: 0;
}

/* Modern Form Styles */
.form-group-modern {
  position: relative;
  margin-bottom: 25px;
}

.form-control-modern {
  width: 100%;
  padding: 15px 0 10px;
  border: none;
  border-bottom: 2px solid #e9ecef;
  background: transparent;
  font-size: 16px;
  color: #2c3e50;
  transition: all 0.3s ease;
  outline: none;
}

.form-control-modern:focus {
  border-bottom-color: var(--accent);
}

.form-label-modern {
  position: absolute;
  top: 15px;
  left: 0;
  font-size: 16px;
  color: #6c757d;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-control-modern:focus + .form-label-modern,
.form-control-modern:not(:placeholder-shown) + .form-label-modern {
  top: -5px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.form-highlight {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  transition: width 0.3s ease;
}

.form-control-modern:focus ~ .form-highlight {
  width: 100%;
}

/* Submit Button */
.form-submit-wrapper {
  text-align: center;
  margin-top: 30px;
}

.btn-contact-submit {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(var(--accent-rgb), 0.3);
  position: relative;
  overflow: hidden;
}

.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.4);
}

.btn-contact-submit:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-contact-submit:hover .btn-icon {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 991px) {
  .section-contact {
    padding: var(--space-8) 0;
  }

  .contact-container {
    margin-top: var(--space-6);
  }

  .contact-form-wrapper {
    padding: 30px;
    margin-top: 30px;
  }

  .contact-form-title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .section-contact {
    padding: var(--space-6) 0;
  }

  .contact-info-title {
    font-size: 20px;
  }

  .atelier-card-inner {
    padding: 20px;
  }

  .atelier-name {
    font-size: 16px;
  }

  .contact-form-wrapper {
    padding: 25px;
  }

  .contact-form-title {
    font-size: 22px;
  }

  .contact-form-subtitle {
    font-size: 14px;
  }

  .btn-contact-submit {
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* Partners Section Redesign - Auto Carousel */
.section-partners {
  padding: var(--space-8) 0;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.partners-container {
  margin-top: 60px;
}

/* Partners Carousel */
.partners-carousel-wrapper {
  margin-bottom: 80px;
  overflow: hidden;
}

.partners-carousel {
  margin: 0 -15px;
}

.partner-slide {
  width: 200px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.1), transparent);
  transition: left 0.5s ease;
}

.partner-card:hover::before {
  left: 100%;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(var(--accent-rgb), 0.15);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.partner-logo {
  width: 100%;
  display: flex;
  align-items: center;
}

.partner-image {
  max-width: 140px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.partner-card:hover .partner-image {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* Partners Stats */
.partners-stats {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(250, 192, 18, 0.1);
  position: relative;
  overflow: hidden;
}

.partners-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark), var(--accent));
}

.partners-stats .stat-item {
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.partners-stats .stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.partners-stats .stat-item:hover::after {
  width: 60%;
}

.partners-stats .stat-item:hover {
  transform: translateY(-5px);
}

.partners-stats .stat-number {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.partners-stats .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Flickity Customization */
.partners-carousel .flickity-viewport {
  overflow: visible;
}

.partners-carousel .flickity-slider {
  display: flex;
  align-items: center;
}

/* Animation for continuous movement
@keyframes partnerSlide {
    transform: translateX(0);
  100% {
    transform: translateX(-50%);
  }
} */

/* Responsive Design */
@media (max-width: 1199px) {
  .partner-slide {
    width: 180px;
  }

  .partner-card {
    padding: 25px 15px;
    height: 110px;
  }

  .partner-image {
    max-width: 120px;
    max-height: 60px;
  }
}

@media (max-width: 991px) {
  .section-partners {
    padding: 80px 0;
  }

  .partners-container {
    margin-top: 50px;
  }

  .partners-carousel-wrapper {
    margin-bottom: 60px;
  }

  .partner-slide {
    width: 160px;
  }

  .partner-card {
    padding: 20px 15px;
    height: 100px;
  }

  .partner-image {
    max-width: 100px;
    max-height: 50px;
  }

  .partners-stats {
    padding: 40px 30px;
  }

  .partners-stats .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .section-partners {
    padding: 60px 0;
  }

  .partner-slide {
    width: 140px;
  }

  .partner-card {
    padding: 15px 10px;
    height: 90px;
  }

  .partner-image {
    max-width: 90px;
    max-height: 45px;
  }

  .partners-stats {
    padding: 30px 20px;
  }

  .partners-stats .stat-number {
    font-size: 28px;
  }

  .partners-stats .stat-label {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .partner-slide {
    width: 120px;
  }

  .partner-card {
    padding: 15px 8px;
    height: 80px;
  }

  .partner-image {
    max-width: 80px;
    max-height: 40px;
  }

  .partners-stats .row {
    gap: 0;
  }

  .partners-stats .stat-item {
    padding: 15px 10px;
  }

  .partners-stats .stat-number {
    font-size: 24px;
  }
}

/* Astuce Cards Styling */
.astuce-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.astuce-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.astuce-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.astuce-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.astuce-card:hover .astuce-image img {
    transform: scale(1.05);
}

.astuce-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 2;
}

.astuce-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.astuce-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.astuce-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.astuce-excerpt {
    color: #666;
}

/* Astuce Sidebar Styling */
.astuce-sidebar {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.astuce-sidebar:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.astuce-sidebar .section-title h3 {
   /* font-size: 1.4rem;*/
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    padding-left: 20px;
    margin-bottom: 25px;
}

.astuce-sidebar .section-title h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
}

/* Search Form */
.astuce-search .input-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.astuce-search .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 14px;
    background: #f8f9fa;
}

.astuce-search .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.astuce-search .btn-primary:hover {
    transform: translateX(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Categories */
.astuce-categories .category-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.astuce-categories .category-link:hover {
    background: #e9ecef;
    color: #3498db;
    border-left-color: #3498db;
    transform: translateX(5px);
}

.astuce-categories .category-link i {
    color: #3498db;
    margin-right: 10px;
    transition: all 0.3s ease;
}

/* Tags */
.astuce-tags .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.astuce-tags .tag-link {
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    text-decoration: none;
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.astuce-tags .tag-link:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
}

/* Sidebar Image */
.astuce-sidebar-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    margin-bottom: 20px;
}

/* Recent Astuces Styling */
.recent-astuce {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border-left: 3px solid transparent;
}

.recent-astuce:hover {
    background: #e9ecef;
    border-left-color: #3498db;
    transform: translateX(5px);
    text-decoration: none;
    color: inherit;
}

.recent-astuce img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.recent-astuce:hover img {
    transform: scale(1.05);
}

.recent-astuce-content {
    flex: 1;
    min-width: 0;
}

.recent-astuce-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.recent-astuce:hover .recent-astuce-title {
    color: #3498db;
}

.recent-astuce i {
    color: #3498db;
    font-size: 12px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.recent-astuce:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .recent-astuce {
        padding: 12px;
        gap: 12px;
    }
    
    .recent-astuce img {
        width: 70px;
        height: 50px;
    }
    
    .recent-astuce-title {
        font-size: 13px;
    }
}


.astuce-sidebar-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.astuce-sidebar-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.astuce-sidebar-image:hover img {
    transform: scale(1.05);
}

/* Plain Text Widget */
.astuce-plain-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.astuce-plain-text p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.astuce-plain-text .btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.astuce-plain-text .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .astuce-sidebar {
        margin-top: 40px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .astuce-sidebar {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .astuce-sidebar .section-title h3 {
        /*font-size: 1.2rem;*/
        padding-left: 15px;
    }
    
    .astuce-categories .category-link {
        padding: 10px 15px;
        font-size: 14px;
    }
}


.astuce-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin-top: auto;
}

.astuce-read-more:hover {
    color: #2980b9;
}

/* Responsive */
@media (max-width: 768px) {
    .astuce-image {
        height: 180px;
    }
    
    .astuce-content {
        padding: 20px;
    }
    
    .astuce-title {
        font-size: 1.1rem;
    }
}


