/*
Theme Name: Dgroup
Theme URI: https://dgroup.com
Description: A clean, minimal WordPress theme built for Elementor Pro.
Author: Dgroup
Version: 1.0.1
Text Domain: dgroup
*/

/* ── CSS Variables ─────────────────── */
:root {
    --dgroup-color-primary:    #1a1a2e;
    --dgroup-color-accent:     #e94560;
    --dgroup-color-light:      #f5f5f7;
    --dgroup-color-white:      #ffffff;
    --dgroup-color-text:       #2d2d2d;
    --dgroup-color-muted:      #6b7280;
    --dgroup-color-border:     #e5e7eb;
    --dgroup-font-heading:     'Sora', sans-serif;
    --dgroup-font-body:        'DM Sans', sans-serif;
    --dgroup-radius:           6px;
    --dgroup-radius-lg:        12px;
    --dgroup-shadow-sm:        0 1px 3px rgba(0,0,0,.06);
    --dgroup-shadow-md:        0 4px 12px rgba(0,0,0,.08);
    --dgroup-transition:       0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--dgroup-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dgroup-color-text);
    background-color: var(--dgroup-color-white);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* ── Typography ────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--dgroup-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dgroup-color-primary);
    margin-top: 0;
    margin-bottom: 0.75em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-top: 0; margin-bottom: 1.25em; }

a {
    color: var(--dgroup-color-accent);
    text-decoration: none;
    transition: opacity var(--dgroup-transition);
}
a:hover { opacity: 0.8; }

img, video { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.5em; margin-top: 0; margin-bottom: 1.25em; }
li { margin-bottom: 0.4em; }

/* ── Layout ────────────────────────── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* ── Elementor full width support ───── */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}
.e-con-inner { max-width: 1200px; }

.h-200 { min-height: 200px; }
.h-70 { min-height: 70px; }
.h-70 input,
.h-70 textarea,
.h-70 select { min-height: 70px; }
.mh-140 p { min-height: 140px; }

.h-40 .e-n-tab-title-text {
	height: 40px;
}
.fullname h2 {
	word-break: keep-all;
}
/* ── Loop tags ──────────────────────── */
.loop-tags .elementor-icon-list-text a {
    background-color: white;
    padding: 5px 10px !important;
    border-radius: 15px;
}
.loop-tags .elementor-icon-list-text a:hover {
    background-color: white;
    padding: 5px 10px !important;
    border-radius: 15px;
    opacity: 1;
}
.loop-tags .elementor-icon-list-text a { font-size: 0; }
.loop-tags .elementor-icon-list-text span { margin-right: 5px; }
.loop-tags .elementor-post-info__terms-list-item { font-size: 16px; }

/* ── Category button ────────────────── */
#categorybutton .elementor-widget-container { background-color: transparent; }
#categorybutton span.elementor-post-info__terms-list { color: transparent; }
#categorybutton a.elementor-post-info__terms-list-item {
    padding: 5px 20px;
    background-color: #192737;
    border-radius: 15px;
    color: white;
}
#categorybutton a {
    padding: 5px 20px;
    background-color: #192737;
    border-radius: 3px;
}
#categorybutton font { opacity: 0; }
#categorybutton a font { opacity: 1 !important; }
#categorybutton span.elementor-icon-list-text.elementor-post-info__item.elementor-post-info__item--type-custom {
    color: white !important;
}

/* ── Form: field widths & spacing ───── */
.custom-file-upload .elementor-form-fields-wrapper {
    margin: 0 !important;
    gap: 12px 20px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}
.custom-file-upload .elementor-field-group:not(.elementor-field-type-submit) {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* ── Form: inputs & selects ─────────── */
.custom-file-upload .elementor-field-group input[type="text"],
.custom-file-upload .elementor-field-group input[type="email"],
.custom-file-upload .elementor-field-group input[type="tel"],
.custom-file-upload .elementor-field-group input[type="number"],
.custom-file-upload .elementor-field-group select {
    width: 100% !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    font-family: var(--dgroup-font-body) !important;
    font-size: 15px !important;
    background-color: #ffffff !important;
    border: none !important;
}
.custom-file-upload .elementor-field-group select {
    appearance: none !important;
    -webkit-appearance: none !important;
    color: #000000 !important;
    cursor: pointer !important;
}

/* ── Form: file upload field ─────────── */
.custom-file-upload .elementor-field-type-upload {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
}
.custom-file-upload .elementor-field-type-upload:focus-within {
    outline: 0px solid var(--dgroup-color-accent) !important;
    outline-offset: 2px !important;
}
.custom-file-upload .elementor-field-type-upload::before {
    content: "Upload CV" !important;
    color: #000000 !important;
    font-size: 15px !important;
    font-family: var(--dgroup-font-body) !important;
    flex: 1 !important;
    line-height: 1 !important;
    pointer-events: none !important;
    z-index: 1 !important;
    padding-left: 20px !important;
}
.custom-file-upload .elementor-field-type-upload::after {
    content: "" !important;
    width: 22px !important;
    height: 22px !important;
    background: url('/wp-content/uploads/2026/05/Vector.svg') no-repeat center !important;
    background-size: contain !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
    margin-right: 20px !important;
}
.custom-file-upload .elementor-field-type-upload input[type="file"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 2 !important;
    font-size: 0 !important;
}
.custom-file-upload .elementor-field-group input::placeholder {
    color: #000000 !important;
    opacity: 1 !important;
}

/* ── Form: submit button ─────────────── */
.custom-file-upload .elementor-field-type-submit { margin-top: 20px !important; }
.custom-file-upload .elementor-button[type="submit"] { cursor: pointer !important; }

/* ── Form: acceptance / checkbox ──────── */
#inquiryForm .elementor-field-type-acceptance label { display: inline-flex; }
#inquiryForm .elementor-field-type-acceptance .elementor-field-option {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
#inquiryForm .elementor-field-type-acceptance .elementor-field-option input[type="checkbox"] {
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
}
#inquiryForm .elementor-field-type-acceptance .elementor-field-option label {
    margin: 0 !important;
    line-height: 1.4 !important;
    display: inline !important;
    color: #ffffff;
}
#inquiryForm .elementor-field-type-acceptance .elementor-field-option label a {
    color: #ffffff;
}

#cookie-notice {
    position: fixed;
    min-width: 100%;
    height: auto;
    z-index: 100000;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 20px;
    left: 0;
    text-align: center;
    font-weight: 400;
  	font-family: "MontserratZ", Sans-serif
}

#cookie-notice .cn-button:not(.cn-button-custom) {
	border: 1px solid white!important;
}
		
#privacy a {
	color: #08355B;
}
.link-white a {
	color: #ffffff;
}

/* ── Responsive ──────────────────────── */
@media (max-width: 768px) {

    .elementor-10628 .elementor-element.elementor-element-be05e17 {
        min-height: auto !important;
    }
    .elementor-10628 .elementor-element.elementor-element-f32fb39 img {
        height: auto !important;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .custom-file-upload .elementor-field-group:not(.elementor-field-type-submit) {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

} /* end @media 768px */