:root {
    --primary-color: #0f4c5c;
    --secondary-color: #e9f1f1;
    --accent-color: #b3dad5;
    --text-color: #333333;
    --navigation-color: #ffffff;
    --h1-color: #143d48;
    --h2-color: #153945;
    --aboutus-color: #fdeed9;
    --services-color: #d8e2e5;
    --process-color: #c9dfcb;
    --prices-color: #f8f8f8;
    --contact-color: #d1dfc9;
    --faq-color: #e6e8e0;
    --footer-color: #233436;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1 {
    color: var(--h1-color);
    font-size: 3.2rem;
    line-height: 1;
}

h2 {
    color: var(--h2-color);
}

p {
    font-size: 1.2rem;
    color: #1a4351;
}

a {
    text-decoration: none;
    color: inherit;
    border-bottom: 1px dashed;
}

a:hover {
    opacity: 0.8;
}

.center {
    text-align: center;
}



.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.container.full-width {
    width: 100%;
}

.desktoponly {
    display: none;
}

.top-bar {

    background-color: #233436;
    color: white;
    padding: 10px 0;
    font-size: 14px;
    display: none;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar p {
    margin-left: 1em;
    display: inline-block;
}

.top-bar a {
    border-bottom: none;
}

.contact-info {
    display: block;

}

.contact-info p {
    padding: 0;
    display: inline-block;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
    margin: 0;
}

.contact-info i {
    color: white;
    margin-left: 3rem;
    margin-right: 10px;
    vertical-align: middle;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    border: none;
}

.social-icons i {
    font-size: 1.5em;
}

.header-container {
    background-color: var(--accent-color);
    /* Header Styles */
}

.logo img {
    height: 100px;
    margin: 10px auto;
    display: block;
}

/* Reset default browser padding and margin for ul */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Navigation Menu */
nav ul.nav-menu {
    display: none;
    /* Hidden by default on mobile */
    flex-direction: column;
    background-color: var(--primary-color);
    position: absolute;
    top: 120px;
    /* Adjust based on your header height */
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navigation Links */
nav ul.nav-menu li a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul.nav-menu li a:hover {
    background-color: var(--accent-color);
}

/* Hamburger Icon */
nav .hamburger {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: absolute;
    top: 15px;
    /* Adjust based on your header */
    right: 20px;
    /* Adjust based on your header */
    z-index: 9999;
    /* Above nav menu */
}

nav .hamburger span {
    background-color: #1c3d48;
    display: block;
    height: 3px;
    width: 100%;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Active Hamburger (Menu Open) */
nav .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

nav .hamburger.active span:nth-child(2) {
    opacity: 0;
}

nav .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Show navigation menu when active */
nav ul.nav-menu.active {
    display: flex;
}

/* Optional: Add transition for menu */
nav ul.nav-menu {
    transition: max-height 0.3s ease-in-out;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    display: none;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}


p.lead {
    font-size: 0.75rem !important;
    font-weight: 100 !important;
    text-transform: uppercase;
    color: var(--h2-color) !important;
    text-align: center;
}


div.break {
    border-bottom: 1px solid #0000001c;
    margin: 40px 0;
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--accent-color);
    display: flex;
    padding: 0;
    margin: 0 auto;
    justify-content: flex-end;
    align-content: center;
    flex-wrap: wrap;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    padding: 15px;
}

.hero-content h1 {
    margin-bottom: 20px;
    /* line-height: 1.2; */
    text-align: center;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.5;
    /* width: 70%; */
    font-weight: 100;
    color: #305a68;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.secondary-button {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-image {
    display: none;
}

@media (min-width: 768px) {

    @supports (background-image: url('../img/grupa.avif')) {
        .hero-image {
            background-image: url('../img/grupa.avif');
        }
    }
}

.header-container img {
    display: flex;
    right: 0;
    /* float: right; */
    width: 50%;
}



.usluge-container {
    display: none;
}

.usluge {
    background-color: var(--services-color);
    padding: 30px 0px;
    margin: 0 auto;
    text-align: center;
}

.usluge h1 {
    margin-bottom: 30px;
    font-weight: 900;
    text-align: center;
}

.usluge h2 {
    align-self: center;
    /* width: 50%; */
    text-align: center;
    font-size: 1.5rem;
    color: #1a4351;
    font-weight: 100;
    margin: 0 auto;
    margin-bottom: 60px;
    line-height: 1.3;
    padding: 0;
}

.usluge-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 100px;
    margin-bottom: 80px;
}

.usluge-card {
    background-color: #fafafa;
    border-radius: 40px;
    padding: 20px;
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.usluge-card:hover {
    box-shadow: 10px 10px 0 0 #d8b9a9;
}

.usluge-card i {
    font-size: 3em;
    padding: 20px 0;
}

.usluge-cards .usluge-card:first-child {
    box-shadow: 10px 10px 0 0 #d8b9a9;
}

.usluge-cards .usluge-card:first-child i {
    color: #d8b9a9;
}

.usluge-cards .usluge-card:nth-child(2) {
    box-shadow: 10px 10px 0 0 #436a72;
}

.usluge-cards .usluge-card:nth-child(2) i {
    color: #436a72;
}

.usluge-cards .usluge-card:nth-child(3) {
    box-shadow: 10px 10px 0 0 #759a76;
}

.usluge-cards .usluge-card:nth-child(3) i {
    color: #759a76;
}

.usluge-card h3 {
    color: var(--h1-color);
    margin-bottom: 10px;
    font-size: 2em;
    font-weight: 900;
}

.usluge .djelatnosti {
    flex-direction: column;
    column-gap: 80px;
    align-items: stretch;
    display: flex;
    /* padding: 40px 0; */
    margin-bottom: 30px;
}

.usluge .djelatnosti h2 {
    width: 100%;
    font-weight: 900;
    text-align: center;
    font-size: 3rem;
    display: block;
    margin: 0;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.usluge .djelatnosti h3 {
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: left;
    font-size: 1.4rem;
    font-weight: 300;
}

.usluge .djelatnosti ul {
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.2rem;
    color: #1a4351;
    list-style-type: none;
}

.usluge .djelatnosti ul li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: baseline;
}

.usluge .djelatnosti ul li i {
    margin-right: 10px;
}

.usluge .djelatnosti ul li span {
    padding-left: 10px;
}

.usluge .djelatnosti .slika {
    align-self: center;
    /* width: 50%; */
    display: flex;
    align-items: flex-end;
    flex-direction: row-reverse;
}

.usluge .djelatnosti .slika img {
    border-radius: 30px;
    box-shadow: 10px 10px 0 0 #f1d19f;
    max-width: 100%;
    max-height: 100%;
}


.usluge .djelatnosti .tekst {
    align-self: center;
    /* width: 50%; */
    text-align: left;
    font-size: 1rem;
    color: #1a4351;
    /* padding: 0 4em; */
}

.usluge .djelatnosti .tekst p {
    margin-bottom: 2em;
}



/* Proces */
.proces {
    background-color: var(--process-color);
    padding: 50px 20px;
    margin: 0 auto;
    text-align: center;
}

.proces h1 {
    margin-bottom: 0px;
    font-weight: 900;
    text-align: center;
}

.proces h2 {
    align-self: center;
    text-align: center;
    font-size: 1.5rem;
    color: #1a4351;
    font-weight: 100;
    margin: 0 auto;
    margin-bottom: 60px;
    line-height: 1.3
}

.proces-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 100px;
    margin-bottom: 80px;
}

.proces-card {
    background-color: #fafafa;
    border-radius: 40px;
    padding: 20px;
    flex: 1 1 calc(25% - 20px);
    min-width: 210px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.proces-card i {
    font-size: 3em;
    padding: 20px 0;
}

.proces-cards .proces-card:first-child {
    box-shadow: 10px 10px 0 0 #d8b9a9;
}

.proces-cards .proces-card:first-child i {
    color: #d8b9a9;
}

.proces-cards .proces-card:nth-child(2) {
    box-shadow: 10px 10px 0 0 #436a72;
}

.proces-cards .proces-card:nth-child(2) i {
    color: #436a72;
}

.proces-cards .proces-card:nth-child(3) {
    box-shadow: 10px 10px 0 0 #759a76;
}

.proces-cards .proces-card:nth-child(3) i {
    color: #759a76;
}

.proces-card h3 {
    color: var(--h1-color);
    margin-bottom: 10px;
    font-size: 2em;
    font-weight: 900;
}





/* Trusted Partner Section */
.onama {
    background-color: var(--aboutus-color);
    /* padding: 50px 20px; */
    text-align: center;
    margin: 0 auto;
}

.onama h1 {
    margin-bottom: 20px;
    font-weight: 900;
    text-align: center;
}

.onama .upoznajte-terapeuta {
    flex-direction: column;
    /* column-gap: 80px; */
    align-items: baseline;
    display: flex;
    padding: 40px 0;
    margin-bottom: 30px;
    align-content: center;
    flex-wrap: nowrap;
}

.onama .upoznajte-terapeuta h2 {
    padding-bottom: 20px;
    color: #153945;
    text-align: center;
    font-size: 1.2em;
}

.onama .upoznajte-terapeuta .slika {
    align-self: center;
    /* width: 50%; */
    /* display: none; */
    align-items: flex-start;
}

.onama .upoznajte-terapeuta .slika img {
    border-radius: 30px;
    box-shadow: 10px 10px 0 0 #f1d19f;
    max-width: 100%;
    max-height: 100%;
}


.onama .upoznajte-terapeuta .tekst {
    align-self: center;
    width: 99%;
    text-align: left;
    font-size: 1.2rem;
    color: #1a4351;
    /* padding: 1%; */
}

.onama .upoznajte-terapeuta .tekst p {
    margin-bottom: 2em;
}

.onama .nasa-misija {
    flex-direction: column;
    /* column-gap: 80px; */
    align-items: stretch;
    display: flex;
    padding: 40px 0;
    margin-bottom: 30px;
}

.onama .nasa-misija .slika {
    align-self: center;
    /* width: 50%; */
    display: none;
    align-items: flex-end;
    flex-direction: row-reverse;
}

.onama .nasa-misija .slika img {
    border-radius: 30px;
    box-shadow: -10px 10px 0 0 #f1d19f;
    max-width: 100%;
    max-height: 100%;
}


.onama .nasa-misija .tekst {
    align-self: center;
    /* width: 50%; */
    text-align: left;
    font-size: 1.2rem;
    color: #1a4351;
}

.onama .nasa-misija .tekst p {
    margin-bottom: 2em;
}

.feature {
    flex: 1 1 200px;
    margin: 10px;
}

.feature img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}


/* Cjenik usluga */

.cjenik {
    background-color: var(--prices-color);
    padding: 30px 0px;
    text-align: center;
    margin: 0 auto;
}

.cjenik h1 {
    margin-bottom: 20px;
    font-weight: 900;
}


.cjenik-lista {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 30px auto;
    max-width: 1000px;
}

.cjenik-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
    text-align: left;
}

