:root {
  --blue-dark: #2b3990;
  --blue-light: #29abe2;
  --orange: #f5820d;
  --lime: #d4d94a;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --bg-light: #f6f8fb;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(43, 57, 144, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 { color: var(--blue-dark); margin-top: 0; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 130, 13, 0.35); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.logo img { height: 55px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a { font-weight: 600; color: var(--blue-dark); padding: 8px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--orange); }
.main-nav .btn-nav {
  background: var(--blue-dark);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
}
.main-nav .btn-nav:hover { background: var(--orange); }

.nav-dropdown { position: relative; cursor: pointer; }
.nav-dropdown > span { font-weight: 600; color: var(--blue-dark); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 220px;
  display: none;
  flex-direction: column;
}
.nav-dropdown:hover .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 8px 12px; border-radius: 6px; }
.dropdown-menu a:hover { background: var(--bg-light); color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 2.6rem; max-width: 800px; margin: 0 auto 20px; }
.hero p { max-width: 640px; margin: 0 auto 32px; font-size: 1.1rem; opacity: 0.95; }
.hero .cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 80px 0; }
.section-bg { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2rem; }
.section-title p { color: var(--text-light); max-width: 620px; margin: 10px auto 0; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card img { height: 180px; width: 100%; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card-body p { color: var(--text-light); margin-bottom: 16px; }
.service-card-body a { color: var(--orange); font-weight: 600; }

/* Why us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--lime));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem; font-weight: 700;
}

/* Realisations */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.realisation-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.realisation-card img { height: 200px; width: 100%; object-fit: cover; }
.realisation-card-body { padding: 18px; }

/* Service detail page */
.service-hero {
  background: var(--bg-light);
  padding: 60px 0;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.service-detail-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 800px) {
  .service-detail-grid { grid-template-columns: 1fr; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.alert-success { background: #eaf7ec; color: #1e7e34; }
.alert-error { background: #fdecea; color: #c0392b; }

.contact-info-list li { margin-bottom: 14px; }
.contact-info-list strong { color: var(--blue-dark); display: block; }

/* Footer */
.site-footer { background: var(--blue-dark); color: #dfe3f5; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 40px;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-logo {
  height: 45px;
  margin-bottom: 16px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
.footer-col h4 { color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--orange); }
.footer-legal {
  background: rgba(0,0,0,0.15);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #b9c0e0;
}
.footer-legal p { margin: 4px 0; }
.copyright { margin-top: 10px !important; opacity: 0.8; }

/* Responsive nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    padding-left: 12px;
  }
  .nav-dropdown:hover .dropdown-menu { display: flex; }
}
