/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2ea3f2;
    --primary-dark: #2ea3f2;
    --secondary-color: #2C3E50;
    --accent-color: #E74C3C;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #F5F5F5;
    --white: #FFFFFF;
    --gray: #E0E0E0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #262626;
    line-height: 1.7;
    overflow-x: hidden;
    background: #FAFAFA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--primary-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(92, 184, 231, 0.8);
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    filter: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.3s;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link.active {
    font-weight: 800;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.arrow {
    font-size: 10px;
    margin-left: 3px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 75px;
    background-image: url('images/uMR.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    color: var(--white);
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .line0,
.hero-title .line1,
.hero-title .line2 {
    display: block;
}

.hero-title .line0 {
    font-size: 0.4em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* Particle canvas */
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
}

.btn-primary {
    background: #5CB8E7;
    color: white;
    box-shadow: 0 4px 15px rgba(92, 184, 231, 0.3);
}

.btn-primary:hover {
    background: #46a1d1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 184, 231, 0.4);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Page Header */
.page-header {
    padding: 200px 0 60px;
    background: var(--bg-light);
}

.page-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-header p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

/* ===== HOME PAGE SECTIONS ===== */

/* Home About Section */
.home-about-section {
    padding: 100px 0;
    background: var(--white);
    background-image: url('images/grid.png');
    background-position: center;
    background-repeat: no-repeat;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.home-about-content h2 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 6vh;
    color: #262626;
    margin-bottom: 30px;
    line-height: 1.2;
}

.home-about-content .content-box {
    margin-bottom: 30px;
}

.home-about-content .content-box p {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #474747;
    line-height: 1.8;
    margin-bottom: 15px;
}

.big-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Home MR Aparat Section */
.home-mr-section {
    padding: 100px 0;
    background: var(--bg-light);
    background-image: url('images/grid.png');
    background-position: center;
    background-repeat: no-repeat;
}

.home-mr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-mr-content h2 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 6vh;
    color: #262626;
    margin-bottom: 30px;
    line-height: 1.2;
}

.home-mr-content .content-box {
    margin-bottom: 30px;
}

.home-mr-content .content-box p {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #474747;
    line-height: 1.8;
    margin-bottom: 15px;
}

.accent {
    color: var(--primary-color);
    font-weight: 700;
}

.home-mr-images {
    display: flex;
    justify-content: center;
}

.mr-image-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.mr-image-card img {
    width: 100%;
    border-radius: 15px;
}

/* Home Expertise Section */
.home-expertise-section {
    padding: 100px 0;
    background: var(--white);
    background-image: url('images/grid.png');
    background-position: center;
    background-repeat: no-repeat;
}

.home-expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.home-expertise-image {
    display: flex;
    justify-content: center;
}

.home-expertise-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.home-expertise-content h2 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 6vh;
    color: #262626;
    margin-bottom: 30px;
    line-height: 1.2;
}

.home-expertise-content .content-box {
    margin-bottom: 30px;
}

.home-expertise-content .content-box p {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #474747;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Home Services Section */
.home-services-section {
    padding: 100px 0;
    background: #fdfdfd;
}

/* Standardized Header System */
.section-header,
.home-services-header,
.home-insurance-header,
.faq-header,
.page-header-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: url('images/grid.png') no-repeat left top;
    padding: 20px 0;
}

.section-header h2,
.section-header h1,
.home-services-header h2,
.home-insurance-header h2,
.faq-header h2,
.page-header-content h1,
.page-header-content h2 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 8vw, 80px);
    color: #262626;
    margin: 0;
    flex: 0 0 auto;
    line-height: 1.1;
}

.section-header .content-box,
.home-services-header .content-box,
.home-insurance-header .content-box,
.faq-header .content-box,
.page-header-content .content-box {
    max-width: 550px;
}

.section-header .content-box p,
.home-services-header .content-box p,
.home-insurance-header .content-box p,
.faq-header .content-box p,
.page-header-content .content-box p,
.page-header-content p {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    color: #777;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {

    .section-header,
    .home-services-header,
    .home-insurance-header,
    .faq-header,
    .page-header-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        background: none !important;
    }

    .section-header h2,
    .section-header h1,
    .home-services-header h2,
    .home-insurance-header h2,
    .faq-header h2,
    .page-header-content h1,
    .page-header-content h2 {
        font-size: 36px !important;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 5rem) !important;
    }

    .section-header .content-box,
    .home-services-header .content-box,
    .home-insurance-header .content-box,
    .faq-header .content-box,
    .page-header-content .content-box {
        max-width: 100% !important;
    }

    /* Subpage Mobile Resets */
    .service-hero,
    .service-details,
    .equipment-section,
    .home-mr-grid,
    .home-contact-grid,
    .home-contact-info {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .home-contact-map {
        height: 350px !important;
    }

    .service-hero {
        margin-top: 20px !important;
        margin-bottom: 50px !important;
    }

    .service-bento-card,
    .premium-card {
        padding: 30px 20px !important;
    }

    .service-main-title {
        font-size: 40px !important;
        margin-bottom: 20px !important;
    }

    .card-image-box {
        margin-top: 30px !important;
    }
}

