/* Icons by Font Awesome - https://fontawesome.com */
:root {
    --primary: #1363C6;
    --secondary: #15ACE1;
    --light: #F4F7FE;
    --dark: #14183E;
    --dark-background: #171D25;
    --dark-background2: #0D1117;
    --dark-primary: #D8D4CE;
    --dark-hover: #8B8E92;
    --dark-h: #E0DCD7;
    --white: #FFFFFF;
    --yellow: #FFBD00;
    --yellow-hover: #DBA200;
    --yellow-disabled: #ac8008;
    --green: #44b821;
    --red: #ff5740;
    --input-background: #151e25;;
    --input-background-hover: #10161b;
    --input-border: #5f6064;
    --input-placeholder: #8b8a87;
}

html {
    scroll-behavior: smooth;
    background-color: var(--dark-background);
}

body {
    font-family: Verdana, sans-serif;
    font-size: 15px;
    background-color: var(--dark-background);
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    color: var(--dark-h);
    font-family: Arial, sans-serif;
}

.icon-09x {
    width: 12.25px;
    height: 14px;
    box-sizing: content-box;
}

.icon-1x {
    width: 14px;
    height: 16px;
    box-sizing: content-box;
}

.icon-15x {
    width: 21px;
    height: 24px;
    box-sizing: content-box;
}

.icon-2x {
    width: 37.5px;
    height: 30px;
}

.icon-4x {
    width: 56px;
    height: 64px;
}

.icon-blue path {
    fill: var(--primary);
}

.icon-dblue path {
    fill: var(--dark);
}

.icon-white path {
    fill: var(--light);
}

.icon-dark path {
    fill: rgba(255, 255, 255, .5);
}

.icon-yellow path {
    fill: var(--yellow);
}

.icon-pb2 {
   padding-bottom: 2px; 
}

.icon-pb3 {
   padding-bottom: 3px; 
}

.link a {
    color: rgba(255, 255, 255, .5);
}

.link a:hover {
    color: #FFFFFF;
}

.font-heading {
    font-family: Arial, sans-serif;
}

.font-18 {
    font-size: 18px;
}

.font-20 {
    font-size: 20px;
}

.font-italic {
    font-style: italic;
}

.back-to-top-hidden {
    display: none !important;
}

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

.btn-light-hover:hover {
    background-color: var(--dark-h);
    border-color:var(--dark-primary);
}

/*** Legal ***/
.legal h2 {
    font-family: Verdana, sans-serif;
    font-size: 18px;
    margin-top: 1.5rem;
    font-weight: 700;
}

.legal p {
    text-align: justify;
    text-justify: inter-word;
}

.legal ul {
    padding-left: 1rem;
}

.dark-wrapper {
    background-color: var(--dark-background);
    color: var(--dark-primary);
}

.dark-wrapper-h {
    color: var(--dark-h);
}

.dark-wrapper-btn {
    color: var(--dark-h);
}

.dark-wrapper-btn:hover {
    color: var(--dark-h);
}

.dark-wrapper-action-btn {
    color: var(--dark-background);
    background-color: var(--yellow);
    border-color:var(--yellow);
}

.dark-wrapper-action-btn:hover {
    color: var(--dark-background);
    background-color: var(--yellow-hover);
    border-color:var(--yellow-hover);
}

.dark-wrapper-icon {
    fill: var(--yellow);
}

.dark-wrapper-link a {
    color: var(--dark-primary);
}

.dark-wrapper-link a:hover {
    color: var(--dark-hover);
}

.dark-wrapper2 {
    background-color: var(--dark-background2);
    color: var(--dark-primary);
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

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

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

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

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


/*** Navbar ***/
.navbar-container {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #1363C6;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    font-weight: 600;
    color: #FFFFFF;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--yellow);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background: url(../img/4ga_bg-hero.png) center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/4ga_bg-about.png) top left no-repeat;
    background-size: contain;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: var(--dark-background);
    transition: .5s;
}

.service-item:hover {
    background: var(--yellow);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    background: var(--dark-background2);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: var(--dark-background);
}

.service-item h5 {
    color: var(--dark-h);
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--dark-background2);
}


/*** Feature ***/
.feature {
    background: url(../img/4ga_bg-hero.png) center center no-repeat;
    background-size: cover;
}

.feature-item {
    background: rgba(256, 256, 256, 0.1);
}


/*** Case Study ***/
.case-item {
    border: 2px solid var(--yellow);
    box-shadow: 0 0 10px var(--yellow);
}

.case-item img {
    transform: scale(1.2);
    transition: .5s;
    filter: brightness(50%);
}
  
.case-item:hover img {
    transform: scale(1.5);
}
  
.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-label {
    border: 1px solid var(--yellow);
    box-shadow: 0 0 5px var(--yellow);
}

.case-height {
    min-height: 470px;
}

.bg-yellow {
    background: var(--yellow);
}