.cjenik-item:last-child {
    border-bottom: none;
}

.cjenik-item:hover {
    background-color: #f5f5f5;
}

.usluga {
    font-weight: 600;
    color: var(--primary-color);
}

.cijena {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.2em;
}

/* Kontakt */
.kontakt {
    background-color: var(--contact-color);
    padding: 50px 20px;
    text-align: center;
    margin: 0 auto;
}

.kontakt .container {
    flex-direction: column;
    /* column-gap: 80px; */
    align-items: stretch;
    display: flex;
    padding: 40px 0;
    margin: 0 auto;
    margin-bottom: 30px;
}

.kontakt .container .tekst {
    align-self: baseline;
    /* width: 50%; */
    text-align: center;
    font-size: 1.2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kontakt .container .tekst i {
    margin-right: 10px;
    vertical-align: top;
    margin-top: 14px;
}

.kontakt .container .tekst p {
    display: block;
    margin: 0.51em 0;
    text-align: center;
}



.kontakt h1 {
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1em;
    text-align: center;
    font-size: 3em;
}


.kontakt .container .kontakt-forma {
    flex-direction: column;
    /* column-gap: 80px; */
    display: flex;
    /* padding: 40px 0; */
    margin-bottom: 30px;
    width: 100%;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
}

.kontakt .kontakt-forma h2 {
    padding-bottom: 20px;
    color: #153945
}

.kontakt .container.mapa {
    display: block;
}

.kontakt-mapa {
    margin-top: 50px;
}


#contact-form {
    display: flex;
    flex-direction: column;
    /* width: 80%; */
    border-radius: 40px;
    background-color: white;
    padding: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.error-message {
    display: none;
    color: #ff3860;
    font-size: 14px;
    margin-top: 5px;
}

.form-group input.touched:invalid,
.form-group textarea.touched:invalid {
    border-bottom: 2px solid #ff3860;
}

.form-group input.touched:invalid~.error-message,
.form-group textarea.touched:invalid~.error-message,
.form-group input.error~.error-message,
.form-group textarea.error~.error-message {
    display: block;
}

.form-group input.error,
.form-group textarea.error {
    border-bottom: 2px solid #ff3860;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    border: none;
    border-bottom: 1px solid #777;
    outline: none;
    background: transparent;
    transition: border-color 0.2s;
    margin-bottom: 30px;
}

.form-group label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #777;
    pointer-events: none;
    transition: 0.2s ease all;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom: 2px solid var(--primary-color);
}