/* Premium Card (From Reference) */
.premium-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.premium-card .card-top-caption {
    margin-bottom: 25px;
}

.premium-card .card-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.3;
}

.premium-card .card-subtitle {
    font-size: 15px;
    color: #888;
    margin: 0;
}

.premium-card .card-image {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.premium-card .card-image img {
    max-width: 100%;
    height: auto;
}

.premium-card .card-bottom-caption {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    color: #555;
    line-height: 1.5;
    margin-top: auto;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Spektroskopija Specific Styles */
.service-main-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 8vh;
    color: #262626;
    margin-bottom: 30px;
    line-height: 1.1;
}

.service-highlight-box {
    border-left: 3px solid #5CB8E7;
    padding-left: 20px;
    margin-bottom: 30px;
}

.service-highlight-box p {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #5CB8E7;
    margin: 0;
}

.description-text {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.description-spacer {
    margin-top: 15px;
}

.metabolites-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.metabolites-list li {
    margin-bottom: 4px;
    position: relative;
    padding-left: 15px;
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    color: #666;
    line-height: 1;
}

.metabolites-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #5CB8E7;
}

.service-bento-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04);
}

.service-bento-card .card-text {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

.indications {
    margin-top: 40px;
}

.indications-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.indications-list {
    list-style: none;
    padding: 0;
}

.indications-list li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.4;
}

.indications-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}

.card-image-box {
    margin-top: 60px;
}

.card-image-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.home-service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f0f0f0;
}

.home-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.home-service-card .service-icon {
    width: 65px;
    height: 65px;
    flex: 0 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.home-service-card .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-service-card .service-info {
    text-align: left;
}

.home-service-card h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 4px;
    line-height: 1.2;
}

.home-service-card p {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* Home Discount Section */
.home-discount-section {
    position: relative;
    padding: 100px 0;
    background: url('images/humanity13-scaled.jpg') center/cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-discount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.home-discount-content {
    background: #5CB8E7;
    padding: 50px 40px;
    border-radius: 25px;
    color: var(--white);
    max-width: 450px;
}

.home-discount-content .discount-text {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.4;
}

.home-discount-content .big {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.home-discount-content .discount-subtext {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.home-discount-features {
    text-align: left;
}

.home-discount-features .feature-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-discount-features .feature-text span {
    font-family: 'Urbanist', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #444;
    line-height: 1.1;
    letter-spacing: -1px;
}

.home-discount-features .feature-text span.highlight {
    color: #00B4FF;
    font-weight: 500;
}

/* Home Insurance Section */
.home-insurance-section {
    padding: 100px 0;
    background: var(--white);
}

.home-insurance-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 40px;
}

.home-insurance-header h2 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: 6vh;
    color: #262626;
}

.home-insurance-header .content-box {
    max-width: 500px;
    border-left: 4px solid rgba(46, 163, 242, 0.65);
    padding-left: 20px;
}

.home-insurance-header .content-box p {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #474747;
    line-height: 1.8;
}

.home-insurance-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.insurance-logo-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s;
}

.insurance-logo-card:hover {
    box-shadow: var(--shadow);
}

.insurance-logo-card img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

/* Home Contact Section */
.home-contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.home-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.home-contact-map {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

#map {
    width: 100%;
    height: 100%;
}

.home-contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.home-contact-info .contact-block h4 {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.home-contact-info .contact-block p {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    color: #474747;
    line-height: 1.8;
}

.home-contact-info .contact-block a {
    color: var(--primary-color);
    text-decoration: none;
}

.home-contact-info .contact-block a:hover {
    text-decoration: underline;
}

.home-contact-info .time {
    font-weight: 700;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    color: var(--white);
    font-size: 14px;
}

/* ===== CENOVNIK PAGE ===== */
.pricing-table {
    padding: 60px 0 100px;
    background: var(--bg-light);
    background-image: url('images/grid.png');
    background-position: left -100% top 3%;
    background-repeat: no-repeat;
    background-size: initial;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-table th {
    background: var(--bg-light);
    padding: 20px;
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--gray);
}

.pricing-table th:last-child {
    text-align: right;
}

.pricing-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray);
    color: var(--text-light);
    font-size: 14px;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--secondary-color);
}

