/*
Theme Name: MGK
Theme URI: https://mgk.ro/
Author: MGK
Author URI: https://mgk.ro/
Description: Egyedi WordPress sablon Eduka HTML template alapján.
Version: 1.0.0
Text Domain: mgk
*/

@import url('https://fonts.googleapis.com/css2?family=Yantramanav:wght@100;300;400;500;700;900&family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root {
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Yantramanav', sans-serif;
    --theme-color: #116E63;
    --theme-color2: #FDA31B;
    --theme-color-light: rgba(17, 110, 99, 0.09);
    --theme-bg-light: #F2F3F5;
    --body-text-color: #757F95;
    --color-white: #ffffff;
    --color-dark: #19232B;
    --hero-overlay-color: #000000;
    --slider-arrow-bg: rgba(255, 255, 255, 0.2);
    --box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
    --box-shadow2: 0 0 15px rgba(0, 0, 0, 0.17);
    --transition: all .5s ease-in-out;
    --transition2: all .3s ease-in-out;
    --border-info-color: rgba(0, 0, 0, 0.08);
    --border-info-color2: rgba(0, 0, 0, 0.05);
    --border-white-color: rgba(255, 255, 255, 0.08);
    --border-white-color2: rgba(255, 255, 255, 0.05);
    --footer-bg: #012758;
    --footer-bg2: #116E63;
    --footer-text-color: #F5FAFF;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: var(--body-font);
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    color: var(--body-text-color);
    line-height: 1.8;
    background: #fff;
}

a {
    color: var(--color-dark);
    display: inline-block;
    text-decoration: none;
    transition: var(--transition2);
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    transition: var(--transition2);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-dark);
    margin: 0;
    font-weight: 600;
    font-family: var(--heading-font);
    line-height: 1.2;
}

p {
    margin: 0 0 15px;
}

.align-self-center {
    align-self: center;
}

.align-items-center {
    align-items: center;
}

.position-relative {
    position: relative;
    z-index: 1;
}

.pt-100 {
    padding-top: 100px;
}

.pb-70 {
    padding-bottom: 70px;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    width: auto;
    height: auto;
    z-index: 99999;
    background: #fff;
    color: #000;
    padding: 10px 15px;
}

.preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--theme-color);
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-book {
    border: 5px solid var(--color-white);
    width: 100px;
    height: 61px;
    position: relative;
    perspective: 150px;
}

.loader-book-page {
    display: block;
    width: 50px;
    height: 60px;
    border: 5px solid var(--color-white);
    border-left: 5px solid var(--color-white);
    margin: 0;
    position: absolute;
    right: -4px;
    top: -4px;
    overflow: hidden;
    background: var(--theme-color);
    transform-style: preserve-3d;
    transform-origin: left center;
}

.loader-book-page:nth-child(1) {
    animation: loader-book 1.2s cubic-bezier(0, .39, 1, .68) 1.6s infinite;
}

.loader-book-page:nth-child(2) {
    animation: loader-book 1.2s cubic-bezier(0, .39, 1, .68) 1.45s infinite;
}

.loader-book-page:nth-child(3) {
    animation: loader-book 1.2s cubic-bezier(0, .39, 1, .68) 1.2s infinite;
}

@keyframes loader-book {
    0% {
        transform: rotateY(0deg);
    }
    20% {
        background: var(--theme-color2);
    }
    40% {
        background: var(--theme-color2);
        transform: rotateY(-180deg);
    }
    100% {
        background: var(--theme-color);
        transform: rotateY(-180deg);
    }
}

.theme-btn {
    font-size: 14px;
    color: var(--color-white);
    padding: 14px 20px;
    transition: var(--transition);
    text-transform: uppercase;
    position: relative;
    border-radius: 50px 50px 50px 0;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    border: none;
    background: var(--theme-color2);
    box-shadow: var(--box-shadow);
    z-index: 1;
}

