/*
Theme Name: Trading-co
Theme URI: https://trading-co.com/
Author: Insanustu co
Author URI: https://insanustu.com/
Description: Trading-co is a professional and responsive WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trading-co
Tags: business, professional, responsive, trading, consultation, custom-logo
*/

/* 
*//*********************
START: PUBLIC
*********************/



*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

button,
input,
textarea,
a {
    cursor: pointer;
    outline: none;
    background: 0 0;
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-family);
}

button:focus,
input:focus,
textarea:focus,
a:focus,
input::placeholder,
textarea::placeholder {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
	margin-top: 0 !important;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    vertical-align: middle;
}

:root {
    --direction: ltr;
    --font-family: "Manrope", sans-serif;
    /* 
    --secondary-color: #EF7C2C;
    --third-color: #0B4065;
    --forth-color: #111D25;
    --fifth-color: #8D969E;
    --sixth-color: #6B88B2; */
    --primary-color: #004495;
    --text-color: #001733;
    --text-color-2: #656A70;
    --box-color: #F8F9F9;
    --baseLight-color: #ffffff;
    --baseDark-color: #000000;
    /* --border-color1: #9DA2A5; */

    /* --border-radius8: 8px; */
    --border-radius10: 10px;



    --line-height120: 120%;
    --line-height130: 130%;
    --line-height140: 140%;
    --line-height150: 150%;
    --line-height160: 160%;


    /* font-size */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */
    --text-6xl: 3.5rem;
    /* 56px */
    --text-7xl: 3.75rem;
    /* 60px */
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    direction: var(--direction);
    overflow-x: hidden !important;
}

section {
    margin-block-end: 7.5rem;
}

/* btn */
.btn {
    outline: none;
    cursor: pointer;
    position: relative;
    border-radius: var(--border-radius50);
    padding: 0.875rem 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    font-weight: 500;
}

.btn--primary {
    border-radius: var(--border-radius10);
    background-color: var(--primary-color);
    color: var(--baseLight-color);
}

.btn--text {
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.25rem;
    font-weight: 600;
    line-height: var(--line-height120);
}

/* text and title */
.center {
    text-align: center;
}

.title--large,
.title--middle {
    line-height: auto;
    color: var(--text-color);
    font-weight: 700;
}

.text--large,
.text--middle {
    font-weight: 400;
    color: var(--text-color);
    line-height: var(--line-height150);
}

.title--small {
    font-weight: 700;
    color: var(--text-color);
    line-height: var(--line-height120);
}

