/* ============================================================
   OSEC Sàrl — Design System (Verdant-inspired)
   Fonts: Rajdhani 700 (headings) · Rubik 400/500/600 (body)
   Colors: #C8102E (red accent) · #15161b (dark) · #fff (white)
   ============================================================ */

:root {
  --red:     #C8102E;
  --red-dark:#9e0c24;
  --dark:    #15161b;
  --white:   #ffffff;
  --gray:    #666666;
  --light:   #f5f5f5;
  --border:  #eeeeee;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Rubik", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 15px;
}
p { color: var(--gray); line-height: 1.7; margin: 0; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  font-size: .83rem;
  padding: 8px 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar__item { display: flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 14px; height: 14px; opacity: .7; }
.topbar a { color: rgba(255,255,255,.7); }
.topbar a:hover { color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: auto; }
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--dark);
  line-height: 1;
}
.logo__tagline { font-size: .65rem; color: var(--gray); letter-spacing: .08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__link:hover, .nav__link.active { color: var(--red); border-bottom-color: var(--red); }

.header__cta {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--red);
  color: var(--white);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  padding: 11px 22px;
  transition: background .2s;
}
.header__cta:hover { background: var(--red-dark); }
.header__cta svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__toggle span { display: block; width: 26px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: .2s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO — BANNER
   ============================================================ */
.home1-banner-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  background: var(--dark);
}
.banner-content-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px calc((100vw - 1200px) / 2 + 24px);
  position: relative;
  z-index: 1;
}
.banner-title-and-btn-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.banner-content-wrap h1 {
  font-size: clamp(3.5rem, 6vw, 6rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0;
  text-transform: uppercase;
}
.banner-btn {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .2s, background .2s;
}
.banner-btn:hover { border-color: var(--red); background: var(--red); }
.banner-btn svg { width: 22px; height: 22px; color: var(--white); }

.banner-content { margin-bottom: 48px; }
.banner-content p {
  color: rgba(255,255,255,.65);
  font-size: .97rem;
  margin-bottom: 18px;
  max-width: 46ch;
}
.banner-content h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  max-width: 40ch;
}

/* Circular rotating text badge */
.circle-container {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.circle-container svg {
  animation: rotate-badge 12s linear infinite;
  fill: none;
}
@keyframes rotate-badge { to { transform: rotate(360deg); } }
.circle-container .badge-text {
  font-family: "Rajdhani", sans-serif;
  font-size: 9px;
  font-weight: 700;
  fill: rgba(255,255,255,.8);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.circle-container .arrow-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle-container .arrow-icon svg { width: 28px; height: 28px; color: var(--red); transition: transform .2s; }
.circle-container .arrow-icon:hover svg { transform: translateX(4px); }

.banner-img {
  position: relative;
  overflow: hidden;
}
.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.7);
}
.banner-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--dark) 0%, transparent 30%);
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title { margin-bottom: 48px; }
.section-title.left-aligned { text-align: left; }
.section-title span {
  display: inline-block;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--dark);
  margin-bottom: 14px;
}
.section-title p { max-width: 60ch; }

/* ============================================================
   ABOUT / INTRO SECTION
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}
.about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  padding: 20px 26px;
  text-align: center;
}
.about-badge-num {
  font-family: "Rajdhani", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.about-badge-text {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .9;
  margin-top: 4px;
}
.about-content .section-title { margin-bottom: 28px; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.about-feature { display: flex; align-items: flex-start; gap: 14px; }
.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,16,46,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg { width: 22px; height: 22px; color: var(--red); }
.about-feature-title { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 2px; color: var(--dark); }
.about-feature-text { font-size: .9rem; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  padding: 100px 0;
  background: var(--dark);
}
.services-section .section-title h2 { color: var(--white); }
.services-section .section-title p { color: rgba(255,255,255,.6); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0;
  transition: border-color .3s;
  cursor: default;
}
.service-card:hover { border-color: var(--red); }
.service-card:hover .service-hover-img { opacity: 1; }
.service-card:hover .service-content h3 a { color: var(--white); }
.service-card:hover .service-number h2 { color: rgba(255,255,255,.15); }

.service-content { grid-column: 1; grid-row: 1; z-index: 1; position: relative; }
.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.service-content h3 a { color: var(--white); }
.service-content p { color: rgba(255,255,255,.55); font-size: .9rem; }
.service-content a.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 18px;
}
.service-content a.more:hover { gap: 12px; }

.service-number {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  position: relative;
}
.service-number h2 {
  font-size: 4rem;
  color: rgba(255,255,255,.08);
  line-height: 1;
  margin-bottom: 0;
  transition: color .3s;
}

.service-icon-wrap {
  grid-column: 1 / -1;
  grid-row: 2;
  z-index: 1;
  position: relative;
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}
.service-icon {
  width: 80px;
  height: 80px;
  opacity: .25;
  transition: opacity .3s;
}
.service-card:hover .service-icon { opacity: .5; }
.service-icon svg { width: 100%; height: 100%; color: var(--white); }

.service-hover-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity .4s;
}
.service-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--red);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-family: "Rajdhani", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-label { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  padding: 100px 0;
  background: var(--light);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info .section-title { margin-bottom: 0; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; color: var(--white); }
.contact-info-label {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray);
  margin-bottom: 3px;
  font-weight: 600;
}
.contact-info-value { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--dark); }
.contact-info-value a { color: var(--dark); }
.contact-info-value a:hover { color: var(--red); }

.contact-wrap { background: var(--white); padding: 48px 44px; }
.contact-wrap h3 {
  font-size: 1.8rem;
  margin-bottom: 28px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-wrap input,
.contact-wrap select,
.contact-wrap textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  font-family: "Rubik", sans-serif;
  font-size: .9rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
  margin-bottom: 16px;
  border-radius: 0;
  appearance: none;
}
.contact-wrap input:focus,
.contact-wrap select:focus,
.contact-wrap textarea:focus { border-color: var(--red); }
.contact-wrap textarea { resize: vertical; min-height: 130px; }

.primary-btn1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.primary-btn1:hover { background: var(--red-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 70px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__about .logo__name { color: var(--white); }
.footer__about p { font-size: .88rem; margin-top: 14px; max-width: 28ch; }
.footer__col h4 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .2s;
}
.footer__col ul li a:hover { color: var(--red); }
.footer__col ul li a::before { content: '▸'; color: var(--red); font-size: .7rem; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; margin-bottom: 13px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,.6); }
.footer-contact-item a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: .8rem;
}
.footer__bottom a { color: rgba(255,255,255,.4); }
.footer__bottom a:hover { color: var(--red); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .banner-content-wrap { padding: 60px 48px 60px 48px; }
}

@media (max-width: 900px) {
  .home1-banner-section { grid-template-columns: 1fr; min-height: auto; }
  .banner-content-wrap { padding: 70px 24px; }
  .banner-img { height: 320px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .topbar__inner { justify-content: center; gap: 16px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--white); padding: 28px 24px; box-shadow: 0 8px 24px rgba(0,0,0,.12); gap: 20px; z-index: 999; }
  .nav.open { display: flex; }
  .nav__toggle { display: flex; }
  .header__cta span { display: none; }
  .header__inner { position: relative; }
  .banner-content-wrap h1 { font-size: 3rem; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-wrap { padding: 28px 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
