/* ===================================================================
   NETTELECOM — Revamp "nouvelles technologies"
   Surcouche non destructive par-dessus style.css (template Eterna).
   Conserve la palette Nettelecom (indigo #0F056B / corail #e6573f)
   mais modernise typographie, espacements, cartes, header, hero, footer.
   =================================================================== */

:root {
  --nt-primary: #0F056B;
  --nt-primary-light: #221580;
  --nt-primary-dark: #0a0349;
  --nt-accent: #e6573f;
  --nt-accent-light: #ff8064;
  --nt-accent-dark: #c73f28;
  --nt-ink: #16162c;
  --nt-muted: #6b7188;
  --nt-bg: #f7f8fc;
  --nt-surface: #ffffff;
  --nt-border: #e7e8f2;
  --nt-radius-sm: 10px;
  --nt-radius: 16px;
  --nt-radius-lg: 24px;
  --nt-shadow-sm: 0 2px 10px rgba(15, 5, 107, 0.06);
  --nt-shadow: 0 10px 30px rgba(15, 5, 107, 0.10);
  --nt-shadow-lg: 0 20px 50px rgba(15, 5, 107, 0.16);
  --nt-gradient: linear-gradient(135deg, var(--nt-primary) 0%, #2c1caf 55%, var(--nt-accent) 130%);
  --nt-gradient-soft: linear-gradient(135deg, rgba(15,5,107,0.06) 0%, rgba(230,87,63,0.06) 100%);
}

body {
  background: var(--nt-bg);
  color: var(--nt-ink);
}

/* -------------------- Topbar -------------------- */
#topbar {
  background: var(--nt-primary-dark);
  font-size: 13px;
  letter-spacing: .2px;
}
#topbar .contact-info i a,
#topbar .contact-info i span { color: rgba(255,255,255,.85); }
#topbar .social-links a {
  background: rgba(255,255,255,.08);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 8px;
  transition: all .25s ease;
}
#topbar .social-links a:hover {
  background: var(--nt-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* -------------------- Header / Nav -------------------- */
#header {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--nt-border);
  transition: box-shadow .3s ease, padding .3s ease;
}
#header.nt-scrolled {
  box-shadow: var(--nt-shadow-sm);
}
.navbar a, .navbar a:focus {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--nt-ink);
}
.navbar a:hover, .navbar .active, .navbar li:hover > a {
  color: var(--nt-accent);
}
.navbar .dropdown ul {
  border-radius: var(--nt-radius-sm);
  box-shadow: var(--nt-shadow);
  border: 1px solid var(--nt-border);
  padding: 8px;
  overflow: hidden;
}
.navbar .dropdown ul li { border-radius: 8px; overflow: hidden; }
.navbar .dropdown ul a { padding: 10px 14px; border-radius: 8px; }
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  background: var(--nt-gradient-soft);
  color: var(--nt-accent);
}

/* -------------------- Buttons (generic) -------------------- */
.nt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: 2px solid transparent;
}
.nt-btn-primary {
  color: #fff;
  background: var(--nt-gradient);
  box-shadow: var(--nt-shadow);
}
.nt-btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--nt-shadow-lg);
}
.nt-btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: transparent;
}
.nt-btn-outline:hover {
  color: var(--nt-primary);
  background: #fff;
  transform: translateY(-3px);
}

/* -------------------- Hero -------------------- */
#hero .carousel-item::before {
  background: linear-gradient(120deg, rgba(10,3,73,.88) 0%, rgba(15,5,107,.72) 45%, rgba(230,87,63,.55) 130%);
}
#hero .carousel-content {
  text-align: left;
  align-items: flex-start;
  max-width: 800px;
}
#hero .carousel-container { justify-content: flex-start; padding-left: 6%; }
#hero h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.2;
  text-align: left;
}
#hero h2 span {
  color: var(--nt-accent-light);
  border-bottom: none;
  position: relative;
}
#hero p {
  text-align: left;
  max-width: 560px;
  font-size: 17px;
  color: #fff;
  opacity: .92;
}
.nt-hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.nt-hero-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------- Section titles -------------------- */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--nt-primary);
  position: relative;
  padding-bottom: 16px;
}
.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  border-radius: 4px;
  background: var(--nt-gradient);
}
.section-title p { color: var(--nt-muted); font-size: 16px; }

