/* =============================================================================
   STYLE.CSS — Horeca Certificaat
   Structure:
    1.  CSS Variables & Theme
    2.  Global Reset & Base
    3.  Typography
    4.  Layout Utilities
    5.  Navbar
    6.  Hero (index – full-width image hero)
    7.  Buttons & Links
    8.  Feature Cards
    9.  Mid CTA 
   10.  Why Section & Cards
   11.  Training Cards
   12.  Module Slider
   13.  Steps Section
   14.  Comparison Table
   15.  SEO Section
   16.  Reviews / Klantbeoordelingen
   17.  HACCP Principles (haccp.html)
   18.  HACCP Benefits (haccp.html)
   19.  FAQ
   20.  Footer
   21.  Scroll Reveal Animation
   22.  About Page
   23.  Contact Page
   24.  Coming Soon Page
   25.  Responsive — Tablet  (max 992px)
   26.  Responsive — Mobile  (max 768px)
   27.  Responsive — Small Mobile (max 576px)
============================================================================= */


/* =============================================================================
   1. CSS VARIABLES & THEME
============================================================================= */
:root {
    --primary-color: #0056B3;
    --secondary-color: #28A745;
    --bg-color: #FFFFFF;
    --text-color: #333333;
    --card-bg: #F8F9FA;
    --header-bg: #FFFFFF;
    --table-border: #DDDDDD;
    --hero-gradient: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
    --hero-gradient-mobile: #F0F7FF;
}

[data-theme="dark"] {
    --primary-color: #3D94FF;
    --secondary-color: #2ECC71;
    --bg-color: #121212;
    --text-color: #E0E0E0;
    --card-bg: #1E1E1E;
    --header-bg: #181818;
    --table-border: #333333;
    --hero-gradient: linear-gradient(135deg, #1A1A1A 0%, #121212 100%);
}


/* =============================================================================
   2. GLOBAL RESET & BASE
============================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* =============================================================================
   3. TYPOGRAPHY
============================================================================= */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Shared colour overrides used across multiple sections */
.highlight-text {
    color: var(--primary-color);
}

.color-dark {
    color: #0F172B;
}


/* =============================================================================
   4. LAYOUT UTILITIES
============================================================================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Full-width gradient background wrapper (hero on haccp / e-learning / about / contact) */
.container-bg {
    width: 100%;
    padding: 140px 0;
    background: var(--hero-gradient);
}

.header-sub-header {
    text-align: center;
    margin-bottom: 40px;
}

.header-sub-header h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: #0F172B;
}


/* =============================================================================
   5. NAVBAR
============================================================================= */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    z-index: 1000;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.05);
}

.logo {
    position: relative;
    z-index: 1200;
}

.logo img {
    max-height: 32px;
}

/* Centred desktop navigation */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

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

/* Login — desktop */
.login-btn.desktop-login {
    display: block;
    padding: 6px 14px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s;
}

.login-btn.desktop-login:hover {
    opacity: 0.9;
}

/* Login — mobile (hidden by default, shown inside open menu) */
.login-btn.mobile-login {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

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

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

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


/* =============================================================================
   6. HERO  (index.html — full-width image)
============================================================================= */
.hero {
    position: relative;
    padding: 160px 5% 120px;
    text-align: center;
    overflow: hidden;
}

/* SEO-friendly background image via <img> tag */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Dark gradient overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 86, 179, 0.6), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

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

/* Frosted text block */
.hero .hero-styling {
    background-color: rgba(69, 69, 69, 0.2);
    padding: 20px 40px;
    margin: 0 auto 32px;
    max-width: 700px;
    border-radius: 4px;
}

.hero .hero-styling h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #fff;
}

.hero .hero-styling h1 .highlight-text {
    color: #fff;
}

.hero .hero-styling p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0;
}

.hero .btn {
    margin-top: 20px;
}