/* heroInner */
.heroInner {
    min-height: 500px;
    position: relative;
    background-image: url("assets/img/bg-heroInner.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.heroInner--content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    margin-inline: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* commitment */
.commitment--content {
    display: flex;
    row-gap: 2rem;
    align-items: flex-end;
    justify-content: space-between;
}

.commitment--img {
    width: 40%;
}

.commitment--img img {
    width: 100%;
    border-radius: var(--border-radius10);
}

.commitment--text {
    width: 57%;
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}


/* ready */
.ready p {
    max-width: 950px;
    margin-inline: auto;
    width: 100%;
    margin-block-start: 2rem;
}



/*********************
START: HEADER
*********************/

header {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1rem;
    position: relative;
}

/* header--logo */
.header--logo {
    width: 130px;
}

.header--logo img {
    width: 100%;
    max-width: 218px;
}

/* header--logo */


/* header--btn */
.header--btn {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header--menu .header--btn__mobile {
    display: none;
}

/* header--btn */


/* header--menu */
.header--menu {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    position: relative;
}

/* nav-icon */
.nav-icon {
    position: absolute;
    /* display: inline-block; */
    /* left: 0; */
    z-index: 100;
    /* top: 50%; */
    /* transform: translateY(-50%); */
    transition: transform 0.5s;
    display: none;
}

.nav-icon:after,
.nav-icon:before,
.nav-icon div {
    background-color: var(--primary-color);
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin: 5px 0;
    transition: all 0.2s ease-in-out;
}

.nav-icon.open:before {
    transform: translateY(6px) rotate(135deg);
}

.nav-icon.open:after {
    transform: translateY(-8px) rotate(-135deg);
}

.nav-icon.open div {
    transform: scale(0);
}

/* nav-icon */

.header--menu .navigation {
    position: relative;
}

.header--menu .navigation>ul.menu {
    position: relative;
    display: flex;
    justify-content: center;
    user-select: none;
    column-gap: 2.5rem;
    row-gap: 1.5rem;
}

.header--menu .navigation>ul.menu>li {
    padding-block: 1rem;
    position: relative;
}

.header--menu .navigation>ul.menu>li.current-menu-item>a {
    font-weight: 500;
}

.header--menu .navigation>ul.menu>li>a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 400;
    line-height: var(--line-height140);
    transition: all 0.3s ease;
}

.header--menu .navigation>ul.menu>li:hover>a {
    color: var(--primary-color);
}

.header--menu .navigation>ul.menu>li.current-menu-item>a {
    font-weight: 700;
}


/* for submenu */
.header--menu .navigation>ul.menu>li>img {
    width: .5rem;
    position: absolute;
    right: -.75rem;
    top: 50%;
    transform: translatey(-50%);
    cursor: pointer;
}

.header--menu .navigation>ul.menu>li>a>img {
    width: 0.75rem;
    margin-inline-start: 1rem;
}

.header--menu .navigation>ul.menu>li>ul {
    position: absolute;
    background: var(--baseLight-color);
    top: 3rem;
    pointer-events: none;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.5s;
    transition-property: transform, opacity;
    border-radius: var(--border-radius10);
    padding-block: 1rem;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.25);
}

.header--menu .navigation>ul.menu>li:hover>ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.header--menu .navigation>ul.menu>li>ul>li {
    position: relative;
    cursor: pointer;
}

.header--menu .navigation>ul.menu>li>ul>li>a {
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 1.25rem;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
}

/* for submenu  */

.darkpage {
    background-color: rgba(30, 54, 70, .7);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    transition: opacity 1s linear;
}

/*********************
END: HEADER
*********************/


/*********************
START: FOOTER
*********************/
footer {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("assets/img/bg-footer.png");
}

.footer--content {
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer--content img {
    position: absolute;
    left: 0;
    top: 50%;
    max-width: 80px;
    height: 80px;
    transform: translateY(-50%);
}

.footer--content p {
    margin-block: auto;
    color: var(--baseLight-color);
}

/*********************
END: FOOTER
*********************/

/*********************
START: container and its media
*********************/
/* container  */
.container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1320px 1fr;
    grid-template-areas: ". content .";
}

.container>* {
    grid-area: content;
}

@media screen and (min-width: 2560px) {
    .container {
        grid-template-columns: 1fr 2300px 1fr;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .container {
        grid-template-columns: 1fr 1820px 1fr;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .container {
        grid-template-columns: 1fr 1420px 1fr;
    }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
    .container {
        grid-template-columns: 1fr 1310px 1fr;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1319px) {
    .container {
        grid-template-columns: 1fr 1140px 1fr;
    }
}

@media screen and (min-width: 993px) and (max-width: 1199px) {
    .container {
        grid-template-columns: 1fr 970px 1fr;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .container {
        grid-template-columns: 1fr 750px 1fr;
    }
}

@media screen and (max-width: 768px) {
    .container {
        grid-template-columns: 1fr 95% 1fr;
    }
}

/*********************
END: container and its media
*********************/


/*********************
START: MEDIA
*********************/
@media screen and (min-width: 1440px) {
    .title--large {
        font-size: 70px;
    }

    .title--middle {
        font-size: 50px;
    }

    .title--small {
        font-size: var(--text-3xl);
    }

    .text--large {
        font-size: var(--text-2xl);
    }

    .text--middle {
        font-size: var(--text-xl);
    }

    .btn,
    .btn--text {
        font-size: 22px;
    }
}

@media screen and (min-width: 1320px) and (max-width:1439px) {
    .title--large {
        font-size: var(--text-7xl);
    }

    .title--middle {
        font-size: var(--text-5xl);
    }

    .title--small {
        font-size: var(--text-3xl);
    }

    .text--large {
        font-size: var(--text-xl);
    }

    .text--middle {
        font-size: var(--text-lg);
    }

    .btn,
    .btn--text {
        font-size: var(--text-xl);
    }
}

@media screen and (max-width: 1319px) {
    section {
        margin-block-end: 7rem;
    }

    .title--large {
        font-size: var(--text-7xl);
    }

    .title--middle {
        font-size: var(--text-4xl);
    }

    .title--small {
        font-size: var(--text-2xl);
    }

    .text--large {
        font-size: var(--text-xl);
    }

    .text--middle {
        font-size: var(--text-lg);
    }

    .btn,
    .btn--text {
        font-size: var(--text-xl);
    }

    /* header */
    .header--menu .navigation>ul.menu>li {
        padding-inline-end: 1rem;
    }

    .header--menu .navigation>ul.menu>li>a {
        font-size: var(--text-sm);
    }

    .header--btn__desktop .btn {
        font-size: 14px;
        padding-inline: 0.75rem;
    }

    .header--btn__desktop.header--btn {
        gap: 0.75rem;
    }
}


@media screen and (max-width: 1200px) {
    section {
        margin-block-end: 6.5rem;
    }

    .title--large {
        font-size: var(--text-6xl);
    }

    /* heroInner */
	.heroInner {
		min-height: 400px;
	}
	
    .heroInner--single .heroInner--img::before {
        right: 0;

    }

    .heroInner::before {
        height: calc(100% - 160px);
    }

    .heroInner--archive .heroInner--img img {
        width: 90%;
    }

    .heroInner--archive .heroInner--img::before {
        bottom: -40px;
    }

    .heroInner--archive .heroInner--img::after {
        top: -10px;
    }

    /* header */
    .header--logo {
        width: 90px;
    }

    .header--menu .navigation>ul.menu>li>a {
        font-size: var(--text-sm);
    }

    .header--menu .navigation>ul.menu>li {
        padding-inline: 0.5rem;
    }

    .header--btn.header--btn__desktop {
        font-size: var(--text-sm);
    }

    .header--btn {
        gap: 0.5rem;
    }

    .header--btn.header--btn__desktop .btn--icon {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    section {
        margin-block-end: 6rem;
    }

    .title--middle {
        font-size: var(--text-3xl);
    }

    .btn,
    .btn--text {
        font-size: var(--text-lg);
    }

    .commitment--content {
        flex-direction: column;
    }

    .commitment--img {
        width: 60%;
        margin-inline: auto;
    }

    .commitment--text {
        width: 100%;
    }
	
	.heroInner {
		min-height: 300px;
	}
}

@media screen and (max-width: 768px) {
    section {
        margin-block-end: 5.5rem;
    }

    .title--large {
        font-size: var(--text-5xl);
    }

    .title--small {
        font-size: var(--text-xl);
    }

    .commitment--img {
        width: 80%;
    }

	.heroInner {
		min-height: 250px;
	}

    /* header */
    .header--menu .navigation>ul.menu>li {
        padding-inline-end: 7px;
    }

    .header--btn {
        gap: 0.5rem;
    }

    .nav-icon {
        display: block;
    }

    .header--menu .navigation>ul.menu {
        flex-direction: column;
		margin-block-start: 2rem;
    }

    .header--menu .navigation {
        position: fixed;
        display: block;
        min-width: 350px;
        right: -100%;
        background: var(--baseLight-color);
        top: 0;
        z-index: 1;
        padding: 30px;
        height: 100%;
        transition: all 0.5s;
        visibility: hidden;
        transition-property: right, visibility;
        border-top-left-radius: var(--border-radius-10);
    }

    .header--menu .navigation.active {
        right: 0;
        visibility: visible;
    }

    .header--menu .navigation>ul.menu>li.current-menu-item>a {
        border-bottom: 0;
    }

    .header--menu .navigation>ul.menu>li>ul {
        opacity: 1;
        position: relative;
        top: 8px;
        background: rgba(255, 255, 255, 0.5);
        overflow: hidden;
        max-height: 0;
        margin-block-start: 1rem;
        padding-block: 0;
        transition: all 0.5s;
        margin-block-start: 0;
    }

    .header--menu .navigation>ul.menu>li>ul>li:nth-child(1) {
        padding-block-start: 1rem;
    }

    .header--menu .navigation>ul.menu>li>ul>li:last-child {
        padding-block-end: 1rem;
    }

    .header--menu .navigation>ul.menu>li {
        border-left: 0;
        padding-inline: 0;
        padding-block-end: 0.25rem;
    }

    .header--menu .navigation>ul.menu>li>a {
        width: max-content;
        justify-content: space-between;
        font-size: var(--text-lg);
    }

    .header--menu .navigation>ul.menu>li>img {
        top: 25px;
        right: 0;
        transform: unset;
    }

    .header--menu .navigation>ul.menu>li>ul,
    .header--menu .navigation>ul.menu>li:hover>ul {
        transform: unset;
    }

    .header--btn__mobile .btn {
        margin-inline-start: 0;
        max-width: 300px;
        width: 100%;
    }

    .header--btn__mobile .btn--primary {
        margin-block-end: 1rem;
    }

    .header--btn__desktop {
        display: none;
    }

    .header--menu .header--btn__mobile {
        display: flex;
        flex-direction: column;
        margin-block-start: 2rem;
    }

    .darkpage.open {
        opacity: 1;
        visibility: visible;
        transition: opacity 1s linear;
    }

}

@media screen and (max-width: 576px) {
    section {
        margin-block-end: 5rem;
    }

    .title--large {
        font-size: var(--text-4xl);
    }

    .title--middle {
        font-size: var(--text-2xl);
    }

    .text--large {
        font-size: var(--text-lg);
    }

    .text--middle {
        font-size: var(--text-base);
    }

    .btn,
    .btn--text {
        font-size: var(--text-base);
    }

    .commitment--img {
        width: 100%;
    }

	.heroInner {
		min-height: 200px;
	}

    /* header */
    .header--btn__mobile .btn {
        max-width: 250px;
    }
	
	/* footer */
	.footer--content{
		padding-block-start: 1rem;
		min-height: 150px;
		height: auto;
		flex-direction: column;
	}
	.footer--content img{
		transform: unset;
		position: unset;
		max-width: 70px;
    	height: 70px;
	}
}

@media screen and (max-width: 425px) {
    section {
        margin-block-end: 4rem;
    }

    .title--large {
        font-size: var(--text-3xl);
    }


    /* header */
    .header--logo {
        width: 100px;
    }

    .header--menu .navigation {
        width: 300px;
        min-width: 300px;
    }

}

@media screen and (max-width: 375px) {

    /* header */
    .header--menu .navigation {
        width: 250px;
    }
}

/*********************
END: MEDIA
*********************/