/* === Font Faces === */
@font-face {
    font-family: 'NeueFrutigerWorld';
    src: url('../fonts/NeueFrutigerWorldW02-Light.woff2') format('woff2'),
         url('../fonts/NeueFrutigerWorldW02-Light.woff') format('woff');
    font-weight: 100 300;
    font-style: normal;
    font-display: swap;
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'NeueFrutigerWorld';
    src: url('../fonts/NeueFrutigerWorldW02-Book.woff2') format('woff2'),
         url('../fonts/NeueFrutigerWorldW02-Book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'NeueFrutigerWorld';
    src: url('../fonts/NeueFrutigerWorldW02-Bold.woff2') format('woff2'),
         url('../fonts/NeueFrutigerWorldW02-Bold.woff') format('woff');
    font-weight: 500 950;
    font-style: normal;
    font-display: swap;
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'philips-global-icon-font';
    src: url('https://skleprtv.philips/upload/philips-global-icon-font-v2.8.woff2') format('woff2'),
         url('https://skleprtv.philips/upload/philips-global-icon-font-v2.8.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

/* === CSS Variables & Bootstrap Overrides === */
:root {
    --bs-primary: #0B5ED7;
    --bs-primary-rgb: 11, 94, 215;
    --philips-blue: #0B5ED7;
    --philips-blue-dark: #0947A6;
    --philips-blue-light: #E8F0FE;
}

body {
    font-family: 'NeueFrutigerWorld', 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Navbar === */
.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    transition: opacity 0.2s;
}

.navbar-brand img:hover {
    opacity: 0.8;
}

.nav-link {
    color: #1a1a1a !important;
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    height: 48px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--philips-blue) !important;
}

/* === Buttons (Philips style) === */
body .btn {
    font-family: 'NeueFrutigerWorld', arial, helvetica, sans-serif !important;
    align-items: center;
    background-position: center 5%;
    background-size: 110% 240%;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    height: 48px;
    justify-content: center;
    letter-spacing: -0.25px;
    line-height: 1.375;
    outline: 0;
    overflow: hidden;
    padding: 0 24px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: background-position 167ms;
    vertical-align: middle;
    white-space: nowrap;
    color: #fff;
}

body .btn:hover {
    background-position: center 100%;
    color: #fff;
}

body .btn:active {
}

body .btn-primary {
    background-color: #0074e0;
    background-image: linear-gradient(to bottom, #0074e0 50%, #0059b3 50%);
}

body .btn-secondary {
    background-color: #c25400;
    background-image: linear-gradient(to bottom, #c25400 50%, #994000 50%);
}

body .btn-outline-primary {
    background-color: transparent;
    background-image: none;
    border: 2px solid #0074e0;
    color: #0074e0;
}

body .btn-outline-primary:hover {
    background-color: #0074e0;
    background-image: linear-gradient(to bottom, #0074e0 50%, #0059b3 50%);
    background-position: center 5%;
    background-size: 110% 240%;
    color: #fff;
}

/* === Hero Banner === */
.hero-banner {
    line-height: 0;
}

.hero-banner-container {
    max-width: 1300px;
}

.hero-banner .btn {
    display: inline-block;
    line-height: 48px;
    padding: 0 24px;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* === Form Section === */
.form-section {
    padding: 0 0 4rem;
    position: relative;
    overflow: hidden;
}

.form-bg {
    position: absolute;
    width: 100%;
    margin-bottom: -120px;
    aspect-ratio: 16 / 4;
}

.form-bg-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.form-card {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    margin-top: 110px;
}

.form-card .card-header {
    background-color: #0B5ED7;
    color: #fff;
    border-radius: 0 !important;
    padding: 1.5rem 2rem;
}

.form-card .card-header h2 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.form-card .card-body {
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.form-control,
.form-select {
    border-radius: 0;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--philips-blue);
    box-shadow: 0 0 0 0.2rem rgba(11, 94, 215, 0.25);
}

.form-check-input:checked {
    background-color: var(--philips-blue);
    border-color: var(--philips-blue);
}

.form-text {
    font-size: 0.8rem;
}

.file-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--philips-blue);
}

.file-upload-area.dragover {
    border-color: var(--philips-blue);
    background-color: var(--philips-blue-light);
}

/* === Regulations === */
.regulations {
    padding: 3rem 0;
}

.regulations h1 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--philips-blue);
}

.regulations h2 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.regulations p,
.regulations li {
    line-height: 1.7;
    color: #444;
}

/* === Footer === */
footer {
    font-size: 0.9rem;
    background-color: #002b5c !important;
}

/* === Powered By === */
.powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.6;
    font-size: 0.85rem;
    color: #000;
}

.powered-by-logo {
    height: 24px;
    width: auto;
}

/* === Responsive === */
@media (max-width: 768px) {
    .form-bg {
        margin-bottom: -60px;
    }

    .form-card .card-body {
        padding: 1.25rem;
    }
}