/* Feature cards sit inside .hero on index.html */
.hero .features-section .feature-card {
    opacity: 1;
}


/* =============================================================================
   7. BUTTONS & LINKS
============================================================================= */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.fancy-link {
    position: relative;
    text-decoration: none;
    color: #0077cc;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.fancy-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: #005fa3;
    transition: width 0.3s ease;
}

.fancy-link:hover {
    color: #005fa3;
}

.fancy-link:hover::after {
    width: 100%;
}


/* =============================================================================
   8. FEATURE CARDS
============================================================================= */
.features-section {
    padding: 80px 20px;
}

.features-section h2 {
    color: #0F172B;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px 25px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.feature-card.reveal.active:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.feature-card .icon img {
    width: 60px;
    margin: 0 auto 16px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}


/* =============================================================================
   9. Mid CTA
============================================================================= */
.mid-cta {
    position: relative;
    padding: 70px 20px;
    margin: 80px 0;
    overflow: hidden;
    color: #fff;
}

/* IMAGE LAYER */
.mid-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mid-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.1) contrast(1.05);
}

/* DARK OVERLAY */
.mid-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 86, 179, 0.85),
            rgba(0, 0, 0, 0.85));
    z-index: 1;
}

/* CONTENT */
.mid-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.mid-cta-text {
    flex: 1;
    min-width: 280px;
}

.mid-cta-text h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.mid-cta-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
}

.mid-cta-action {
    text-align: right;
    min-width: 240px;
}

.mid-cta .btn {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    display: inline-block;
    transition: 0.2s ease;
    width: 100%;
    text-align: center;
}

.mid-cta .btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.cta-subtext {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.85;
}



/* =============================================================================
   10. WHY SECTION & CARDS  (haccp.html / e-learning.html / about.html / contact.html)
============================================================================= */

/* Container-bg hero variant (.why-section wraps .container-bg) */
.why-section {
    padding: 120px 0;
}

.why-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

/* Left text column */
.why-info-right {
    flex: 1;
    min-width: 280px;
}

.why-info-right h1,
.why-info-right h2 {
    color: #0F172B;
    margin-bottom: 16px;
}

.why-info-right p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Checklist */
.checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.checklist li {
    font-size: 1rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    color: var(--text-color);
}

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

/* Right image column (e-learning.html) */
.why-image {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}

.why-image img {
    max-width: 80%;
    border-radius: 12px;
}

/* Right 2×2 card grid (haccp.html / about.html) */
.why-cards-right {
    flex: 1;
    min-width: 280px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
}

/* Individual why-card */
.why-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color);
}

.why-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.why-card.reveal.active:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 16px 40px rgba(0, 86, 179, 0.14);
    cursor: pointer;
}

.why-card.highlight-blue {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.3);
}

.why-card.highlight-blue h3,
.why-card.highlight-blue p,
.why-card.highlight-blue .icon {
    color: #fff;
}

.why-card.highlight-dark-blue {
    background: #0F172B;
    color: #fff;
    box-shadow: 0 10px 25px rgba(3, 29, 56, 0.3);
}

.why-card.highlight-dark-blue h3,
.why-card.highlight-dark-blue p,
.why-card.highlight-dark-blue .icon {
    color: #fff;
}


/* =============================================================================
  11. TRAINING CARDS
============================================================================= */
.training-horizontal {
    width: 100%;
    padding: 80px 0;
    background: var(--bg-color);
}

/* Optional tinted background variant */
.training-bg-color {
    background: var(--hero-gradient);
}

.training-horizontal h2 {
    color: #0F172B;
}

.training-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.training-card-horizontal.premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 25px 35px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-card-horizontal.premium:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.training-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.flag {
    width: 24px;
    height: 16px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: inline-block;
}

.training-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.e-learning-icon {
    height: 16px;
    display: inline-block;
}

.price-button-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.training-price .price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.training-price .excl {
    display: block;
    font-size: 0.8rem;
    color: #777;
}

