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

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    color: #333;
    background: #fff;
}

/* Notification Messages */
.message-notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    z-index: 1000;
    max-width: 90%;
    text-align: center;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.message-notification.success {
    background: #4caf50;
    color: white;
    border: 2px solid #45a049;
}

.message-notification.error {
    background: #f44336;
    color: white;
    border: 2px solid #da190b;
}

/* Form Message (for AJAX responses) */
.form-message {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    margin: 30px auto 20px;
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 0.3s ease-out;
}

.form-message.success {
    background: #4caf50;
    color: white;
    border: 2px solid #45a049;
}

.form-message.error {
    background: #f44336;
    color: white;
    border: 2px solid #da190b;
}

@keyframes slideDown {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 100px;
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-top {
    position: fixed;
    right: 20px;
    bottom: 60px;
    outline: none;
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-top:hover {
    transform: translateY(-5px);
}

.back-top img { 
    width: 50px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.back-top:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(3, 255, 242, 0.4));
}

.glightbox-clean .gslide-title {
    margin-bottom: 0px !important;
    color: white !important;
    font-family: 'Barlow' !important;
}
.glightbox-clean .gslide-description {
    background: rgba(255, 255, 255, 0.1) !important;
}
.glightbox-clean .gdesc-inner {
    padding: 15px !important;
}

.topnav {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(12, 45, 72, 0.8);
    border-radius: 10px;
    z-index: 10;
    padding: 2px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.topnav a {
    color: #ddd;
    text-decoration: none;
    padding: 10px 25px;
    font-size: 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
 }
 .topnav a.active,
 .topnav a:hover {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border: 1px solid #03fff2;
    color: #03fff2;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(3, 255, 242, 0.3);
 }

.topnav .languages {
    margin-left: 40px;
    margin-top: -3px;
}
.topnav .languages a { 
    padding: 10px 10px;
 }
 .topnav .languages a.active,
 .topnav .languages a:hover {
    border: 1px solid transparent;
 }

.headphones {
    display: none;
    height: 32px;
}


.toplogo { 
    position: absolute;
    z-index: 2;
    top: 30px;
    left: 20px;
}
.toplogo img {
    height: 27px;
}



/* Header */
.header {
    background: #1a1a2e;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #03fff2;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #03fff2;
    transform: translateY(-2px);
}

.nav a:hover::after {
    width: 100%;
}


/* Hero Section */
.hero {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    border-bottom: 1px solid #72f5fd;
    position: relative;
    /*min-height: 500px;*/
    display: flex;
    align-items: center;
    padding: 120px 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    object-fit: cover;
    /*opacity: 0.3;*/
}

.hero-content {
    position: relative;
    z-index: 2;
    /*background-image: url('assets/pictop.png');
    width: 100%;
    height: 100%;*/
    max-width: 50%;
}

.hero-rhcp { width: 100px; margin-bottom: 5px; }


.hero h1 {
    font-family: "Nunito Sans";
    color: #0c2d48;
    font-size: 75px;
    font-weight: 900;
    line-height: 0.82;
    margin-bottom: 20px;
    position: relative;
    width: fit-content;
}

/* Reduced line-height for German language */
.lang-de .hero h1 {
    /* line-height: 1; */
}

.hero h1 img {    
    display: inline-block;
    position: absolute;
    top: -50px;
    left: 99%;
    width: 80px;
}

/* .hero h1:after {
    content: "";
    display: block;
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: url('assets/star.png');
    background-size: contain;
} */

.hero p {
    color: #000;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 600;
}

.btn-primary {
    background: #ff6b6b;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.hero-image {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 100%;
    z-index: 1;
}


.hero-description {
    padding: 30px 60px;
    font-size: 21px;
    line-height: 1.2;
}
.hero-description a { 
    display: inline-flex;
    color: black;
    text-decoration: none;
    align-items: center;
    font-style: italic;
    font-weight: bold;
}
.hero-description a img { 
    height: 14px;
    margin-left: 5px;
}




/* Benefits Section */
.benefits {
    padding: 50px 70px;
    max-width: 100%;
    overflow: hidden;
}

.section-title h2 {
    font-family: "Nunito Sans";
    font-weight: 900;
    font-size: 48px;
}
.section-title h2 img {
    height: 45px;
}

.benefits-grid {
    display: flex;
    gap: 12px;
    max-width: 100%;
    align-items: stretch;
}

.benefits-grid > img {
    flex: 0 0 64%;
    max-width: 64%;
    height: auto;
    object-fit: contain;
}

/* Image with gradient overlay */
.image-with-overlay {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 1px solid #00d4ff;
}

.image-with-overlay::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
}

.image-with-overlay.pic1 {
    flex: 0 0 64%;
    max-width: 64%;
    background-image: url('assets/pic1.jpg');
    min-height: 500px;
}

.image-with-overlay.pic2 {
    background-image: url('assets/pic2.jpg');
    min-height: 240px;
    width: 100%;
    flex: 1;
}

.overlay-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px 20px 32px;
}