.case-title {
    max-width: 500px;
}


/*** Team ***/
.team-item {
    transition: .5s;
    border: 1px solid transparent;
    background: var(--dark-background);
}

.team-item:hover {
    border-color: var(--yellow);
}

.team-btn {
    background: var(--yellow);
}

.team-btn:hover {
    background: var(--yellow-hover);
}

.team-icon path {
    fill: var(--dark-background2);
}


/*** Contact ***/
.contact {
    background: url(../img/4ga_bg-hero.png) center center no-repeat;
    background-size: cover;
}

.contact .container {
    margin-left: 0px;
}

@media (min-width: 992px) {
    .contact .container {
        max-width: 100% !important;
    }

    .contact .contact-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact .contact-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact .contact-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Contact ***/
.g-recaptcha, .grecaptcha-badge {
    visibility: hidden;
}

.contact-status {
    display: block;
    width: fit-content;
    background: none;
    font-weight: bold;
    padding: 4px 10px;
}

.contact-success {
    color: var(--green);
    border: 1px solid var(--green);
}

.contact-failure {
    color: var(--red);
    border: 1px solid var(--red);
}

.contact-form label {
    width: 100%;
}

.contact-form .field {
    width: 100%;
    background: var(--input-background);
    color: var(--dark-primary);
    padding: 9.5px 8px;
    border: 1px solid var(--input-border);
    border-radius: 3px;
    
    &:focus {
        outline: none;
        border: 1px solid var(--yellow);
    }
    
    &::placeholder {
        color: var(--input-placeholder);
    }
}

.contact-form .field.error,
.contact-form textarea.error,
.contact-form select.error,
.contact-form .checkbox.error,
.contact-form .attachments.error {
    color: var(--red);
    border: 1px solid var(--red);
    
    &::placeholder {
        color: var(--red);
    }
}

.contact-form textarea {
    min-height: 200px;
}

.contact-form label {
    display: flex;
    flex-direction: row;
}

.contact-form select option.default {
    color: var(--input-placeholder);
}

.contact-form input[type="file"] {
    display: none;
}

.contact-form .attachments {
    width: 100%;
    background: var(--input-background);
    color: var(--input-placeholder);
    padding: 9.5px 8px;
    border: 1px solid var(--input-border);
    border-radius: 3px;
    user-select: none;
}

.contact-form .checkbox {
    appearance: none;
    background: var(--input-background);
    border-radius: 3px;
    border: 1px solid var(--input-border);
    display: flex;
    justify-content: center;
    padding-right: 2px;
    width: 20px;
    height: 20px;
    font-size: 16px;

    &:before {
        content: 'Г';
        color: var(--yellow);
        transform: rotate(-135deg);
        visibility: hidden;
    }
  
    &:checked:before {
        visibility: visible;
    }
  
    &:hover {
        background: var(--input-background-hover);
        cursor: pointer;
    }
}

.contact-form .required {
    font-family: Arial, sans-serif;
    color: var(--dark-primary-test);
    font-size: 10px;
    text-transform: uppercase;
    margin-right: 2px;
    line-height: 22.5px;
}

.contact-form .spinner {
    border: 4px solid var(--input-border); 
    border-top: 4px solid var(--yellow);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    align-self: center;
    animation: spin 2s linear infinite;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/*** Footer ***/
.footer {
    background: url(../img/4ga_footer.png) center center no-repeat;
    background-size: contain;
}

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

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}


/*** New Code - Temp ***/
.bg-dark1 {
    background-color: var(--dark-background);
    color: var(--dark-primary);
}

.highlight {
    width: fit-content;
    color: var(--dark-h);
    font-size: 14px;
    font-weight: 500;
    padding: 0.25rem 1rem;
}

.btn.highlight:hover, .btn.highlight:focus, .btn.highlight:active {
    color: var(--dark-h);
}

.action-btn {
    background: var(--yellow);
    color: var(--dark-background2);
    border: 1px solid var(--yellow);
}

.action-btn:hover, .action-btn:focus, .action-btn:active {
    background: var(--yellow-hover) !important;
    color: var(--dark-background2) !important;
    border: 1px solid var(--yellow-hover) !important;
}

.action-btn:disabled {
    background: var(--yellow-disabled);
    color: var(--dark-background2);
    border:1px solid var(--yellow-disabled);
}

.action-btn-outline {
    background: none;
    color: var(--yellow);
    border: 1px solid var(--yellow);
}

.action-btn-outline:hover, .action-btn-outline:focus, .action-btn-outline:active {
    background: var(--yellow) !important;
    color: var(--dark-background2) !important;
    border: 1px solid var(--yellow) !important;
}

a {    
    color: var(--dark-primary);  
}

a:hover,
a:focus,
a:active {
    color: var(--dark-hover);
    outline: none;
}

/* Bootstrap missing - tmp */
.ms-2 {
    margin-left: 0.5rem !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}