/* ---style.css 
GLOBAL & SITE-WIDE STYLES --- */
:root {
  --purple: #940075;
  --purple-scrolled: #62004d;
  --blue: #009fe3;
  --header-bg: #fff;
  --logo-size: 70px;
  --logo-size-scrolled: 44px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #ffffff;
  color: #222;
}
.site-container {
  max-width: 1600px;
  margin: 0 auto;
  background-color: #fafbfc;
  box-shadow: 0 0 15px rgba(0,0,0,0.07);
}
.main-header, .hero-banner {
    width: 100%;
    box-sizing: border-box;
}
.top-bar {
  background: var(--purple);
  color: #fff;
  font-size: 0.97rem;
  padding: 0.25em 0;
  min-height: 30px;
  position: sticky;
  top: 0;
  z-index: 1100;
  transition: background var(--transition);
}
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 2.5em;
}
.top-bar.scrolled { background: var(--purple-scrolled); }
.top-bar a { color: #fff; text-decoration: none; margin-left: 0.2em; }
.main-header {
  position: sticky;
  top: 30px;
  background: var(--header-bg);
  color: #202442;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7em 1em 0.7em 0.6em;
  transition: padding var(--transition);
  background: #fff;
}
.main-logo {
  height: var(--logo-size);
  width: auto;
  transition: height var(--transition);
  background: #fff;
  border-radius: 5px;
  border: none;
  display: block;
  padding: 0;
  margin: 0;
}
.main-header.shrink .main-logo { height: var(--logo-size-scrolled); }
nav { display: flex; gap: 2.1em; font-size: 1.13rem; align-items: center; }
nav a { text-decoration: none; color: inherit; font-weight: 500; border-radius: 3px; padding: 0.2em 0.7em; transition: background var(--transition), color var(--transition); }
nav a.active,
nav a:hover {
  color: var(--blue);
  background: transparent;
}
.search-icon-link {
    line-height: 0;
}
.search-icon-svg {
    width: 18px;
    height: 18px;
    fill: #333;
    transition: fill 0.2s;
}
.search-icon-link:hover .search-icon-svg {
    fill: var(--blue);
}
.hero-banner {
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e9eef1;
  border-bottom: 1px solid #eee;
  overflow: hidden;
  padding: 30px 40px;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; z-index: 1;
  filter: brightness(0.95);
}
.hero-overlay {
  position: relative; z-index: 2; max-width: 600px;
  display: flex; flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 35px;
  text-align: center;
  background: transparent;
}
.hero-title { font-size: 2.2em; font-weight: bold; color: #181c38; margin-bottom: 0.5em; text-shadow: 0 1px 3px rgba(255,255,255,0.4); }
.hero-desc { font-size: 1.15em; color: #2c3254; margin-bottom: 1.2em; text-shadow: 0 1px 3px rgba(255,255,255,0.4); }
.hero-call { font-size: 1.2em; margin-bottom: 1.2em; color: #181c38; font-weight: 600; text-shadow: 0 1px 3px rgba(255,255,255,0.4); }
.hero-button {
  padding: 0.7em 2.2em; font-size: 1.07em;
  background: transparent;
  color: #333;
  border: 2px solid #555;
  border-radius: 5px; cursor: pointer; font-weight: 600;
  transition: all 0.2s;
}
.hero-button:hover { background: #333; color: #fff; }
.review-slider {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 32px 15px 12px 15px;
  min-height: 210px;
  margin: 40px auto;
  text-align: center;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.review-content {
  width: 100%;
  max-width: 1200px;
  height: 148px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: opacity 0.5s;
  position: relative;
}
.review-inner {
  position: absolute;
  left: 0; right: 0; top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  pointer-events: none;
}
.review-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.45rem;
  color: #333;
  font-weight: 400;
  line-height: 1.28;
  height: 3.712rem;
  width: 100%;
  margin-top: 17px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}
.review-stars {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 1.5rem;
  color: #ffc700;
  letter-spacing: 3px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.review-name {
  color: #888;
  font-size: 1rem;
  font-weight: 500;
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}
.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 170px;
  cursor: pointer;
  box-shadow: 0 4px 20px 0 rgba(0,0,0,0.10);
  transition: box-shadow .2s;
  background: #ccc;
}
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.60);
  transition: filter 0.2s;
  pointer-events: none;
  user-select: none;
}
.grid-item:hover img,
.grid-item.active img {
  filter: brightness(1.05);
}
.grid-label {
  position: absolute;
  left: 0;
  right: 0;
  top: 45px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.6em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.22);
  pointer-events: none;
}
.more-info-btn {
  position: absolute;
  left: 0;
  right: 0;
  top: 90px;
  margin: 0 auto;
  width: 120px;
  padding: 7px 0;
  border: none;
  border-radius: 6px;
  background: rgba(255,255,255,0.8);
  color: #333;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.97;
  transition: background .16s;
}
.grid-item:hover .more-info-btn,
.grid-item.active .more-info-btn {
  background: #0072cc;
  color: #fff;
}
.popup-bg {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 1200;
  justify-content: center;
  align-items: center;
}
.popup-bg.active {
  display: flex;
}
.popup-content {
  background: #fff;
  border-radius: 18px;
  max-width: 670px;
  width: 670px;
  min-width: 670px;
  min-height: 260px;
  max-height: 340px;
  height: 340px;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  padding: 36px 0 36px 36px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.16);
  position: relative;
  gap: 24px;
}
.popup-img {
  flex: 0 0 180px;
  border-radius: 10px;
  width: 180px;
  height: 140px;
  object-fit: cover;
}
.popup-body {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 36px;
  min-width: 320px;
}
.popup-title {
  font-size: 2em;
  font-weight: bold;
  margin: 0 0 16px 0;
  color: #222;
}
.popup-close {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 2.2em;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.popup-close:hover {
  opacity: 1;
}
.popup-action {
  margin-top: 25px;
  display: inline-block;
  background: #0056ba;
  color: #fff;
  font-weight: bold;
  padding: 13px 32px;
  border-radius: 6px;
  font-size: 1.11em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
  transition: background 0.16s;
}
.popup-action:hover { background: #003e81; }
.services-list-footer {
  text-align: center;
  padding: 2.5em 0 1.2em 0;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
.services-list-title { font-weight: 600; font-size: 1.12em; color: #323262; margin-bottom: 0.85em; }
.services-list { display: flex; flex-wrap: wrap; gap: 2.7em 2.6em; justify-content: center; font-size: 1em; color: #0c0c2f; max-width: 850px; margin: 0 auto; }
.services-list div { min-width: 150px; }
.footer-dark { background: #222; color: #fff; text-align: center; padding: 1.3em 0 1.6em 0; font-size: 1.1em; }
.footer-blue {
  background: var(--blue);
  color: #fff;
  font-size: 1.2em;
  padding: 1.2em 0;
  border-top: 3px solid #fff;
}
.footer-blue-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
    text-align: center;
}
.footer-blue-inner a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
}
.about-section {
  background: #ffffff;
  box-shadow: none;
  max-width: 100%;
  margin: 0;
  padding: 38px 32px;
  font-size: 1.13em;
  color: #43484c;
  margin-bottom: 0;
}
.about-section h2 {
  font-size: 1.4em;
  font-weight: 700;
  color: #1a1e28;
  margin-bottom: 0.7em;
}
.lower-info {
  background: #fafbfc;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  text-align: center;
  padding: 3em 1em;
  font-size: 1.5em;
  font-weight: 500;
  color: #384047;
  line-height: 1.5;
  margin-top: 0;
}

/* --- STYLES FOR EXPANDABLE BLOCKS (expandable.html) --- */
body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 40px;
}
.container {
  max-width: 800px;
  margin: 0 auto;
}
.container h2 {
  margin-bottom: 24px;
  color: #555;
}
.exp-block {
  background: #f5f5f5;
  margin-bottom: 16px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  border: 1px solid #ebebeb;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.exp-header {
  cursor: pointer;
  padding: 20px;
  font-size: 18px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.exp-header:hover {
  background: #ececec;
}
.exp-icon {
  font-size: 22px;
  color: #c4c4c4;
  transition: transform 0.3s;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d8d8d8;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.exp-block.active .exp-icon {
  /* No rotation needed */
}
.exp-content {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  display: none;
  background: #fff;
  color: #555;
}
.exp-block.active .exp-content {
  display: block;
  animation: fadein 0.2s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.exp-header-title {
  flex: 1;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 990px) { .grid-container { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .grid-container { grid-template-columns: repeat(2, 1fr);}
  .popup-content { flex-direction: column; align-items: center; padding: 24px; width: 96vw; min-width: 0; max-width: 98vw; height: auto; min-height: 0; }
  .popup-img { width: 100%; max-width: 320px; }
  .popup-body { padding-right: 0; min-width: 0;}
  .about-section {
    padding: 32px 10px;
  }
}
@media (max-width: 768px) { .main-header-inner { flex-direction: column; gap: 1em; } nav { gap: 1.1em; font-size: 1em; } }
@media (max-width: 650px) { .grid-container { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .services-list { flex-direction: column; gap: 0.45em; font-size: 0.97em; } .main-header-inner { padding: 0.55em 0.3em; } }