@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Anton&display=swap");
:root {
  --primary: #1e5eff;
  --primary-dark: #163175;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, 0.14);
  --radius: 24px;
  --transition: all 0.35s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  width:100%;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
}
section {
  scroll-margin-top: 110px;
  width:100%
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 5%;
  display: flex;
  margin-bottom: 45px;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: var(--transition);
}
header.sticky {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.18);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.logo h4 {
  font-size: 18px;
  line-height: 1;
  font-family: "Anton", sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 400;
}
.logo svg {
  color: #fff;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  position: relative;
  color: #fff;
  font-weight: 600;
  padding: 10px 2px;
  transition: var(--transition);
}
nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: var(--transition);
}
nav a:not(.btn):hover::after,
nav a.active:not(.btn)::after {
  width: 100%;
}
nav a:not(.btn):hover {
  color: #fff;
  transform: translateY(-1px);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), #4c7dff);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(30, 94, 255, 0.32);
  transition: var(--transition);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(30, 94, 255, 0.38);
}
.btn i {
  transition: transform 0.3s ease;
}
.btn:hover i {
  transform: translateX(4px);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.home{
  position: relative;
  min-height: 100vh;
  position: relative;
  padding-bottom: 220px;
  padding:140px 5% 0;
  background:url("./images/PhotoPrincipal.png") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  margin-bottom: 45px;
 z-index: 9;
}

.home::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.3)
    );
    z-index: -1;
}
.home .overlay {
     position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -120px;
    width: 92%;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(30, 94, 255, 0.28),
      transparent 38%
    ),
    linear-gradient(135deg, rgba(2, 6, 23, 0.88), rgba(15, 23, 42, 0.82));
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}
.text {
  max-width: 680px;
}
.text span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
}
.text h1 {
  margin-top: 22px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
  color: #fff;
  letter-spacing: -1.6px;
}
.text h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.6px;
}
.text p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 450px;
}
.btns {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn1,
.btn2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 700;
  transition: var(--transition);
}
.btn1 {
  background: linear-gradient(135deg, var(--primary), #4c7dff);
  color: #fff;
  box-shadow: 0 16px 36px rgba(30, 94, 255, 0.34);
}
.btn1:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(30, 94, 255, 0.42);
}
.btn2 {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.btn2:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}
.hero-card {
  display: flex;
  justify-content: flex-end;
}
.hero-card-inner {
  width: 100%;
  max-width: 380px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 50px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(16px);
  color: #fff;
}
.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 0.92rem;
}
.hero-card h3 {
  margin-top: 18px;
  font-size: 1.55rem;
  line-height: 1.2;
}
.hero-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}
.hero-card-stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-item {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-item strong {
  display: block;
  font-size: 1.5rem;
}
.stat-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}
.buts{
    display: grid;
    grid-template-columns: repeat(4,1fr);
  position: relative !important;
  bottom: -90px !important;
  left: 0 !important;
  transform: none !important;
  gap: 25px;
  z-index: 100 !important;
}
.box {
  display: flex;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
}
.box i {
  width: 56px;
  height: 56px;
  display: grid;
  padding: 7px 7px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4c7dff);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(30, 94, 255, 0.22);
}
.boxfils h4 {
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.boxfils p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
} 
.tache,
.why-us,
.reviews,
.location,
.contact {
  padding: 110px 5%;
}
.about {
  padding: 170px 5% 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.about-image img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  min-height: 360px;
}
.about-content h6,
.tache h6,
.why-us h6,
.reviews h6,
.location h6,
.contact h6 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.about-content h2,
.tache h2,
.why-us h2,
.reviews h2,
.location h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.about-content p {
  color: var(--muted);
  line-height: 1.8;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.stat {
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stat h3 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 6px;
}
.stat p {
  color: var(--muted);
  font-size: 0.95rem;
}
.tache {
  text-align: center;
  background-color: rgba(0, 0, 255, 0.091);
}
.tache h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #7aa2ff);
}
#competences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.skill {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.skill::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -30%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(30, 94, 255, 0.16), transparent 70%);
  transform: translateY(-20px);
  pointer-events: none;
}
.skill:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
}
.skill img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.skill i {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #4c7dff);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(30, 94, 255, 0.24);
}
.texte {
  padding: 22px;
  text-align: left;
}
.texte h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.texte p {
  color: var(--muted);
  line-height: 1.7;
} 
.why-us {
  text-align: center;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.feature {
  padding: 28px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
}
.feature i {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), #4c7dff);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 14px 28px rgba(30, 94, 255, 0.22);
}
.feature h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.feature p {
  color: var(--muted);
  line-height: 1.7;
} 
.reviews {
  text-align: center;
  background-color: rgba(0, 0, 255, 0.091);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.review-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  text-align: left;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-meta h3 {
  color: var(--primary-dark);
  margin-bottom: 6px;
  font-size: 1rem;
}
.review-meta h3 svg{
    color:rgb(189, 139, 14);
}
.review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
  font-size: 0.9rem;
}
.review-card p {
  color: var(--muted);
  line-height: 1.8;
} 
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.info-item i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #4c7dff);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 12px 24px rgba(30, 94, 255, 0.22);
}
.info-item h4 {
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.info-item p {
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
}
.map {
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact {
  text-align: center;
  background-color: rgba(0, 0, 255, 0.091);
}
.contact-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(30, 94, 255, 0.303),
    rgba(76, 124, 255, 0.366)
  );
  border: 1px solid rgba(30, 94, 255, 0.12);
  box-shadow: var(--shadow-lg);
}
.contact-card p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 24px;
}
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
} 
footer {
  background: #0f172a;
  color: #fff;
  padding: 72px 5% 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
  gap: 32px;
}
.footer-brand p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}
.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}
.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  transition: var(--transition);
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
}
.footer-contact i {
  color: #9fc1ff;
  margin-right: 8px;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: var(--transition);
}
.socials a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.68);
}
.signature {
  color: rgba(255, 255, 255, 0.82);
}
.signature span a {
  color: #9fc1ff;
  font-weight: 700;
  animation: glow 2s infinite;
}
@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 6px rgba(159, 193, 255, 0.3);
  }
  50% {
    text-shadow: 0 0 14px rgba(159, 193, 255, 0.8);
  }
} 
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4c7dff);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(30, 94, 255, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 1200;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover {
  transform: translateY(-4px);
} 
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
} 
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-card {
    justify-content: flex-start;
  }
  .about {
    grid-template-columns: 1fr;
  }
  #competences {
    grid-template-columns: repeat(2, 1fr);
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .location-content {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .buts {
    position: static;
    margin-top: 36px;
    grid-template-columns: repeat(2, 1fr);
  }
  .home {
    padding-bottom: 120px;
  }
}
@media (max-width: 768px) {
  header {
    padding: 16px 5%;
  }
  nav {
    position: fixed;
    top: 74px;
    right: -100%;
    width: min(82vw, 340px);
    height: calc(100vh - 74px);
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(2, 6, 23, 0.18);
  }
  nav.open {
    right: 0;
  }
  nav a {
    width: 100%;
    font-size: 1.05rem;
  }
  nav .btn {
    width: 100%;
    justify-content: center;
  }
  .menu-toggle {
    display: flex;
  }
  .home {
    min-height: 100vh;
    padding: 120px 5% 80px;
  }
  .hero-content {
    gap: 28px;
  }
  .text {
    text-align: center;
    margin: 0 auto;
  }
  .text p {
    margin-left: auto;
    margin-right: auto;
  }
  .btns {
    justify-content: center;
  }
  .hero-card {
    justify-content: center;
  }
  .hero-card-inner {
    max-width: 100%;
  }
  .buts {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  #competences,
  .features,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .text h1 {
    font-size: 2.4rem;
  }
  .text h2 {
    font-size: 1.45rem;
  }
  .btn1,
  .btn2 {
    width: 100%;
    justify-content: center;
  }
  .contact-card {
    padding: 28px 22px;
  }
}
