* {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #333333;
}

html {
  scroll-behavior: smooth;
}

body { background-color: #F4F4F4; }

h3 { position: relative; }

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

.navbar {
    --bs-navbar-padding-y: 0;
    --bs-navbar-brand-padding-y: 0;
}

.navbar-brand {
    bottom: -14px;
    max-width: 75%;
}

.navbar-custom-icon {
    display: inline-block;
    cursor: pointer;
}

.top-bar {
    width: 38px;
    height: 5px;
    background-color: #520E09;
    margin: 6px 0;
    transition: 0.4s;
    border-radius: 20px;
    position: relative;
}

.mid-bar {
    width: 38px;
    height: 5px;
    background-color: #520E09;
    margin: 6px 0;
    transition: 0.4s;
    border-radius: 20px;
    position: relative;
}


.bot-bar {
    width: 38px;
    height: 5px;
    background-color: #520E09;
    margin: 6px 0;
    transition: 0.4s;
    border-radius: 20px;
    position: relative;
}

.mid-bar:after {
    content: "";
    width: 6px;
    height: 12px;
    background-color: #fff;
    position: absolute;
    top: -4px;
    right: 10px;
}

.change-bar .top-bar {
    transform: translate(0, 11px) rotate(-45deg);
}

.change-bar .mid-bar {
    width: 0;
    opacity: 0;
}

.change-bar .bot-bar {
    transform: translate(0, -11px) rotate(45deg);
}

.nav-item {
    padding: 36px 26px 32px 32px !important;
    font-weight: 600;
}

.nav-link {
    padding: 0;
}

.navbar-nav .nav-link.active {
    color: #333333;
    border-bottom: 2px solid;
    border-color: #520E09;
    padding-bottom: 8px;
}

.navbar-nav .nav-link-contact .nav-link.active {
    color: #fff;
    border-color: #fff;
}

.nav-link-contact {
    background-color: #520E09;
}

.nav-link-contact .nav-link {
    color: #fff;
}

.nav-item {
    font-size: 16px;
}

.hero {
    padding-top: 140px;
    padding-bottom: 258px;
}

.compass-bg {
    background-image: url("../img/comp-new.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.text-stepping {
    color: #75140C;
}

.border-stepping {
    border-color: #75140C;
}

.btn {
    font-family: 'Inter', sans-serif;
    position: relative;
}

.yellow-large { position: relative; }

.yellow-large::after {
    content: "";
    background-image: url("../img/yellow-large.png");
    background-size: cover;
    background-position: left top;
    width: 100%;
    max-width: 446px;
    height: 11px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.yellow-small { position: relative; }

.yellow-small::after {
    content: "";
    background-image: url("../img/yellow-small.png");
    background-size: cover;
    background-position: left top;
    width: 100%;
    max-width: 50px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.more-info-ico::before {
    content: "";
    background-image: url("../img/mouse-cursor.png");
    background-size: cover;
    background-position: center center;
    width: 100%;
    max-width: 20px;
    height: 48px;
    position: absolute;
    bottom: -12px;
    left: 0;
}

.email-ico::after {
    content: "";
    background-image: url("../img/email-ico.png");
    background-size: cover;
    background-position: center center;
    width: 100%;
    max-width: 23px;
    height: 16px;
    position: absolute;
    bottom: 7px;
    right: 0;
}

.inter { font-family: 'Inter', sans-serif; }

.form-control:focus, .form-select:focus { border-color: #75140C; box-shadow: 0 0 0 0.25rem rgba(82,14,19,.25); }

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee img {
    width:230px !important;
    height:auto !important;
    padding:10px
}

.marquee:nth-child(even){
    flex-direction: row-reverse;
    margin-top:10px
}

.card-body-custom-padding {
    padding-top: 2rem; 
    padding-left: 2rem;
}

/*css for alert messages*/

.alert-success{
    z-index: 1;
    background: #D4EDDA;
    font-size: 18px;
    padding: 20px 40px;
    min-width: 420px;
    position: fixed;
    right: 0;
    top: 10px;
    border-left: 8px solid #3AD66E;
    border-radius: 4px;
  }
  
  .alert-error{
    z-index: 1;
    background: #FFF3CD;
    font-size: 18px;
    padding: 20px 40px;
    min-width: 420px;
    position: fixed;
    right: 0;
    top: 10px;
    border-left: 8px solid #FFA502;
    border-radius: 4px;
  }

  .formats-list {
    padding-left: 20px;
    margin-bottom: 0px;
  }

  .mb-16 {
    margin-bottom: 16px !important;
  }

@media (max-width: 1600px) {
    
    .hero { 
        padding-top: 46px;
        padding-bottom: 30px;
    }

    .hero-img {
        max-width: 360px !important;
    }

    .nav-item { 
        padding: 34px 12px !important;
    }

    .card-body-custom-padding {
        padding-top: 1rem; 
        padding-left: 1rem;
    }

    .card-body-custom-padding p {
        font-size: 20px !important;
    }

    .card-body li {
        font-size: 14px;
    }
}


@media (max-width: 1366px) {

    h2 {
        font-size: 4.5rem !important;
    }
    
    .hero { 
        padding-top: 46px;
        padding-bottom: 30px;
    }

    .hero-img {
        left: 50% !important;
    }

    .nav-item { 
        padding: 34px 14px !important;
    }
}


@media (min-width: 992px) { 
    .desktop-only { display: block !important; }
    .mobile-only { display: none !important; }
 }

 @media (max-width: 992px) { 
    .spr {
        padding-top: 59px !important; 
        padding-bottom: 59px !important; 
    }

    .spr-nb {
        padding-top: 59px !important;
        padding-bottom: 0 !important;
    }

    .fmr {
        margin-top: -54px !important;
    }

    .st {
        font-size: 24px !important;
    }

    .yellow-large {
        padding-bottom: 10px !important;
    }

    .yellow-large::after {
        width: 100px;
        height: 4px;
    }

    .yellow-small::after {

    }

    .navbar { 
        padding-top: 32px;
        padding-bottom: 23px;
    }

    .navbar-nav .nav-link-contact .nav-link.active {
        color: inherit;
        border-color: inherit;
    }
    
    .nav-link-contact {
        background-color: inherit;
    }
    
    .nav-link-contact .nav-link {
        color: inherit;
    }

    .navbar-brand { max-width: 65%; bottom: 6px; }
    .reset-footer-align { text-align: left !important; }
    .email-ico::after { display: none !important; }
    .m-logo-pt { padding-top: 20px !important; }
    .m-p-pt { padding-top: 40px !important; }
    .m-mail-pt { padding-top: 10px !important; padding-bottom: 20px;}
    h2 { font-size: 3.5rem !important; }
    .reset-footer-align { text-align: left !important; }
    * { font-size: 16px !important; }

    .mob-bg {
        background-image: url("../img/when-was-the-compass-invented-in-europe.png");
        background-size: cover;
        background-repeat: no-repeat;
    }
 }

 @media (max-width: 375px) {
    h2 {
        font-size: 2.5rem !important;
    }
 }

 .button-more {
    display: flex;
    max-width: 120px;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgb(119, 24, 16);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px;
    justify-content: space-between;
    text-decoration: none;
 }
 
 .button-more span {
    color: #fff;
    font-weight: 600;
 }
 
.button-more:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.accordion-button {
    background-color: #75140C !important;
    color: #fff !important;
    font-weight: 600;
}

[id] {
  scroll-margin-top: 40px; /* match your header height */
}