/*
Theme Name: OVIN Navigator Theme
Theme URI: http://example.com/
Author: OCI-OVIN
Author URI: http://example.com/
Description: An OVIN Navigator theme built from scratch.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ovin-navigator
*/

/* Variables Global */
@import url("variables.css");

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.background-ice {
    background: var(--ice) !important;
}

/*** Button ***/
.btn {
    font-family: var(--mainfont) !important;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary {
    color: #00FF;
    background-color: var(--ice);
}

.btn-primary:active {
    color: var(--ice) !important;
    background-color: var(--electricblue) !important;
}

.btn.btn-secondary {
    color: #00FF;
}

.btn-secondary.active {
    color: var(--ice) !important;
    background-color: var(--electricblue) !important;
}

.btn-square, .btn-sm-square, .btn-lg-square {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.container {
	box-shadow: none !important;
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: var(--mainfont) !important;
    position: relative;
    margin-right: 15px;
    padding: 35px 0;
    font-size: 15px;
    font-weight: 600;
    transition: .5s;
    color: var(--almostblack) !important;
	align-items: center;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--electricblue) !important;
}

.navbar-nav .dropdown-menu {
    padding-top: 0;
    padding-bottom: 0;
}

/* Force hover styling for submenu items */
li.dropdown:hover ul.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

li.dropdown:hover .dropdown-menu .dropdown-item:hover {
    background-color: var(--ice) !important;
    color: var(--almostblack) !important;
	border: 1px solid var(--electricblue) !important;
}

/*** Responsive Navbar ***/
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 13px;
        padding: 6px 0;
    }

    .dropdown-menu {
        font-size: 12px;
        padding: 4px 6px;
        width: 160px;
    }

    .dropdown-item {
        font-size: 12px;
        padding: 4px 6px;
    }

    .navbar-toggler {
        width: 35px;
        height: 35px;
    }

    .navbar-toggler i {
        font-size: 16px;
    }
	
    .dropdown-menu {
        width: 220px !important;
    }
}

@media (min-width: 992px) {
    .dropdown-menu {
		min-height: 50px !important;
        font-size: 15px;
        padding: 10px 15px;
    }

    .dropdown-item {
        font-size: 15px;
        padding: 10px 15px;
    }
}

/* Prevent navbar from breaking into two lines */
html[lang="fr-FR"] .navbar {
    display: flex;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

/* Ensure navbar-collapse does not force wrapping */
html[lang="fr-FR"] .navbar-collapse {
    flex-wrap: nowrap !important;
    display: flex;
    /* justify-content: center; */
    width: 100%;
}

/* Allow only menu items to wrap, not the whole navbar */
html[lang="fr-FR"] .navbar-nav {
    max-width: 700px; /* Adjust as needed */
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
	align-items: flex-start !important;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 10px; /* Spacing between items */
}

/* Ensure menu items wrap properly */
html[lang="fr-FR"] .navbar-nav .nav-item {
    flex: 1 1 auto;
    max-width: 175px; /* Restrict individual item width */
	align-items: flex-start !important; /* Align text to the top */
    text-align: left !important; 
}

/* Allow text inside menu items to wrap */
html[lang="fr-FR"] .navbar-nav .nav-link {
    white-space: normal !important;
    display: block;
    font-size: 15px;
    line-height: 1.3;
}

/* Limit Bootstrap menu width for French */
.menu-fr .navbar-nav {
    max-width: 250px; /* Adjust as needed */
    white-space: normal;
    word-wrap: break-word;
}

/* Ensure dropdown menus wrap properly */
.menu-fr .dropdown-menu {
    max-width: 250px;
    min-width: auto;
    white-space: normal;
}

/* Allow the menu to wrap into 2-3 lines */
.menu-fr .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Adjust dropdown item alignment */
.menu-fr .dropdown-menu .dropdown-item {
    white-space: normal;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%; /* Ensures it opens directly below */
        left: 0;
        width: 100%;
        background: white; /* Match site theme */
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: max-height 0.3s ease-in-out;
        max-height: 0;
        overflow: hidden;
    }

    .navbar-collapse.show {
        max-height: 500px; /* Adjust height as needed */
    }

    .navbar-nav {
        flex-direction: column;
        padding: 15px 0;
    }

    .navbar-nav .nav-item {
        padding: 10px 0;
    }
}

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(62, 62, 87, 0.7), rgba(20, 20, 31, .7)), url(assets/images/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*** Header Logo ***/
nav .header-logo {
    width: 300px !important;
    height: auto !important;
}


/* Medium screens (tablets) */
@media (max-width: 992px) {
    nav .header-logo {
        width: 220px !important;;
    }
}

/* Small screens (mobile) */
@media (max-width: 576px) {
    nav .header-logo {
        width: 160px !important;;
    }
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--almostblack);
    border: 1px solid var(--almostblack);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primarygradient);
}

