/*
---COLORS---
Primary:
#F3E9DC - Honest Ivory
#60584D - Basis Brown
#C2C3BE - Stable Gray
#FFFFFF - Pure White

Secondary:
#302E2D - Secure Slate
#AE7E35 - Golden Rod
#1C1C1C - Fortress Black
*/

/*Fonts*/
@font-face {
    font-family: 'Eurostile';
    src: url('fonts/eurostile.TTF');
}

@font-face {
    font-family: 'Work Sans';
    src: url('fonts/WorkSans-SemiBold.ttf');
    font-weight: bolder;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('fonts/Proxima_Nova_Regular.otf');
}


/*Defaults*/
* {
    margin: 0;
    padding: 0;
    font-family: "Proxima Nova", sans-serif;
    color: #60584D;
}

body {
    background-color: #F3E9DC;
    color: black;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ensure body takes full viewport height */
    position: relative;
    /* Ensure footer positioning is relative to body */
}

/* Header styles */
.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #302E2D;
    padding: 10px 20px;
    width: 100%;
}

.banner-image {
    height: 100px; /* Ensure image size is controlled */
}

.navbar-collapse {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end; /* Aligns the navbar items to the right */
}

.navbar-nav {
    margin-left: auto; /* Pushes nav items to the right */
}

.navbar-nav .nav-link {
    color: #FFFFFF;
    margin-left: 20px;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #AE7E35;
}


/*Body Content*/
.content {
    display: flex;
    justify-content: space-between;
    margin: 20px;
    flex: 1;
    /* Grow content section to fill remaining space */
    margin-top: 20px;
    /* Adjust to account for header height */
}

.left-section,
.right-section,
.right-section-map {
    width: 48%;
    /* Adjust as needed */
}

.right-section-map .content-box {
    padding: 0;
    /* Remove padding */
    height: auto;
    aspect-ratio: 1 / 1;
    /* Ensures the box has a square aspect ratio */
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    background-color: #FFFFFF;
}

.right-section-map .content-box iframe {
    width: 100%;
    height: 100%;
}

.content-box i {
    color: #60584D;
}

.square-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    /* Maintains a square aspect ratio */
    object-fit: cover;
    /* Ensures the image covers the entire area */
}

.content-box {
    padding: 50px;
    height: auto;
    aspect-ratio: 1 / 1;
    /* Ensures the box has a square aspect ratio */
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    background-color: #FFFFFF;
}

.content-box-form {
    padding: 50px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    background-color: #60584D;
}

.content-box-form h1 {
    color: #FFFFFF;
}

.content-box-form h2 {
    color: #FFFFFF;
}

/* Form styling */
.right-aligned-form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Aligns items to the right */
    width: 100%;
    max-width: 400px;
    /* Limits form width for better control */
    margin: 0 auto;
    /* Centers form horizontally */
}

.right-aligned-form fieldset {
    width: 100%;
    border: none;
    /* Remove fieldset border */
    padding: 0;
    margin-bottom: 20px;
    /* Spacing between fieldsets */
}

.right-aligned-form label {
    display: block;
    width: 100%;
    text-align: right;
    /* Align text to the right */
    margin-bottom: 10px;
}

.right-aligned-form input,
.right-aligned-form textarea {
    width: 100%;
    /* Full width */
    padding: 10px;
    /* Padding for input fields */
    margin-top: 5px;
    box-sizing: border-box;
    /* Ensures padding is included in width */
}

.right-aligned-form input[type="submit"] {
    width: auto;
    /* Allows submit button to size to content */
    background-color: #60584D;
    /* Button background color */
    color: white;
    /* Button text color */
    padding: 10px 20px;
    /* Padding for the button */
    border: none;
    /* No border */
    cursor: pointer;
    /* Pointer cursor on hover */
}

.right-aligned-form input[type="submit"]:hover {
    background-color: #AE7E35;
    /* Darker shade on hover */
}

.small-photo {
    width: 80px;
    /* Adjust as needed */
    height: 80px;
    /* Adjust as needed */
    margin-bottom: 10px;
}

/*Text Styles*/
h1 {
    font-family: "Eurostile", sans-serif;
    font-size: 50px;
    line-height: 20px;
    padding: 5px;
    color: #60584D;
    line-height: 125%;
}

h2 {
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    font-weight: bolder;
    padding: 5px;
    color: #60584D;
}

p {
    font-family: "Proxima Nova", sans-serif;
    font-style: normal;
    font-size: 13px;
    color: #302E2D;
    text-align: justify;
}

/* Button styles */
.btn-gold {
    background-color: #AE7E35;
    color: #FFFFFF;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: background-color 0.3s ease;
}

