/* Add these styles at the top of the navbar section */
.navbar {
    min-height: 100px;
    background-color: #0E1E4B;
    transition: all 0.3s ease;
}

/* Add this new class for the scrolled state */
.navbar.navbar-scrolled {
    min-height: 70px;
}

/* Adjust the collapse menu top position when scrolled */
.navbar.navbar-scrolled .navbar-collapse {
    top: 70px;
}

/* Circle toggler */
.navbar-toggler {
    border: 1px solid #fcfcfc2a;
    border-radius: 50%;
    padding: 5px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 36px;
    height: 2.9px;
    background-color: #fff;
    position: relative;
    border-radius: 2px;  /* Add rounded ends */
}

/* Custom hamburger */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: -1px;
    width: 33px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;  /* Add rounded ends */
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon::before {
    top: -10px;
}

.navbar-toggler-icon::after {
    top: 10px;

}

/* ...existing code... */

@media screen and (max-width: 416px) and (min-width: 320px) {
    .navbar .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }

    .navbar-brand img {
        width: 160px;  /* Reduce logo size */
        height: auto;
    }

    .navbar-toggler {
        margin-left: 0;  /* Remove left margin */
    }

    /* Adjust container padding */
    .container-fluid.mx-5 {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
}

/* Main content spacing */
.main-content {
    margin-top: 100px;
}



/* hero */

.primary-hero {
   background-image: url('../images/background-texture.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .fs-md-large {
        font-size: 20px !important;
    }
}
@media (min-width: 992px) {
    .flex-lg-row {
        flex-direction: row !important;
    }
}
.btn-alt-primary {
    background-color: #ddcd97;
    border: 3px solid #ddcd97;
    height: 64px;
    text-wrap: nowrap;
    display: inline-flex;
    padding: 1.25rem 2.5rem;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .025rem;
    border-radius: 1000px;
}
@media (min-width: 576px) {
    .order-sm-0 {
        order: 0 !important;
    }
}
a {
    color: #16254c;
    text-decoration: none;
}

.btn-alt-secondary {
    border: 3px solid #c4ae59;
    color: #16254c;
    background-color: transparent;
    height: 64px;
    text-wrap: nowrap;
}
.btn-alt-primary, .btn-alt-secondary, .btn-alt-secondary-light {
    display: inline-flex
;
    padding: 1.25rem 2.5rem;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .025rem;
    border-radius: 1000px;
}
@media (min-width: 576px) {
    .order-sm-1 {
        order: 1 !important;
    }
}
a {
    font-weight: 600;
    transition: all .3s
ease;
    outline: 0;
}

.h1,h1
 {
    font-family:  "Source Serif 4", sans-serif;
    font-weight: 600;
    font-size: 3.5rem;
    line-height: 3.36rem;
    line-height: 1.25 !important;
    color: #16254c;
        margin-top: 0;
    margin-bottom: .5rem;

}



    /* blog */

.post-item-image {
    display: inline-block;
    width: 100%;
    text-align: center;
}
.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}
.post-item {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    height: 100%;
    color: #16254c;
}
.post-item-title {
    font-size: 1.625rem;
}
.post-item-image {
    display: inline-block;
    width: 100%;
    text-align: center;
}
.card-title {
    margin-bottom: .5rem;
}
.h5, h5 {
    font-family: "Source Serif 4", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.68rem;
}
.post-item-content {
    display: inline-block;
    width: 100%;
    padding: 0;
    font-weight: 400;
    color: #434343;
}
p {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.25rem;
    line-height: 160%;
    font-weight: 400;
}
.card-text {
    margin-bottom: 0px;
}
.card-footer {
    background-color: rgba(67, 67, 67, 0.03);
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(67, 67, 67, 0.125);
}
.post-item-link {
    position: relative;
    display: inline-block;
    padding-right: 24px;
    font-weight: 600;
    color: rgb(155, 134, 51);
}
span {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1rem;
    line-height: 160%;
    font-weight: 400;
}
a {
    font-weight: 600;
    transition: all .3s
ease;
    outline: 0;
}
a {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.25rem;
    line-height: 160%;
    font-weight: 400;
}


/* footer */
.text-uppercase {
    text-transform: uppercase !important;
}

.h4, h4 {
    font-family: "Source Serif 4", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.82rem;
    margin-top: 0;
    margin-bottom: .5rem;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.ol, ul {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.25rem;
    line-height: 160%;
    font-weight: 400;
}

.list-reset {
    list-style-type: none;
    padding-left: 0rem;
}

.footer-canadian {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.footer-canadian img {
    width: 20px;
    height: auto;
}

.bg-primary {
    background-color: #16254c !important;
}
/* Add these styles for footer */
.site-footer {
    color: #fff;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a {
    color: #ddcd97;
    text-decoration: none;
}

.site-footer p {
    color: #fff;
}

.site-footer .list-reset a {
    color: #fff;
}

.site-footer .list-reset a:hover {
    color: #ddcd97;
}


@media (min-width: 1200px) {
    .py-xl-17 {
        padding-top: 7.5rem !important;
        padding-bottom: 7.5rem !important;
    }
}
@media (min-width: 768px) {
    .fs-md-medium {
        font-size: 18px !important;
    }
}
.bg-primary {
    background-color: #16254c !important;
}

.py-12 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}
.site-footer li a {
    color: #fff;
}

a {
    font-weight: 600;
    transition: all .3s
ease;
    outline: 0;
}

/* Footer vertical alignment fixes */
.site-footer h4.text-uppercase {
    margin-bottom: 2rem;  /* Consistent spacing below headings */
}

.site-footer .list-reset,
.site-footer .fs-md-large {
    margin-top: 0;  /* Remove extra top margin */
}

/* Make columns start from same vertical position */
.site-footer .col-xl-4 {
    margin-top: 2rem !important;  /* Override existing margins */
}

/* Remove redundant margin classes */
.mt-6,
.mt-md-5 {
    margin-top: 0 !important;
}

/* Adjust overall spacing */
.row.mt-4 {
    margin-top: 2rem !important;
}

/* Footer spacing adjustments */
.site-footer .list-reset,
.site-footer .fs-md-large {
    padding-left: 10px;  /* Add left padding */
    padding-right: 0;    /* Remove right padding */
}

.site-footer h4.text-uppercase {
    padding-left: 10px;  /* Match heading with list items */
    margin-bottom: 2rem;
}

.site-footer .contact-us-column {
    padding-left: 10px;
}

/* Adjust social media icons position */
.site-footer-social-links {
    padding-left: 10px;
}

/* Add these styles for the collapsed menu */
.navbar-collapse {
    background-color: #0E1E4B;
    position: fixed;
    top: 100px;  /* Height of navbar */
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
    display: block;
    opacity: 1;
    visibility: visible;
    height: calc(100vh - 100px) !important;
    transition: height 0.35s ease;
}

/* Ensure menu items are visible */
.navbar-collapse .navbar-nav {
    padding: 2rem 1rem;
}

.navbar-collapse .nav-link {
    padding: 1rem 0;
}