.theme-btn::before {
    content: "";
    height: 300px;
    width: 300px;
    background: var(--theme-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) scale(0);
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.theme-btn:hover {
    color: var(--color-white);
}

.theme-btn:hover::before {
    transform: translateY(-50%) translateX(-50%) scale(1);
}

.theme-btn i,
.theme-btn span {
    margin-right: 5px;
}

.header {
    position: relative;
    z-index: 100;
}

.header-top {
    padding: 9px 0 10px 0;
    position: relative;
    background: var(--theme-color);
    z-index: 2;
}

.header-top::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: -1px;
    width: 30%;
    background: var(--theme-color2);
    z-index: -1;
}

.header-top-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-top-left,
.header-top-right {
    display: flex;
    align-items: center;
}

.header-top-right {
    justify-content: flex-end;
    gap: 25px;
    flex-wrap: wrap;
}

.header-top-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top-social span {
    color: var(--color-white);
    font-weight: 500;
    margin-right: 8px;
}

.header-top-social a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: var(--color-white);
    font-size: 16px;
    background: rgba(0, 0, 0, 0.08);
    text-align: center;
    border-radius: 50px;
}

.header-top-social a:hover {
    color: var(--theme-color2);
    background: rgba(255, 255, 255, 0.12);
}

.header-top-contact ul {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-top-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(255, 255, 255, .2);
    padding-right: 20px;
}

.header-top-contact ul li:last-child {
    border-right: none;
    padding-right: 0;
}

.header-top-contact ul li a {
    color: var(--color-white);
    font-weight: 400;
}

.header-top-contact ul li a i {
    color: var(--theme-color2);
    margin-right: 5px;
}

.mgk-lang-switcher,
.lang-switcher,
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mgk-lang-switcher a,
.lang-switcher a,
.language-switcher a {
    color: var(--color-white);
    font-weight: 500;
    text-transform: uppercase;
}

.mgk-lang-switcher a:hover,
.lang-switcher a:hover,
.language-switcher a:hover {
    color: var(--theme-color2);
}

.main-navigation {
    position: relative;
    z-index: 99;
}

.navbar {
    background: var(--color-white);
    padding-top: 0;
    padding-bottom: 0;
    z-index: 999;
}

.navbar.fixed-top {
    background: var(--color-white) !important;
    box-shadow: var(--box-shadow2);
    animation: slide-down 0.7s;
}

@keyframes slide-down {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

.navbar-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
    flex-wrap: nowrap;
}

.navbar-brand-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-width: 170px;
    max-width: 220px;
}

.navbar-brand,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin: 0;
}

.custom-logo-link img,
.custom-logo {
    width: 170px;
    max-width: 100%;
    height: auto;
    display: block;
}

.site-title-text {
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: var(--theme-color);
}

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

.navbar-toggler {
    padding: 0;
    border: none;
    background: transparent;
}

.navbar-toggler-mobile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: var(--color-dark);
    font-weight: 500;
}

#mainnav.navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
    gap: 24px;
}

#primary-menu.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

#primary-menu.navbar-nav > li {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar .nav-item .nav-link,
#primary-menu > li > a {
    display: inline-flex;
    align-items: center;
    margin-right: 22px;
    padding: 30px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark);
    text-transform: capitalize;
    position: relative;
    line-height: 1.2;
    white-space: nowrap;
}

#primary-menu > li:last-child > a {
    margin-right: 0;
}

.navbar .nav-item .nav-link:hover,
.navbar .nav-item:hover .nav-link,
.navbar .nav-item .nav-link.active,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-parent > a,
#primary-menu > li.current-menu-ancestor > a,
#primary-menu > li:hover > a {
    color: var(--theme-color);
}

.navbar .dropdown-toggle::after,
.menu-item-has-children > a::after {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    font-family: "Font Awesome 6 Pro";
    content: "\f107";
    font-weight: 600;
    border: none;
    font-size: 14px;
}

.navbar .nav-item .dropdown-menu,
#primary-menu li ul.sub-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    margin-top: 0;
    border: none;
    left: -15px;
    top: 100%;
    border-radius: 0;
    border-top: 4px solid var(--theme-color2);
    background: var(--theme-color);
    width: 220px;
    box-shadow: var(--box-shadow);
    position: absolute;
    z-index: 999;
    padding: 0;
}

.navbar .nav-item .dropdown-menu li,
#primary-menu li ul.sub-menu li {
    border-bottom: 1px solid var(--border-white-color);
    position: relative;
}

