/*
Theme Name: Clarushorizon
Author: Nikhil Mistry
Description: A simple custom theme for a WordPress site.
Version: 1.0
Text Domain: my-custom-theme
*/
@import url('https://fonts.googleapis.com/css2?family=Heebo&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body *{
    font-family: 'Roboto', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
body {
    margin: 0;
    padding: 0;
    color: #333;
}
.navbar-toggler-icon {
    background-image: url("data: image/svg+xml, %3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30' %3e%3crect x='0' y='0' width='30' height='30' fill='%23001731' /%3e%3cpath stroke='%23ffffff' stroke-width='2' d='M4 7h22M4 15h22M4 23h22' /%3e%3c/svg%3e") !important;
}
header, #site-navigation, #site-navigation, button.navbar-toggler, #menu-primary-menu, .dropdown-menu {
    background: #001731 !important;
}
.nav-link {
    color: #ffffff !important;
}
.mobile-menu-anchor{
    display: flex;
    align-items: center;
    height: 40px;
    width: 180px;
    position: absolute;
    right: 10px;
    top: 10px;
    overflow: hidden;
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.menu-item-has-children .menu-item-type-custom .nav-link {
    padding-left: 10px;
}
.menu-primary-menu ul li:first-of-type {
    margin-right: auto;
}
.menu-primary-menu ul li:not(:first-of-type) {
    margin-right: auto;
}

.main-navigation li {
    margin-right: 20px;
    position: relative;
    /* For dropdown menus */
}

.main-navigation a {
    text-decoration: none;
    color: white;
    padding: 15px;
    display: block;
}

.main-navigation li:hover>ul {
    display: block;
}

.sub-menu {
    display: none;
    position: absolute;
    background-color: #333;
    list-style: none;
    padding: 0;
    margin-top: 0;
}

.sub-menu li {
    width: 200px;
}

.sub-menu a {
    padding: 10px;
}

.footer {
    background-color: #ffffff;
    color: #6c757d;
}

.footer a {
    color: #6c757d;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-icons a {
    color: #6c757d;
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Logo styling */
.logo-footer {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
    height: 41px;
}

.logo-footer .claurus {
    color: #6c757d;
}

.logo-icon-footer {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    vertical-align: middle;
}

.footer-links-list li {
    list-style: none;
    display: inline-block;
    margin: 0px 5px;
}

.footer-links-list li:not(:last-child)::after {
    content: " / ";
    white-space: pre;
}
.bi-facebook::before {
    content: "\f344";
}
.bi-twitter-x::before {
    content: "\f8db";
}
.bi-instagram::before {
    content: "\f437";
}
.footer .footer-logo {
    background: url(/wp-content/uploads/assets/ch_logo.png);
    background-position: -29px center;
    background-size: 280px 280px;
    background-repeat: no-repeat;
}
.bi::before, [class*=" bi-"]::before, [class^=bi-]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer {
    background-color: #0a2540;
    padding: 3rem;

    @media (max-width:768px) {
        padding: 3rem 1rem;
    }
}

.footer .logo {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer .tagline {
    color: #f37321;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 2rem;
    margin-bottom: 0.5rem;
}

.footer a {
    color: #fff;
    text-decoration: none;

    @media (max-width:375px) {
        font-size: 0.8rem;
    }
}

.footer a:hover {
    text-decoration: underline;
}

.footer .social-icons {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer .social-icons a {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s;
}

.footer .social-icons a:hover {
    color: #f37321;
}

.footer .subscribe input {
    width: 70%;
    max-width: 250px;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.footer .subscribe button {
    background-color: #f37321;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
}

.footer .badges img {
    height: 30px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

@media(max-width: 768px) {
    .footer .subscribe input {
        width: 60%;
    }
}

.validation-msg {
    font-size: 0.8rem;
    line-height: 1.5rem;
    margin-top: 0.1rem;
}
@media (max-width: 768px) {
    .footer-links-list li {
        display: block;
    }
}
@media (min-width: 768px) {
    .footer-links-list li {
        margin: 0px 0px;
        width: 50%;
    }
    .footer-links-list li:not(:last-child)::after {
        display: none;
    }
}
@media (min-width: 992px){
    .navbar-expand-lg .navbar-nav {
        align-items: center;
    }
    .navbar-nav .menu-item:first-child {
        margin-right: auto !important;
    }
    .navbar-nav .menu-item:first-child a {
        overflow: hidden;
        max-height: 65px;
        display: flex;
        align-items: center;
    }
    .navbar-nav .menu-item:first-child a img{
        height: auto;
    }
}