/* -------------------- Featured / icon boxes -------------------- */
.featured .icon-box,
#services .icon-box {
  background: var(--nt-surface);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius);
  padding: 34px 26px;
  box-shadow: var(--nt-shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.featured .icon-box:hover,
#services .icon-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--nt-shadow);
  border-color: transparent;
}
#services .icon-box .icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--nt-radius-sm);
  background: var(--nt-gradient-soft);
  margin-bottom: 18px;
}
#services .icon-box .icon i { color: var(--nt-accent); font-size: 26px; }
#services .icon-box h4 a { color: var(--nt-primary); font-family: "Poppins", sans-serif; font-weight: 600; }
#services .icon-box h4 a:hover { color: var(--nt-accent); }
#services .icon-box p { color: var(--nt-muted); margin-top: 8px; font-size: 14px; }

.featured .icon-box i { color: var(--nt-accent); }

/* -------------------- About / content sections -------------------- */
.about img.img-fluid { border-radius: var(--nt-radius-lg); box-shadow: var(--nt-shadow); }
.about .content h3 { font-family: "Poppins", sans-serif; color: var(--nt-primary); font-weight: 700; }

/* -------------------- Skills / portfolio-details cards -------------------- */
.skills { background: transparent; }
.skills .progress-bar { background: var(--nt-gradient); }
.portfolio-info, .portfolio-description {
  background: var(--nt-surface);
  border-radius: var(--nt-radius);
  box-shadow: var(--nt-shadow-sm);
  padding: 24px;
}

/* -------------------- Clients -------------------- */
.clients .swiper-slide img {
  filter: grayscale(100%);
  opacity: .7;
  transition: all .3s ease;
}
.clients .swiper-slide img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

/* -------------------- Footer -------------------- */
#footer {
  background: var(--nt-primary-dark);
  position: relative;
}
#footer .footer-top { background: transparent; padding-top: 60px; }
#footer h3, #footer h4 { color: #fff; font-family: "Poppins", sans-serif; }
#footer .footer-links ul a, #footer .footer-contact p, #footer .footer-info p {
  color: rgba(255,255,255,.72);
}
#footer .footer-links ul a:hover { color: var(--nt-accent-light); }
#footer .social-links a {
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  transition: all .25s ease;
}
#footer .social-links a:hover { background: var(--nt-accent); color: #fff; }
#footer .credits, #footer .credits a { color: rgba(255,255,255,.5); }

.back-to-top {
  background: var(--nt-gradient) !important;
  box-shadow: var(--nt-shadow);
}

/* -------------------- Reveal-on-scroll -------------------- */
.nt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.nt-reveal.nt-in { opacity: 1; transform: translateY(0); }

/* -------------------- Partner / callout blocks -------------------- */
.nt-callout {
  border-radius: var(--nt-radius);
  border-left: 4px solid var(--nt-accent);
  background: var(--nt-gradient-soft);
  padding: 22px 26px;
  box-shadow: var(--nt-shadow-sm);
}
.nt-callout strong { color: var(--nt-primary); }
.nt-callout a { color: var(--nt-accent); font-weight: 600; }

.nt-cta-banner {
  background: var(--nt-gradient);
  border-radius: var(--nt-radius-lg);
  padding: 40px;
  color: #fff;
  box-shadow: var(--nt-shadow-lg);
}
.nt-cta-banner h3 { color: #fff; font-family: "Poppins", sans-serif; font-weight: 700; }

@media (max-width: 992px) {
  #hero h2 { font-size: 32px; }
  #hero .carousel-container { padding-left: 5%; padding-right: 5%; }
}
