/* ---------------- RESET ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* ---------------- GLOBAL ---------------- */
body {
  line-height: 1.6;
  background: #f4f6fb;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

h1, h2, h3 {
  line-height: 1.3;
  font-weight: 700;
}

p {
  font-size: 1rem;
  color: black;
}

/* ---------------- HEADER ---------------- */
header {
  background: linear-gradient(90deg, #0a3d62, #145a8d);
  color: #fff;
  padding: 18px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

header h1 {
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.site-logo {
  height: 50px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  margin: 0 4px;
}

nav a:hover,
nav a.active {
  background: #e58e26;
  color: #fff;
}

/* ---------------- HERO ---------------- */
#hero {
  background: url('https://images.unsplash.com/photo-1581091012184-5c1b1d8a6b9b?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

#hero .hero-content {
  position: relative;
  z-index: 1;
}

#hero h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

#hero .btn {
  background: #e58e26;
  color: #fff;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

#hero .btn:hover {
  background: #cf711f;
  transform: translateY(-2px);
}

/* ---------------- SERVICES ---------------- */
#services {
  padding: 70px 20px;
  background: #fff;
}

#services h2 {
  text-align: center;
  font-size: 2.4rem;
  color: #0a3d62;
  margin-bottom: 20px;
}

#services .intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: #555;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service-card {
  background: #fdfdfd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.service-card h3 {
  margin-bottom: 15px;
  color: #145a8d;
  font-size: 1.3rem;
}

/* ---------------- GALLERY ---------------- */
#gallery {
  padding: 70px 20px;
  background: #fff;
  text-align: center;
}

#gallery h2 {
  font-size: 2.4rem;
  color: #0a3d62;
  margin-bottom: 15px;
}

#gallery .intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1.05rem;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-container img,
.gallery-container video {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-container img:hover,
.gallery-container video:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ---------------- LIGHTBOX ---------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
  flex-direction: column;
  padding: 20px;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox .close:hover {
  color: #e58e26;
}

#caption {
  color: #fff;
  font-size: 1rem;
  text-align: center;
}

/* ---------------- ACCORDION ---------------- */
.accordion {
  max-width: 800px;
  margin: 30px auto;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: #145a8d;
  color: #fff;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
}

.accordion-content {
  padding: 15px;
}

/* ---------------- MANAGEMENT PROFILE ---------------- */
.profile-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.profile-img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #ccc;
}

.profile-info {
  flex: 1;
}

/* ---------------- CLIENTELE ---------------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.client-card {
  background: #ffffff;
  padding: 18px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  font-size: 1.05rem;
  color: #145a8d;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
}

.client-card:hover {
  background: #f0f4fa;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* ---------------- CONTACT + MAP ---------------- */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

.contact-card {
  flex: 1 1 250px;
  background-color: #fdfdfd;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.map-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin-top: 25px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------- FOOTER ---------------- */
footer {
  background: #1a7ec6;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

footer p {
  margin: 5px 0;
  font-size: 0.95rem;
}

/* ---------------- BACK HOME BUTTON ---------------- */
.back-home {
  margin-top: 30px;
  text-align: center;
}

.back-home .btn {
  background: #145a8d;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.back-home .btn:hover {
  background: #0a3d62;
  transform: translateY(-2px);
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }

  #hero h2 {
    font-size: 2rem;
  }

  .profile-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .profile-info {
    text-align: center;
  }

  .contact-cards {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .back-home .btn {
    display: block;
    width: 90%;
    max-width: 320px;
    margin: 0 auto;
    font-size: 1.1rem;
    padding: 14px 0;
  }

  .site-logo {
    height: 35px;
  }
}

/* ---------------- CONTACT FORM ---------------- */
.contact-form-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-top: 30px;
}

.contact-form-container h3 {
  margin-bottom: 20px;
  color: #145a8d;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button.btn {
  width: 100%;
  padding: 14px;
  background: #145a8d;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button.btn:hover {
  background: #0a3d62;
  transform: translateY(-2px);
}

/* Mobile optimization */
@media (max-width: 600px) {
  .contact-form-container {
    padding: 20px;
  }
}