.form-group input:focus~label,
.form-group textarea:focus~label,
.form-group input:valid~label,
.form-group textarea:valid~label {
    top: -30px;
    font-size: 14px;
    color: var(--primary-color);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-group.gdpr {
    margin-bottom: 50px;
    display: block;
    margin-top: 0px;
    text-align: left;
}

.form-group.gdpr input {
    margin: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.form-group.gdpr input:focus~label,
.form-group.gdpr input:valid~label {
    top: inherit;
    color: inherit;
    font-size: inherit;
}

.form-group.gdpr label {
    display: inline-block;
    margin-bottom: 0;
    position: relative;
    margin: 0;
    padding: 0;
    height: 20px;
    align-self: center;
}

.submit-btn {
    align-self: flex-start;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.7;
}

.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    display: none;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.show {
    opacity: 1;
}



/* Events Section */
.events {
    padding: 50px 20px;
    margin: 0 auto;
}

.events h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.event-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.event-date {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: bold;
}

.event-details {
    padding: 20px;
    flex-grow: 1;
}

.event-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-card img {
    width: 150px;
    object-fit: cover;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--accent-color);
    padding: 50px 20px;
    margin: 0 auto;
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 400px;
}

.rating {
    color: gold;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.client-name {
    font-weight: bold;
    margin-top: 10px;
}

/* FAQ Section */
.faq {
    padding: 50px 20px;
    margin: 0 auto;
    background-color: var(--faq-color);
    text-align: center;
}

.faq h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto;
}

details {
    background-color: white;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 20px;
}

summary {
    font-size: 1.2rem;
    cursor: pointer;
    text-align: left;
    padding-left: 20px;
}

details p {
    margin-top: 10px;
    padding-left: 20px;
    text-align: left;
    font-size: 1.2em;

}

/* Footer Styles */
footer {
    background-color: var(--footer-color);
    color: white;
    padding: 50px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 auto 50px;
}


.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact h4 {
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 5px;
    font-size: 1em;
    color: white;
}

.footer-cta,
.footer-newsletter {



    flex: 1 1 300px;
}

.footer-newsletter form {
    display: flex;
    margin-top: 20px;
}

.footer-newsletter input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.footer-newsletter button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.footer-info {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    margin: 0 auto 30px;
    color: white;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo img {
    height: 100px;
}

.footer-links ul {
    list-style-type: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    border-bottom: none;
    /* margin: 28px 0; */
}

.footer-map {
    display: none
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: white;
    margin-top: 20px;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}


.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    display: none;
    text-decoration: none;
    transition: opacity 0.3s;
    cursor: pointer;
    border-bottom: none;
}

.scroll-to-top:hover {
    opacity: 0.8;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    margin-top: 1em;
}

.modal-content li {
    margin-left: 20px;
    color: var(--text-color);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#privacy-link {
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
}

#privacy-link:hover {
    text-decoration: none;
}