.navbar .nav-item .dropdown-menu li:last-child,
#primary-menu li ul.sub-menu li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.navbar .nav-item .dropdown-menu .dropdown-item,
#primary-menu li ul.sub-menu li a {
    font-size: 16px;
    padding: 10px 25px;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
    transition: all .3s ease-in-out;
    display: block;
    width: 100%;
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover,
#primary-menu li ul.sub-menu li a:hover {
    background: transparent;
    color: var(--theme-color2);
    padding-left: 32px;
}

.navbar .nav-item:hover > .dropdown-menu,
#primary-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
    transform: rotateX(0deg);
}

.navbar .dropdown-menu.fade-down {
    top: 80%;
    transform: rotateX(-75deg);
    transform-origin: 0 0;
}

.navbar .dropdown-menu.fade-up {
    top: 140%;
}

.navbar .nav-item .dropdown-submenu,
#primary-menu li ul.sub-menu li.menu-item-has-children {
    position: relative;
}

.navbar .nav-item .dropdown-submenu > a::after,
#primary-menu li ul.sub-menu li.menu-item-has-children > a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 15px;
    top: 12px;
    margin-left: 0;
}

.navbar .nav-item .dropdown-submenu .dropdown-menu,
#primary-menu li ul.sub-menu li ul.sub-menu {
    top: 120%;
    left: 100%;
    opacity: 0;
    visibility: hidden;
}

.navbar .nav-item .dropdown-submenu:hover > .dropdown-menu,
#primary-menu li ul.sub-menu li:hover > ul.sub-menu {
    top: 0;
    opacity: 1;
    visibility: visible;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-left: auto;
    flex: 0 0 auto;
}

.nav-right-link {
    position: relative;
    font-size: 20px;
    color: var(--color-dark);
    transition: var(--transition);
}

.nav-right-link:hover {
    color: var(--theme-color) !important;
}

.nav-right .search-btn .nav-right-link,
.nav-right .sidebar-btn .nav-right-link {
    border: none;
    background: transparent;
    color: var(--color-dark);
    font-size: 20px;
    padding: 0;
}

.nav-right-btn {
    display: flex;
    align-items: center;
}

.mobile-menu-right {
    display: none;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.mobile-menu-right .nav-right-link {
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--color-dark);
}

.mobile-menu-right .nav-right-link:hover {
    color: var(--theme-color);
}

.search-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 99999;
    margin-top: -540px;
    transform: translateY(-100%);
    background-color: rgba(0, 0, 0, .8);
    transition: all 1500ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
}

.search-active .search-popup {
    transform: translateY(0);
    margin-top: 0;
}

.search-popup .close-search {
    position: absolute;
    left: 0;
    right: 0;
    top: 75px;
    border: none;
    margin: 0 auto;
    margin-top: -200px;
    text-align: center;
    background: var(--theme-color2);
    width: 50px;
    height: 50px;
    color: var(--color-white);
    font-size: 20px;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: all 500ms ease;
    opacity: 0;
    visibility: hidden;
}

.search-popup .close-search:hover {
    background: var(--theme-color);
}

.search-active .search-popup .close-search {
    visibility: visible;
    opacity: 1;
    top: 50px;
    transition-delay: 1500ms;
}

.search-popup form {
    position: absolute;
    max-width: 700px;
    top: 50%;
    left: 15px;
    right: 15px;
    margin: -35px auto 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: all 300ms ease;
}

.search-active .search-popup form {
    transform: scaleX(1);
    transition-delay: 1200ms;
}

.search-popup .search-form,
.search-popup .form-group {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.search-popup input[type="search"],
.search-popup input[type="text"] {
    position: relative;
    width: 100%;
    height: 65px;
    outline: none;
    border-radius: 8px;
    border: none;
    padding: 0 100px 0 35px;
    transition: all 500ms ease;
    text-transform: capitalize;
}

.search-popup button[type="submit"],
.search-popup .search-submit {
    position: absolute;
    right: 10px;
    top: 9px;
    background: var(--theme-color2);
    text-align: center;
    font-size: 20px;
    color: var(--color-white);
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 500ms ease;
}

.search-popup button[type="submit"]:hover,
.search-popup .search-submit:hover {
    background: var(--theme-color);
    color: var(--color-white);
}

#scroll-top {
    position: fixed;
    bottom: -20px;
    right: 30px;
    font-size: 20px;
    border: none;
    outline: none;
    border-radius: 50px;
    color: var(--color-white);
    background-color: var(--theme-color2);
    cursor: pointer;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    box-shadow: var(--box-shadow2);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

#scroll-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
}

