/* ---------------------------------------------
Table of contents
------------------------------------------------

01. global styles
02. banner
03. contact

---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url("https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i");

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: #fff;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 25px;
  color: #7a7a7a;
}

/* 
---------------------------------------------
01. global styles
--------------------------------------------- 
*/
html,
body {
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #ed563b;
  color: #fff;
}

::-moz-selection {
  background: #ed563b;
  color: #fff;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .mobile-bottom-fix {
    margin-bottom: 30px;
  }
  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.section-heading {
  text-align: center;
  margin-top: 140px;
  margin-bottom: 80px;
}

.section-heading h2 {
  font-size: 28px;
  font-weight: 800;
  color: #232d39;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.section-heading h2 em {
  font-style: normal;
  color: #ed563b;
}

.section-heading img {
  margin: 20px auto;
}

.dark-bg h2 {
  color: #fff;
}

.dark-bg p {
  color: #fff;
}

.main-button a {
  display: inline-block;
  font-size: 15px;
  padding: 12px 20px;
  background-color: #ed563b;
  color: #fff;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  transition: all .3s;
}

.main-button a:hover {
  background-color: #f9735b;
}


/* 
---------------------------------------------
02. banner
--------------------------------------------- 
*/

.main-banner {
  position: relative;
}

#bg-video {
    min-width: 100%;
    min-height: 100vh;
    max-width: 100%;
    max-height: 100vh;
    object-fit: cover;
    z-index: -1;
}

#bg-video::-webkit-media-controls {
    display: none !important;
}

.video-overlay {
    position: absolute;
    background-color: rgba(35,45,57,0.8);
    top: 0;
    left: 0;
    bottom: 6px;
    width: 100%;
}

/* force the video‐overlay to touch the bottom of the banner */
.main-banner .video-overlay {
  bottom: 3 !important;
}


.main-banner .caption {
  text-align: center;
  position: absolute;
  width: 80%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.main-banner .caption h6 {
  margin-top: 0px;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.main-banner .caption h2 {
  margin-top: 30px;
  margin-bottom: 25px;
  font-size: 84px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.main-banner .caption h2 em {
  font-style: normal;
  color: #ed563b;
  font-weight: 900;
}



/* 
---------------------------------------------
03. contact
--------------------------------------------- 
*/


/* Prevent any horizontal scroll from sneaking back */
html, body {
  overflow-x: hidden;
}

/* Edge-to-edge background, no top/bottom gutter */
#contact-us {
  margin: 0;                                    /* kill the 140px top margin */
  position: relative;
  background: url("../images/here.png") no-repeat center center;
  background-size: cover;
  padding: 0;                                   /* remove the 80px vertical padding */
  text-align: center;                           /* make the footer, button, etc centered */
}

/* Full-width container so bg never gaps */
#contact-us .container-fluid {
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
}

/* Center the row for the form */
#contact-us .row.justify-content-center {
  display: flex !important;
  justify-content: center !important;
}

/* Desktop: fixed 800px form wrapper */
@media (min-width: 992px) {
  #contact-us .col-lg-6 {
    flex: none !important;
    width: 800px !important;
    max-width: 800px !important;
  }
}

/* Tablet & below: full-width with side gutters */
@media (max-width: 991px) {
  #contact-us .col-lg-6,
  #contact-us .col-md-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 20px;
  }
}

/* Wrap the form in its white box exactly as before */
#contact-us .contact-form {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;        /* your original breathing room inside */
}

/* The inner form card */
#contact-us .contact-form #contact {
  background-color: #fff;
  padding: 40px;
  border-radius: 5px;
  text-align: left;
}

/* Inputs, textarea, button untouched from your existing rules */
.contact-form input,
.contact-form textarea { /* … */ }
.contact-form button { /* … */ }

/* Footer below the form */
#contact-us > footer {
  margin: 40px 0;            /* some space above it, 0 below */
  color: #fff;
  opacity: 0.8;
}


/* On desktop, make the column a fixed 800px */
@media (min-width: 992px) {
  #contact-us .col-lg-6 {
    flex: none !important;
    width: 800px !important;
    max-width: 800px !important;
  }
}

/* On tablets and below, let it go full-width with side padding */
@media (max-width: 991px) {
  #contact-us .col-lg-6,
  #contact-us .col-md-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 20px;
  }
}

/* Banner still scales nicely */
@media (max-width: 991px) {
  .main-banner .caption {
    width: 90% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 767px) {
  .main-banner .caption {
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 0 10px;
  }
  .main-banner .caption h6 {
    font-size: 14px !important;
    line-height: 1.2;
  }
  .main-banner .caption h2 {
    font-size: 36px !important;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  .main-banner .caption .main-button {
    margin-top: 15px !important;
  }
}

  /* 2) Disable the overflowing background image */
  #contact-us::before {
    display: none !important;
  }
  #contact-us {
    padding: 40px 20px 80px !important;
  }

  /* 3) Restore normal flow for the form wrapper */
  #contact-us .contact-form {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  /* 4) Reduce inner #contact padding so it fits */
  #contact-us .contact-form #contact {
    padding: 20px !important;
  }

  /* 5) Re-flow footer beneath the form */
  #contact-us > footer {
    position: static !important;
    text-align: center;
    margin-top: 20px;
  }


@media (max-width: 575.98px) {
  /* Force that form column to full width on really small screens */
  #contact-us .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 767px) {
  .main-banner .caption {
    width: 90% !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center;
    padding: 0 10px;
  }
}

/* Remove all top/bottom padding from the contact section */
#contact-us {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove any margin the section itself may have */
#contact-us {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Tame the breathing-room inside the white box */
#contact-us .contact-form {
  padding: 20px 10px !important;
}

/* Tame the padding inside the form itself */
#contact-us .contact-form #contact {
  padding: 20px !important;
}

/* Bring the footer in a bit closer */
#contact-us > footer {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}




/* 1) Remove the 800px cap on the form wrapper */
#contact-us .contact-form {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 80px 20px !important;  /* keep your inner breathing room */
}

/* 2) On large screens, let the grid columns go full width */
@media (min-width: 992px) {
  #contact-us .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* 3) Ensure small‐screen overrides still work */
@media (max-width: 991px) {
  #contact-us .col-lg-6,
  #contact-us .col-md-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 20px;
  }
}

/* Collapse any remaining top/bottom padding in the contact area */
#contact-us {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove the 80px “wrapper” padding you added earlier */
#contact-us .contact-form {
  padding-top: 1 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Remove the 40px inner padding on the white form card */
#contact-us .contact-form #contact {
  padding: 0 !important;
}

/* Tuck the footer up tighter */
#contact-us > footer {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

/* Tuck the footer up under the form */
#contact-us > footer {
  max-width: none !important;
  margin: 10px 0 0 10px !important;   /* 10px instead of 20px */
  padding: 0;
  text-align: left !important;
}

/* TIGHTEN GAP ABOVE THE FORM */
#contact-us {
  padding-top: 10px !important;
}
#contact-us .contact-form {
  padding-top: 10px !important;
}

#contact-us .thank-you {
  font-size: 1.2rem !important;      /* larger text */
  line-height: 0.1 !important;       /* more breathing room between lines */
  letter-spacing: 0.02em !important; /* slight letter spacing */
  margin: 2rem 0 !important;         /* space above and below */
  text-align: left !important;     /* center it in the form area */
  color: #232d39 !important;         /* match your headings */
}