/* Responsive Design */
@media (min-width: 576px) {
    body {
        font-size: 14px;
    }

    .container {
        width: 540px;
    }

    .hero {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .usluge-container {
        display: block;
    }

    .service-card {
        flex: 1 1 calc(50% - 20px);
    }

    .partner-features {
        flex-direction: column;
    }

    .event-card {
        flex-direction: column;
    }

    .event-card img {
        width: 100%;
        height: 200px;
    }

    .testimonial-cards {
        flex-direction: column;
        align-items: center;
    }

    .footer-info {
        /* flex-direction: column; */
    }
}

@media (min-width: 768px) {
    .container {
        width: 720px;
    }

    .desktoponly {
        display: inherit;
    }


    nav ul.nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background-color: transparent;
        width: auto;
        box-shadow: none;
        justify-content: space-around;
    }

    /* Hide the hamburger icon */
    nav .hamburger {
        display: none;
    }

    /* Navigation Links */
    nav ul.nav-menu li a {
        padding: 10px;
        color: var(--primary-color);
        border: none;
        font-weight: 600;
        font-size: 1.2em;
    }

    nav ul.nav-menu li a:hover {
        background-color: transparent;
        color: var(--accent-color);
    }

    .usluge .djelatnosti h2 {
        text-align: left;
    }
}


