/* =========================================================
   OPTIONAL SECTION STYLES (unchanged from your project)
   ========================================================= */
.feature-strip {
  background: #fff;
  padding: 40px 0;
}
.feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--card-bd);
  border-radius: 14px;
  padding: 16px 18px;
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e9f6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card .icon i {
  color: #36a9e1;
}

.services-aisla {
  background: #f7f9ff;
}
.section-head {
  max-width: 700px;
  margin: 0 auto 28px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--card-bd);
  overflow: hidden;
}
.service-card .top-accent {
  height: 10px;
  background: linear-gradient(90deg, #f7b27c, #e75a2a);
}
.service-card:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
}

.project-card {
  background: #fff;
  border: 1px solid var(--card-bd);
  border-radius: 14px;
  overflow: hidden;
}
.project-card .img-wrap {
  height: 250px;
  overflow: hidden;
}
.project-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
}

.team-card {
  background: #fff;
  border: 1px solid var(--card-bd);
  border-radius: 16px;
  padding: 18px;
}
.team-card .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  background: #f2f5ff;
}
.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Contact block decorations (leave if you use them) */
.contact-detail::before {
  position: absolute;
  content: "";
  height: 50%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, 0.3)), url(../img/background.jpg) center /
    cover no-repeat;
  border-radius: 10px;
  z-index: -1;
}
.contact-map {
  background: #1f7904;
}
.contact-form {
  background: #1f7904;
}

/* Testimonials dots */
.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: #c1dad0;
  border-radius: 15px;
  transition: .3s;
}
.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: #0d6efd;
}
/* ========= About – Donut layout ========= */

.about-aisla .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #f5a623;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: .35rem;
}
.about-aisla .eyebrow i {
  display: inline-block;
  width: 62px;
  height: 3px;
  background: #f5a623;
  border-radius: 2px;
}

.about-aisla .about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a5568;
  margin: .35rem 0;
  font-size: 1rem;
}
.about-aisla .about-list i {
  color: var(--indigo);
}

/* Donut wrapper centers the visual */
.about-donut-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Big circle with blue arc (like the reference)
   Tweak --arc-start and --arc-size if you want different gap/length */
.about-donut {
  /* size responsive but large */
  width: min(640px, 80vw);
  aspect-ratio: 1 / 1;
  position: relative;
  /* mask to create a ring thickness (70px) */
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 70px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 70px), #000 0);

  /* conic arc with two cuts (start+size controls) */
  --arc-start: 210deg; /* where the arc begins */
  --arc-size: 280deg; /* how long the arc is */
 /* background: conic-gradient(from var(--arc-start), var(--sky) 0 var(--arc-size), transparent var(--arc-size) 360deg);*/

  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.18));
  border-radius: 50%;
}

/* Inner full disc (gray in your reference)
   If you'd rather show an image, swap background below for:
   background: url('...') center/cover no-repeat; */
.about-donut__inner {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: #676767; /* neutral / matches screenshot */
  box-shadow: inset 0 12px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.about-donut__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}



/* Make it breathe a bit on small screens */
@media (max-width: 992px) {
  .about-donut {
    width: min(520px, 88vw);
  }
  .about-aisla .display-5 {
    font-size: clamp(1.75rem, 4.5vw + .5rem, 2.75rem);
  }
}


/* =========================================================
   SECTION STYLES - Updated with Figma colors
   ========================================================= */
.feature-strip {
  background: #fff;
  padding: 40px 0;
}
.feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border); /* Using Figma border color */
  border-radius: 14px;
  padding: 16px 18px;
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light); /* Using Figma light color */
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card .icon i {
  color: var(--secondary); /* Using Figma secondary blue */
}

.services-aisla {
  background: var(--light); /* Using Figma light color */
}
.section-head {
  max-width: 700px;
  margin: 0 auto 28px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border); /* Using Figma border color */
  overflow: hidden;
}
.service-card .top-accent {
  height: 10px;
  background: linear-gradient(90deg, var(--warning), var(--accent)); /* Using Figma warning and accent */
}
.service-card:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
}