.menu-item-has-children {
    position: relative;
}

.current-menu-item > a,
.current_page_item > a,
.current-menu-parent > a,
.current-menu-ancestor > a {
    color: var(--theme-color);
}

.custom-logo-link img {
    display: block;
}

.navbar .menu-item-has-children.open > ul.sub-menu {
    display: block;
}

/* =========================
   Footer
========================= */

.footer-area {
    position: relative;
    background: var(--footer-bg);
    z-index: 1;
    overflow: hidden;
}

.footer-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .05;
    z-index: -1;
    pointer-events: none;
}

.footer-shape img {
    display: block;
    max-width: 100%;
}

.footer-widget {
    position: relative;
    z-index: 1;
}

.footer-widget-wrapper {
    align-items: flex-start;
}

.footer-widget-box {
    margin-bottom: 20px;
}

.footer-widget-box.about-us {
    padding-right: 20px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo img {
    width: 220px;
    margin-bottom: 25px;
}

.footer-widget-title {
    color: var(--color-white);
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-size: 21px;
    font-weight: 700;
    z-index: 1;
}

.footer-widget-title::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    bottom: 0;
    left: 0;
    z-index: -1;
}

.footer-widget-title::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--theme-color2);
    bottom: 0;
    left: 18px;
    z-index: -1;
}

.footer-widget-box p {
    color: var(--footer-text-color);
    padding-right: 18px;
    margin-bottom: 20px;
}

.footer-contact {
    margin: 0;
    padding: 0;
}

.footer-contact li {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    color: var(--footer-text-color);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact li a {
    color: var(--footer-text-color);
    transition: 0.3s;
}

.footer-contact li a:hover {
    color: var(--theme-color2);
}

.footer-contact li i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    margin-right: 15px;
    border-radius: 10px 10px 10px 0;
    background: var(--theme-color2);
    text-align: center;
    transition: 0.3s;
    color: var(--color-white);
    flex: 0 0 30px;
    margin-top: 2px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.footer-list li a {
    color: var(--color-white);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
}

.footer-list li a i {
    margin-right: 5px;
    color: var(--theme-color2);
    font-size: 13px;
}

.footer-list li a:hover {
    padding-left: 10px;
    color: var(--theme-color2);
}

.footer-newsletter p {
    color: var(--footer-text-color);
    margin-bottom: 20px;
    padding-right: 0;
}

.subscribe-form {
    width: 100%;
}

.subscribe-form form {
    width: 100%;
}

.subscribe-form .form-control {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: none;
    border: none;
    background: var(--color-white);
    color: var(--color-dark);
    height: 56px;
    outline: none;
}

.subscribe-form .form-control::placeholder {
    color: #8a94a6;
    opacity: 1;
}

.subscribe-form .theme-btn {
    margin-top: 20px;
    width: 100%;
    padding: 14px 20px;
}

.subscribe-form .theme-btn:hover {
    color: var(--theme-color2);
}

.subscribe-form .theme-btn::before {
    background: var(--color-white);
}

.copyright {
    position: relative;
}

.copyright .copyright-wrapper {
    padding: 25px 0;
    border-top: 1px solid var(--border-white-color);
}

.copyright .copyright-text {
    color: var(--footer-text-color);
    margin-bottom: 0;
    font-size: 16px;
}

.copyright .copyright-text a {
    color: var(--theme-color2);
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
}

.footer-social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 10px 10px 10px 0;
    background: var(--color-white);
    color: var(--theme-color2);
    transition: var(--transition);
    font-size: 16px;
}

.footer-social li a:hover {
    background: var(--theme-color2);
    color: var(--color-white);
}