@media (min-width: 992px) {
    .container {
        width: 960px;
    }

    /* Footer Styles */
    footer {
        background-color: var(--footer-color);
        color: white;
        padding: 20px 0px;
    }



    .footer-content {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 30px;
        margin: 0 auto 50px;
    }

    .footer-cta,
    .footer-newsletter {
        flex: 1 1 300px;
    }

    .footer-newsletter form {
        display: flex;
        margin-top: 20px;
    }

    .footer-newsletter input {
        flex-grow: 1;
        padding: 10px;
        border: none;
        border-radius: 5px 0 0 5px;
    }

    .footer-newsletter button {
        background-color: var(--accent-color);
        color: var(--primary-color);
        border: none;
        padding: 10px 20px;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
    }

    .footer-info {
        display: block;
        margin: 0 auto 30px;
        align-content: center;
    }

    .footer-logo img {
        height: 100px;
    }

    .footer-links ul {
        list-style-type: none;
        margin: 2em auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        align-items: center;
    }



    .footer-links a {
        margin: 0 1.7rem;
        font-size: 1.1em;
        font-weight: 600;
        /* border-bottom: 1px dashed; */
    }

    .footer-map {
        height: 25vh;
        width: 100%;
        position: relative;
        display: block;
    }

    .footer-contact {
        display: none;
    }

    .footer-bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        border-top: none;
    }

    .footer-bottom p {
        font-size: 0.9rem;
        color: white;
        margin-top: 20px;
    }

    footer .social-icons a {
        margin: 1em;
        text-decoration: none;
        border-bottom: none;
    }

    footer .social-icons i {
        font-size: 2em;
    }

    footer .social-icons img {
        width: 24px;
        height: 24px;

    }

}


@media (min-width: 1200px) {
    .container {
        width: 1140px;
    }

    .top-bar {
        background-color: #233436;
        color: white;
        padding: 10px 0;
        font-size: 14px;
        display: block;
    }

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar p {
        margin-left: 1em;
        display: inline-block;
    }

    .top-bar a {
        border-bottom: none;
    }

    /* Kontakt */
    .kontakt {
        background-color: var(--contact-color);
        padding: 50px 20px;
        text-align: center;
        margin: 0 auto;
    }

    .kontakt .container {
        flex-direction: row;
        column-gap: 100px;
        display: flex;
        padding: 40px 0;
        margin-bottom: 30px;
        justify-content: space-evenly;
        position: relative;
        /* width: 100%; */
    }

    .kontakt .container .tekst {
        align-self: baseline;
        width: 50%;
        text-align: left;
        font-size: 1.2rem;
        padding: 0px 3em;
        align-items: baseline;
    }

    .kontakt .container .tekst i {
        margin-right: 10px;
        vertical-align: top;
        margin-top: 14px;
    }

    .kontakt .container .tekst p {
        display: block;
        margin: 0.51em 0;
        text-align: left;
        width: 100%;
    }



    .kontakt h1 {
        margin-bottom: 20px;
        font-weight: 900;
        line-height: 1em;
        text-align: left;
        display: block;
        width: 100%;
    }

    .kontakt .container .kontakt-forma {
        flex-direction: row;
        column-gap: 80px;
        align-items: stretch;
        display: flex;
        padding: 40px 0;
        margin-bottom: 30px;
        width: 50%;
    }

    .kontakt .kontakt-forma h2 {
        padding-bottom: 20px;
        color: #153945
    }

    .kontakt .container.mapa {
        display: block;
    }

    .kontakt-mapa {
        margin-top: 50px;
    }


    #contact-form {
        display: flex;
        flex-direction: column;
        width: 90%;
        border-radius: 40px;
        background-color: white;
        padding: 40px;
    }

    .form-group {
        position: relative;
        margin-bottom: 30px;
    }

    .error-message {
        display: none;
        color: #ff3860;
        font-size: 14px;
        margin-top: 5px;
    }

    .form-group input.touched:invalid,
    .form-group textarea.touched:invalid {
        border-bottom: 2px solid #ff3860;
    }

    .form-group input.touched:invalid~.error-message,
    .form-group textarea.touched:invalid~.error-message {
        display: block;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px 0;
        font-size: 16px;
        color: #333;
        border: none;
        border-bottom: 1px solid #777;
        outline: none;
        background: transparent;
        transition: border-color 0.2s;
        margin-bottom: 30px;
    }

    .form-group label {
        position: absolute;
        top: 0;
        left: 0;
        padding: 10px 0;
        font-size: 16px;
        color: #777;
        pointer-events: none;
        transition: 0.2s ease all;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        border-bottom: 2px solid var(--primary-color);
    }

    .form-group input:focus~label,
    .form-group textarea:focus~label,
    .form-group input:valid~label,
    .form-group textarea:valid~label {
        top: -30px;
        font-size: 14px;
        color: var(--primary-color);
    }

    .form-group textarea {
        height: 100px;
        resize: vertical;
    }

    .form-group.gdpr {
        margin-bottom: 50px;
        display: block;
        margin-top: 0px;
        text-align: left;
    }

    .form-group.gdpr input {
        margin: 0;
        display: inline-block;
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }

    .form-group.gdpr input:focus~label,
    .form-group.gdpr input:valid~label {
        top: inherit;
        color: inherit;
        font-size: inherit;
    }

    .form-group.gdpr label {
        display: inline-block;
        margin-bottom: 0;
        position: relative;
        margin: 0;
        padding: 0;
        height: 20px;
        align-self: center;
    }

    .submit-btn {
        align-self: flex-start;
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 12px 24px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .submit-btn:hover {
        opacity: 0.7;
    }

    .form-message {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 5px;
        font-weight: bold;
        display: none;
        transition: opacity 0.5s ease-in-out;
        opacity: 0;
    }

    .form-message.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .form-message.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    .form-message.show {
        opacity: 1;
    }


    .contact-info {
        display: block;

    }

    .contact-info p {
        padding: 0;
        display: inline-block;
        color: #ffffff;
        font-size: 0.8rem;
        font-weight: 900;
        margin: 0;
    }

    .contact-info i {
        color: white;
        margin-left: 3rem;
        margin-right: 10px;
        vertical-align: middle;
    }

    .social-icons a {
        color: white;
        /* margin-left: 15px; */
        /* text-decoration: none; */
    }

    .social-icons i {
        font-size: 1.4em;
        border: none;
        text-decoration: none;
    }

    .header-container {
        background-color: var(--accent-color);
        /* Header Styles */
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        padding: 0;
    }

    .logo img {
        height: 100px;
        margin-top: 10px;
        margin-bottom: 0;
    }

    nav ul {
        display: flex;
        list-style-type: none;
    }

    nav ul li {
        margin-right: 1em;
        font-size: 1.3em;
    }

    nav ul.nav-menu li a {
        text-decoration: none;
        color: var(--primary-color);
        font-weight: 600;
        border-bottom: none;
        padding: 1em;
        font-size: 1em;
    }

    .cta-button {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
        font-size: 1em;
        display: flex;
        line-height: 2em;
    }

    .cta-button:hover {
        background-color: var(--secondary-color);
        color: var(--primary-color);
    }


}