.footer .btn.btn-link {
    display: block;
    font-size: 15px;
    transition: .3s;
}

.footer .copyright {
    padding: 20px 0px;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright ul li {
    padding-right: 20px;
}

.footer div p {
	font-family: var(--mainfont) !important;
	color: var(--almostblack); !important;
}
 
.footer li a {
	font-family: var(--mainfont) !important;
	color: var(--almostblack); !important;
    text-decoration: none !important;
}

a.language-link {
	font-family: var(--mainfont) !important;
	color: var(--almostblack) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

/* Apply on hover, focus, and active */
a.language-link:hover,
a.language-link:focus,
a.language-link:active {
	color: var(--electricblue) !important;
	text-decoration: none !important;
}

/*** Dropdown Styles ***/
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1); /* makes the icon white */
	width: 2rem;    /* default is ~1.5rem */
    height: 2rem;
}

.faq-link-color {
    color: var(--electricblue) !important;
}

/*** Banner Styling ***/
.banner {
    background: var(--ice) !important;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.banner-content h1 {
    font-size: 2.5rem;
    margin: 0;
}

.banner-content p {
    font-size: 1.2rem;
    margin: 10px 0 0;
}

/*** Gradient Button ***/
.gradient-button {
    background: var(--primarygradient);
    color: white !important;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.gradient-button:hover {
    background: #EDF7FF;
    border-radius: 50rem !important;
    color: var(--almostblack) !important;
    transition: all 0.5s ease;
}

/*** Custom Toggler ***/
.custom-toggler {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: linear-gradient(45deg, #0057ff, #9400d3);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    outline: none;
    padding: 0;
    transition: all 0.3s ease;
}

.custom-toggler:focus, .custom-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

#custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

#custom-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

#custom-pagination li {
    padding: 8px 12px; /* Slightly larger for better spacing */
    cursor: pointer;
    border-radius: 5px;
}

#custom-pagination li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 20px; /* Default font size for pagination links */
}

/* Active pagination link styling */
#custom-pagination li.active a {
    color: var(--electricblue) !important;
    font-weight: bold;
    text-transform: uppercase; /* Optional: Makes it stand out */
}

#custom-pagination li i.material-icons-outlined {
    font-size: 24px !important; /* Adjust icon size */
    vertical-align: middle; /* Align icons with numbers */
}

/* Disabled pagination */
#custom-pagination li.disabled {
    opacity: 0.5;
    pointer-events: none;
}

button.navbar-toggler.custom-toggler i, .custom-toggler svg {
    color: white !important;
    fill: white !important;
    font-size: 20px;
} {
    color: white !important;
    font-size: 20px;
}

/* Default style for desktop and larger screens */
.footer-logo {
  width: 400px;
  height: auto;
  display: block;
}

/* For tablets and small desktops */
@media (max-width: 1024px) {
  .footer-logo {
    width: 360px;
  }
}

/* For mobile devices (landscape) */
@media (max-width: 768px) {
  .footer-logo {
    width: 330px;
  }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    .mobile-header .search-container {
        flex: 1;
        text-align: start; /* Align search to the left */
    }

    .mobile-header .language-container {
        text-align: end; /* Align language switcher to the right */
    }
}

