/*
TemplateMo 557 Grad School
https://templatemo.com/tm-557-grad-school
*/

@import url(fontawesome.css);

body { font-family: 'Montserrat', sans-serif; }

/* Basic */
a { color: #3CF; text-decoration: none; }
a:hover { color: #FC3; text-decoration: none; }

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

p { font-size: 13px; line-height: 22px; }

.section-heading { text-align: center; margin-bottom: 70px; }
.section-heading h2:before {
  width: 1px; height: 100px; background-color: rgba(250,250,250,0.1);
  position: absolute; top: -102px; content: ''; left: 50%;
  transform: translate(-50%);
}
.section-heading h2 {
  margin-top: 100px; position: relative; font-size: 18px; font-weight: 500;
  color: #fff; letter-spacing: 0.5px; display: inline-block;
  padding: 15px 20px; border: 2px solid rgba(250,250,250,0.1);
}

/* Buttons */
.main-button a {
  background-color: #f5a425; color: #fff; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700;
  padding: 12px 20px; display: inline-block; outline: none;
}

a.menu-link { display: none; }

@media screen and (max-width: 950px) {
  a.menu-link {
    float: right; display: block; font-size: 36px; color: #fff;
    padding-right: 30px; padding-top: 15px;
  }
  nav[role="navigation"] { clear: both; transition: all 0.3s ease-out; }
  .js nav[role="navigation"] { overflow: hidden; max-height: 0; }
  nav[role="navigation"].active { max-height: 20em; height: 20em; overflow-y: scroll; }

  nav[role="navigation"] ul {
    top: 0; width: 100%; position: relative; margin: 0; padding: 0;
    border-top: 1px solid rgba(250,250,250,0.25);
    background-color: rgba(22,34,57,0.99);
  }
  nav[role="navigation"] li a {
    display: block; padding: 15px 0; border-bottom: 1px solid rgba(250,250,250,0.25);
    text-align: center; color: #fff; font-size: 13px;
    text-transform: uppercase; font-weight: 700; line-height: 1.5;
  }
  nav[role="navigation"] li:hover a,
  nav[role="navigation"] li.active a { color: #f5a425; }
}

/* Header */
@media screen and (max-width: 1050px) {
  .main-header .logo { padding-left: 30px!important; }
  .main-menu { padding-right: 30px!important; }
  .main-menu li { margin-left: 5px!important; }
}

.main-header {
  background-color: rgba(22,34,57,0.95);
  height: 80px; position: fixed; z-index: 12; width: 100%; top: 0;
}

.main-header .logo { float: left; line-height: 80px; padding-left: 60px; }

.main-header .logo a {
  font-size: 36px; text-transform: uppercase; font-weight: 800; color: #fff;
}

.main-menu { float: right; padding-right: 60px; }

.main-menu li {
  display: inline-block; line-height: 79px; margin-left: 15px; position: relative;
}
.main-menu li:first-child { margin-left: 0; }

.main-menu li a {
  padding: 10px 15px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
  font-weight: 700; color: #fff; border: 2px solid transparent; transition: all 0.5s;
}

.main-nav li:hover a, .main-nav li.active a { border: 2px solid #f5a425; }

@media (max-width: 950px) {
  .main-nav li:hover a, .main-nav li.active a {
    border: 2px solid transparent;
    border-bottom: 1px solid rgba(250,250,250,0.25);
  }
}

/* Slider */
.main-banner { position: relative; max-height: 100%; overflow: hidden; margin-bottom: -7px; }

#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(22,34,57,0.85);
  top: 0; left: 0; bottom: 7px; width: 100%;
}

.main-banner .caption {
  text-align: center; position: absolute; width: 80%;
  left: 50%; top: 50%; transform: translate(-50%,-50%);
}
.main-banner .caption h2 {
  margin-top: 30px; margin-bottom: 30px; font-size: 64px;
  text-transform: uppercase; font-weight: 800; color: #fff; letter-spacing: 1px;
}
@media screen and (max-width: 767px) { .main-banner .caption h2 { font-size: 36px; } }

/* Features */
.features-post { position: relative; margin-bottom: 0; }
.features-content {
  position: absolute; bottom: 0; left: 0; width: 100%;
  background-color: #0c1228; color: #fff; padding: 40px;
}
.features-content:hover { background-color: #f5a425; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.features-content h4 {
  font-size: 16px; text-transform: uppercase; font-weight: 700; color: #fff;
  letter-spacing: 1px; margin-bottom: 0;
}
.features-content h4 i { margin-right: 15px; font-size: 24px; }
.content-hide { margin-top: 15px; display: none; }
.second-features, .third-features { border-left: 1px solid rgba(250,250,250,0.1); }

@media screen and (max-width: 767px) {
  .features-content { padding: 15px; position: relative; }
  .features-content p { display: none; }
}

/* Why Choosing Us */
section.why-us {
  background-image: url(../images/choosing-bg.jpg);
  background-color: #172238; background-repeat: no-repeat;
  background-size: cover; padding-bottom: 100px;
}

/* ---------- YOUR RESIDENTIAL SECTION (GOOD WORKING VERSION) ---------- */
#section3 { scroll-margin-top: 90px; }

section.residential {
  background-image: url(../images/coming-soon-bg1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #172238;
  padding: 120px 0;
}

section.residential .section-heading { text-align: left; margin-bottom: 30px; }
section.residential .section-heading h2:before { display: none; }
section.residential .section-heading h2 {
  margin-top: 0; padding: 0; border: none;
  font-size: 30px; font-weight: 800; letter-spacing: 0.5px;
}
section.residential .section-heading p {
  color: rgba(255,255,255,0.85);
  font-size: 15px; line-height: 28px;
  margin-top: 10px; margin-bottom: 0;
  max-width: 620px;
}

.resi-cards { margin-top: 25px; }

.resi-card {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 18px;
  height: 100%;
  transition: all 0.3s;
}
.resi-card:hover {
  background: rgba(245,164,37,0.15);
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}
.resi-card h5 {
  color: #fff; margin-bottom: 8px;
  font-size: 16px; font-weight: 700; letter-spacing: 0.3px;
}
.resi-card h5 i { margin-right: 10px; color: #f5a425; font-size: 18px; }
.resi-card p {
  margin: 0; color: rgba(255,255,255,0.85);
  font-size: 13px; line-height: 22px;
}

.resi-trust { margin-top: 18px; color: rgba(255,255,255,0.85); font-size: 13px; }
.resi-trust i { color: #f5a425; margin-right: 8px; }
.resi-trust span { display: inline-block; margin-right: 18px; margin-bottom: 8px; }

section.residential .resi-form-card{
  background: rgba(12,18,40,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-left: 30px;
}

section.residential .resi-form-card .top-content h6{
  background: transparent;
  padding: 0 0 14px 0;
  margin: 0 0 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #f5a425;
  text-align: left;
  font-weight: 800;
}

section.residential .resi-form-card input.form-control,
section.residential .resi-form-card select.form-control,
section.residential .resi-form-card textarea.form-control{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 8px;
  margin-bottom: 14px;
  height: 46px;
  padding: 10px 14px;
}

section.residential .resi-form-card textarea.form-control{
  height: auto;
  min-height: 120px;
  padding-top: 12px;
}

section.residential .resi-form-card input.form-control::placeholder,
section.residential .resi-form-card textarea.form-control::placeholder{
  color: rgba(255,255,255,0.75);
}

section.residential .resi-form-card select option{ color: #111; }

@media screen and (max-width: 767px) {
  section.residential .resi-form-card { margin-left: 0; margin-top: 40px; }
}

/* Contact */
section.contact {
  background-image: url(../images/contact-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #172238;
  padding-bottom: 120px;
}
section.contact form {
  background-color: rgba(250,250,250,0.1);
  padding: 30px;
  width: 100%;
}
section.contact form input, section.contact form textarea {
  width: 100%;
  background-color: rgba(250,250,250,0.1);
  border-radius: 0;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}
section.contact form input { height: 40px; }
section.contact form textarea { height: 220px; min-height: 220px; max-height: 280px; }
section.contact form button {
  background-color: #f5a425;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 12px 20px;
  display: inline-block;
  outline: none;
  box-shadow: none;
  border: none;
}

/* Footer */
footer { background-color: #152036; text-align: center; }
footer p {
  margin-bottom: 0;
  padding: 25px 0;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}
footer p a, footer p a:hover { color: #f5a425; }

/* Responsive nav fixes */
@media screen and (max-width: 950px) {
  .main-menu { padding-right: 0!important; }
  .main-header .logo { line-height: 73px; }
  .main-menu li { display: block; line-height: 1; margin-left: 0!important; }
}
