:root {
    --primary-blue: #0066cc;
    --dark-blue: #004999;
    --light-blue: #e8f3ff;
    --accent-orange: #FF7A00;
    --accent-teal: #00B8A9;
    --gradient-blue: linear-gradient(135deg, #1A73E8 0%, #0D47A1 100%);
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --dropdown-bg: var(--dark-blue);
    --dropdown-text: white;
    --dropdown-hover: rgba(236, 109, 5, 0.966);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-orange);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-orange);
}

/* Header and Navigation */
.top-contact-bar {
    background: var(--dark-blue);
    color: white;
    padding: 0.5rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent-orange);
    transform: translateY(-2px);
}

header,
.fixed-header {
    background: var(--gradient-blue);
    padding: 1rem 2rem;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 999;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.fixed-header.sticky {
    top: 0;
    padding: 0.8rem 2rem;
    background: rgba(26, 115, 232, 0.95);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.logo img {
    width: 80px;
    height: auto;
    transition: var(--transition);
}

.sticky .logo img {
    width: 60px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    max-width: 300px;
    font-family: 'Montserrat', sans-serif;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
    background: transparent;
    transition: var(--transition);
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px;
    display: block;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 80%;
}

nav ul li a.active {
    font-weight: 600;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    z-index: 1000;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    color: var(--dark-blue);
    padding: 8px 20px;
    display: block;
}

.dropdown-menu a:hover {
    background: var(--light-blue);
    color:var(--accent-orange)
}

.dropdown>a i {
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-divider {
    height: 1px;
    margin: 0.5rem 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.1);
    border: none;
}

/* Hero Section */
.hero {
    padding-top: 80px;
    position: relative;
    background: var(--gradient-blue);
    padding: calc(4rem + 80px) 2rem 4rem 2rem;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pic/pattern.jpg');
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    position: relative;
    max-height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.hero-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(800px) rotateY(-5deg);
}

.cta-button {
    display: inline-block;
    background: var(--accent-orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    background: #ff8c1a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

/* About Section */
.about-section {
    background: var(--light-blue);
    padding: 5rem 2rem;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
}

.about-text h2 {
    color: var(--dark-blue);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-orange);
    gap: 0.8rem;
}

.read-more i {
    font-size: 0.8rem;
}

/* Services Section */
.services-section {
    padding: 5rem 2rem;
    background: #fff;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    text-align: justify;
}



.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 184, 169, 0.3);
}

.service-card h3 {
    padding: 1.5rem;
    padding-right: 4.5rem;
    margin: 0;
    color: var(--dark-blue);
    font-size: 1.5rem;
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content p {
    margin-bottom: 1.2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li i {
    color: var(--accent-teal);
}

.card-button {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.card-button:hover {
    background: var(--dark-blue);
    color: white;
}

/* Featured Section */
.istaknuto-section {
    background: var(--light-blue);
    padding: 5rem 2rem;
}

.istaknuto-container {
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.counter-container {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.counter-container i {
    font-size: 3.5rem;
    color: var(--accent-teal);
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

/* Page Banner */
.page-banner {
    background: var(--gradient-blue);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pic/pattern.jpg');
    opacity: 0.1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.banner-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 5rem 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.content-section.bg-light {
    background-color: var(--light-blue);
}

.content-section.bg-primary {
    background: var(--gradient-blue);
    color: white;
}

.container-narrow {
    max-width: 1000px;
    margin: 0 auto;
}

/* Two Columns Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.column-text h2 {
    margin-bottom: 1.5rem;
}

.column-image {
    text-align: center;
    max-width: 70%;
    height: auto;
    align-self: center;
    border-radius: 5%;
}

/* Rounded Images */
.rounded-image {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
    box-shadow: var(--box-shadow);
}

/* Mission & Vision */
.mission-vision-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-box,
.vision-box {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-circle i {
    font-size: 2rem;
    color: var(--primary-blue);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 50%;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-role {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary-blue);
    color: white;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--primary-blue);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-orange);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-date {
    width: 100px;
    text-align: right;
    padding-right: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.timeline-content {
    width: calc(50% - 50px);
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-left: auto;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 1rem;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* CTA Box */
.cta-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.cta-box h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-white {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-white:hover {
    background: var(--accent-orange);
    color: white;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid white;
    transition: var(--transition);
}

.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

/* Workshop Grid */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.workshop-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.workshop-card:hover {
    transform: translateY(-10px);
}

.workshop-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workshop-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-orange);
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    min-width: 60px;
}

.workshop-date span {
    display: block;
}

.workshop-date span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
}

.workshop-content {
    padding: 1.5rem;
}

.workshop-details {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Upcoming Workshops */
.upcoming-workshop {
    display: flex;
    gap: 2rem;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.workshop-date-large {
    min-width: 100px;
    text-align: center;
    background: var(--accent-orange);
    color: white;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workshop-date-large .day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.workshop-date-large .month {
    font-size: 1.2rem;
}

.upcoming-workshop-content {
    flex: 1;
}

.workshop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0;
    color: #666;
}

.btn-register {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-register:hover {
    background: var(--dark-blue);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    margin-bottom: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Diabetes Types */
.diabetes-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.diabetes-type {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.type-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.type-icon i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Symptoms & Diagnosis Lists */
.symptoms-list,
.diagnosis-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.symptoms-list li,
.diagnosis-list li {
    margin-bottom: 0.8rem;
    display:block;
    align-items:lex-start;
    gap: 0.8rem;
    text-align: left;

}

.symptoms-list li i,
.diagnosis-list li i {
    color: var(--accent-orange);
    margin-top: 0.3rem;
}

/* Treatment Methods */
.treatment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.treatment-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.treatment-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.treatment-icon i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.tech-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.tech-image {
    height: 250px;
    overflow: hidden;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-content {
    padding: 2rem;
}

/* Life with Diabetes */
.life-with-diabetes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.life-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.life-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.life-icon i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Myths & Facts */
.myths-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.myth-fact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.myth,
.fact {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.myth {
    background: #fff1f1;
}

.fact {
    background: #f1fff1;
}

.myth h3,
.fact h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.myth h3 i {
    color: #ff4d4d;
}

.fact h3 i {
    color: #4dff4d;
}

/* Carb Counting Basics */
.carb-counting-basics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.basics-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.basics-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.basics-icon i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Carb Counting Steps */
.carb-counting-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    position: relative;
    padding-left: 5rem;
}

.step-number {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--accent-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Carb Tables */
.carb-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.carb-table {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.carb-table h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.carb-table table {
    width: 100%;
    border-collapse: collapse;
}

.carb-table th,
.carb-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.carb-table th {
    background: var(--light-blue);
    font-weight: 600;
}

/* Healthy Eating Tips */
.healthy-eating-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tip-icon i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Meal Plans */
.meal-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.meal-plan {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.meal {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.meal:last-child {
    border-bottom: none;
}

.meal h4 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.meal-items {
    list-style: none;
    padding-left: 1.5rem;
}

.meal-items li {
    margin-bottom: 0.5rem;
}

.meal-items li strong {
    color: var(--accent-orange);
}

/* App Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.app-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-10px);
}

.app-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.app-icon i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.app-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-features span i {
    color: var(--accent-teal);
}

.app-link {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.app-link:hover {
    background: var(--dark-blue);
}

/* FAQ Accordion */
.faq-accordion {
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: var(--gradient-blue);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-orange);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-column p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-column .social-icons {
    margin-top: 1.5rem;
}

.footer-zakljucak {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: #777;
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter-form button {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #ff8c1a;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a.footer-email {
    color: white;
    text-decoration: underline;
    font-weight: 400;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-bottom a.footer-email:hover {
    color: var(--accent-orange);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: white;
}

.izradio {
    font-size: 0.65rem;
    color: rgb(255, 255, 255);
    opacity: 0.9;
}

/* Contact Form Section */
.kontakt-form-section {
    padding: 5rem 2rem;
    background-color: white;
}

.kontakt-header {
    text-align: center;
    margin-bottom: 3rem;
}

.kontakt-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: box-shadow 0.3s ease;
}

.kontakt-form-wrapper:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.container-kontakt {
    max-width: 1000px;
    margin: 0 auto;
    display: flexbox;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

/* GI Tables */
.gi-tables-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.gi-table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.gi-table-container-green h3 {
    background: #4CAF50;
    color: white;
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
}

.gi-table-container-yellow h3 {
    background: #ffd900;
    color: rgb(26, 22, 22);
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
}

.gi-table-container-red h3 {
    background: #ff0101;
    color: white;
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
}

/* Factor List */
.factor-list-corrected {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}

.factor-list-corrected li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 5px;
    border-left: 5px solid var(--accent-teal);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.factor-list-corrected li i {
    font-size: 1.2rem;
    color: var(--accent-teal);
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.15em;
    width: 20px;
    text-align: center;
}

.factor-list-corrected li div {
    flex-grow: 1;
    text-align: left;
    line-height: 1.6;
    color: #333;
}

.factor-list-corrected li div strong {
    font-weight: 600;
    color: var(--dark-blue);
    margin-right: 0.4em;
}

/* Benefits & Limitations Section */
.benefits-limitations-section h4 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-blue);
    display: flex;
    align-items: center;
}

.benefits-limitations-section h4 i {
    margin-right: 0.8rem;
    font-size: 1.3rem;
}

.benefits-limitations-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.benefits-limitations-section ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1.2rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
}

.benefits-limitations-section ul li i {
    font-size: 1rem;
    margin-right: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.2em;
    width: 18px;
    text-align: center;
}

.benefits-limitations-section ul li div {
    flex-grow: 1;
    text-align: left;
    line-height: 1.65;
    color: #333;
}

.benefits-limitations-section ul li div strong {
    font-weight: 600;
    color: var(--dark-blue);
    margin-right: 0.4em;
}

.benefits-limitations-section .feature-list li {
    border-left: 5px solid #4CAF50;
}

.benefits-limitations-section .feature-list li i {
    color: #4CAF50;
}

.benefits-limitations-section .symptoms-list li {
    border-left: 5px solid #F44336;
}

.benefits-limitations-section .symptoms-list li i {
    color: #F44336;
}

.benefits-limitations-section .conclusion-paragraph {
    margin-top: 2.5rem;
    text-align: left;
    font-size: 1.1rem;
    background-color: var(--light-blue);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-blue);
}

/* GI Lists */
.gi-lists-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    overflow-x: hidden;
}

.gi-list-category {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gi-category-title {
    margin-bottom: 1rem;
}

.gi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gi-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.gi-list li:last-child {
    border-bottom: none;
}

.gi-list .gi-value {
    font-weight: bold;
    margin-left: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
    min-width: 40px;
}

.gi-category-title i {
    margin-right: 8px;
    vertical-align: middle;
}

.gi-list li span:first-child {
    flex: 1;
    min-width: 60%;
    padding-right: 0.5rem;
    word-break: break-word;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-gallery>div {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
}

.image-gallery>div:hover {
    transform: scale(1.03);
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.image-gallery img:hover {
    opacity: 0.9;
}

.image-gallery .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    font-size: 14px;
    text-align: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

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

.modal-content,
.close {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

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


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* GI Section */
.gi-section {
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.gi-bg-light {
    background-color: #f8f9fa;
}

.gi-container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.gi-heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.gi-notice {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #555;
    background-color: #f0f0f0;
    padding: 0.75rem;
    border-radius: 4px;
}

.gi-notice-small {
    font-size: 0.85rem;
    margin-top: -0.5rem;
}

.gi-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.gi-category {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.gi-low {
    border-top: 5px solid #4CAF50;
}

.gi-medium {
    border-top: 5px solid #FFC107;
}

.gi-high {
    border-top: 5px solid #F44336;
}

.gi-category-heading {
    padding: 1rem;
    margin: 0;
    color: #333;
    font-size: 1.25rem;
    background-color: #f9f9f9;
}

.gi-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #eee;
}

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

.gi-food {
    flex: 1;
    padding-right: 1rem;
}

.gi-number {
    font-weight: bold;
    color: #333;
    min-width: 50px;
    text-align: right;
}

/* CGM Section */
.cgm-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.cgm-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-teal);
}

.sensor-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: var(--light-blue);
    transition: var(--transition);
}

.sensor-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sensor-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    height: 180px;
    margin: 1.5rem auto;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sensor-image-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sensor-image-placeholder:hover {
    background: linear-gradient(135deg, #dcdcdc, #efefef);
}

.sensor-features {
    list-style-type: none;
    padding-left: 0;
}

.sensor-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
}

.sensor-features li::before {
    content: "•";
    color: var(--accent-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

/* Complications Section */
.container-kompilikacije {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: justify;
}

.section-kompilikacije {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.section-kompilikacije h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-kompilikacije h3 {
    color: var(--dark-blue);
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem;
}

.section-kompilikacije h4 {
    font-size: 1.3rem;
    margin: 1.2rem 0 0.8rem;
}

.section-kompilikacije p,
.section-kompilikacije li {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 1rem;
}
.section-kompilikacije ul {
    list-style: none;
    padding-left: 0;
}

.section-kompilikacije ul,
.section-kompilikacije ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.warning {
    background-color: #e6b096;
    border-left: 4px solid #bc1a0f;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.tip {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.prevention {
    background-color: #e6f7ff;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.prevention ul {
    list-style:square;
    padding-left: 0;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.komplikacija {
    margin-bottom: 2.5rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.prevention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
/* ===== Responsive Adjustments ===== *//* ===== Varijable (pretpostavljam da su definirane, npr. :root) ===== */

/* ===== Varijable (pretpostavljam da su definirane, npr. :root) ===== */
/*
:root {
    --dark-blue: #0a2351; /* Primjer vrijednosti */
/* --light-blue: #f0f8ff; /* Primjer vrijednosti */
/* --gradient-blue: linear-gradient(to right, #0a2351, #1a4081); /* Primjer vrijednosti */
/* }
*/

/* ===== Desktop Dropdown Styles (Dodano) ===== */
.dropdown {
    position: relative; /* Za pozicioniranje .dropdown-menu */
}

.dropdown-menu {
    /* Zadano stanje: skriveno, apsolutno pozicionirano za desktop */
    position: absolute;
    top: 100%; /* Pozicija ispod roditeljskog elementa */
    left: 0;
    background-color: var(--dark-blue); /* Prilagodite temi ako je potrebno */
    min-width: 220px; /* Primjer širine */
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 1001; /* Jedan više od #nav-menu da bude iznad ako se preklapaju */

    /* Animacija: Skriveno stanje */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); /* Počinje malo niže */
    max-height: 0; /* Korištenje max-height za efekt klizanja */
    overflow: hidden;
    
    /* Tranzicija za animaciju */
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, max-height 0.25s ease-in-out, visibility 0s linear 0.25s;
}

.dropdown-menu a { /* Stilovi za linkove unutar desktop dropdowna */
    display: block;
    padding: 0.75rem 1.25rem;
    color: white; /* Pretpostavljajući tamnu pozadinu */
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Prikazivanje desktop dropdowna */
/* Može biti pokrenuto JS-om dodavanjem .active klase ili CSS :hover */
.dropdown:hover > .dropdown-menu,
.dropdown.active > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px; /* Dovoljno veliko za prikaz sadržaja */
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, max-height 0.25s ease-in-out, visibility 0s linear 0s;
}

/* Rotacija strelice za desktop - ako je primjenjivo i ako koristite istu strukturu */
.dropdown > a i.fa-chevron-down {
    transition: transform 0.3s ease;
}
.dropdown.active > a i.fa-chevron-down {
    transform: rotate(180deg);
}


/* ===== Responsive Adjustments ===== */
@media (max-width: 1200px) {
    /* Layout adjustments */
    .hero-content {
        padding: 0 2rem;
    }
    
    .gi-tables-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    /* Hero section */
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text,
    .hero-image {
        flex: none;
        width: 100%;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }

    /* Columns layout */
    .two-columns {
        grid-template-columns: 1fr;
    }
    
    .column-text,
    .column-image {
        text-align: center;
    }

    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        width: 100%;
        text-align: left;
        padding-left: 60px;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0;
    }

    /* Cards and elements */
    .myth-fact {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        width: 120px;
        height: 120px;
    }
    
    .tech-image {
        height: 220px;
    }
    
    .gi-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .gi-category {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    /* Global styles */
    body {
        padding-top: 80px;
    }
    
    .top-contact-bar {
        display: none;
    }
    
    .fixed-header {
        top: 0;
        padding: 0.8rem 1rem;
    }

    /* Mobile navigation */
    .hamburger {
        display: block;
        transition: transform 0.3s ease;
    }
    
    #nav-menu {
        position: absolute;
        top: 100%; /* U odnosu na .fixed-header */
        left: 0;
        width: 100%;
        background: var(--dark-blue);
        flex-direction: column;
        gap: 0.5rem; /* Razmak između stavki menija */
        padding-left: 1rem; /* Zadržavamo horizontalni padding */
        padding-right: 1rem; /* Zadržavamo horizontalni padding */
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        
        display: flex; 
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding-top: 0; 
        padding-bottom: 0; 
        transition: opacity 0.3s ease, max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease, visibility 0s ease 0.3s;
    }
    
    #nav-menu.active {
        opacity: 1;
        visibility: visible;
        max-height: 70vh; 
        padding-top: 1rem; 
        padding-bottom: 1rem; 
        transition: opacity 0.3s ease, max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease, visibility 0s ease 0s;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        padding: 0.8rem;
        text-align: center;
        color: white; /* OSNOVNA BOJA TEKSTA ZA SVE NAV LINKOVE U MOBILNOM PRIKAZU */
        display: block; /* Bolje poravnanje i ponašanje paddinga */
        text-decoration: none; /* Uklanja podcrtavanje ako postoji */
    }

    /* Dodatno pravilo za link koji otvara dropdown kada je aktivan */
    .dropdown.active > a {
        color: white !important; /* OSIGURAVA DA TEKST TOG LINKA OSTANE BIJEL */
        /* Opcionalno: Možete dodati blagu promjenu pozadine ako želite dodatno istaknuti aktivni toggle link */
        /* background-color: rgba(255, 255, 255, 0.03); */
    }
    
    /* Dropdown menu (ugniježđeni unutar #nav-menu) */
    .dropdown .dropdown-menu { 
        background-color: rgba(255, 255, 255, 0.07) !important; /* ISTAKNUTA POZADINA ZA MOBILNI DROPDOWN */
        width: 100% !important;
        position: static !important; 
        box-shadow: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1); 

        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        margin-top: 0; 
        transition: opacity 0.3s ease-out, max-height 0.3s ease-out, margin-top 0.3s ease-out, visibility 0s ease-out 0.3s;
    }

    .dropdown.active > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px; 
        margin-top: 0.5rem; 
        transition: opacity 0.3s ease-in, max-height 0.3s ease-in, margin-top 0.3s ease-in, visibility 0s ease-in 0s;
    }
    
    .dropdown-menu a {
        color: white !important; 
        padding: 0.8rem 1rem;
        display: block;
        transition: background-color 0.3s ease;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
        color: white !important;
    }

    .dropdown-menu a:active,
    .dropdown-menu a:focus {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
    }

    .dropdown > a i.fa-chevron-down {
        transition: transform 0.3s ease;
    }

    .dropdown.active > a i.fa-chevron-down {
        transform: rotate(180deg);
    }

    /* Logo and branding */
    .logo img {
        width: 60px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        max-width: 200px;
    }

    /* Typography */
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }

    /* Gallery and images */
    .gallery-item {
        height: 180px;
    }
    
    .tech-image {
        height: 200px;
    }
    
    .workshop-image {
        height: 180px;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .rounded-image {
        max-height: 300px;
    }

    /* Forms and contact */
    .kontakt-form-wrapper {
        max-width: 100%;
    }
    
    .kontakt-header {
        flex-direction: column;
        align-items: center;
    }

    /* Tables */
    .tech-feature-table,
    .tech-feature-table tbody,
    .tech-feature-table tr,
    .tech-feature-table td {
        display: block;
        width: 100%;
    }
    
    .tech-feature-table td.feature-title {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    /* GI lists */
    .gi-lists-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Header and navigation */
    .fixed-header {
        padding: 0.5rem;
    }
    
    body {
        padding-top: 70px;
    }
    
    .logo img {
        width: 50px;
    }
    
    .logo-text {
        font-size: 0.8rem;
        max-width: 150px;
    }
    
    /* Osnovni stil za nav linkove na manjim ekranima, boja je već definirana gore kao bijela */
    nav ul li a { 
        padding: 0.6rem; /* Padding se smanjuje, ali boja ostaje bijela */
    }
    
    /* Osiguravamo da padding za linkove unutar dropdown menija ostane konzistentan */
    @media (max-width: 768px) { 
        .dropdown-menu a {
            padding: 0.8rem 1rem !important; 
        }
    }


    /* Typography */
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }

    /* Buttons */
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    /* Cards */
    .highlight-card {
        padding: 1.5rem 1rem;
    }
    
    .counter-container {
        font-size: 2.5rem;
    }

    /* Images */
    .gallery-item {
        height: 120px;
    }
    
    .tech-image {
        height: 180px;
    }
    
    .workshop-image {
        height: 150px;
    }
    
    .member-image {
        width: 80px;
        height: 80px;
    }
    
    .rounded-image {
        max-height: 250px;
    }
    
    .partner-logo {
        height: 80px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }

    /* Layout */
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
    
    .kontakt-form-wrapper {
        padding: 1.5rem;
    }

    /* Special sections */
    .content-section.bg-light {
        background-color: var(--light-blue);
    }
    
    .content-section.bg-primary {
        background: var(--gradient-blue);
        color: white;
    }
    
    .pump-image-placeholder {
        height: 150px;
    }
}


/* Food Group List Styles*/
.food-group-list {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}
.food-group-list ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.food-group-list ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #4CAF50;
    /* Zelena boja za food-group-list */
}

.food-group-list ul li i {
    color: var(--dark-blue);
    /* Boja ikona */
    font-size: 1.2rem;
    margin-right: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.15em;
    width: 20px;
    text-align: center;
}

.food-group-list ul li div {
    flex-grow: 1;
    text-align: left;
    line-height: 1.6;
    color: #333;
}

.food-group-list ul li div strong {
    font-weight: 600;
    color: var(--dark-blue);
    margin-right: 0.4em;
}

/* Insulin Pumps Section Styles */
.pump-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.pump-header {
    margin-bottom: 3rem;
    text-align: center;
}

.pump-header h2 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.price-disclaimer {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 1.2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}

.pump-section {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.pump-section:last-child {
    border-bottom: none;
}

.pump-section h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-blue);
}

.pump-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 50px;
    margin: 1.5rem auto;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #666;
    font-style: italic;
    box-shadow: var(--box-shadow);
}

.pump-features {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.pump-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.6;
}

.pump-features li::before {
    content: "•";
    color: var(--accent-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.pump-features strong {
    color: var(--dark-blue);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .pump-container {
        padding: 1.5rem;
    }

    .pump-section h3 {
        font-size: 1.6rem;
    }
}



.explanation-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
}

.explanation-note h3 {
    color: #0056b3;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 15px;
    /* Dodaj razmak ispod glavnog naslova */
}

.explanation-note h4 {
    color: #d63384;
    /* Ili druga boja po želji */
    margin-top: 20px;
    margin-bottom: 10px;
}

.explanation-note ul,
.explanation-note ol {
    margin-left: 20px;
    margin-bottom: 15px;
    /* Dodaj razmak ispod lista */
}

/* News Page Specific Styles */
.current-date {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li i {
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    width: 1.5rem;
    text-align: center;
}

.rounded-image-container {
    margin: 2rem 0;
    text-align: center;
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    text-align: center;
}

.image-caption a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.image-caption a:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

.disclaimer-box {
    background-color: var(--light-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 3rem;
    border-left: 4px solid var(--accent-orange);
    display: flex;
    gap: 1rem;
}

.disclaimer-box i {
    color: var(--accent-orange);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.disclaimer-box p {
    margin: 0;
}

/* Responsive Adjustments */



/* Poboljšani prikaz lista */
.tech-feature-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tech-feature-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.tech-feature-table tr:hover {
    background-color: #f5f9ff;
}

.tech-feature-table td {
    padding: 16px;
    vertical-align: top;
}

.tech-feature-table td.feature-title {
    width: 30%;
    font-weight: bold;
    color: #0056b3;
    background-color: #f0f7ff;
    border-right: 1px solid #e0e0e0;
}

.tech-feature-table td.feature-description {
    width: 70%;
}

.tech-feature-table i {
    margin-right: 10px;
    color: #0056b3;
}

/* Responsive design */


/* Css za inzulinske pumpe */
.pump-gallery {
    display: flex;
    justify-content: center;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.pump-gallery>div {
    width: 250px;
    /* Fiksna širina */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pump-gallery>div:hover {
    transform: scale(1.03);
}

.pump-gallery img,
.sensor-section img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;

}

.pump-gallery img:hover,
.sensor-section img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.pump-gallery .caption {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 14px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.pump-image-placeholder {
    margin-top: 0;
    padding: px;
    text-align: center;
    font-style: italic;
    color: #555;
}

.pump-details-link {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    border-radius: 0 0 15px 15px;
    transition: background 0.3s ease;
}

.pump-details-link:hover {
    text-decoration: underline;
}

.pump-details-link:hover {
    color: #004499;
    /* Tamnija plava na hover */
    text-decoration: underline;
}

.pump-details-link:visited {
    color: #6600cc;
    /* Ljubičasta boja za posjećene linkove */
}

.pump-details-link:visited:hover {
    color: #4d0099;
    /* Tamnija ljubičasta na hover */
}

.formula {
    background-color: #e9ecef;
    border-color: #007bff;
}

.example {
    background-color: #f8f9fa;
    border-color: #28a745;
}

.formula-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.note {
    font-size: 0.9em;
    color: #306da3;
    font-style: italic;
}

th,
td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.highlight-box {
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border-left: 4px solid;
    border-color: #49a0e7;
}

.tip {
    border-color: #9b59b6;
    background-color: #f5eef8;
}

.disclaimer {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px 20px;
    margin: 25px 0;
    font-size: 0.95em;
}

.disclaimer strong {
    color: #856404;
}

/* Diabetes Calculator Styles */
.diabetes-calculator {
    padding: 20px;
    background-color: #fdfdfd;
    border-radius: 8px;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 900px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

.calculator {
    background-color: #eaf2f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 5px solid #3498db;
}

.form-group {
    margin-bottom: 18px;
}

.diabetes-calculator label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c3e50;
}

.diabetes-calculator input[type="number"],
.diabetes-calculator select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.diabetes-calculator button {
    background-color: #2980b9;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    width: 100%;
    transition: background-color 0.3s;
}

.diabetes-calculator button:hover {
    background-color: #3498db;
}

.result {
    background-color: #e8f8f0;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 5px solid #2ecc71;
    font-size: 17px;
}

.result-title {
    font-weight: 600;
    color: #16a085;
    margin-bottom: 10px;
}

.negative-correction {
    color: #ff1900;
    font-weight: 600;
}

.warning {
    background-color: #fcf3cf;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    margin-top: 25px;
    border-left: 5px solid #ffecb5;
    font-size: 0.9rem;
}

.warning strong {
    font-weight: bold;
}

.food-selection-section {
    margin-top: 25px;
    padding: 15px;
    background-color: #f0f4f8;
    border-radius: 6px;
    border: 1px solid #d1d9e0;
}

#selected-food-items-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 10px;
    overflow-y: auto;
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

#selected-food-items-list li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

.nutrition-summary {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.nutrient-bars {
    margin-top: 10px;
}

.nutrient-bar {
    margin-bottom: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-label {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 500;
    z-index: 1;
}

.bar-fill {
    height: 24px;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.carbs-bar {
    background-color: #3498db;
}

.fiber-bar {
    background-color: #27ae60;
}

.fat-bar {
    background-color: #e74c3c;
}

.protein-bar {
    background-color: #f1c40f;
}
.nutrient-totals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.nutrient-item {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease-in-out;
}

.nutrient-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nutrient-item label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.nutrient-item input {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: right;
    transition: border-color 0.2s ease-in-out;
}

.nutrient-item input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.dose-highlight {
    font-size: 24px;
    font-weight: 400;
    color: #2e7d32; /* Zdravstvena zelena */
    text-align: center;
    margin: 20px 0;
    padding: 16px;
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}


.insulin-dose {
    font-size: 24px;
    font-weight: 500;
    color: #d32f2f; /* Moderna medicinska crvena */
    margin: 16px 0;
    text-align: center;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #ffcdd2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    letter-spacing: 0.8px;
}



.notes-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.notes-section h3 {
    color: #2980b9;
    margin-bottom: 15px;
}

.notes-section ul {
    padding-left: 20px;
}

.notes-section li {
    margin-bottom: 10px;
}

.diabetes-calculator button.reset-btn {
    background-color: #e74c3c;
}

.diabetes-calculator button.reset-btn:hover {
    background-color: #c0392b;
}

.diabetes-calculator button.add-food-btn {
    background-color: #27ae60;
    margin-top: 5px;
}

.diabetes-calculator button.add-food-btn:hover {
    background-color: #229954;
}

@media (max-width: 600px) {
    .container-narrow {
        padding: 15px;
        margin: 10px;
    }

    .calculator {
        padding: 15px;
    }
}


.highlight-btn {
  background-color: #0066cc;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 0 0 rgba(0, 102, 204, 0.5);
  animation: pulse 2s infinite; /* Pulsirajuća animacija */
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0, 102, 204, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0); }
}

.highlight-btn:hover {
  animation: none; /* Zaustavi animaciju na hover */
  background-color: #005bb5;
}

/* Donacije.html */

    .donation-header {
      background: linear-gradient(to right, #00509e, #00aaff);
      color: white;
      padding: 60px 20px;
      text-align: center;
    }

    .donation-header h1 {
      margin-bottom: 10px;
      font-size: 36px;
    }

    .donation-content {
      padding: 40px 20px;
      max-width: 900px;
      margin: 0 auto;
    }

    .donation-section {
      background-color: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      margin-bottom: 30px;
    }

    .donation-section h2 {
      margin-top: 0;
      color: #00509e;
    }

    .bank-details, .paypal-details {
      background-color: #f0f4f8;
      padding: 20px;
      border-radius: 8px;
      font-size: 16px;
      line-height: 1.6;
    }

    .donate-button {
      display: inline-block;
      margin-top: 20px;
      background-color: #ff6600;
      color: white;
      padding: 12px 24px;
      border: none;
      border-radius: 5px;
      text-decoration: none;
      font-size: 16px;
    }

    .donate-button:hover {
      background-color: #e05500;
    }
/* ZA Doniraj */
    .cta-btn {
  background-color: #ff6600;
  color: white !important;
  padding: 8px 15px;
  border-radius: 5px;
  margin-left: 15px;
}


.chart-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.legend-color {
    width: 20px;
    height: 3px;
    margin-right: 8px;
}

.description {
    background-color: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    line-height: 1.7;
}

.graf-spremnik {
    position: relative; 
    width: 90%;
    height: 400px;
    margin: 20px auto;
}


/* BMI calculator */

.bmi-info-container{
    display: block;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f0f8ff;  
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);   
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}
.bmi-calculator { 
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.bmi-input-container { 
    width: 48%;
    text-align: center;
    position: relative;
}
.bmi-arrow { 
    width: 24px;
    height: 24px;
    background-color: #5bc0de;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 auto;
    font-weight: bold;
    font-size: 16px;
    user-select: none;
}
.bmi-arrow.up { 
    margin-bottom: 5px;
}
.bmi-arrow.down {
    margin-top: 5px;
}
.bmi-input-box {
    border: 1px solid #ddd;
    padding: 5px;
    font-size: 30px;
    color: #5bc0de;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-weight: bold;
    cursor: text;
    outline: none;
    background-color: #fff;
}
.bmi-input-box:focus {
    border-color: #5bc0de;
    box-shadow: 0 0 3px rgba(91, 192, 222, 0.5);
}
.bmi-input-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 3px;
}

.bmi-result-display-area { 
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
}
/* ID-evi poput #bmiValueDisplay ostaju nepromijenjeni jer su za JS, ne za opće stiliziranje klasa */
#bmiValueDisplay {
    font-size: 36px;
    font-weight: bold;
    color: #5bc0de;
    margin: 4px 0 8px 0;
}
#bmiCategoryMessage {
    font-size: 14px;
}

.bmi-risk-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}
.bmi-risk-box { 
    display: flex;
    margin-top: 10px;
    align-items: flex-start;
}
.bmi-risk-bmi-value { /* Ranije .risk-bmi, precizniji naziv */
    width: 80px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 32px;
    color: #5bc0de;
    text-align: center;
    font-weight: bold;
    margin-right: 15px;
    background-color: #fff;
    flex-shrink: 0;
    display: none; /* DODANO: Ovo će sakriti element */
}
.bmi-risk-options { 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}
.bmi-risk-row { 
    margin-bottom: 15px;
}
.bmi-risk-row:last-child {
    margin-bottom: 0;
}
.bmi-risk-label { 
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 14px;
    display: block;
}
.bmi-radio-group { 
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bmi-radio-option { 
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    font-size: 13px;
}
.bmi-radio-option input {
    margin-right: 6px;
    cursor: pointer;
}
.bmi-radio-option label {
    cursor: pointer;
}

/* Stil za input kontejner opsega struka - sada s prefiksom */
.bmi-waist-input-container .bmi-input-box { 
    font-size: 28px;
    max-width: 15%;
}
 .bmi-waist-input-container .bmi-input-label { 
    font-size: 12px;
}

.bmi-risk-message-box {
    background-color: #f0f0f0;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

.bmi-recommendation { 
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: #e9e9e9;
    font-size: 13px;
    border: 1px solid #dcdcdc;
    text-align: center;
}