/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00b050;
    --primary-dark: #009040;
    --primary-light: #00d060;
    --secondary-color: #00b050;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.logo:hover {
    text-decoration: none;
    transform: scale(1.02);
}

.logo img {
    height: 70px;
    width: auto;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
}

.header-contact {
    display: none;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link svg {
    stroke-width: 2;
}

.nav {
    padding: 1rem 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Desktop header layout: logo + nav in first row, contact below divider */
@media (min-width: 969px) {
    .header {
        border-bottom: 1px solid var(--border-color);
    }

    .header .container {
        display: grid;
        grid-template-columns: minmax(260px, 360px) 1fr minmax(260px, 360px);
        grid-template-areas:
            "logo nav spacer";
        align-items: center;
        column-gap: 2rem;
        max-width: 1320px;
        padding: 0 30px;
    }

    .header .container::after {
        content: "";
        grid-area: spacer;
    }

    .header-top {
        display: contents;
        border-bottom: none;
    }

    .logo {
        grid-area: logo;
        padding: 1rem 0 1.2rem;
    }

    .nav {
        grid-area: nav;
        padding: 0;
        justify-self: center;
    }

    .nav-menu {
        gap: 1.5rem;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .nav-link {
        white-space: nowrap;
    }

}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        url("images/bysterec/LekPedagBysterec_202305_1.jpg") left center / 50% 100% no-repeat,
        url("images/parnica/Lek%C3%A1re%C5%88%20PEDAG%20P%C3%A1rnica%20outside%202025.jpg") right center / 50% 100% no-repeat,
        linear-gradient(135deg, #00b050 0%, #009040 100%);
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    color: white;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #00b050 0%, #009040 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about.about-full .about-content {
    grid-template-columns: 1fr;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.about-text h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.values-list {
    list-style: none;
    margin-top: 1.5rem;
}

.values-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.values-list strong {
    color: var(--text-dark);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 1rem;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.image-placeholder-small {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Services Section */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Products Section */
.products {
    background: var(--bg-white);
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.product-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background: var(--bg-light);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: var(--primary-dark);
}

/* Loyalty Section */
.loyalty {
    background: var(--bg-white);
    color: var(--text-dark);
}

.loyalty-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.loyalty-text {
    text-align: center;
    width: 100%;
}

.loyalty-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.loyalty-text > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.loyalty-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 900px;
}

.loyalty-detail-card {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.loyalty-detail-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.loyalty-detail-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.loyalty-highlight {
    font-size: 1.125rem !important;
    font-weight: 600;
    margin-bottom: 1rem !important;
    text-align: center;
}

.loyalty-benefits {
    list-style: none;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.loyalty-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

.loyalty-benefits svg {
    flex-shrink: 0;
    stroke-width: 3;
}

.loyalty-card {
    display: flex;
    justify-content: center;
}

.card-design {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-xl);
}

.card-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.card-header span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.card-body {
    margin-top: 3rem;
}

.card-number {
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-family: 'Courier New', monospace;
}

.card-holder {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Articles Section */
.articles {
    background: var(--bg-light);
}

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

.article-card {
    background: var(--bg-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    height: 200px;
    background: var(--bg-light);
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.article-content {
    padding: 1.5rem;
}

.article-date {
    font-size: 0.875rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: var(--primary-dark);
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.8;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    stroke-width: 2;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary-dark);
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Map Section */
.map-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.map-container {
    margin-top: 2rem;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.map-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
    position: relative;
}

.map-wrapper h4 {
    padding: 1.25rem;
    margin: 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 1rem 1rem 0 0;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.location-card {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.location-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.location-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.location-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.location-card svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    stroke-width: 2;
    color: var(--primary-color);
}

.location-card .btn {
    margin-top: 0.75rem;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

/* Branches Section */
.branches {
    padding: 4rem 0;
}

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

.branch-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.branch-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.branch-image-carousel {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
    border-radius: 1rem 1rem 0 0;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.branch-image-carousel .image-placeholder {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: linear-gradient(135deg, rgba(0, 176, 80, 0.15), rgba(0, 176, 80, 0.25));
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.branch-image-carousel .image-placeholder svg {
    color: var(--primary-color);
    opacity: 0.5;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 176, 80, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

.branch-info {
    padding: 2rem;
}

.branch-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.branch-info p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.8;
}

.branch-info svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    stroke-width: 2;
    color: var(--primary-color);
}

.branch-info .btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--bg-white);
    color: var(--text-dark);
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
}

.footer-section p {
    color: var(--text-dark);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.footer-section ul li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    background: var(--bg-white);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
    }

    .header-contact {
        display: none;
    }

    .header-top {
        padding: 0.75rem 0;
    }

    .logo img {
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        /* Avoid squeezed split background on mobile/tablet */
        background:
            url("images/bysterec/LekPedagBysterec_202305_1.jpg") center center / cover no-repeat,
            linear-gradient(135deg, #00b050 0%, #009040 100%);
        min-height: 460px;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-content,
    .loyalty-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-logo {
        max-height: 300px;
    }

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

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .loyalty-content {
        grid-template-columns: 1fr;
    }
    
    .loyalty-details {
        grid-template-columns: 1fr;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper iframe {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        height: 50px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .page-header {
        padding: 1.5rem 0;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .hero {
        min-height: 400px;
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-scroll {
        bottom: 1rem;
    }

    .features-grid,
    .services-grid,
    .products-grid,
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card,
    .service-card,
    .article-card {
        padding: 1.25rem;
    }

    .feature-card {
        text-align: center;
    }

    .feature-icon,
    .service-icon {
        width: 48px;
        height: 48px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        align-items: center;
    }

    .feature-icon i,
    .service-icon i {
        display: block;
        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .about-text h3 {
        font-size: 1.25rem;
    }

    .about-logo {
        max-height: 250px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .loyalty-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .loyalty-detail-card {
        padding: 1.5rem;
    }

    .loyalty-text h2 {
        font-size: 2rem;
    }

    .branch-card {
        margin-bottom: 2rem;
    }

    .branch-info {
        padding: 1.5rem;
    }

    .branch-info h3 {
        font-size: 1.25rem;
    }

    .map-wrapper iframe {
        height: 260px;
    }

    .map-locations {
        grid-template-columns: 1fr;
    }

    .location-card {
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        margin-top: 2rem;
    }

    .contact-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-item h3 {
        font-size: 1.25rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    .form-group label {
        font-size: 0.9375rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }

    .social-links a svg {
        width: 18px;
        height: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .article-image {
        height: 180px;
    }

    .article-content h3 {
        font-size: 1.125rem;
    }

    .article-content p {
        font-size: 0.875rem;
    }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .page-header {
        padding: 1.25rem 0;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .feature-icon,
    .service-icon {
        width: 44px;
        height: 44px;
    }

    .map-wrapper iframe {
        height: 220px;
    }

    .about-logo {
        max-height: 200px;
    }

    .contact-item p {
        font-size: 0.9375rem;
    }

    .footer-bottom p {
        font-size: 0.875rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: 350px;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