.overlay-content h3 {
    font-family: "Nunito Sans";
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.benefits-right .overlay-content h3 {
    margin-bottom: 0px;
}

.image-with-overlay.pic1 .overlay-content h3 {
    font-size: 32px;
}

.overlay-content p {
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
}

.benefits-right {
    /*flex: 0 0 38%;
    max-width: 38%;*/
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.benefits-right > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.benefits-right .call-icons {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 25px;
}

.benefits-right2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 25px;
}

.benefits-benefits {
    font-size: 19px;
    line-height: 1.4;
}

.benefits-benefits .plus {
    width: 15px;
    height: 15px;
    display: inline-block;
    background-image: url(assets/cross_green.png);
    background-size: 15px 15px;
    vertical-align: text-bottom;
    margin-right: 2px;
}


.benefits-benefits h3 {
    color: #0c2d48;
    font-size: 28px;
    margin-bottom: 8px;
    padding-left: 17px;
}

.benefits-list {
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.benefits-operators {
    /* width: 160px; */
    gap: 7px;
    display: flex;
    /* flex-direction: column; */
}

.benefits-operators div {
    background-color: #bae0f5;
    padding: 8px 5px;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-size: 12px;
}


/* Benefits2 Section */
.bg-headphones-big {
    position: absolute;
    /*border: 1px solid red;*/
    width: 400px;
    height: 400px;
    left: 0;
    background: url('assets/headphones_big.png');
    background-size: contain;
    /*background-position: 200px;*/
    background-repeat: no-repeat;
}
.bg-bullet-big {
    position: absolute;
    /*border: 1px solid red;*/
    width: 500px;
    height: 500px;
    right: 0;
    background: url('assets/bullet_big.png');
    background-size: contain;
    background-position: 200px;
    background-repeat: no-repeat;
    max-width: 100%;
}

.bg-bullet-big2 {
    position: absolute; 
    width: 500px;
    height: 500px;
    margin-top: -100px;
    opacity: 0.4;
    background: url('assets/bullet_big.png');
    background-size: contain;
    background-position: -200px;
    background-repeat: no-repeat;
    z-index: -1;
    max-width: 100%;
}

.benefits2 {
    padding: 50px 70px;
    background: #f9f9f9;
}

.benefits2-grid {
    display: grid;
    position: relative;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.benefits2-grid > div {
    text-align: center;
    /* background: white; */
    padding: 25px;
    max-width: 350px;
    /* border-radius: 15px; */
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.08); */
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.benefits2-grid > div:nth-child(1) { animation-delay: 0.1s; }
.benefits2-grid > div:nth-child(2) { animation-delay: 0.2s; }
.benefits2-grid > div:nth-child(3) { animation-delay: 0.3s; }
.benefits2-grid > div:nth-child(4) { animation-delay: 0.4s; }
.benefits2-grid > div:nth-child(5) { animation-delay: 0.5s; }
.benefits2-grid > div:nth-child(6) { animation-delay: 0.6s; }

.benefits2-grid > div:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 12px 30px rgba(12, 45, 72, 0.15); */
}

.benefits2-grid img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.4s ease;
}

.benefits2-grid > div:hover img {
    transform: scale(1.1) rotate(5deg);
}

.benefits2-grid h3 {
    font-family: "Nunito Sans";
    font-weight: 900;
    color: #0c2d48;
    font-size: 25px;
    line-height: 1.1;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.benefits2-grid div {
    font-size: 17px;
    line-height: 1.5;
    color: #333;
}


/* Contact Form Section */
.contact-form {
    padding: 50px 70px;
    /*background: white;*/
}

.application-form {
    position: relative;
    max-width: 800px;
    margin: 30px auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row-full-width {
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #0c2d48;
    margin-bottom: 8px;
}

.btn-file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow';
    margin-top: 5px;
    padding: 8px 20px;
    background-color: #0b2a5b; /* tamno plava */
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    /*border-radius: 6px;*/
    outline: none;
    border: 0px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-file img {
    height: 26px;
    margin-left: 10px;
}

.btn-file:hover {
    background-color: #123a7a;
}

.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=tel],
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #999;
    /*border-radius: 8px;*/
    font-size: 17px;
    font-family: 'Barlow', sans-serif;
    transition: border-color 0.3s;
}


.form-group select option[value=""][disabled] {
    display: none;
}
  
.form-group select:has(option[value=""][disabled]:checked) {
    color: #5eccfa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background-color: #f0f0f0;
    /*border-color: #cdfd62;*/
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5eccfa;
    opacity: 1;
}

.form-group input[type="file"] {
    display: none;
}
.form-group .city-select {
    display: flex;
}
.form-group .city-select > div {
    font-weight: bold;
    font-size: 30px;
    width: 50%;
    text-align: center;
    border: 1px solid #5eccfa;
    color: black;
    padding: 4px 4px 7px;
    cursor: pointer;
}
.form-group .city-select > div.selected { 
    border: 1px solid black;
    color: white;
    background: black;
}
.form-group .flare {
    position: absolute;
    height: 70px;
    margin-top: -35px;
    pointer-events: none;
    max-width: 100%;
}
/*.form-group .city-select > div.selected:after { 
    content: "";
    background: url('assets/flare.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 800px;
    height: 40px;
    position: absolute;
    border: 1px solid red;
    margin-top: -25px;
    margin-left: -400px;
}*/

.btn-submit {
    background-color: transparent;
    background-image: url("assets/submit_button.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 220px;
    height: 56px;
    border: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 0;
    transition: all 0.2s;
}

.btn-submit:hover {
    filter: grayscale(0.5);
    transform: translateY(-3px);
}


.contact {
    display: flex;
    width: 90%;
    overflow: hidden;
    height: 450px;
    margin: 50px auto;
    padding: 0;
}
.contact-map {
    flex-grow: 1;
    height: 100%;
    width: 100%;
    border: none;
}
.contact-office {
    height: 100%;
    object-fit: cover;
    width: 250px;
}
.contact h3 {
    font-family: "Nunito Sans";
    font-weight: 900;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 6px;
}
.contact span {
    font-size: 15px;
    line-height: 1;
}
.contact .triangle {
    position: absolute;
    margin-left: -50px;
    margin-top: 40px;
    width: 40px;
    z-index: 2;
}
.contact-details {
    width: 360px;
    background: #cdfd62;
    border-radius: 0 20px 20px 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-details .socials {
    margin-top: auto;
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}
.contact-details .socials img {
    height: 35px;
}
.contact-smaller {
    font-size: 15px;
}

.contact-city-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-city-selector button {
    flex: 1;
    padding: 4px 7px;
    border: 1px solid #333;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.1s ease;
}

.contact-city-selector button.active {
    background: #333;
    color: #cdfd62;
}

.contact-city-selector button:hover {
    opacity: 0.8;
    transform: scale(1.03) translateY(-1px);
}



/* Team Section */
.team {
    margin-bottom: 50px;
    /* padding: 50px 70px; */
}

.team .section-title {
    margin-bottom: 10px;
    padding-left: 40px;
}

.team .slider {
    display: grid;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.team .slide {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.team .slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.team .slide .slide-image {
    width: 250px;
    min-height: 280px;
    object-fit: cover;
    /* border-radius: 15px; */
    flex-shrink: 0;
}

.team .slide .slide-content {
    display: flex;
    flex-direction: column;
}

.team .slide .slide-content h2 {
    font-family: "Nunito Sans";
    font-weight: 900;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 5px;
}

.team .slide .slide-content h2 img {
    height: 25px;
}

.team .slide .slide-content b {
    font-size: 18px;
    margin-bottom: 15px;
    display: block;
}

.team .slide .slide-text {
    font-size: 17px;
    line-height: 1.5;
}

.team .slider-indicators {
    margin-top: 20px;
}

.workplace {
    margin-bottom: 10px;
}
.workplace .section-title { padding-left: 40px; }
.workplace-grid {
    margin-top: 5px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 3px;
}
.workplace-grid img {
    width: 100%;
    height: 300px;
    max-height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.workplace-grid a.glightbox {
    display: block;
    position: relative;
    overflow: hidden;
}

.workplace-grid a.glightbox:hover::after {
    opacity: 0.9;
}

.workplace-grid a.glightbox:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}


footer {
    background: #152c46;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer a {
    color: #acf940;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #acf940;
    transition: width 0.3s ease;
}

footer a:hover {
    color: #d4ff7a;
    text-shadow: 0 0 10px rgba(172, 249, 64, 0.5);
}

footer a:hover::after {
    width: 100%;
}
footer > img {
    height: 30px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

footer > img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}
footer .socials {
    display: inline-flex;
    gap: 25px;
    margin-right: 5px;
}
footer .socials img {
    height: 35px;
    transition: all 0.3s ease;
    cursor: pointer;
}

footer .socials img:hover {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 5px 10px rgba(172, 249, 64, 0.4));
}





.black .hero {
    background-color: #57c0ff;
}
.black .hero h1 {
    color: #fff;
}
.black .hero p {
    color: #fff;
}
.black footer {
    background: #1d1d1d;
}

/* Benefits Section */
.partners {
    padding: 50px 70px;
    max-width: 100%;
    overflow: hidden;
}

/* Section left margin utility class */
.section-left-margin {
    margin-left: 35px;
}

.partners-grid {
    margin-top: 30px;
    display: flex;
    gap: 40px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.partners-grid > a {
    height: 100px;
    max-width: 140px;
    display: block;
    background-size: contain;
    width: 100px;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.1s ease;
}

.partners-grid > a:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 4px 15px rgba(87, 192, 255, 0.5));
}



.black .form-group label {
    color: #fff;
}
.black .form-group input[type=text], .black .form-group input[type=email], .black .form-group input[type=tel], .black .form-group select, .black .form-group textarea {
    background-color: rgba(255,255,255,0.15);
    border-radius: 10px;
    border: 0px;
}
/*.form-group select:has(option[value=""][disabled]:checked) {
    color: #5eccfa;
}*/
.black .form-group input::placeholder,
.black .form-group textarea::placeholder {
    color: #999;
}
.black select {
    color: #999;
}
.black .form-group select:has(option[value=""][disabled]:checked) {
    color: #999;
}
.black .btn-submit {
    background-color: transparent;
    background-image: url("assets/submit_button_partner.png");
    background-size: contain;
    width: 210px;
    height: 126px;
    font-size: 24px;
    padding-bottom: 28px;
}

/* Partner Benefits Section Styling */
.pbenefits {
    /* padding: 80px 20px; */
    /* max-width: 1400px; */
    padding: 40px 0;
    margin: 50px auto !important;
}

.pbenefits .section-title {
    font-size: 30px;
}

.pbenefits-benefits .plus {
    font-weight: bold;
    display: inline;
    padding-right: 1px;
}

.pbenefits-description {
    /* text-align: center; */
    font-size: 17px;
    margin-bottom: 20px;
    /* margin: 20px auto 60px; */
    /* max-width: 900px; */
    line-height: 1.6;
}

.pbenefits-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.pbenefits-benefits {
    /* background: white; */
    /* border-radius: 20px; */
    background-image: url('assets/pbenefits_bg.png');
    background-size: 100% 100%;
    /* border: 2px solid rgb(70, 70, 223); */
    padding: 0px;
    flex: 1;
    width: 330px;
    min-width: 300px;
    max-width: 380px;
    height: 185px;
    max-height: 185px;
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pbenefits-benefits:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pbenefits-content {
    color: #fff;
    padding: 12px;
    font-size: 15px;
    line-height: 1.2;
}

.pbenefits-content h3 {
    color: #fff;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 600;
}

.pbenefits-benefits img {
    width: 105px;
    height: calc(185px - 4px);
    object-fit: cover;
    border-radius: 12px;
    margin-top: 2px;
    margin-right: 2px;
}

/* Slider Base Styles */
.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider .slide {
    opacity: 0;
    animation: fadeIn 0.1s ease-in-out;
}

.slider .slide.active {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.pbenefits-slider .slider-indicators {
    margin-top: -20px;
    position: absolute;
    width: 100%;
    z-index: 10;
    padding-left: 100px;
}

.slider-indicators .indicator {
    width: 40px;
    height: 4px;
    /* background: rgba(255, 255, 255, 0.3); */
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicators .indicator.active {
    background: #00d4ff;
    width: 60px;
}

.slider-indicators .indicator:hover {
    /* background: rgba(255, 255, 255, 0.5); */
    background: rgba(0, 0, 0, 0.5);
}

.black .slider-indicators .indicator {
    background: rgba(255, 255, 255, 0.3);
}

.black .slider-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}


/* Partner Benefits Slider */
.pbenefits-slider {
    /* padding: 10px 20px 30px; */
    background: linear-gradient(135deg, #0c2d48 0%, #1a4d6f 100%);
}

.pbenefits-slider .slider {
    display: grid;
    /* max-width: 1000px; */
    /* margin: 0 auto; */
}

.pbenefits-slider .slide {
    width: 100%;
    /* padding: 10px 20px; */
    color: white;
    font-size: 17px;
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.pbenefits-slider .slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.pbenefits-slider .slide .slide-image {
    width: 280px;
    min-height: 200px;
    object-fit: cover;
    border-radius: 40px 0 0 40px;
    flex-shrink: 0;
}

.pbenefits-slider .slide .slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 60px;
    padding-top: 25px;
}

.pbenefits-slider .slide h2 {
    font-size: 29px;
    margin-bottom: 15px;
    color: #fff;
}
.pbenefits-slider .slide h2 img {
    height: 17px;
    margin-left: 8px;
    transform: scaleY(-1);
}

.pbenefits-slider .slide .slide-text {
    line-height: 1.35;
}

/* Partners Testimonials Slider */
.partners-testimonials {
    padding: 20px;
    background: #0a1e2e;
}

.partners-testimonials .slider {
    display: grid;
    max-width: 900px;
    margin: 0 auto;
}

.partners-testimonials .slide {
    width: 100%;
    padding: 6px 45px;
    text-align: center;
    color: white;
    position: relative;
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    font-size: 19px;
    transition: opacity 0.5s ease;
}

.partners-testimonials .slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.partners-testimonials .slide h2 {
    font-size: 32px;
    margin-bottom: 16px;
    /* color: #00d4ff; */
}

.partners-testimonials .quote-open,
.partners-testimonials .quote-close {
    font-size: 80px;
    color: #00d4ff;
    font-family: Georgia, serif;
    line-height: 1;
    display: block;
    opacity: 0.7;
    position: absolute;
    top: 50%;
    transform: translateY(-25%);
}

.partners-testimonials .quote-open {
    left: 10px;
}

.partners-testimonials .quote-close {
    right: 10px;
}

.partners-testimonials .testimonial-author {
    display: block;
    margin-top: 20px;
    font-style: italic;
    color: #00d4ff;
    font-size: 16px;
}



/* zajednički stil */
.slide-gradient {
  position: relative;
  border-radius: 40px;
  width: 90%;
  margin: auto;

  background-image: none;
}

/* DESNA varijanta */
.slide-gradient--right {
  background: linear-gradient(to right, transparent, #323232);
}

.slide-gradient--right::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  width: 250px;
  height: 100%;
  background: url("/assets/flare_vertical.png") center center / contain no-repeat;
  pointer-events: none;
  z-index: 10;
}

/* LEVA varijanta */
.slide-gradient--left {
  background: linear-gradient(to left, transparent, #323232);
}

.slide-gradient--left::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 100%;
  background: url("/assets/flare_vertical.png") center center / contain no-repeat;
  pointer-events: none;
  z-index: 10;
}







/* Black theme adjustments for indicators */
.black {
    color: #fff;
    background: #161616;
}

.black .slider-indicators .indicator {
    background: rgba(255, 255, 255, 0.2);
}

.black .slider-indicators .indicator.active {
    background: #00d4ff;
}

.black .contact-form {
    margin-top: 50px;
    border-top: 1px solid green;
    background: url('assets/partnerbg.png');
    background-size: cover;
    background-position: center;
}

.black .contact-form h2 {
    font-size: 35px;
    margin-bottom: 30px;
}

.black .contact-form h2 img {
    height: 20px;
    margin-left: 8px;
}
.black .contact-details {
    background: #222;
}

.black .contact-city-selector button {
    border-color: #fff;
    color: #fff;
}

.black .contact-city-selector button.active {
    background: #fff;
    color: #222;
}


/* ========================================
   RESPONSIVE MEDIA QUERIES
   ======================================== */

/* Large tablets and small laptops */
@media (max-width: 1200px) {
    .header {
        padding: 15px 40px;
    }

    .hero-content h1 {
        font-size: 50px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefits-right {
        grid-template-columns: 1fr;
    }

    .workplace-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-left-margin {
        margin-left: 20px;
    }

    .team .slide { 
        /* margin: 0 10px; */
    }

    .team .section-title,
    .workplace .section-title {
        padding-left: 20px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .topnav {
        top: 10px;
        right: 10px;
        padding: 5px;
        gap: 5px;
    }

    .topnav a {
        padding: 8px 9px;
        font-size: 14px;
    }

    .topnav .languages {
        margin-left: 20px;
    }

    .toplogo {
        top: 20px;
    }

    .headphones {
        height: 30px;
        margin-right: auto;
    }

    .hero { 
        padding: 80px 20px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .overlay-content { 
        padding: 20px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .benefits-right2 {
        grid-template-columns: 1fr;
    }

    .benefits-operators {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits2, .benefits, .contact-form {
        padding: 50px 20px;
    }

    .application-form { 
        max-width: initial;
    }

    .hero-description {
        padding: 30px 20px;
    }

    .benefits2-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 40px 20px;
    }

    .benefits2-grid img {
        width: 90px;
        height: 90px;
    }

    .pbenefits-slider {
        /* padding: 10px 10px; */
    }

    .pbenefits-grid {
        gap: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact {
        width: 100%;
        margin: 10px 0 100px;
        padding-left: 20px;
        padding-right: 20px;
    }
 
    .contact-map {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        gap: 15px;
        padding: 30px;
        text-align: center;
    }
}

/* Mobile devices */
@media (max-width: 800px) {
    .hero-rhcp { 
        width: 60px;
    }

    .hero-content {
        max-width: 70%;
    }

    .hero-content h1 {
        white-space: nowrap;
    }

    .hero h1 img {
        width: 50px;
        margin-top: -30px;
    }

    .back-top {
        right: 15px;
        bottom: 40px;
    }

    .back-top img {
        width: 40px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-description {
        font-size: 16px;
        padding: 30px 20px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .benefits {
        padding: 40px 20px;
    }

    .pbenefits-slider .slide .slide-image {
        width: 200px;
    }

    .contact {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .slide-gradient {
        width: 95%;
    }

    .benefits-grid {
        flex-direction: column;
    }

    .image-with-overlay.pic1 {
        max-width: 100%;
        flex: 1;
        min-height: 350px;
    }

    .overlay-content p {
        font-size: 14px;
        /* line-height: 1.4; */
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .pbenefits-description {
        line-height: 1.2;
    }

    .benefits-operators {
        grid-template-columns: 1fr;
    }

    .pbenefits-grid { 
        gap: 10px;
    }

    .benefits2-grid {
        /* grid-template-columns: 1fr; */
        gap: 15px;
        padding: 30px 15px;
    }

    .benefits-benefits h3 {
        font-size: 25px;   
    }

    .lang-de .benefits2-grid {
        grid-template-columns: 1fr;
    }

    .bg-headphones-big {
        display: none;
    }

    .contact-form {
        padding: 40px 15px;
    }

    .contact {
        flex-direction: column;
        height: auto;
    }

    .triangle {
        display: none;
    }

    .black .contact-form h2 {
        font-size: 25px;
    }

    .contact-map {
        width: 100%;
        height: 250px;
    }

    .contact-office {
        width: 100%;
        height: 140px;
    }

    .contact-details {
        padding: 30px 20px;
        width: 100%;
        border-radius: 0;
    }

    .contact-city-selector {
        flex-direction: row;
    }

    .contact-city-selector button {
        font-size: 12px;
        padding: 8px 10px;
    }

    .team {
        padding: 40px 15px;
        overflow: hidden;
    }

    .team .slide {
        flex-direction: row;
        gap: 20px;
    }

    .team .slide .slide-image {
        width: 180px;
        min-height: unset;
        height: auto;
    }

    .team .slide .slide-text {
        font-size: 15px;
    }

    .team .slide .slide-content h2 {
        font-size: 24px;
    }

    .team .slide .slide-content b {
        margin: 0;
    }

    .workplace {
        padding: 40px 15px;
    }

    .partners {
        padding: 40px 20px;
    }

    .workplace-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .section-left-margin {
        margin-left: 15px;
    }

    .workplace-grid img {
        height: 250px;
    }

    .workplace .section-title {
        padding-left: 15px;
    }

    .slider-container {
        height: 300px;
    }
}

/* Small mobile devices */
@media (max-width: 600px) {
    .topnav {
        /* width: calc(100% - 10px); */
        /*top: 5px;*/
        top: 50px;
        right: 5px;
        left: 5px;
        align-items: space-between;
    }

    .topnav .languages {
        margin-left: auto; 
    }

    .topnav .languages a {
        padding: 10px 5px;
    }

    .toplogo {
        /*display: none;;*/
        left: 50%;
        transform: translateX(-50%);
        top: 10px;
    }

    .headphones {
        display: block;
        margin-left: 2px;
        margin-right: 6px;
    }

    .hero {
        padding: 15px;
        padding-top: 140px;
        border-bottom: 0px;
        padding-bottom: 35px;
    }

    body {
        background-image: url('assets/picbg.png');
        background-repeat: no-repeat;
        background-size: 600px 600px;
        background-position-x: left;
    }

    .hero-rhcp {
        width: 120px;
        position: absolute;
        right: -60px;
        top: -150px;
    }

    .hero-image, .hero-bg {
        display: none;
    }

    .hero-content {
        max-width: initial;
    }

    .hero-content h1 {
        font-size: 44px;
        margin-bottom: 10px;
        line-height: 1;
        white-space: initial;
    }

    .hero-content h1 img {
        display: none;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 0;
    }

    .hero-description {
        font-size: 17px;
        padding: 10px 15px 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title h2 img {
        height: 27px;
    }

    .benefits {
        padding: 30px 15px;
    }

    .benefits-list {
        margin-bottom: 20px;
    }

    .benefits-benefits {
        padding: 8px 0;
        font-size: 16px;
    }

    /* .pbenefits-slider .slide .slide-image */

    .benefits-grid > img,
    .image-with-overlay.pic1 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .image-with-overlay.pic1 {
        min-height: 200px;
    }

    .image-with-overlay.pic2 {
        min-height: 200px;
    }

    .overlay-content {
        padding: 20px 12px;
    }

    .overlay-content h3 {
        font-size: 20px;
    }

    .image-with-overlay.pic1 .overlay-content h3 {
        font-size: 22px;
    }

    .overlay-content p {
        font-size: 14px;
        /* line-height: 1.2; */
    }

    .benefits2 {
        padding: 30px 10px;
    }

    .benefits2-grid {
        padding: 0;;
    }

    .slide-gradient {
        width: 100%;
    }

    .benefits-operators { 
            /* display: none; */
        flex-direction: row;
        flex-flow: wrap;
        width: 100%;
    }
    .benefits-grid {
        flex-direction: column;
    }
    .benefits-right2 {
        flex-direction: column;
    }

    .benefits2-grid div {
        font-size: 16px;
        line-height: 1.3;
    }

    .bg-bullet-big { 
        opacity: 0.3;
    }

    .pbenefits {
        padding: 30px 10px;
    }

    .benefits-right2 {
        gap: 0;
    }
    
    /* .pbenefits-content {
        font-size: 11px;
    } */

    .pbenefits-slider {
        margin-bottom: 30px;
    }

    .pbenefits-slider .slide {
        /* padding: 10px 8px; */
        flex-direction: column;
        gap: 15px;
    }

    .pbenefits-slider .slide .slide-image {
        width: 100%;
        border-radius: 40px 0 0 0;
        min-height: 150px;
        max-height: 200px;
    }
    .pbenefits-slider .slide .slide-content {
        padding: 0px 20px 10px;
    }

    .pbenefits-slider .slider-indicators {
        position: initial;
        padding-left: 0px;
        margin: 0px;
        margin-top: 10px;
        padding-bottom: 15px;
    }

    .partners { 
        margin-bottom: 40px;
    }

    .partners-grid > img {
        height: 69px;
        max-width: 115px;
        object-fit: contain;
    }

    .benefits2-grid > div {
        padding: 10px;
        width: initial;
    }

    .contact-form {
        padding: 30px 10px 20px;
    }

    .contact-details {
        padding: 20px 15px;
    }

    .contact-details h3 {
        font-size: 25px;
    }

    .contact-smaller {
        font-size: 15px;
    }

    .contact-city-selector button {
        font-size: 16px;
        padding: 6px 8px;
    }

    .team {
        padding: 30px 10px;
        overflow: hidden;
    }

    .team .slide {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .team .slide .slide-content h2 {
        font-size: 20px;
    }

    .team .slide .slide-content b {
        font-size: 14px;
    }

    .team .slide .slide-image {
        width: 160px;
        height: auto;
        min-height: unset;
    }

    .workplace {
        padding: 30px 10px;
    }

    .partners {
        padding: 30px 10px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section-left-margin {
        margin-left: 8px;
    }

    .team .slide .slide-content h2 img {
        height: 18px;
    }

    .team .slide {
        margin: 0;
    }

    .team .section-title,
    .workplace .section-title {
        padding-left: 8px;
    }

    .black .btn-submit {
        margin-top: 10px;
    }

    .black footer a {
        color: #68ff74;
    }

    .footer {
        padding: 20px 15px;
        font-size: 13px;
    }

    .socials a img {
        height: 25px;
    }

    .slider-container {
        height: 250px;
    }

    .back-top {
        right: 10px;
        bottom: 30px;
    }

    .back-top img {
        width: 35px;
    }
}

/* Smallest mobile devices */
@media (max-width: 400px) {
    .headphones {
        display: none;
    }
}