/*
Theme Name: PPP-APS Theme
Author: Orchestra dgtl
Author URI: https://orchestra-dgtl.com/
Description: A basic theme for PPP-APS
Version: 1.0
*/


/* CSS Variables */
:root {
    --color-background: #ffffff;
    --color-text-primary: #e6007e;
    --color-text-secondary: #2B2E30;
    --color-primary: #ffed00;
    --color-border: #dee2e6;

    /* These properties will be animated */
    --navbar-height-large: 140px;
    --navbar-height-small: 60px;
    --logo-font-size-large: 1.75rem;
    --logo-font-size-small: 1.25rem;
    
    --font-family-sans-serif: system-ui, -apple-system, sans-serif;
    --font-weight-bold: 700;
    --container-width: 1920px;
    --transition-speed: 0.3s;
    --border-radius: 2rem;
}

/* Global Resets & Base Styles */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
*, *::before, *::after { 
    box-sizing: border-box; 
}
body{
    width: 100%;
    font-family: "Rubik", sans-serif;
    font-size:18px;
    color:#2B2E30;
    background-color: #ffffff;
}
ul { 
    list-style: none; 
}
a { 
    text-decoration: none; 
    color: var(--color-text-secondary);
    transition: color var(--transition-speed) ease;
}
a:hover, a:focus { 
    color: var(--color-text-primary);
}

/* Main Navbar Structure & Default (Large) State */
.navbar {
    position: sticky; 
    top: 0; 
    z-index: 1000;
    display: flex; 
    align-items: center;
    height: var(--navbar-height-large); 
    background-color: var(--color-background);
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
    transition: height var(--transition-speed) ease;
}
.navbar-container {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    width: 100%; 
    max-width: var(--container-width);
    margin: 0 auto; 
    padding: 0 1.5rem;
}
.navbar-brand #logo{
    height:100px;
    transition: height var(--transition-speed) ease;
}

/* Scrolled (Small) State Styles */
.navbar.is-scrolled {
    height: var(--navbar-height-small);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.navbar.is-scrolled .navbar-brand #logo{
    height:50px;
}

/* Mobile Menu & Toggle */
.navbar-toggle { 
    display: block; 
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 0.25rem 0.75rem;
    background: transparent;
    cursor: pointer;
}
.navbar-toggle .bar { 
    display: block;
    width: 22px;
    height: 2px;
    margin: 6px 0;
    background-color: var(--color-text-primary);
    transition: transform var(--transition-speed) ease;
}
.navbar-toggle.is-active .bar:nth-child(1) { 
    transform: translateY(8px) rotate(45deg); 
}
.navbar-toggle.is-active .bar:nth-child(2) { 
    opacity: 0; 
}
.navbar-toggle.is-active .bar:nth-child(3) { 
    transform: translateY(-8px) rotate(-45deg); 
}
.navbar-menu {
    display: none; 
    flex-direction: column; 
    position: absolute; 
    left: 0;
    top: var(--navbar-height-large); 
    width: 100%;
    background-color: var(--color-background); 
    border-bottom: 1px solid var(--color-border);
    transition: top var(--transition-speed) ease;
    z-index: 999;
}
.navbar.is-scrolled .navbar-menu {
    top: var(--navbar-height-small);
}
.navbar-menu.is-active {
    display: flex;
}
.navbar-item { 
    text-align: center; 
    border-top: 1px solid var(--color-border); 
}
.page_item { 
    display: block; 
    padding: 1.25rem; 
    font-weight: bold; 
}
:is(.navbar-toggle, .page_item):focus-visible { 
    outline: 2px solid var(--color-primary); 
    outline-offset: 2px; 
    border-radius: var(--border-radius); 
}

.grid-01{ width:160px;}
.grid-02{ width:320px;}
.grid-03{ width:480px;}
.grid-04{ width:640px;}
.grid-05{ width:800px;}
.grid-06{ width:960px;}
.grid-07{ width:1120px;}
.grid-08{ width:1280px;}
.grid-09{ width:1440px;}
.grid-10{ width:1600px;}
.grid-11{ width:1760px;}
.grid-12{ width:1920px;}

h1{
    font-size:60px;
    line-height:70px;
    font-weight:600;
    text-transform: uppercase;
}
h2{
    font-size:50px;
    line-height:60px;
    font-weight:800;
}
h3{
    font-size:36px;
    line-height:42px;
    font-weight:300;
}
h4{
    font-size:30px;
    line-height:36px;
    font-weight:600;
}
h5{
    font-size:18px;
    font-weight:600;
    padding-top:10px;
}
h1,h2,h3{
    margin-bottom:20px;
}
h4,p{
    margin-bottom:10px;
}