/* =========================================
   MGK Contact Page Fix
========================================= */

.page-template-template-contact .contact-area {
    position: relative;
}

.page-template-template-contact .contact-content {
    margin-bottom: 50px;
}

.page-template-template-contact .contact-content .row {
    row-gap: 25px;
}

.page-template-template-contact .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
    padding: 30px 20px;
    position: relative;
    margin-bottom: 0;
    border-radius: 50px 50px 50px 0;
    background: var(--color-white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.page-template-template-contact .contact-info::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -8px;
    background: var(--theme-color);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    height: 20px;
    z-index: -1;
}

.page-template-template-contact .contact-info-icon {
    font-size: 35px;
    color: var(--color-white);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    position: relative;
    border-radius: 30px;
    background: var(--theme-color);
    flex: 0 0 auto;
}

.page-template-template-contact .contact-info-icon::before {
    content: "";
    position: absolute;
    left: -15px;
    right: -15px;
    top: -15px;
    bottom: -15px;
    border: 3px solid var(--theme-color);
    border-radius: 40px;
}

.page-template-template-contact .contact-info-content h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.page-template-template-contact .contact-info-content p,
.page-template-template-contact .contact-info-content a {
    color: var(--color-dark);
    font-weight: 500;
    font-size: 16px;
    word-break: break-word;
}

.page-template-template-contact .contact-wrapper {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    z-index: 1;
    overflow: hidden;
}

.page-template-template-contact .contact-wrapper > .row {
    align-items: stretch;
}

.page-template-template-contact .contact-img {
    position: relative;
    padding-left: 20px;
    height: 100%;
}

.page-template-template-contact .contact-img::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 100%;
    background: var(--theme-color);
    border-radius: 20px 0 0 20px;
    clip-path: polygon(100% 0, 20% 50%, 100% 100%, 0 100%, 0 0);
    z-index: 1;
}

.page-template-template-contact .contact-img img {
    width: 100%;
    height: 100%;
    min-height: 780px;
    object-fit: cover;
    clip-path: polygon(100% 0, 100% 100%, 10% 100%, 0 50%, 10% 0);
    display: block;
}

.page-template-template-contact .contact-form {
    padding: 45px 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-template-template-contact .contact-form-header {
    margin-bottom: 30px;
}

.page-template-template-contact .contact-form-header h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.page-template-template-contact .contact-form-header p {
    margin: 0;
    color: var(--body-text-color);
}

.page-template-template-contact .contact-form .form-group {
    margin-bottom: 20px;
}

.page-template-template-contact .contact-form .form-control {
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #dfe2e7;
    background: #fff;
    color: var(--color-dark);
}

.page-template-template-contact .contact-form .form-control:focus {
    border-color: var(--theme-color2);
    box-shadow: none;
}

.page-template-template-contact .contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.page-template-template-contact .contact-form .theme-btn {
    margin-top: 5px;
}

.page-template-template-contact .contact-map {
    margin-bottom: -9px;
    margin-top: 0;
}

.page-template-template-contact .contact-map iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* =========================
   Responsive
========================= */

@media all and (max-width: 1199px) {
    .header-top-contact ul {
        gap: 10px;
    }

    .header-top-social a {
        width: 34px;
        height: 34px;
        line-height: 34px;
    }

    .nav-right {
        margin-left: 25px !important;
        gap: 20px;
    }

    .navbar .nav-item .nav-link,
    #primary-menu > li > a {
        margin-right: 15px;
    }

    .custom-logo-link img,
    .custom-logo {
        width: 150px;
    }

    .footer-widget-box {
        margin-bottom: 50px;
    }
}