/* For mobile devices (portrait) */
@media (max-width: 480px) {
  .footer-logo {
    width: 200px;
  }
}


/* Default style for desktop and larger screens */
/* .header-logo {
  width: 400px;
  height: auto;
  display: block;
} */

/* For tablets and small desktops */
@media (max-width: 1024px) {
  .header-logo {
    width: 360px;
  }
}

/* For mobile devices (landscape) */
@media (max-width: 768px) {
  .header-logo {
    width: 330px;
  }
}

/* For mobile devices (portrait) */
@media (max-width: 480px) {
  .header-logo {
    width: 200px;
  }
}

.ovinbtn a,
button.ovinbtn {
  font-weight: 400;
  font-size: 1rem;
  line-height: 150%;
  padding: 1rem;
  text-align: center;
  border-radius: 999px;
  position: relative;
  display: inline-flex;
}
/*this creates the gradient stroke around the button*/
.ovinbtn.primary a::before,
button.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background: var(--primarygradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.ovinbtn.primary a,
button.primary {
  color: var(--white) !important;
  background: url(/wp-content/uploads/2025/02/button-white-back.png),
    url(/wp-content/uploads/2025/02/button-gradient-back.png) !important;
  position: relative;
  font-family: var(--mainfont) !important;
  background-position: -400px center, center center !important;
  background-size: 101% 101%, cover !important;
  background-repeat: no-repeat, no-repeat !important;
}
.ovinbtn.primary a:hover,
button.primary:hover {
  color: var(--almostblack) !important;
  background-position: center center, center center !important;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}
.ovinbtn.primary a:focus,
button.primary:focus-visible {
  outline: 2px solid #fb692a;
}

.ovin-searchbar .elementor-search-form__submit:after {
  content: "";
  height: 31px;
  width: 31px;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
  outline: 1px solid transparent;
  outline-offset: -2px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}
.ovin-searchbar .elementor-search-form__submit:focus-visible:after {
  outline-color: #025ecc;
  outline-offset: 0;
}

.ovin-searchbar .elementor-search-form__submit {
  background: transparent;
  position: absolute;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  border: 0;
}

/* End Focus state for the magnifying glass */

.ovin-searchbar .elementor-search-form__submit svg {
  fill: var(--almostblack) !important;
  width: 18px;
  height: 20px;
}
.ovin-searchbar .elementor-search-form__container {
  background: var(--white) !important;
  border-radius: 999px !important;
}
/*this adds the gradient to the search bar border*/
.ovin-searchbar .elementor-search-form__container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1.5px;
  background: var(--gradientgreenbluepurple);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.ovin-searchbar input[type="search"].elementor-search-form__input {
  background: transparent;
  border-radius: 999px;
  padding: 1rem;
  font-size: 1.125rem;
  padding-left: 2.8rem !important;
  color: var(--almostblack) !important;
  font-weight: 400;
  font-family: var(--mainfont) !important;
  z-index: 2;
}
.ovin-searchbar input[type="search"].elementor-search-form__input:focus,
.ovin-searchbar
  input[type="search"].elementor-search-form__input:focus-visible {
  outline: 2px solid var(--electricblue) !important;
}
.ovin-searchbar input[type="search"]::placeholder {
  color: var(--almostblack) !important;
  font-family: var(--mainfont) !important;
}

.material-icons-outlined {
    font-family: 'Material Icons Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Adjust size */
    line-height: 1;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

.entry-title a {
	color: var(--electricblue) !important;
}


.entry-summary {
	color: var(--almostblack) !important;
}


.entry-footer a {
	color: var(--electricblue) !important;
}

@media (min-width: 1200px) {
/*   .elementor-container,
  .elementor-section,
  .elementor-widget-container,
  .e-con-inner {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
  } */

/*   .elementor-column {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
	 */
/* 	.e-con,
  	.e-con-child {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
    padding-left: 75px !important;
    padding-right: 75px !important;
  } */
}

@media (min-width: 1200px) {
  body {
    font-size: 18px;
    line-height: 1.7;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2rem;
  }

  p {
    font-size: 1.125rem;
  }
}

