html {
  font-size: 14px;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.content {
    flex: 1;
    padding: 1.5rem;
    align-items: center;
    gap: 30px;
}

.flex-row-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    max-width: 1925px;
}

.flex-row-container > * {
    flex: 1;
}

.flex-row-container-centered {
    align-items: center;
}

.flex-row-image-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.flex-row-container-left-align {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

/* This is for containers that need a smaller vertical gap between their child elements
    when the screen gets smaller and everything gets stacked vertically */
.flex-row-container-small-vert-gap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.flex-row-container-no-vert-gap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

.flex-column-container {
    display: flex;
    flex-direction: column;
    max-width: 1925px;
    width: 100%;
}

.flex-column-container-centered {
    align-items: center;
    justify-content: center;
}

.margin-bottom-5 {
    margin-bottom: 5%;
}

.margin-bottom-2 {
    margin-bottom: 2%;
}


.adaptive-font-1 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 300; 
    font-size: clamp(20px, 2.3cqw, 32px);
    font-style: normal;
    color: #FFFEED;
    text-decoration: none;
}

.adaptive-font-2 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500; 
    font-size: clamp(14px, 2.3cqw, 24px);
    font-style: normal;
    color: #FFFEED;
    text-decoration: none;
}

.about-us-container {
    /* padding-left: 5%; */
    padding-right: 5%;
}


.rounded-image-with-shadow {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rounded-image-with-shadow-logo{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18); */
}

.stat-card {
  flex: 1;                        /* 3 equal-width cards */
  background: #ff5a5a;            /* red */
  border-radius: 18px;
  padding: 48px 24px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;        /* vertical center inside card */
  min-height: 360px;              /* card height like screenshot */
}

.stat-number {
  color: #fff6e8;                 /* slightly warm white */
  font-weight: 800;
  font-size: clamp(64px, 6vw, 120px);
  line-height: 1;
  margin-bottom: 18px;
}

.stat-label {
  color: #fff6e8;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
}

.gray-background {
    background-color: rgba(101, 100, 100);
    padding: 18px;
    border-radius: 18px;
}




.row-item {
    flex: 1;
}

.image-container {
    display: flex;
    flex: 1 1 200px;
    max-width: 16.67%;
    height: 170px; 

    overflow: hidden;
    align-items: center;
    justify-content: center;

    padding: 18px;
    border-radius: 18px;
}

.image-container-2 {
    display: flex;
    flex: 1;
    min-width: 200px;
    max-height: 750px;
    aspect-ratio: 1/1;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.portrait-image-container {
    aspect-ratio: 3/4;
    max-height: 642px;
}

.phone-email-row-container {
    margin-top: 5px;
    justify-content: flex-start;
}

.phone-span {
    margin-left: 20px;
}

ul {
    margin-bottom: 0px;

}

.list-container {
    margin-bottom: 10px;
}

.home-page-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

/* The video block is just a normal flex item */
.video-block {
    position: relative;
    width: 100%;
    aspect-ratio: 16/ 9;
     height: clamp(300px, 56vw, 700px);
    overflow: hidden;
    border-radius: 12px; /* optional */
}


/* Layered background video */
.video-block__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-block__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2;
}

/* Bottom-left text on top */
.video-block__text {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;

    padding: 24px 28px;
    max-width: 775px;

    color: #FFFEED;
    text-align: left;
}


.margin-bottom {
    margin-bottom: 15px;
}

.underline-text {
    text-decoration:underline; 
}

.margin-top {
    margin-top: 20px;
}

.rating-stars {
  width: 140px;
  height: auto;
  color: #FFFEED; /* because SVG uses currentColor */
}



/* quick “good enough” styles; move to your stylesheet later */
.estimate-page { max-width: 1200px; margin: 0 auto; padding: 32px 18px; }
.subtext { margin-top: 6px; opacity: .85; }

.dm-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 18px 18px 14px;
    margin: 36px 0;
    background: rgba(255,255,255,.04);
}

legend {padding-bottom: 10px; font-weight: 700; opacity: .9;}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.wizard-questions {
    grid-column: 1 / -1;
}

.field label { display: block; font-weight: 600; margin-bottom: 6px; }

.input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.12);
    color: inherit;
}

.input:focus {
    outline: none;
    border-color: rgba(0,0,0,.35);
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

.textarea { min-height: 120px; resize: vertical; }

.span-2 { grid-column: span 2; }

.actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; }

.dm-btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
}
.dm-btn:disabled { opacity: .6; cursor: not-allowed; }

.submit-message { opacity: .9; }


/* Keep your nice dark input style for the closed control */
select.input {
    /* keep it consistent with other inputs */
    background: rgba(0,0,0,.12);
    color: inherit;
}

/* Force readable dropdown items (works in many browsers) */
select.input option {
    color: #111;
    background: #fff;
}

.question-block {
	margin-top: 15px;

}



/* error message styling */

.validation-message {
    color: #dc3545;
    font-weight: 500;
    margin-top: 4px;
    font-size: 0.9rem;
}

.validation-summary-errors {
    color: #dc3545;
    margin-bottom: 15px;
}

.validation-summary-errors ul {
    padding-left: 20px;
}

.validation-summary-errors li {
    margin-bottom: 5px;
}


@media (max-width: 820px) {
    .grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
    .actions { flex-direction: column; align-items: flex-start; }
}

.dm-suggestion {
    margin-top: 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    padding: 14px;
    background: rgba(255,255,255,.03);
}

.dm-suggestion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
}

.dm-suggestion-title {
    font-weight: 800;
    opacity: .9;
    margin-bottom: 6px;
}

.dm-suggestion-text {
    opacity: .9;
    margin-top: 4px;
}




@media (max-width: 900px) {

    .flex-row-container {
        flex-direction: column;
    }

    .row-item {
        width: 100%;
    }

    .phone-span {
        margin-left: 0px;
    }

    .flex-row-container-small-vert-gap {
        flex-direction: column;
        gap: 5px;
    }

    .flex-row-container-no-vert-gap {
        flex-direction: column;
        gap: 0px;
    }

    .image-container {
        max-width: 100%;
    }

    .flex-row-image-container {
        flex-direction: column;
    }

    .video-block {
        height: clamp(240px, 70vw, 500px);
        aspect-ratio: 4 / 3;
    }

    .stat-card {
    min-height: 240px;
  }
}

footer {
    flex-shrink: 0;
}

.footer-link {
    color: white;
    text-decoration: none;
}

.footer-link:hover {
    color: #007bff; /* Bootstrap's default blue */
    text-decoration: underline;
}






.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}