@media all and (max-width: 991px) {
    .header-top {
        display: none;
    }

    .navbar {
        top: 0;
        right: 0;
        left: 0;
        position: relative;
    }

    .navbar-shell {
        min-height: 76px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .navbar-brand-wrap {
        min-width: auto;
        max-width: none;
    }

    .custom-logo-link img,
    .custom-logo {
        width: 130px;
    }

    .mobile-menu-right {
        display: flex;
    }

    .nav-right {
        display: none;
    }

    #mainnav.navbar-collapse {
        display: block !important;
        flex: 0 0 100%;
        width: 100%;
        gap: 0;
    }

    .navbar-collapse {
        max-height: 420px;
        overflow: hidden;
        overflow-y: auto;
        padding: 0 20px;
        background-color: var(--color-white);
        border-top: 1px solid var(--border-info-color);
    }

    #primary-menu.navbar-nav {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    #primary-menu.navbar-nav > li {
        display: block;
        width: 100%;
    }

    .navbar .nav-item .nav-link,
    #primary-menu > li > a {
        color: var(--color-dark);
        font-weight: 700;
        transition: var(--transition);
        margin-right: 0;
        padding: 12px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border-info-color2);
        position: relative;
        white-space: normal;
    }

    .navbar .nav-item .nav-link:hover,
    #primary-menu > li > a:hover {
        color: var(--theme-color) !important;
    }

    .navbar .dropdown-toggle::after,
    .menu-item-has-children > a::after {
        display: none;
    }

    .submenu-caret {
        position: absolute;
        right: 0;
        top: 50%;
        width: 28px;
        height: 28px;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .submenu-caret::before {
        content: "\f107";
        font-family: "Font Awesome 6 Pro";
        font-weight: 600;
        font-size: 14px;
        color: var(--color-dark);
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: var(--transition2);
    }

    .menu-item-has-children.open > a .submenu-caret::before {
        transform: translateY(-50%) rotate(180deg);
        color: var(--theme-color);
    }

    .navbar .nav-item .dropdown-menu,
    #primary-menu li ul.sub-menu {
        position: static;
        left: auto;
        top: auto;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none !important;
        border-top: none;
        box-shadow: none;
        background: #f7f7f7;
        margin: 0;
        padding: 0;
    }

    #primary-menu li ul.sub-menu li a {
        color: var(--color-dark);
        padding: 10px 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 15px;
    }

    #primary-menu li ul.sub-menu li a:hover {
        color: var(--theme-color);
        padding-left: 24px;
    }

    .navbar .nav-item .dropdown-submenu .dropdown-menu,
    #primary-menu li ul.sub-menu li ul.sub-menu {
        left: auto;
        top: auto;
        opacity: 1;
        visibility: visible;
        margin: 0 0 0 12px;
        background: #efefef;
    }

    .navbar .nav-item .dropdown-submenu > a::after,
    #primary-menu li ul.sub-menu li.menu-item-has-children > a::after {
        display: none;
    }

    .menu-item-has-children.open > ul.sub-menu {
        display: block;
    }

    .search-area.open {
        top: 50px !important;
    }

    .footer-widget-wrapper {
        padding-bottom: 0;
    }

    .footer-widget-box.about-us {
        padding-right: 0;
    }

    .copyright .copyright-text {
        margin-bottom: 15px;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .page-template-template-contact .contact-img img {
        min-height: 420px;
    }

    .page-template-template-contact .contact-form {
        padding: 35px 25px;
    }
}

@media all and (max-width: 767px) {
    .theme-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .search-popup input[type="search"],
    .search-popup input[type="text"] {
        height: 58px;
        padding: 0 85px 0 20px;
    }

    .search-popup button[type="submit"],
    .search-popup .search-submit {
        top: 7px;
        right: 7px;
        padding: 9px 14px;
        font-size: 18px;
    }

    #scroll-top {
        right: 20px;
    }

    .pt-100 {
        padding-top: 70px;
    }

    .pb-70 {
        padding-bottom: 40px;
    }

    .footer-logo img {
        width: 180px;
    }

    .footer-widget-title {
        font-size: 20px;
        margin-bottom: 24px;
        padding-bottom: 18px;
    }

    .footer-social {
        margin-top: 10px;
    }

    .page-template-template-contact .contact-info {
        gap: 28px;
        padding: 25px 15px;
    }

    .page-template-template-contact .contact-img {
        padding-left: 0;
    }

    .page-template-template-contact .contact-img::before {
        display: none;
    }

    .page-template-template-contact .contact-img img {
        clip-path: none;
        min-height: auto;
    }

    .page-template-template-contact .contact-form {
        padding: 30px 20px;
    }
}