.training-button .btn {
    min-width: 165px;
    text-align: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--secondary-color), #17722b);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-button .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 100, 29, 0.4);
}

.e-learning-link {
    margin-top: 40px;
    text-align: center;
}


/* =============================================================================
  12. MODULE SLIDER
============================================================================= */
.modules-section {
    text-align: center;
    padding: 80px 0 140px;
}

.bg-color {
    background-color: #F9FCFF;
}

.modules-section h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    padding: 0 20px;
    color: #0F172B;
}

.modules-section>p {
    margin-bottom: 0;
    padding: 0 20px;
}

.modules-carousel {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    margin: 80px 0 0;
    user-select: none;
}

.module-card {
    position: absolute;
    width: 160px;
    height: 220px;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.6s ease;
    cursor: pointer;
    pointer-events: auto;
}

.module-card .icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.module-card .label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.module-card .name {
    font-size: 0.7rem;
    margin-top: 4px;
    color: var(--text-color);
}

/* Slider states */
.module-card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.6);
    z-index: 0;
}

.module-card.active {
    transform: translateX(0) scale(1.6);
    z-index: 5;
    opacity: 1;
    border: 1px solid rgba(20, 65, 187, .2);
}

.module-card.near-left {
    transform: translateX(-220px) scale(.95);
    z-index: 4;
    opacity: 0.6;
    border: 1px solid rgba(20, 65, 187, .2);
}

.module-card.near-right {
    transform: translateX(220px) scale(.95);
    z-index: 4;
    opacity: 0.6;
    border: 1px solid rgba(20, 65, 187, .2);
}

.module-card.far-left {
    transform: translateX(-400px) scale(.8);
    z-index: 3;
    opacity: 0.3;
    border: 1px solid rgba(20, 65, 187, .2);
}

.module-card.far-right {
    transform: translateX(400px) scale(.8);
    z-index: 3;
    opacity: 0.3;
    border: 1px solid rgba(20, 65, 187, .2);
}

.dots {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dots span {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dots span.active {
    background: var(--primary-color);
    transform: scale(1.3);
}


/* =============================================================================
  13. STEPS SECTION
============================================================================= */
.steps-section {
    padding: 80px 20px;
    background: var(--hero-gradient);
}

.steps-section h2 {
    color: #0F172B;
}

.steps-section .direct-starten {
    text-align: center;
    margin-top: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 48px;
    position: relative;
}

.step-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    margin: 0 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.step-card.reveal.active:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 86, 179, 0.14);
    cursor: pointer;
}

.step-number-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--secondary-color), #17722b);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.35);
    position: relative;
    z-index: 2;
}

.step-icon {
    font-size: 36px;
    margin-bottom: 14px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}


/* =============================================================================
  14. COMPARISON TABLE
============================================================================= */
.comparison-section {
    padding: 80px 20px;
}

.comparison-section h2 {
    color: #0F172B;
}

.comparison-table-wrapper {
    margin-top: 40px;
    overflow-x: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 22px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #faf8f8;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    text-align: center;
    border-bottom: 1px solid var(--table-border);
}

