:root {
    --bs-blue: #215199;
}

body {
    padding-top: 3.5em; /* 90px converted to em units */
}

.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/pivot-01.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
}

.market-card {
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    position: relative;
    margin-bottom: 1.5rem;
}

.market-card h5 {
    width: 100%;
    text-align: center;
    color: white;
    background: rgba(214, 49, 71, 0.75);
    padding: 13px 0;
    margin: 0;
    position: absolute;
    bottom: 0;
}

.service-card {
    text-align: center;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.service-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 1rem;
    border: 1px solid #dddddd;
}

.bg-custom-blue {
    background-color: #183868;
}

.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.30);
    padding: 0 !important; /* Remove all padding */
}

.nav-item {
    border-top: 2px solid white;
    transition: border-color 0.3s ease; /* Smooth transition for hover effect */
}

.nav-item:hover {
    border-top: 2px solid #dc3545; /* Bootstrap's danger red color */
}

.nav-link {
    padding-top: 1.0rem !important; /* Add padding to nav-link instead */
    padding-bottom: 1.0rem !important;
}

.navbar-phone {
    font-weight: 500;
    padding: 0.5rem 0;
}

.navbar-phone a {
    color: rgb(39, 77, 204) !important;
}

.navbar-phone a:hover {
    color: #dc3545 !important;
}

.phone-icon {
    width: 30px;
    height: auto;
    vertical-align: middle;
    margin-bottom: 2px; /* Fine-tune vertical alignment */
}

/* Adjust navbar-brand padding to align logo */
.navbar-brand {
    padding: 0.5rem 0;
}

@font-face {
    font-family: 'Aachen-Bold';
    src: url('../fonts/Aachen-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'HNCB';
    src: url('../fonts/HelveticaNeueCondensedBlack.ttf') format('truetype');
}

.logo-tascosa {
    font-family: 'Aachen-Bold', sans-serif;
    font-size: 1.8rem;    color: #c9232e;
    text-decoration: none;
    line-height: 1.2;
    display: inline-block;
    padding: 0.5rem 0;
    -webkit-text-stroke: 1px #202327;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
}

.logo-text {
    font-family: 'HNCB', sans-serif;
    font-size: 2rem;
    color: #202327;
    text-decoration: none;
    line-height: 1.2;
    display: inline-block;
    padding: 0.5rem 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}