.btn-gold i {
    color: white;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-gold:hover {
    background-color: #C2C3BE;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}

.btn-gold:hover i {
    transform: translateX(5px); /*Arrow animation*/
}


/*Table*/
table {
    margin-top: 40px;
    margin-bottom: 40px;
}

.rectangle thead th h1 {
    font-family: "Eurostile", sans-serif;
    font-size: 50px;
    line-height: 1.5;
    /* Add line-height for spacing */
    padding-bottom: 40px;
    color: #FFFFFF;
    padding: 10px;
}

.bottom-section {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.rectangle {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 40px;
    background-color: #60584D;
}

.rectangle table {
    width: 100%;
    border-collapse: collapse;
}

.rectangle th,
.rectangle td {
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.rectangle th {
    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    color: #FFFFFF;
}

.rectangle td {
    font-family: "Proxima Nova", sans-serif;
    font-size: 15px;
    color: #FFFFFF;
}

.rectangle i {
    font-size: 18px;
    color: #AE7E35;
}

/* Footer styles */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #302E2D;
    padding: 10px 20px;
    margin-top: auto;
    /* Push footer to the bottom */
    width: 100%;
}

.footer p {
    color: #FFFFFF;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-content p {
    margin-bottom: 5px;
}

.footer .copyright {
    text-align: right;
}

.fa-solid {
    margin-right: 10px;
    color: #FFFFFF;
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .left-section,
    .right-section,
    .right-section-map {
        width: 100%;
        margin-bottom: 20px;
    }

    .rectangle thead th {
        font-size: 24px;
        /* Adjust font size for smaller screens */
        padding: 5px;
        /* Adjust padding for smaller screens */
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%;
        /* Full width on smaller screens */
    }
}

/*About Us Cards*/

/* Card container */
.card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allows cards to stack on smaller screens */
    margin: 20px;
}

/* Card styles */
.card {
    background-color: #FFFFFF;
    padding: 20px;
    width: 30%; /* Default width for larger screens */
    box-sizing: border-box;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: none;
    box-shadow: none; /* Optional: remove shadow if present */
    border-radius: 0px;
}

/* Image styles */
.card img.card-image {
    width: 100%; /* Ensures the image fills the card */
    height: auto; /* Maintains the aspect ratio */
    margin-bottom: 20px; /* Space below the image */
}

/* Card text styles */
.card h1,
.card h2,
.card p {
    margin: 10px 0; /* Consistent margin for text */
    color: #60584D; /* Text color */
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .card {
        width: 100%; /* Full width on smaller screens */
    }
}


/*
Fade-In Effect
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
}
*/

/* --- FOOTER STYLES --- */
.footer {
    background-color: #302E2D;
    color: #FFFFFF;
    padding: 40px 20px;
    font-family: "Proxima Nova", sans-serif;
  }
  
  .footer strong {
    color: #FFFFFF;
  }
  
  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-left p,
  .footer-right p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #FFFFFF; /* Force text color to white */
  }
  
  .footer-left a,
  .footer-right a {
    color: #AE7E35;
    text-decoration: none;
  }
  
  .footer-left a:hover,
  .footer-right a:hover {
    color: #C2C3BE;
  }
  
  .footer-left i {
    margin-right: 8px;
  }
  
  .footer-left .designer-credit {
    margin-top: 12px;
    font-size: 15px;
    color: #FFFFFF; /* White, matches other text */
    font-style: normal; /* Remove italic */
  }
  
  @media (min-width: 768px) {
    .footer-container {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
    }
  
    .footer-left,
    .footer-right {
      flex: 1;
      max-width: 48%;
    }
  
    .footer-right {
      text-align: left;
    }
  }
  
  @media (max-width: 767px) {
    .footer-left,
    .footer-right {
      max-width: 100%;
    }
  
    .footer-left {
      margin-bottom: 30px;
    }
  }
  
  
  

a {
    color: #AE7E35; /* Gold color for all links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #C2C3BE; /* Light gray on hover */
}

.content-box-form {
    padding: 50px;
    height: auto;
    aspect-ratio: 1 / 1; /* Ensures a square aspect ratio */
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    text-align: center; /* Centers text inside the box */
    background-color: #FFFFFF; /* Light background */
    color: #302E2D; /* Dark text color */
}

.content-box-form h1,
.content-box-form h2,
.content-box-form p,
.content-box-form label {
    color: #302E2D; /* Ensures text inside is dark */
    margin: 10px 0; /* Optional: Adds margin for spacing between elements */
}

/* Adjust input field styles for consistency */
.right-aligned-form input,
.right-aligned-form textarea {
    color: #302E2D; /* Dark text color for inputs */
    background-color: #F3E9DC; /* Light background for inputs */
}

/* broker check bar on homepage */
.brokercheck-bar {
    width: 100%;
    background-color: #FFFFFF; /* Pure white */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px; /* Thin height */
    cursor: pointer;
}

.brokercheck-image {
    height: 24px; /* Adjust as needed for your logo size */
    object-fit: contain;
}

/* Table on homepage */
.services-title {
    text-align: center;
    font-size: 3em;
    margin-bottom: 1.5rem;
    color: white;
    font-family: "Eurostile", sans-serif;
    color: #FFFFFF;
  }
  
  .rectangle {
    background-color: #60584D;
    border-radius: 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 40px;
  }
  
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
  }
  
  .service-card {
    flex: 1 1 calc(33.333% - 1rem);
    background-color: transparent; /* Keep the container background */
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .service-card h3 {
    font-weight: bold;
  }
  
  .service-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #AE7E35;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: white;
  }
  
  .service-card p {
    font-size: 0.95rem;
    color: white;
  }
  
  /* Responsive stacking on mobile */
  @media (max-width: 768px) {
    .service-card {
      flex: 1 1 100%;
    }
  }
  
/*

  .rectangle {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 40px;
    background-color: #60584D;
}

.rectangle table {
    width: 100%;
    border-collapse: collapse;
}

.rectangle th,
.rectangle td {
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.rectangle th {
    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    color: #FFFFFF;
}

.rectangle td {
    font-family: "Proxima Nova", sans-serif;
    font-size: 15px;
    color: #FFFFFF;
}

.rectangle i {
    font-size: 18px;
    color: #AE7E35;
}