@media (min-width: 1400px) {
    .container {
        width: 1320px;
    }

    nav ul.nav-menu li a {
        font-size: 1.2em;
    }

    p.lead {
        font-size: 0.75rem !important;
        font-weight: 100 !important;
        text-transform: uppercase;
        color: var(--h2-color) !important;
    }


    div.break {
        border-bottom: 1px solid #0000001c;
        margin: 40px 0;
    }

    /* Hero Section */
    .hero {
        background-color: var(--accent-color);
        display: flex;
        padding: 0;
        margin: 0 auto;
        justify-content: flex-end;
        align-content: center;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .hero-content {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-wrap: nowrap;
        padding: 8em;
        align-items: baseline;
        max-width: 1000px;
    }

    .hero-content h1 {
        margin-bottom: 20px;
        line-height: 1.2;
        text-align: left;
    }

    .hero-content p {
        font-size: 1.5rem;
        margin-bottom: 20px;
        line-height: 1.5;
        width: 70%;
        font-weight: 100;
        color: #305a68;
        text-align: left;
    }

    .hero-buttons {
        display: flex;
        gap: 20px;
        margin-top: 30px;
    }

    .secondary-button {
        background-color: white;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
        font-size: 16px;
    }

    .secondary-button:hover {
        background-color: var(--primary-color);
        color: white;
    }

    .hero-image {
        display: flex;
        right: 0;
        width: 50%;
        background-image: url(../img/grupa.png);
        background-size: cover;
        background-position: center;
    }

    @supports (background-image: url('../img/grupa.avif')) {
        .hero-image {
            display: flex;
            right: 0;
            width: 50%;
            background-size: cover;
            background-position: center;
            background-image: url('../img/grupa.avif');
        }
    }

    .header-container img {
        display: flex;
        right: 0;
        /* float: right; */
        width: 50%;
    }


    .usluge {
        background-color: var(--services-color);
        padding: 50px 20px;
        margin: 0 auto;
        text-align: center;
    }

    .usluge h1 {
        margin-bottom: 1rem;
        font-weight: 900;
        text-align: center;
    }

    .usluge h2 {
        align-self: center;
        width: 50%;
        text-align: center;
        font-size: 1.5rem;
        color: #1a4351;
        font-weight: 100;
        margin: 0 auto;
        margin-bottom: 60px;
        line-height: 1.3
    }

    .usluge-cards {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 40px;
        margin-top: 100px;
        margin-bottom: 80px;
    }

    .usluge-card {
        background-color: #fafafa;
        border-radius: 40px;
        padding: 20px;
        flex: 1 1 calc(25% - 20px);
        min-width: 200px;
        text-align: center;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
    }

    .usluge-card:hover {
        box-shadow: 10px 10px 0 0 #d8b9a9;
    }

    .usluge-card i {
        font-size: 3em;
        padding: 20px 0;
    }

    .usluge-cards .usluge-card:first-child {
        box-shadow: 10px 10px 0 0 #d8b9a9;
    }

    .usluge-cards .usluge-card:first-child i {
        color: #d8b9a9;
    }

    .usluge-cards .usluge-card:nth-child(2) {
        box-shadow: 10px 10px 0 0 #436a72;
    }

    .usluge-cards .usluge-card:nth-child(2) i {
        color: #436a72;
    }

    .usluge-cards .usluge-card:nth-child(3) {
        box-shadow: 10px 10px 0 0 #759a76;
    }

    .usluge-cards .usluge-card:nth-child(3) i {
        color: #759a76;
    }

    .usluge-card h3 {
        color: var(--h1-color);
        margin-bottom: 10px;
        font-size: 2em;
        font-weight: 900;
    }

    .usluge .djelatnosti {
        flex-direction: row;
        column-gap: 80px;
        align-items: stretch;
        display: flex;
        padding: 40px 0;
        margin-bottom: 30px;
    }

    .usluge .djelatnosti h2 {
        width: 100%;
        font-weight: 900;
        text-align: left;
        font-size: 3rem;
        display: block;
        margin: 0;
        line-height: 1.2;
        margin-bottom: 2rem;
    }

    .usluge .djelatnosti h3 {
        margin-bottom: 20px;
        line-height: 1.3;
        text-align: left;
        font-size: 1.4rem;
        font-weight: 300;
    }

    .usluge .djelatnosti ul {
        margin-bottom: 20px;
        text-align: left;
        font-size: 1.2rem;
        color: #1a4351;
        list-style-type: none;
    }

    .usluge .djelatnosti ul li {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: baseline;
    }

    .usluge .djelatnosti ul li i {
        margin-right: 10px;
    }

    .usluge .djelatnosti ul li span {
        padding-left: 10px;
    }

    .usluge .djelatnosti .slika {
        align-self: center;
        width: 50%;
        display: flex;
        align-items: flex-end;
        flex-direction: row-reverse;
    }

    .usluge .djelatnosti .slika img {
        border-radius: 30px;
        box-shadow: 10px 10px 0 0 #f1d19f;
        max-width: 100%;
        max-height: 100%;
    }


    .usluge .djelatnosti .tekst {
        align-self: center;
        width: 50%;
        text-align: left;
        font-size: 1.2rem;
        color: #1a4351;
        padding: 0 4em;
    }

    .usluge .djelatnosti .tekst p {
        margin-bottom: 2em;
    }



    /* Proces */
    .proces {
        background-color: var(--process-color);
        padding: 50px 20px;
        margin: 0 auto;
        text-align: center;
    }

    .proces h1 {
        margin-bottom: 1rem;
        font-weight: 900;
        text-align: center;
    }

    .proces h2 {
        align-self: center;
        width: 50%;
        text-align: center;
        font-size: 1.5rem;
        color: #1a4351;
        font-weight: 100;
        margin: 0 auto;
        margin-bottom: 60px;
        line-height: 1.3
    }

    .proces-cards {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 40px;
        margin-top: 100px;
        margin-bottom: 80px;
    }

    .proces-card {
        background-color: #fafafa;
        border-radius: 40px;
        padding: 20px;
        flex: 1 1 calc(25% - 20px);
        min-width: 200px;
        text-align: center;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
    }

    .proces-card i {
        font-size: 3em;
        padding: 20px 0;
    }

    .proces-cards .proces-card:first-child {
        box-shadow: 10px 10px 0 0 #d8b9a9;
    }

    .proces-cards .proces-card:first-child i {
        color: #d8b9a9;
    }

    .proces-cards .proces-card:nth-child(2) {
        box-shadow: 10px 10px 0 0 #436a72;
    }

    .proces-cards .proces-card:nth-child(2) i {
        color: #436a72;
    }

    .proces-cards .proces-card:nth-child(3) {
        box-shadow: 10px 10px 0 0 #759a76;
    }

    .proces-cards .proces-card:nth-child(3) i {
        color: #759a76;
    }

    .proces-card h3 {
        color: var(--h1-color);
        margin-bottom: 10px;
        font-size: 2em;
        font-weight: 900;
    }





    /* Trusted Partner Section */
    .onama {
        background-color: var(--aboutus-color);
        padding: 50px 20px;
        text-align: center;
        margin: 0 auto;
    }

    .onama h1 {
        margin-bottom: 20px;
        font-weight: 900;
        text-align: left;
    }

    .onama .upoznajte-terapeuta {
        flex-direction: row;
        column-gap: 80px;
        align-items: stretch;
        display: flex;
        padding: 40px 0;
        margin-bottom: 30px;
    }

    .onama .upoznajte-terapeuta h2 {
        padding-bottom: 20px;
        color: #153945;
        text-align: left;
    }

    .onama .upoznajte-terapeuta .slika {
        align-self: center;
        width: 50%;
        display: flex;
        align-items: flex-start;
    }

    .onama .upoznajte-terapeuta .slika img {
        border-radius: 30px;
        box-shadow: 10px 10px 0 0 #f1d19f;
        max-width: 100%;
        max-height: 100%;
    }


    .onama .upoznajte-terapeuta .tekst {
        align-self: center;
        width: 50%;
        text-align: left;
        font-size: 1.2rem;
        color: #1a4351;
    }

    .onama .upoznajte-terapeuta .tekst p {
        margin-bottom: 2em;
        text-align: left;
    }

    .onama .nasa-misija {
        flex-direction: row;
        column-gap: 80px;
        align-items: stretch;
        display: flex;
        padding: 40px 0;
        margin-bottom: 30px;
    }

    .onama .nasa-misija .slika {
        align-self: center;
        width: 50%;
        display: flex;
        align-items: flex-end;
        flex-direction: row-reverse;
    }

    .onama .nasa-misija .slika img {
        border-radius: 30px;
        box-shadow: -10px 10px 0 0 #f1d19f;
        max-width: 100%;
        max-height: 100%;
    }


    .onama .nasa-misija .tekst {
        align-self: center;
        width: 50%;
        text-align: left;
        font-size: 1.2rem;
        color: #1a4351;
    }

    .onama .nasa-misija .tekst p {
        margin-bottom: 2em;
    }

    .feature {
        flex: 1 1 200px;
        margin: 10px;
    }

    .feature img {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }


    /* Cjenik usluga */

    .cjenik {
        background-color: var(--prices-color);
        padding: 50px 20px;
        text-align: center;
        margin: 0 auto;
    }

    .cjenik h1 {
        margin-bottom: 20px;
        font-weight: 900;
    }


    .cjenik-lista {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        margin: 30px auto;
        max-width: 1000px;
    }

    .cjenik-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #e0e0e0;
        transition: background-color 0.3s ease;
        text-align: left;
    }

    .cjenik-item:last-child {
        border-bottom: none;
    }

    .cjenik-item:hover {
        background-color: #f5f5f5;
    }

    .usluga {
        font-weight: 600;
        color: var(--primary-color);
    }

    .cijena {
        font-weight: 700;
        color: var(--accent-color);
        font-size: 1.2em;
    }


    .kontakt .container .tekst {
        padding: 0 4em;
    }



    /* FAQ Section */
    .faq {
        padding: 50px 20px;
        margin: 0 auto;
        background-color: var(--faq-color);
        text-align: center;
    }

    .faq h2 {
        text-align: center;
        color: var(--primary-color);
        margin-bottom: 30px;
        font-size: 2rem;
    }

    .faq-list {
        max-width: 800px;
        margin: 60px auto;
    }

    details {
        background-color: white;
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 20px;
    }

    summary {
        font-size: 1.2rem;
        cursor: pointer;
        text-align: left;
        padding-left: 20px;
    }

    details p {
        margin-top: 10px;
        padding-left: 20px;
        text-align: left;

    }




    .scroll-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: var(--primary-color);
        color: white;
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        border-radius: 50%;
        display: none;
        text-decoration: none;
        transition: opacity 0.3s;
        cursor: pointer;
        border-bottom: none;
    }

    .scroll-to-top:hover {
        opacity: 0.8;
    }


    /* Modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .modal-content {
        background-color: #fefefe;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        color: var(--text-color);
    }

    .modal-content h2 {
        color: #3a86ff;
        border-bottom: 2px solid #f1f1f1;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .modal-content h3 {
        color: #4a4a4a;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .modal-content ul {
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .modal-content li {
        margin-bottom: 5px;
    }

    .modal-content .last-update {
        font-style: italic;
        color: #777;
        margin-top: 30px;
        text-align: right;
    }

    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

    #privacy-link {
        cursor: pointer;
        display: inline-block;
        margin-top: 10px;
    }

    #privacy-link:hover {
        text-decoration: none;
    }

}

@media (min-width: 1600px) {
    .container {
        width: 1500px;
    }

    .kontakt .container .tekst {
        padding: 0 9em;
    }
}

@media (min-width: 1920px) {

    .container {
        width: 1860px;
    }

    .logo img {
        height: 140px;
    }


    .kontakt .container .tekst {
        padding: 0 11em;
    }





}