.pricing-table tr:hover {
    background: var(--bg-light);
}

.pricing-note {
    text-align: center;
    padding: 30px;
    background: var(--white);
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== TEAM PAGE ===== */
.team {
    padding: 60px 0 100px;
    background: var(--bg-light);
    background-image: url('images/grid.png');
    background-position: left -100% top 3%;
    background-repeat: no-repeat;
    background-size: initial;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-info {
    padding: 20px;
    text-align: center;
}

.team-card-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-card-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== MR APARAT PAGE ===== */

/* Hero Section */
.mr-aparat-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.mr-aparat-hero-section {
    padding: 150px 0 80px;
    background: #ebebeb;
    background-image: url('images/grid.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: initial;
}

.mr-aparat-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.mr-aparat-hero-content h2 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 200;
    font-size: 5vh;
    color: #262626;
    margin-bottom: 30px;
    line-height: 1.2;
}

.mr-aparat-hero-content h2 .highlight {
    font-weight: 700;
}

.mr-aparat-hero-content .content-box {
    border-left: 4px solid rgba(46, 163, 242, 0.65);
    padding-left: 22px;
    margin-bottom: 30px;
}

.mr-aparat-hero-content .content-box p {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #474747;
    line-height: 1.8;
    margin-bottom: 15px;
}

.mr-aparat-hero-content .content-box p:last-child {
    margin-bottom: 0;
}

.mr-aparat-hero-image .image-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mr-aparat-hero-image .image-card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.mr-aparat-hero-image .image-caption {
    text-align: left;
}

.mr-aparat-hero-image .caption-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #262626;
    margin-bottom: 5px;
}

.mr-aparat-hero-image .caption-subtitle {
    font-size: 14px;
    color: #6B6B6B;
    margin-bottom: 15px;
}

.mr-aparat-hero-image .caption-text {
    font-size: 14px;
    color: #474747;
    line-height: 1.6;
}

/* Technology Section */
.mr-aparat-tech-section {
    padding: 80px 0;
    background: #ebebeb;
    background-image: url('images/bg-gradient-2.svg');
    background-position: left -100% top 3%;
    background-repeat: no-repeat;
    background-size: initial;
}

.mr-aparat-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mr-aparat-tech-image .tech-image-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.mr-aparat-tech-image img {
    width: 100%;
    border-radius: 10px;
}

.mr-aparat-tech-content h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 6vh;
    font-weight: 200;
    color: #262626;
    margin-bottom: 30px;
}

.mr-aparat-tech-content .content-box {
    border-left: 4px solid rgba(46, 163, 242, 0.65);
    padding-left: 20px;
    margin-bottom: 25px;
}

.mr-aparat-tech-content .content-box p {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #474747;
    line-height: 1.8;
    margin-bottom: 10px;
}

.mr-aparat-tech-content .tech-list {
    list-style: none;
    padding: 0;
}

.mr-aparat-tech-content .tech-list li {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #474747;
    line-height: 1.8;
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.mr-aparat-tech-content .tech-list li::before {
    content: '•';
    color: #2ea3f2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.mr-aparat-tech-content .tech-list li strong {
    color: #262626;
    font-weight: 600;
}

/* Features Section */
.mr-aparat-features-section {
    padding: 80px 0;
    background: #ebebeb;
    background-image: url('images/uMR.webp');
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 40%;
}

.mr-aparat-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mr-aparat-features-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px 30px;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-text h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 10px;
}

.feature-text p {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: #474747;
    line-height: 1.6;
}

.mr-aparat-features-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mr-aparat-features-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ===== FAQ PAGE ===== */
.faq {
    padding: 100px 0;
    background: #fdfdfd;
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: url('images/grid.png') no-repeat left top;
    padding: 20px 0;
}

.faq-header h2 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 50px;
    color: #262626;
    margin: 0;
    flex: 0 0 auto;
    line-height: 1.2;
}

.faq-header .content-box {
    max-width: 500px;
    border-left: 2px solid #D1D1D1;
    padding-left: 30px;
}

.faq-header .content-box p {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    color: #777;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.faq-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.faq-card-number {
    font-family: 'Urbanist', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(92, 184, 231, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
}

.faq-card p {
    font-family: 'Nunito', sans-serif;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

.faq-content-section {
    display: flex;
    gap: 60px;
    align-items: center;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04);
}

.faq-content-text {
    flex: 1;
}

.faq-content-text h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 25px;
}

