: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;
}

/* 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(--dark-blue);
}

.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: 1200px;
    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);
}

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(--primary-blue);
}

.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: calc(4rem + 80px) 2rem 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.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: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.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, 
.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;
}

.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 */
@media (max-width: 1200px) {
    .hero-content {
        padding: 0 2rem;
    }
    .gi-tables-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .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;
    }
    
    .two-columns {
        grid-template-columns: 1fr;
    }
    
    .column-text, .column-image {
        text-align: center;
    }
    
    .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;
        padding-right: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0;
    }
    
    .myth-fact {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        width: 120px;
        height: 120px;
    }
    
    .tech-image {
        height: 220px;
    }
    .two-columns {
        flex-direction: column;
        align-items: center;
    }

    .column-image {
        max-width: 100%;
        margin: 0 auto;
    }
    .gi-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .gi-category {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .top-contact-bar {
        display: none;
    }
    
    .fixed-header {
        top: 0;
        padding: 0.8rem 1rem;
    }
    
    .hamburger {
        display: block;
    }
    
    #nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-blue);
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        display: none;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        overflow-x: hidden;
    }
    
    #nav-menu.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        padding: 0.8rem;
        text-align: center;
        white-space: normal;
    }
    
    nav ul li a::after {
        display: none;
    }
    
    .dropdown-menu {
        background: rgba(255,255,255,0.1);
        width: 100% !important;
        position: static !important;
        box-shadow: none !important;
    }
    
    .dropdown-menu a {
        color: white;
        padding-left: 30px;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.2);
    }
    
    .logo img {
        width: 60px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        max-width: 200px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .upcoming-workshop {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .workshop-date-large {
        width: 100px;
    }
    
    .gallery-item {
        height: 180px;
    }

    .tech-image {
        height: 200px;
    }

    .workshop-image {
        height: 180px;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .rounded-image {
        max-height: 300px;
    }

    .two-columns {
        flex-direction: column;
        align-items: center;
    }

    .column-image {
        max-width: 100%;
        margin: 0 auto;
    }
    .kontakt-form-wrapper {
        max-width: 100%;
    }

    .kontakt-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1.4rem;
        text-align: center;
    }

    .kontakt-form {
        gap: 2rem;
    }

    .gi-lists-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .gi-heading {
        font-size: 1.75rem;
    }
    
    .gi-category {
        min-width: 100%;
    }
    
    .gi-item {
        padding: 0.5rem 0.75rem;
    }
    
    .gi-food {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .gi-lists-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .fixed-header {
        padding: 0.5rem;
    }
    
    body {
        padding-top: 70px;
    }
    
    .logo img {
        width: 50px;
    }
    
    .logo-text {
        font-size: 0.8rem;
        max-width: 150px;
    }
    
    #nav-menu {
        padding: 0.5rem;
    }
    
    nav ul li a {
        padding: 0.6rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .highlight-card {
        padding: 1.5rem 1rem;
    }
    
    .counter-container {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .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;
    }
    .kontakt-form-wrapper {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    .image-gallery {
        grid-template-columns: 1fr;
    }
    .gi-item {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    .content-section {
        padding: 2rem 1rem;
    }
    
    .content-section.bg-light {
        background-color: var(--light-blue);
    }
    
    .content-section.bg-primary {
        background: var(--gradient-blue);
        color: white;
    }
}

.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;
    }
}

@media (max-width: 768px) {
    .pump-container {
        padding: 1rem;
    }
    
    .pump-image-placeholder {
        height: 200px;
        max-width: 100%;
    }
    
    .price-disclaimer {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pump-section h3 {
        font-size: 1.4rem;
    }
    
    .pump-image-placeholder {
        height: 150px;
    }
    
    .pump-features li {
        font-size: 0.95rem;
    }
}

.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 */
@media (max-width: 768px) {
    .feature-list li {
        padding-left: 1.8rem;
        font-size: 0.95rem;
    }
    
    .disclaimer-box {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .current-date {
        text-align: center;
    }
    
    .feature-list li {
        padding-left: 1.5rem;
    }
    
    .feature-list li i {
        font-size: 0.9rem;
    }
}

 /* 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 */
@media (max-width: 768px) {
    .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;
        width: 100%;
    }
    
    .tech-feature-table td.feature-description {
        width: 100%;
    }
}

/* 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 */
}

/* BLOG TEST */

/* Blog Styles */
.blog-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.blog-post {
    flex: 2;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-header {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.blog-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-content {
    padding: 30px;
    line-height: 1.8;
    color: #34495e;
}

.blog-content h2 {
    margin: 30px 0 15px;
    color: #2c3e50;
    font-size: 1.5rem;
}

.blog-content h3 {
    margin: 25px 0 10px;
    color: #2c3e50;
    font-size: 1.2rem;
}

.blog-image-float-left {
    float: left;
    margin: 0 20px 15px 0;
    max-width: 50%;
    border-radius: 5px;
    overflow: hidden;
}

.blog-image-float-right {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 50%;
    border-radius: 5px;
    overflow: hidden;
}

.image-caption {
    font-size: 0.85rem;
    text-align: center;
    color: #7f8c8d;
    padding: 8px;
    background: #f8f9fa;
}

.warning-box {
    background: #fff8f8;
    border-left: 4px solid #e74c3c;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.warning-box h3 {
    color: #e74c3c;
    margin-top: 0;
}

.prevention-box {
    background: #f8fff8;
    border-left: 4px solid #27ae60;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.prevention-box h3 {
    color: #27ae60;
    margin-top: 0;
}

.blog-tags {
    margin: 30px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tags a {
    background: #ecf0f1;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #7f8c8d;
    transition: all 0.3s;
}

.blog-tags a:hover {
    background: #3498db;
    color: #fff;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #7f8c8d;
    transition: all 0.3s;
}

.social-share:hover {
    color: #fff;
}

.social-share:nth-child(2):hover { background: #3b5998; }
.social-share:nth-child(3):hover { background: #1da1f2; }
.social-share:nth-child(4):hover { background: #0077b5; }
.social-share:nth-child(5):hover { background: #25d366; }

/* Sidebar */
.blog-sidebar {
    flex: 1;
}

.sidebar-widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: 10px;
}

.sidebar-widget a {
    color: #34495e;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
}

.sidebar-widget a:hover {
    color: #3498db;
}

.sidebar-widget a span {
    color: #95a5a6;
}

.popular-post {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.popular-post h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.popular-post a {
    color: #2c3e50;
    text-decoration: none;
}

.popular-post a:hover h4 {
    color: #3498db;
}

.post-date {
    font-size: 0.8rem;
    color: #95a5a6;
}

.sidebar-newsletter input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sidebar-newsletter button {
    width: 100%;
    padding: 10px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.sidebar-newsletter button:hover {
    background: #2980b9;
}

/* Related Posts */
.related-posts {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.related-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-post h3 {
    margin: 15px 15px 10px;
    font-size: 1.1rem;
}

.related-post p {
    margin: 0 15px 15px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.related-post a {
    text-decoration: none;
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-container {
        flex-direction: column;
    }
    
    .blog-image-float-left,
    .blog-image-float-right {
        float: none;
        max-width: 100%;
        margin: 0 0 20px 0;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog END */