.project-card {
    border-radius: 12px;
    min-height: 320px;
}

/* Première carte */
.project-card.highlight {
    border: 2px solid var(--accent);
    background: #fff;
    color: var(--dark);
}
.project-card.highlight .category {
    color: var(--accent);
    font-size: 0.85rem;
}
.project-card.highlight .savings {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 0;
}
.project-card.highlight .year-savings {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Autres cartes */
.project-card.muted {
    background: #555;
    border-radius: 12px;
}


.team-card {
  background: #fff;
  border: 1px solid var(--border); /* Using Figma border color */
  border-radius: 16px;
  padding: 18px;
}
.team-card .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  background: var(--surface); /* Using Figma surface color */
}
.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border); /* Using Figma border color */
  border-radius: 16px;
  overflow: hidden;
}
.blog-card .img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.blog-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card .img .pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary); /* Using Figma primary blue */
  color: #fff;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .8rem;
}
.blog-card .content {
  padding: 16px;
}

/* Contact block decorations (leave if you use them) */
.contact-detail::before {
  position: absolute;
  content: "";
  height: 50%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, 0.3)), url(../img/background.jpg) center /
    cover no-repeat;
  border-radius: 10px;
  z-index: -1;
}
.contact-map {
  background: #1f7904;
}
.contact-form {
  background: #1f7904;
}

/* Testimonials dots */
.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: #c1dad0;
  border-radius: 15px;
  transition: .3s;
}
.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: #0d6efd;
}
/* ========= About – Donut layout ========= */

.about-aisla .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--warning); /* Using Figma warning yellow */
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: .35rem;
}
.about-aisla .eyebrow i {
  display: inline-block;
  width: 62px;
  height: 3px;
  background: var(--warning); /* Using Figma warning yellow */
  border-radius: 2px;
}

.about-aisla .about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted); /* Using Figma muted color */
  margin: .35rem 0;
  font-size: 1rem;
}
.about-aisla .about-list i {
  color: var(--primary); /* Using Figma primary blue */
}

/* Donut wrapper centers the visual */
.about-donut-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-donut {
  width: min(640px, 80vw);
  aspect-ratio: 1 / 1;
  position: relative;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 70px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 70px), #000 0);

  --arc-start: 210deg;
  --arc-size: 280deg;
;

  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.18));
  border-radius: 50%;
}

.about-donut__inner {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  /*background: var(--muted); /* Using Figma muted gray */
  box-shadow: inset 0 12px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

/* Make it breathe a bit on small screens */
@media (max-width: 992px) {
  .about-donut {
    width: min(520px, 88vw);
  }
  .about-aisla .display-5 {
    font-size: clamp(1.75rem, 4.5vw + .5rem, 2.75rem);
  }
}

/* Added projects section styles to match Figma design */
.projects-section {
  background: #fff;
}

.projects-section .project-featured-card {
  border: 2px solid var(--accent);
  border-radius: 16px;
  background: #fff;
  transition: all 0.3s ease;
}

.projects-section .project-featured-card:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.projects-section .project-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.projects-section .project-nav-btn.active {
  background: var(--accent);
  border-color: var(--accent);
}

.projects-section .project-nav-btn:hover {
  transform: translateY(-2px);
}

.projects-section .project-placeholder {
  background: var(--muted);
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.projects-section .project-placeholder:hover {
  transform: scale(1.02);
}

/* Added project image hover effects with overlay and shadows */
.project-image-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-overlay {
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.project-image-card:hover .project-overlay {
  opacity: 1;
}

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

.project-overlay h6 {
  font-size: 0.9rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments for project hover effects */
@media (max-width: 768px) {
  .project-image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }

  .project-overlay h6 {
    font-size: 0.8rem;
  }
}
