/*
Theme Name: MMGMortgageDoctors2017
Theme URI: http://www.mmgmortgagedoctors.com
Author: Derick Renwick
Description: Your alternative mortgage lending specialist
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mmgmortgagedoctors.com
*/

.primary-blue-text{
    color: #2185d0;
}
.primary-blue-border{
    border-color: #2185d0;
}

h1{font-size:3rem!important}
h2{font-size:2rem!important}
h3{font-size:1.6rem!important}
h4{font-size:1.3rem!important}
h5{font-size:1rem!important}
h6{font-size:0.8rem!important}

h1,h2,h3,h4,h5,h6, a.header, .menu .item, .item span{
    font-family: "Arial", sans-serif;
}

p,span,li,div,body, a.item{
    font-size:1.4rem;
    font-family: "Book Antiqua", serif;
}

/* resize header for menu with h1 */
header .menu .header > h1 {
    font-size:1.1rem!important;
    text-transform:uppercase;
}

.mmg-text{
    font-weight: bold;
    color:red;
}

.secondary.menu .toc.item {
    display: none;
  }

@media only screen and (max-width: 991px) {
    .secondary.menu .item {
      display: none!important;
    }
    .secondary.menu .toc.item,
    .secondary.menu .mobile.item {
      display: block!important;
    }
}

@media only screen and (max-width: 767px){
    html body .ui.container {
        width: auto!important;
        padding-left: 1em!important;
        margin-left: 0em!important;
        padding-right: 1em!important;
        margin-right: 0em!important;
    }
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 90vh; /* Full height */
  background-image: url('https://www.abcmortgagedoctors.ca/wp-content/uploads/2022/11/house-background-matrix.jpg'); /* 👈 Replace with your image URL */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Overlay for dark tint effect */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* dark transparent layer */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Centered text */
.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-btn {
  background-color: #00aaff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #0077cc;
}
.main-content {
  background-color: #ffffff;
  padding: 80px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.main-content h2 {
  text-align: ;
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 20px;
}

.main-content p {
  text-align: ;
  font-size: 1.4rem;
  color: rgb(0 0 0 / 87%);
  line-height: 1.4285em;
  margin-bottom: 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.info-box {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.info-box h3 {
  color: #0077cc;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.info-box p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Dropdown */
.has-dropdown {
    position: relative;
    align-self: center;
    display: inline-block;
}

.has-dropdown > ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: auto;
    height: 0px;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1;
    background-color: #1b1c1d;
    border-radius: .35rem;
    opacity: 0;
    visibility: collapse;
    transform: translateY(10px);
    transition: .3s ease all;
}


.has-dropdown > ul > li {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #fff1;
}

.has-dropdown > ul > li > a {width: auto;height: auto;padding: .5rem 1rem;margin: 0;display: block;font-family: 'Lato';font-size: 1.125rem;font-weight: normal;white-space: nowrap;color: #fff;}

.has-dropdown > ul > li:last-child {
    border-bottom: none;
}

.has-dropdown > ul > li > a:hover {
    color: #000;
    background-color: #efefef;
}

.has-dropdown:hover > ul {
    height: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