.faq-content-text p {
    font-family: 'Nunito', sans-serif;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.faq-content-image {
    flex: 0 0 45%;
}

.faq-content-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* ===== KONTAKT PAGE ===== */
.kontakt-page {
    padding: 60px 0 100px;
    background: var(--bg-light);
    background-image: url('images/grid.png');
    background-position: left -100% top 3%;
    background-repeat: no-repeat;
    background-size: initial;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.kontakt-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.kontakt-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.kontakt-block h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.kontakt-block p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.kontakt-block a {
    color: var(--primary-color);
    text-decoration: none;
}

.kontakt-map {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.equipment-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.equipment-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.equipment-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.equipment-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===== SERVICE PAGE ===== */
.service-page {
    padding: 100px 0 100px;
    background: var(--bg-light);
    background-image: url('images/grid.png');
    background-position: left -100% top 3%;
    background-repeat: no-repeat;
    background-size: initial;
}

.service-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.service-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.service-content>p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-content li {
    color: var(--text-light);
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    line-height: 1.8;
}

.service-content li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.service-info-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-info-card img {
    max-width: 100%;
    border-radius: 10px;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-details-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-details-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Info Cards with Parallax */
.info-cards-section {
    position: relative;
    padding: 100px 0;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.info-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 163, 242, 0.7);
    /* Primary color with transparency */
    z-index: 1;
}

.info-cards-section .container {
    position: relative;
    z-index: 2;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.info-card h4 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0.5;
    font-family: 'Urbanist', sans-serif;
}

.info-card p {
    font-size: 16px;
    line-height: 1.6;
}

/* Results Section */
.results-section {
    padding: 80px 0;
    background: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.results-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--secondary-color);
}

.results-detail p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .home-services-grid,
    .team-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insurance-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        /* Left align items */
        padding: 20px 30px;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        color: var(--secondary-color) !important;
        padding: 15px 0;
        width: 100%;
        text-align: left;
        /* Ensure text is left aligned */
        border-bottom: 1px solid #f5f5f5;
        font-size: 16px;
        font-weight: 600;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .home-about-grid,
    .home-mr-grid,
    .home-expertise-grid,
    .home-services-header,
    .home-discount-grid,
    .home-insurance-header,
    .mr-aparat-hero-grid,
    .mr-aparat-tech-grid,
    .mr-aparat-features-grid,
    .kontakt-grid,
    .equipment-section,
    .service-hero,
    .service-details,
    .info-cards-grid,
    .results-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Force Text First for Image-Left layouts */
    .home-about-grid,
    .home-expertise-grid,
    .equipment-section,
    .service-details,
    .mr-aparat-tech-grid {
        flex-direction: column-reverse;
    }

    .header .logo img {
        filter: none;
        /* Show original colors if needed, or keep for dark background */
        height: 35px;
    }

    .home-services-header,
    .home-insurance-header {
        text-align: left;
        background: none;
        padding: 0;
    }

    .home-services-header h2,
    .home-insurance-header h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .home-services-header .content-box,
    .home-insurance-header .content-box {
        max-width: 100%;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .home-insurance-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-service-card {
        padding: 15px;
    }

    .home-discount-section {
        padding: 60px 0;
        min-height: auto;
    }

    .home-discount-content {
        max-width: 100%;
    }

    .home-discount-features .feature-text span {
        font-size: 1.8rem;
    }

    .team-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .insurance-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-title .line1,
    .hero-title .line2 {
        font-size: 3.5rem;
    }

    .home-services-header h2 {
        font-size: 32px;
    }

    .insurance-logos {
        grid-template-columns: 1fr;
    }
}/* ===== GRID BACKGROUNDS & STANDARDIZED PADDING ===== */

/* Grid background for service pages and sections */
.service-page,
.mr-aparat-hero-grid,
.service-details-section,
.info-cards-section,
.results-section,
.equipment-section-standard,
.page-header {
    background-image: url('images/grid.png');
    background-position: center;
    background-repeat: no-repeat;
}

/* Standardized section padding */
.service-page {
    padding: 120px 0 80px;
}

.service-details-section,
.results-section {
    padding: 100px 0;
}

.info-cards-section {
    padding: 100px 0;
}

.equipment-section-standard {
    padding: 100px 0;
}

/* Mobile padding adjustments */
@media (max-width: 768px) {
    .service-page {
        padding: 100px 0 60px;
    }

    .service-details-section,
    .results-section,
    .info-cards-section,
    .equipment-section-standard {
        padding: 60px 0;
    }
}
