/* =========================
   GLOBAL SAFETY / RESPONSIVE
   ========================= */
html, body{
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, svg, video, iframe{
  max-width: 100%;
  height: auto;
}

table{
  width: 100%;
  max-width: 100%;
}

td, th{
  word-break: break-word;
}

/* =========================
   LOGO / HEADER
   ========================= */
.logo-img{
  display: block;
  margin: 0 auto;
  transform: translateX(6px);
}

.logo-stack{
  display: inline-block;
  text-align: center;
  margin: 0 auto;
}

.logo-name{
  font-weight: 600;
}

.logo-title{
  color: #6c757d;
}

.homepage-logo{
  max-width: 70px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =========================
   NAVBAR
   ========================= */
.navbar{
  background-color: transparent !important;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.dra-navbar{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: transparent !important;
  padding: 1rem 0;
}

.dra-navbar .navbar-nav{
  width: 100%;
  justify-content: center;
}

.dra-nav-spread{
  max-width: 1100px;
  margin: 0 auto;
}

.navbar-nav .nav-link{
  font-size: 1.1rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

/* =========================
   SECTION TITLE LINKS
   ========================= */
.section-title-link{
  display: block;
  color: #ffffff !important;

  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0,0,0,0.35);

  font-size: clamp(0.82rem, 2.2vw, 1.02rem);

  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.section-title-link:hover,
.section-title-link:focus,
.section-title-link:active{
  color: #ffffff !important;
  text-decoration: none;
  opacity: 0.92;
}

/* If section titles are NOT links */
.section-title{
  color: #ffffff;
}

/* =========================
   SPACING TIGHTENERS
   ========================= */
.section-title{
  margin-bottom: 0.25rem;
}

.container.my-4{
  margin-top: 0.25rem !important;
  margin-bottom: 0.75rem !important;
}

/* Small phones */
@media (max-width: 480px){
  .section-title{
    max-width: 92vw;
    padding: 6px 10px;
  }
  .section-title-link{
    font-size: clamp(0.78rem, 3.2vw, 0.95rem);
    letter-spacing: 0.04em;
  }
}

/* =========================
   BUTTON
   ========================= */
.btn-dra{
  background-color: #ededff;
  color: #333;
  border: 2px solid #6e51a2;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-block;
  text-decoration: none;
}

.btn-dra:hover{
  background-color: #e0dcff;
  color: #000;
  border-color: #5a3f8f;
}

/* =========================
   FOOTER (NEW FOOTER SYSTEM)
   ========================= */
.site-footer{
  width: 100%;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;

  padding: 1.5rem 0;
  text-align: center;

  font-size: 1.15rem;
}

.site-footer .footer-links{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.site-footer .footer-links a{
  font-size: 1.15rem;
}

.site-footer .sep{
  margin: 0 8px;
  opacity: 0.9;
}

.site-footer .footer-social-inline{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

/* Social icon anchors become visible via background images */
.site-footer .social-icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Update these paths if your icons live elsewhere */
.site-footer .social-icon.pinterest{ background-image: url("icons/pinterest.svg"); }
.site-footer .social-icon.facebook{ background-image: url("icons/facebook.svg"); }
.site-footer .social-icon.instagram{ background-image: url("icons/instagram.svg"); }

.site-footer .footer-copy{
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
}

/* Safety fallback for any legacy footer tags */
footer{
  width: 100%;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;

  padding-top: 1.5rem;
  padding-bottom: 1.5rem;

  font-size: 1.15rem;
  text-align: center;
}

footer a{
  font-size: 1.15rem;
}

/* =========================
   SECTION TITLE BOX (Purple)
   ========================= */
.section-title{
  width: 100%;
  max-width: 520px;
  margin: 10px auto 6px;
  padding: 6px 12px;
  text-align: center;

  background-color: #b29ac9;
  border: 1px solid #6b3fa0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);

  color: #ffffff;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;

  font-size: clamp(0.78rem, 2.0vw, 0.98rem);

  white-space: nowrap;
}

@media (max-width: 480px){
  .section-title{
    max-width: 92vw;
    padding: 6px 10px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }
}

/* =========================
   CONTACT PAGE
   ========================= */
.contact-email{
  font-size: 0.95rem;
  color: #555;
}

.contact-email a{
  color: #6b3fa0;
  font-weight: 600;
  text-decoration: none;
}

.contact-email a:hover{
  text-decoration: underline;
}

.contact-card{
  max-width: 760px;
  margin: 0 auto;

  background-color: #f4f0fb;
  border: 1px solid #6b3fa0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);

  padding: 18px 18px 10px;
}

/* =========================
   TESTIMONIALS PAGE
   ========================= */
.testimonials-wrap{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-wrap .card{
  border: 1px solid #6b3fa0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  background-color: #f4f0fb;
}

/* =========================
   PROJECT PAGES: TEXT BOX (FIXED)
   ========================= */
.project-text-box{
  border: 2px solid #000;
  background-color: #b7caa2;
  color: #1f2a1f;

  padding: 35px;
  border-radius: 10px;

  /* More reasonable default size */
  font-size: 1.6rem;
  line-height: 1.85;

  min-height: 280px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: center;
}

.project-text-box,
.project-text-box *{
  font-size: inherit !important;
  line-height: inherit;
}

.project-text-box p{
  text-align: center !important;
  margin-bottom: 18px;
}

.project-text-box p:last-child{
  margin-bottom: 0;
}

.project-text-box strong{
  font-weight: 700;
  font-size: 1.12em !important;
}

.project-text-box.project-text-big{
  font-size: 1.7rem;
}

/* ==========================================
   SMART BACK BUTTON INLINE WITH TITLE
   ========================================== */
.page-title-row{
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.back-btn{
  position: absolute;
  left: 0;
  border: 2px solid #000;
  background-color: #b7caa2;
  color: #000;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 10px;
  text-decoration: none;
}

.back-btn:hover{
  background-color: #a9bf90;
  text-decoration: none;
  color: #000;
}

/* ============================================================
   MOBILE: spacing between stacked columns (Bootstrap 4)
   (single clean version — no duplicates/conflicts)
============================================================ */
@media (max-width: 991.98px){
  .row > [class*="col-"] + [class*="col-"]{
    margin-top: 22px !important;
  }

  .row img.img-fluid{
    display: block;
    border-radius: 6px;
  }
}
