/*
Theme Name: DTS
Theme URI: https://pixelz360.com.au
Author: Pixelz360
Description: A custom WordPress theme built for DTS.
Version: 1.0
Text Domain: dts
*/

/* Import DM Sans */
@font-face {
    font-family: 'DM Sans';
    src: url('./assets/fonts/dm-sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Import Manrope */
@font-face {
    font-family: 'Manrope';
    src: url('./assets/fonts/manrope/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    font-optical-sizing: auto;
}

/* Import Inter */
@font-face {
    font-family: 'Inter';
    src: url('./assets/fonts/inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    font-optical-sizing: auto;
}

/* Import Syne */
@font-face {
    font-family: 'Syne';
    src: url('./assets/fonts/syne/Syne-VariableFont_wght.ttf') format('truetype');
    font-weight: 400 800;
    font-style: normal;
}

:root {
    /*--dts-font-secondary: 'Syne', sans-serif;*/
    --dts-font-inter: 'Inter', sans-serif;
    --dts-font-manrope: 'Manrope', sans-serif;
    --dts-font-syne: 'Syne', sans-serif;
    --dts-font-dm: 'DM Sans', sans-serif;

    --dts-primary: #0D2B6E;
    --dts-secondary: #D81B60;
    --dts-green: #00C274;
    --dts-text: #43474F;

    --dts-font-large: 20px;
    --dts-font-small: 18px;
    --dts-font-micro: 16px;

    --dts-link-color: #0A1A3A;
    --dts-hover-color: #E0006E;
    --dts-white-color: #FFFFFF;
    /*--dts-font-subline-color: #5A6E8C;*/

    --dts-btn-padding: 12px 20px;
    --dts-subline-font-size: 1.5rem;
    --dts-btn-font-weight: 600;
    --dts-btn-radius: 12px;
    --dts-btn-display: inline-block;
    --dts-header-btn-radius: 37px;
    --dts-light-sec-bg: #F4F7FF;

    --dts-transition-effects: all 0.2s ease;
    --dts-flex-gap-md-sm: 15px;
    --dts-flex-gap-md: 20px;
}

/* =========================
   Reset / Base Styles
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

/* Sitewide transitions */
a,
button,
input,
textarea,
select,
.dts-btn,
.site-header {
    transition: var(--dts-transition-effects);
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a.btn-header {
    border-radius: 12px;
    font-size: 14px;
    padding: 10px 25px;
    font-weight: 600;
    color: var(--dts-primary);
    border-radius: var(--dts-header-btn-radius);
}

a.btn-header-blue {
    background-color: var(--dts-primary);
    color: white;
}

body {
    font-family: var(--dts-font-inter);
    font-size: var(--dts-font-micro);
    line-height: 1.6;
    color: var(--dts-text);
    background-color: var(--dts-white-color);
}

/* Links */
a {
    color: var(--dts-link-color);
    text-decoration: none;
}

body h1 {
    font-size: 70px;
    line-height: 1;
}

body h2 {
    font-size: 48px;
    line-height: 1;
}

/*body h3 {
    font-size: 70px;
}

body h4 {
    font-size: 70px;
}*/

body h5 {
    font-size: 24px;
    line-height: 1.2;
}

/*body h6 {
    font-size: 70px;
}*/
.txt-blue {
    color: var(--dts-primary);
}

.txt-large {
    font-size: var(--dts-font-large);
}

/* =========================
   Header
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--dts-white-color);
    color: #fff;
    padding-block: 1rem;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(13, 43, 110, 0.1);
}

/*.site-title {
    font-size: 1.75rem;
}

.site-description {
    font-size: 14px;
    color: #bbb;
}*/

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.main-navigation a {
    color: var(--dts-text);
    padding: 5px 10px;
    border-radius: 4px;
    font-family: var(--dts-font-dm);
    font-weight: 600;
}

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #ccc;
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    grid-column-gap: 5rem !important;
    /* gap: 20px; */
    justify-content: start;
    padding: 3rem;
    background-color: rgb(245 245 245 / 1);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-20px);
    transition: var(--dts-transition-effects);
    z-index: -1;
}

.main-navigation .menu-item-has-children:hover>.sub-menu {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.main-navigation ul li {
    border-bottom: 3px solid transparent;
}

.main-navigation ul.submenu li {
    text-align: center;
}

.main-navigation ul li:hover {
    border-bottom: 3px solid var(--dts-hover-color);
}

.main-navigation ul li:hover:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    /*width: 100%;*/
    width: auto;
    height: 30px;
}

.dts-ci-title {
    font-family: var(--dts-font-dm);
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 120%;
    color: var(--dts-primary);
}

.dts-ci-data {
    font-family: var(--dts-font-inter);
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    color: var(--dts-primary);
}

/*.header-actions {
        display: flex;
    align-items: center;
    gap: 25px;
}*/

/* =========================
   Containers
========================= */

article {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.container {
    /*width: 90%;
    max-width: 1200px;
    margin: 0 auto;*/
    width: 100%;
    max-width: 1920px;
    padding-inline: clamp(25px, 5.25vw, 100px);
    margin-inline: auto;
    box-sizing: border-box;
}

/* =========================
   Typography
========================= */

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

footer.site-footer {
    /*background-color: #050F25;*/
    background: url(./assets/images/footer-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-block-end: 1rem;
}

.footer-top {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-block-end: 4rem;
}

.footer-top>* {
    flex: 1;
    text-align: left;
}

.footer-col.footer-about {
    flex: 0 0 50%;
}

.footer-col h4 {
    margin-block-end: 1rem;
}

.footer-about-inner {
    width: 50%;
}

.footer-about-inner h3 {
    color: var(--dts-white-color);
}

.footer-col li {
    list-style: none;
    text-align: left;
}

.footer-col h4 {
    font-weight: 600;
    font-size: 0.813rem;
    line-height: 120%;
    letter-spacing: 0.78px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block-start: 1rem;
    border-top: 1px solid #cccccc33;
}

.footer-about-text,
.footer-col li a,
.footer-copyright,
.footer-legal a,
.footer-legal span {
    font-weight: 400;
    font-size: 0.844rem;
    line-height: 120%;
    color: #fff;
    /*color: rgba(255, 255, 255, 0.5);*/
}

.footer-about-text {
    text-align: left;
    padding-block: 1rem;

    font-family: var(--dts-font-inter);
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    color: #FFFFFF;
}

.ft-ct-btn {
    width: 161px;
    height: 33px;
    left: 3px;
    top: 161px;
    background: #D81B60;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.ft-ct-cap {
    font-family: var(--dts-font-inter); 
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 120%;
    color: #FFFFFF;
}

.ft-ct-num {
    font-family: var(--dts-font-inter);
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    line-height: 120%;
    color: #FFFFFF;
}

.footer-col li a:hover {
    color: var(--dts-secondary);

}

.footer-logo img.custom-logo {
    max-width: 120px;
    height: auto;
}