.comparison-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.check {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.cross {
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.2rem;
}


/* =============================================================================
  15. SEO SECTION  (index.html)
============================================================================= */
.seo-section {
    padding: 80px 20px;
}

.seo-section h2 {
    color: #0F172B;
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.seo-text h2 {
    margin-bottom: 16px;
}

.seo-text p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.seo-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.haccp-visual-section .seo-flow {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.haccp-visual-section .seo-inline-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.haccp-visual-section .seo-inline-highlight {
    background: #f1f6ff;
    border-left: 4px solid var(--primary-color);
    padding: 18px 20px;
    border-radius: 10px;
}

.haccp-visual-section .seo-block p {
    margin: 0;
    line-height: 1.7;
}



/* =============================================================================
  16. REVIEWS / KLANTBEOORDELINGEN
============================================================================= */
.reviews-section {
    padding: 80px 20px;
}

.reviews-section h2 {
    color: #0F172B;
}

/* Score summary bar */
.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    padding: 32px 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.reviews-score {
    text-align: center;
}

.score-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #0F172B;
    line-height: 1;
    margin-bottom: 6px;
}

.score-stars {
    font-size: 1.4rem;
    color: #f59e0b;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.star-half {
    opacity: 0.45;
}

.score-label {
    font-size: 0.82rem;
    color: #888;
    display: block;
}

.reviews-meta {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.reviews-meta-item {
    text-align: center;
}

.reviews-meta-item strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.reviews-meta-item span {
    font-size: 0.82rem;
    color: #888;
}

/* Review card grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 86, 179, 0.06);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 86, 179, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
    min-width: 0;
}

.review-meta strong {
    display: block;
    font-size: 0.95rem;
    color: #0F172B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-meta span {
    font-size: 0.8rem;
    color: #888;
}

.review-stars {
    font-size: 0.9rem;
    color: #f59e0b;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.review-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #444;
    font-style: italic;
    flex: 1;
    margin: 0;
}

.review-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.review-badge::before {
    content: '✔';
    font-size: 0.7rem;
}


/* =============================================================================
  17. HACCP PRINCIPLES  (haccp.html)
============================================================================= */
.haccp-principles {
    padding: 80px 20px;
    background: var(--hero-gradient);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: #0F172B;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.principles-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.principle-item {
    display: flex;
    gap: 20px;
    padding: 22px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.principle-item:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.principle-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.principle-content h3 {
    margin-bottom: 6px;
    font-size: 1.1rem;
    color: #0F172B;
}

.principle-content p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
}


/* =============================================================================
  18. HACCP BENEFITS  (haccp.html)
============================================================================= */
.haccp-benefits {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.haccp-benefits h2 {
    color: #0F172B;
    margin-bottom: 16px;
}

.haccp-benefits>.container>p {
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =============================================================================
  19. FAQ
============================================================================= */
.faq {
    position: relative;
    padding: 80px 0;
    background: #fff;
}

.faq h2 {
    margin-bottom: 40px;
    text-align: center;
    color: #0F172B;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--table-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    display: block;
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    background: none;
    border: none;
    color: var(--text-color);
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 1.2rem;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

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


/* =============================================================================
  20. FOOTER
============================================================================= */
.site-footer {
    margin-top: 60px;
}

.footer-top {
    background: var(--hero-gradient);
    padding: 40px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    max-height: 50px;
}

.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-contact a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.footer-nav ul li a::after,
.footer-contact a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-nav ul li a:hover::after,
.footer-contact a:hover::after {
    width: 100%;
}

.footer-contact p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.footer-social a {
    display: inline-block;
    margin-right: 8px;
    font-weight: 700;
    background: #003f7f;
    color: #fff;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.75rem;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    background: #003f7f;
    text-align: center;
    padding: 15px 20px;
    color: #fff;
    font-size: 0.9rem;
}


/* =============================================================================
  21. SCROLL REVEAL ANIMATION
============================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =============================================================================
  22. ABOUT PAGE
============================================================================= */
.about-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-intro h2 {
    color: #0F172B;
    margin-bottom: 16px;
}

.team-section {
    padding: 80px 20px;
    background: var(--hero-gradient);
}

.team-section h2 {
    text-align: center;
    color: #0F172B;
    margin-bottom: 12px;
}

.team-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.team-avatar {
    font-size: 52px;
    margin-bottom: 16px;
    line-height: 1;
}

.team-card h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.team-role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 14px;
}

.team-card p {
    font-size: 0.95rem;
    line-height: 1.55;
}

/* CTA box (about.html) */
.cta-section {
    padding: 80px 20px;
}

.cta-section .bg-color {
    background-color: var(--hero-gradient);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003f7f 100%);
    border-radius: 20px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 86, 179, 0.25);
}

.cta-box h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-box p {
    color: rgba(255, 255, 255, .88);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* =============================================================================
  23. CONTACT PAGE
============================================================================= */
.contact-info-cards {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 26px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-sub {
    font-size: 0.8rem;
    color: #888;
}

.contact-form-section {
    padding: 80px 20px;
}

.contact-form-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.contact-form-intro {
    margin-bottom: 40px;
}

.contact-form-intro h2 {
    color: #0F172B;
    margin-bottom: 8px;
}

.contact-form {
    background: #fff;
    border-radius: 20px;
    padding: 48px 44px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.required {
    color: #e53e3e;
    margin-left: 2px;
}

.optional {
    font-weight: 400;
    font-size: 0.8rem;
    color: #888;
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #dde3ec;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-color);
    background: #fafbfd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    background: #fff;
}

.form-group input.input-error,
.form-group textarea.input-error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

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

.field-error {
    font-size: 0.82rem;
    color: #e53e3e;
    margin-top: 5px;
    min-height: 18px;
}

.char-count {
    font-size: 0.8rem;
    color: #aaa;
    text-align: right;
    margin-top: 4px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.form-note {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
    max-width: 340px;
}

.form-submit-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    white-space: nowrap;
}

.form-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 0.9rem;
}

.form-success {
    margin-top: 24px;
    background: #f0faf4;
    border: 1.5px solid #28a745;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #1a5c30;
}

.form-success[hidden] {
    display: none;
}

.success-icon {
    font-size: 22px;
    color: #28a745;
    flex-shrink: 0;
    line-height: 1.3;
}

.form-success strong {
    display: block;
    margin-bottom: 4px;
}

.form-success p {
    margin: 0;
    font-size: 0.9rem;
    color: #2d6a4f;
}


/* ================================
  24. COMING SOON PAGE
================================ */

.coming-soon {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    background: var(--hero-gradient);
}

.coming-box {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.coming-box h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #0F172B;
}

.coming-box h1 .highlight-text {
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Form */
.coming-form {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.coming-form input {
    flex: 1;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1.5px solid #dde3ec;
    font-size: 0.95rem;
    outline: none;
}

.coming-form input:focus {
    border-color: var(--primary-color);
}

.coming-form .btn {
    white-space: nowrap;
    padding: 14px 20px;
}

.form-note {
    font-size: 0.8rem;
    color: #888;
}

.form-success {
    margin-top: 20px;
    background: #f0faf4;
    border: 1.5px solid #28a745;
    border-radius: 12px;
    padding: 16px 18px;
    color: #1a5c30;
    font-size: 0.9rem;
}

.form-success strong {
    display: block;
    margin-bottom: 4px;
}


/* =============================================================================
  25. RESPONSIVE — TABLET  (max-width: 992px)
============================================================================= */
@media (max-width: 992px) {

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .steps-grid::before {
        display: none;
    }

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

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


/* =============================================================================
  26. RESPONSIVE — MOBILE  (max-width: 768px)
============================================================================= */
@media (max-width: 768px) {

    /* --- Navbar --- */
    .desktop-login {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease, opacity 0.3s ease;
        z-index: 9999;
        opacity: 0;
    }

    .nav-links.active {
        right: 0;
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .login-btn.mobile-login {
        display: block;
        padding: 12px 25px;
        border-radius: 20px;
        text-align: center;
        font-size: 1.2rem;
        background-color: var(--secondary-color);
        color: #fff;
        text-decoration: none;
    }

    /* --- Hero (index) --- */
    .hero {
        padding: 120px 20px 80px;
    }

    .hero-bg {
        display: none;
    }

    .hero::before {
        background: var(--hero-gradient-mobile);
    }

    .hero .hero-styling {
        background-color: transparent;
        padding: 20px 25px;
    }

    .hero .hero-styling h1 {
        font-size: 2rem;
        color: #0F172B;
    }

    .hero .hero-styling p {
        color: #0F172B;
    }

    .hero .btn {
        width: 80%;
    }


    .why-container {
        flex-direction: column;
        text-align: center;
    }

    .checklist li {
        text-align: left;
    }

    /* --- Mid Cta --- */
    .mid-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .mid-cta-action {
        text-align: center;
    }

    .mid-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .mid-cta-action {
        text-align: center;
    }

    /* --- Module slider --- */
    .module-card {
        width: 150px;
    }

    .module-card.near-left {
        transform: translateX(-160px) scale(0.9);
    }

    .module-card.near-right {
        transform: translateX(160px) scale(0.9);
    }

    .module-card.far-left {
        transform: translateX(-260px) scale(0.7);
    }

    .module-card.far-right {
        transform: translateX(260px) scale(0.7);
    }

    /* Training-horizontal-index */
    .training-bg-color {
        background: var(--hero-gradient-mobile);
    }

    /* --- HACCP --- */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* --- Reviews --- */
    .reviews-summary {
        gap: 30px;
        padding: 24px 20px;
    }

    .reviews-meta {
        gap: 24px;
    }

    /* --- CTA / About --- */
    .cta-box {
        padding: 44px 28px;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }

    .team-section {
        padding: 60px 20px;

        background: var(--hero-gradient-mobile);

    }

    /* --- SEO grid --- */
    .seo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .seo-image {
        order: -1;
    }

    /* --- Footer --- */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social a {
        margin: 5px;
    }
}


/* =============================================================================
  27. RESPONSIVE — SMALL MOBILE  (max-width: 576px)
============================================================================= */
@media (max-width: 576px) {

    /* Hero homepage */
    .hero .hero-styling h1 .highlight-text {
        color: var(--primary-color);
    }

    /* seo text */
    .seo-text .btn {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    /* Module slider — clip overflow & shrink active card */
    .modules-carousel {
        overflow: hidden;
    }

    .module-card.active {
        transform: translateX(0) scale(1.2);
    }

    /* Why section */
    .why-section {
        padding-right: 20px;
        padding-left: 20px;
        background: var(--hero-gradient-mobile);
    }

    .why-section a {
        width: 100%;
    }

    .why-image {
        display: none;
    }

    .why-cards-right {
        grid-template-columns: 1fr;
    }

    /* Steps section*/
    .steps-section {
        background: var(--hero-gradient-mobile);
    }

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

    .steps-section .direct-starten a {
        width: 100%;
    }

    /* HACCP principles */
    .haccp-principles {
        background: var(--hero-gradient-mobile);
    }

    .principle-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .principle-number {
        margin-bottom: 10px;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        flex-direction: column;
        gap: 20px;
    }

    /* Training cards */
    .training-card-horizontal.premium {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px 25px;
    }

    .price-button-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .training-price {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-wrap: wrap;
    }

    .training-button {
        width: 100%;
    }

    .training-button .btn {
        width: 100%;
        text-align: center;
        min-width: 0;
        padding: 14px 0;
        font-size: 1rem;
    }

    /* Misc sections */
    .features-section {
        padding: 60px 20px;
    }

    .faq {
        padding: 60px 0;
    }

    /* CTA */
    .cta-section a {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Comparison table */
    .comparison-table th,
    .comparison-table td {
        padding: 14px 12px;
        font-size: 0.9rem;
    }

    /* Contact form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .form-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .form-note {
        max-width: 100%;
    }

    .contact-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .contact-icon {
        font-size: 34px;
        margin-top: 0;
    }

    /* Coming soon */
    .coming-box {
        padding: 35px 25px;
    }

    .coming-box h1 {
        font-size: 1.6rem;
    }

    .coming-form {
        flex-direction: column;
    }

    .coming-form .btn {
        width: 100%;
    }
}