.container{
    display:block;
    width: 100%;
}
.bg-white{
    background-color:#ffffff;
    color:#2B2E30;
}
.bg-offwhite{
    background-color:#f4f4f4;
    color:#2b2e30;
}
.bg-dark{
    background-color:#2b2e30;
    color:#ffffff;
}
.bg-magenta{
    background-color:#e6007e;
    color:#ffffff;
}
.flex-container, .flex-container-centered, .flex-container-panels{
    display: flex;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    box-sizing: border-box;
}
.flex-container {
    gap: 0px;
    justify-content:space-between;
}
.flex-container-centered {
    gap: 20px;
    justify-content:center;
}
.flex-container-panels {
    gap: 100px;
    justify-content:center;
}
.flex-container-usp{
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding-left:40px;
}
.flex-item {
    box-sizing: border-box;
}
.vertical-center{
    align-items:center;
}
input:focus{
    border-color:#e6007e;
}
textarea{
    padding: 15px;
    font-family: inherit;
    font-size: 14px;
}

a.button{
    display:inline-block;
    padding:15px 40px;
    border-radius:25px;
    font-weight:600;
}
a.yellow{
    background-color:#ffed00;
}
a.yellow:hover{
    background-color:#e6007e;
    color:#ffffff;
}
a.magenta{
    background-color:#e6007e;
    color:#ffffff;
}
a.magenta:hover{
    background-color:#ffed00;
    color:#2B2E30;
}
.border-top, .border-bottom{
    position:relative;
    border-top:1px solid #dddddd;
    width:100%;
}
.border-top{
    bottom:-20px;
}
.border-bottom{
    top:-105px;
}
.coverimg{
    border-left:1px solid #dddddd;
    border-right:1px solid #dddddd;
    padding:20px 0 100px 0;
    width:100%;
}
.corners{
    border-radius:35px;
}
.overflow{
    overflow:hidden;
}
.overflow img{
    position:relative;
    right:-50px;
}
.txt-yellow{
    color:#ffed00;
}
.txt-blue{
    color:#009fe3;
}
.center{
    text-align:center;
}
.right{
    text-align:right;
}
.left{
    text-align:left;
}
.section-padding{
    padding:100px 0;
}
.customer-logo{
    width:200px;
}
.divider{
    height:100px;
}
.move-up{
    position:relative;
    top:-300px;
}
.panels{
    text-align: center;
    margin-bottom:60px;
    z-index:100;
}
.panels img{
    width:90%;
}
.panel-container{
    position:relative;
}
.background-element-dark{
    background-color: #2b2e30;
    width:100%;
    height:300px;
    position:absolute;
    top:0;
    z-index:1;
}
.usp-item{
    width:100%;
    height:160px;
    background-color:#ffffff;
    border-radius:35px;
    margin:10px 0;
    padding:10px 20px;
    color:#2b2e30;
}
.icon{ 
    display:inline-block;
}
.usp-txt{
    display:inline-block;
    width:100%;
    max-width:600px;
    vertical-align: center;
}
.socials{
    height:55px;
}
.contactform{
    padding:40px;
    box-sizing: border-box;
}
.bg-magenta a{
    color:#ffffff
}
.bg-magenta a:hover{ 
    color:#ffed00;
}

input[type='checkbox']:not(:checked)+ul {
    display: none;
}
nav input[type='checkbox'], nav label {
    display: none;
}

.padding{
    padding:0px 160px !important;
}



/* MOBILE STYLING */

/* Desktop Navbar Styles */
@media (min-width: 992px) {
    .navbar-toggle {
        display: none;
    }
    .navbar-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: static;
        width: auto;
        background: none;
        border: none;
        transition: none;
    }
    .navbar-list ul{
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .navbar-item {
        border-top: none;
    }
    .page_item {
        padding: 1rem;
        font-size:1rem;
        transition: padding var(--transition-speed) ease, color var(--transition-speed) ease;
    }
        .navbar.is-scrolled .page_item ,.navbar.is-scrolled ul li:last-child a{
        padding: 0.5rem 1rem;
    }
    ul li:last-child a{
        color: #2B2E30; 
        background-color: var(--color-primary);
        padding:1rem 2rem;
        border-radius: var(--border-radius);
        transition: padding var(--transition-speed) ease, background-color var(--transition-speed) ease;
    }
    ul li:last-child a:hover, ul li:last-child a:focus {
        color: #fff; background-color: #e6007e;
    }
}

@media (max-width: 1600px) { 
    .grid-04{ width:40%;}
    .grid-06{ width:60%;}
}

@media (max-width: 960px) { 
nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
    position:absolute;
    top:0;
    right:100px;
    max-width:280px;
}

nav ul {
    display: block;
}

nav ul li {
    margin-bottom: 0;
    display:block;
    width:100%;
    text-align: center;
    padding: 0.5em;
    flex-basis: 100%;
    box-sizing: border-box;
    border-bottom:1px solid #dddddd;
    height:50px;
}
.page-item{
    margin:0!important;
    background-color:#ffffff;
}
.page-item:first-child{
    border-top:1px solid #dddddd;
}
.page-item:last-child{
    height:70px;
    margin:0!important;
    background-color:#ffed00;
}
nav label {
    text-align: right;
    display: block;
    align-self: center;
    cursor: pointer;
}
}