/* --- Color Palette --- */
:root {
    --color-navy-blue: #000042; /* Primary Color */
    --color-vibrant-green: #00A300; /* Accent Color */
    --color-text-dark: #1A1A1A; /* Black/Dark Gray Text */
    --color-text-light: #FFFFFF; /* White Text */
    --color-light-gray: #f4f4f9; /* Alt background color */
}

/* --- Global Styles and Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--color-vibrant-green);
    text-decoration: none;
}

a:hover {
    color: var(--color-text-dark);
}

h1, h2, h3 {
    margin-bottom: 0.5em;
    font-weight: 700;
}

h1 { 
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
}
h2 { 
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 1em;
    text-align: center;
}

.section-padding {
    padding: 3em 0;
}

.section-alt-bg {
    background-color: var(--color-light-gray);
}

.section-description {
    text-align: center;
    margin-bottom: 2.5em;
    color: #555;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* --- Animation Classes --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Enhanced Navbar & Header (Sticky) --- */
.navbar-container {
    background-color: var(--color-navy-blue);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    height: 60px;
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--color-text-light);
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    white-space: nowrap;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Navbar Link Hover (Subtle Underline Effect) */
.nav-links a:hover {
    color: var(--color-text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-vibrant-green);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--color-text-light);
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 5px;
}

.search-icon {
    margin-left: 15px;
    color: var(--color-text-light);
    cursor: pointer;
    font-size: 1.1em;
    z-index: 1002;
}

/* Search Bar */
.search-bar-container {
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.1);
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
}

.search-bar-container.active {
    display: block;
}

#search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* --- Hero Section (Home) --- */
.hero-section {
    padding-top: 100px;
    padding-bottom: 4em;
    background: var(--color-light-gray);
}

.intro-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.intro-content {
    flex: 1;
    text-align: center;
    width: 100%;
}

.intro-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.intro-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 1.5rem;
}

.swiper-container {
    flex: 1;
    width: 100%;
    min-height: 300px;
    max-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--color-vibrant-green);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-vibrant-green);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-vibrant-green);
    color: white;
    transform: scale(1.1);
}

.service-intro {
    margin-bottom: 3em;
}

.service-image-placeholder {
    min-height: 250px;
    flex: 1.2;
}

/* --- Training Section Layout --- */
.training-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: flex-start;
}

.training-image-placeholder {
    min-height: 300px;
}

/* --- Card Grids --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card, .about-card, .product-card {
    background: var(--color-text-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #ddd;
}

/* General Card Hover Effect (Lifted & Green Border) */
.service-card:hover, .about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-vibrant-green);
}

.link-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Product Card Specific Hover (Reveal Description) */
.product-card {
    overflow: hidden;
    position: relative;
    cursor: default;
    height: 300px;
    text-align: left;
}

.product-card .full-desc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy-blue);
    color: var(--color-text-light);
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.4s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.product-card:hover .full-desc {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Support Model Cards --- */
.model-card {
    background: var(--color-text-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.model-card .model-image-placeholder {
    min-height: 150px;
    flex: none;
    margin-bottom: 10px;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--color-navy-blue);
    color: var(--color-text-light);
    padding: 12px 20px;
    border-radius: 5px;
    margin-top: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 0.9rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #1a4276;
}

.btn-accent {
    display: block;
    width: 100%;
    background-color: var(--color-vibrant-green);
    color: var(--color-text-light);
    padding: 14px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-accent:hover {
    background-color: #008700;
}

/* --- Forms --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form, .inner-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-form {
    max-width: none;
    margin: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.inner-form input,
.inner-form select,
.inner-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form label, .inner-form label {
    font-size: 0.9em;
    font-weight: 600;
    color: #444;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    color: var(--color-text-dark);
}
.checkbox-label input {
    width: auto;
    margin-right: 10px;
}

.form-sub-group {
    border: 1px dashed #ccc;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- Error/Troubleshoot Detail Sections --- */
.errors-detail, .troubleshoot-forms {
    margin-top: 3em;
    padding: 30px;
    border-radius: 8px;
    background-color: var(--color-text-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.errors-detail h3, .troubleshoot-forms h3 {
    text-align: center;
    margin-bottom: 1.5em;
    color: var(--color-navy-blue);
}

.error-model {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

/* Accordion (Dropdown for Errors) */
.accordion-header {
    background-color: #f4f4f4;
    color: var(--color-text-dark);
    cursor: pointer;
    padding: 16px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
    transition: 0.4s;
    margin-top: 5px;
    border-radius: 4px;
}

.accordion-header:hover {
    background-color: #ddd;
}

.accordion-content {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: white;
    margin-bottom: 10px;
}

.accordion-content table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
}
.accordion-content th, .accordion-content td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 0.9em;
}

/* Utility Class */
.hidden {
    display: none !important;
}

/* --- Enhanced Error Documentation Styles --- */
.errors-container {
    max-width: 1000px;
    margin: 0 auto;
}

.errors-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-navy-blue);
}

.errors-header h3 {
    margin: 0;
    color: var(--color-navy-blue);
    text-align: center;
}

.close-errors-btn {
    background: var(--color-navy-blue);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    min-height: 44px;
}

.close-errors-btn:hover {
    background: #1a4276;
}

.product-errors h4 {
    color: var(--color-navy-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.error-module {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.module-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--color-text-dark);
    cursor: pointer;
    padding: 16px 18px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.module-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.module-header .arrow {
    transition: transform 0.3s ease;
    font-size: 0.9em;
}

.module-header.active .arrow {
    transform: rotate(180deg);
}

.module-content {
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.module-content.active {
    max-height: 2000px;
}

.error-item {
    padding: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.error-item:last-child {
    border-bottom: none;
}

.error-item h4 {
    color: var(--color-vibrant-green);
    margin-bottom: 10px;
    font-size: 1em;
}

.error-item p {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.error-item strong {
    color: var(--color-navy-blue);
}

/* --- Search Results Styles --- */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    margin-top: 5px;
}

.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item h4 {
    margin: 0 0 8px 0;
    color: var(--color-navy-blue);
    font-size: 1.1em;
}

.search-result-item p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

.result-category {
    display: inline-block;
    padding: 2px 8px;
    background: var(--color-light-gray);
    color: var(--color-navy-blue);
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Category colors */
.result-category.product {
    background: #e3f2fd;
    color: #1565c0;
}

.result-category.training {
    background: #e8f5e8;
    color: var(--color-vibrant-green);
}

.result-category.support {
    background: #fff3e0;
    color: #ef6c00;
}

.result-category.error {
    background: #ffebee;
    color: #c62828;
}

.result-category.service {
    background: #f3e5f5;
    color: #7b1fa2;
}

.result-link {
    color: var(--color-vibrant-green);
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
}

.result-link:hover {
    color: var(--color-navy-blue);
}

.no-results {
    text-align: center;
    padding: 30px 20px;
}

.no-results p {
    margin-bottom: 10px;
    color: #666;
}

.suggestion {
    font-size: 0.8em !important;
    color: #999 !important;
}

/* Highlight matching text */
mark {
    background-color: #fff9c4;
    padding: 1px 3px;
    border-radius: 2px;
}

/* Search input focus styles */
#search-input:focus {
    border-color: var(--color-vibrant-green);
    box-shadow: 0 0 0 2px rgba(0, 163, 0, 0.1);
    outline: none;
}

/* --- Enhanced Product Cards with Images --- */
.product-card {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 280px;
    text-align: left;
    background: var(--color-text-light);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--color-light-gray);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* BPS C2/C5 Slider */
.bps-c2c5-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.slider-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: var(--color-text-light);
}

.product-info {
    padding: 15px;
    position: relative;
    z-index: 1;
}

.product-info h3 {
    margin-bottom: 8px;
    color: var(--color-navy-blue);
    font-size: 1.2rem;
}

.short-desc {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

.full-desc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-navy-blue) 0%, #1a237e 100%);
    color: var(--color-text-light);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    z-index: 2;
    font-size: 0.9rem;
}

.product-card:hover .full-desc {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Specific product styling */
.product-card.bps-c2c5 .full-desc {
    background: linear-gradient(135deg, #acabda 0%, #52b9c5f9 100%);
}

.product-card.bps-c1 .full-desc {
    background: linear-gradient(135deg, #1872b7f5 0%, #a0bee0 100%);
}

.product-card.pn-15 .full-desc {
    background: linear-gradient(135deg, #05425ca1 0%, #165e1da0 100%);
}

/* --- Footer --- */
.footer-container {
    background-color: var(--color-navy-blue);
    color: var(--color-text-light);
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.footer-brand .logo {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.footer-info {
    text-align: center;
}

.footer-info .socials {
    margin-top: 10px;
}

.footer-info a {
    color: var(--color-text-light);
    margin: 0 10px;
    font-size: 1.2em;
}

.footer-info a:hover {
    color: var(--color-vibrant-green);
}

/* --- Improved Swiper Styles --- */
.swiper-container {
    flex: 1;
    min-height: 250px;
    max-height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: white;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--color-vibrant-green);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-vibrant-green);
    background: rgba(255, 255, 255, 0.8);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-vibrant-green);
    color: white;
    transform: scale(1.1);
}

/* Services Swiper - Smaller Size */
.swiper-services {
    min-height: 200px;
    max-height: 250px;
}

/* --- Tip of the Day Styles --- */
.tip-trigger-container {
    margin-top: 25px;
}

.tip-trigger-btn {
    background: linear-gradient(135deg, var(--color-navy-blue) 0%, #1a237e 100%);
    color: var(--color-text-light);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(4, 0, 102, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-trigger-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tip-trigger-btn:hover::before {
    left: 100%;
}

.tip-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 0, 102, 0.4);
}

.tip-trigger-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Tip Popup Styles */
.tip-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tip-popup.active {
    display: flex;
    opacity: 1;
}

.tip-popup-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.tip-popup.active .tip-popup-content {
    transform: scale(1);
}

.tip-popup-header {
    background: linear-gradient(135deg, var(--color-navy-blue) 0%, #1a237e 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tip-popup-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.tip-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.tip-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tip-popup-body {
    padding: 25px;
}

.tip-popup-body p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-dark);
}

.tip-popup-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.share-buttons span {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0077B5; }
.share-btn.facebook { background: #4267B2; }
.share-btn.copy { background: var(--color-vibrant-green); }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Glowing Button Effects --- */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 163, 0, 0.3);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 163, 0, 0.6);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

/* Enhanced primary button glow */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(4, 0, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(4, 0, 102, 0.6);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* --- Loading Animation --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-content h1,
.intro-content p,
.tip-trigger-container {
    animation: fadeInUp 0.8s ease-out;
}

.intro-content p:nth-child(2) {
    animation-delay: 0.2s;
}

.intro-content p:nth-child(3) {
    animation-delay: 0.4s;
}

.tip-trigger-container {
    animation-delay: 0.6s;
}

/* ===== CASH USAGE MAP STYLES ===== */
.map-container {
    margin: 30px 0;
    position: relative;
    background: var(--color-text-light);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

.map-embed-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Remove iframe borders globally */
.map-embed-container iframe,
.swiper-slide iframe {
    border: none !important;
    outline: none !important;
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: var(--color-light-gray);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--color-text-dark);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.legend-color.high-cash {
    background: linear-gradient(135deg, #00A300 0%, #008700 100%);
}

.legend-color.medium-cash {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

.legend-color.low-cash {
    background: linear-gradient(135deg, #040066 0%, #1a237e 100%);
}

.map-insights {
    margin-top: 40px;
    text-align: center;
}

.map-insights h3 {
    color: var(--color-navy-blue);
    margin-bottom: 30px;
    font-size: 1.7em;
    position: relative;
}

.map-insights h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-vibrant-green);
    border-radius: 2px;
}

.insight-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
}

.insight-card {
    background: linear-gradient(135deg, var(--color-text-light) 0%, #fafafa 100%);
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-vibrant-green), var(--color-navy-blue));
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.insight-card i {
    font-size: 2em;
    color: var(--color-navy-blue);
    margin-bottom: 15px;
    display: block;
}

.insight-card h4 {
    color: var(--color-navy-blue);
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 600;
}

.insight-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.9em;
}

/* East Africa Focus Section */
.east-africa-focus {
    margin-top: 50px;
    padding: 30px 0;
    background: linear-gradient(135deg, var(--color-light-gray) 0%, #f8f9fa 100%);
    border-radius: 12px;
}

.east-africa-focus h3 {
    text-align: center;
    color: var(--color-navy-blue);
    margin-bottom: 30px;
    font-size: 1.8em;
}

.focus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.focus-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.focus-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.focus-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-light-gray);
}

.focus-header i {
    font-size: 1.8em;
    color: var(--color-vibrant-green);
}

.focus-header h4 {
    color: var(--color-navy-blue);
    margin: 0;
    font-size: 1.3em;
}

.country-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.country-highlight:last-child {
    border-bottom: none;
}

.country-name {
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.usage-badge {
    background: var(--color-vibrant-green);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8em;
}

.stat {
    text-align: center;
    margin: 15px 0;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 800;
    color: var(--color-vibrant-green);
    line-height: 1;
}

.stat-label {
    font-size: 0.9em;
    color: var(--color-text-dark);
    font-weight: 600;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.solution-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

.solution-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-vibrant-green);
    font-weight: bold;
}

.solution-list li:last-child {
    border-bottom: none;
}

/* Enhanced Typography */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Font Weights for Hierarchy */
h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }
p { font-weight: 400; }

/* Improved paragraph readability */
p:not(.footer-container p) {
    font-weight: 600;
    line-height: 1.7;
    color: #2D3748;
}

.section-description {
    font-weight: 700;
}

/* ===== PRODUCTS SLIDER STYLES ===== */
.products-slider-container {
    margin: 30px 0;
    position: relative;
}

.products-swiper {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.product-slide {
    position: relative;
    background: #000;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-hover-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(4, 0, 102, 0.95) 0%, 
        rgba(0, 163, 0, 0.9) 100%);
    color: var(--color-text-light);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.product-slide:hover .product-hover-info {
    opacity: 1;
    transform: translateY(0);
}

.product-slide:hover .product-main-image {
    transform: scale(1.1);
}

.product-name {
    text-align: center;
    margin-bottom: 20px;
}

.product-name h3 {
    font-size: 1.8em;
    margin-bottom: 8px;
    color: var(--color-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.product-name p {
    font-size: 1.1em;
    opacity: 0.9;
    margin: 0;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    flex: 1;
}

.specs-column h4 {
    color: var(--color-text-light);
    margin-bottom: 15px;
    font-size: 1.2em;
    border-bottom: 2px solid var(--color-vibrant-green);
    padding-bottom: 8px;
}

.specs-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-column li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    padding-left: 18px;
    font-size: 0.9em;
    line-height: 1.5;
}

.specs-column li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-vibrant-green);
    font-weight: bold;
}

.specs-column li:last-child {
    border-bottom: none;
}

.specs-column strong {
    color: var(--color-text-light);
    font-weight: 700;
}

/* Products Swiper Navigation */
.products-swiper .swiper-button-next,
.products-swiper .swiper-button-prev {
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.products-swiper .swiper-button-next:after,
.products-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.products-swiper .swiper-button-next:hover,
.products-swiper .swiper-button-prev:hover {
    background: var(--color-vibrant-green);
    border-color: var(--color-vibrant-green);
    transform: scale(1.1);
}

.products-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.products-swiper .swiper-pagination-bullet-active {
    background: var(--color-vibrant-green);
    transform: scale(1.1);
}

/* ===== TROUBLESHOOT POPUP STYLES ===== */
.troubleshoot-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.troubleshoot-popup.active {
    display: flex;
    opacity: 1;
}

.troubleshoot-popup-content {
    background: white;
    border-radius: 15px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.troubleshoot-popup.active .troubleshoot-popup-content {
    transform: scale(1);
}

.troubleshoot-popup-header {
    background: linear-gradient(135deg, var(--color-navy-blue) 0%, #1a237e 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.troubleshoot-popup-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

.troubleshoot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.troubleshoot-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.troubleshoot-popup-body {
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

.troubleshoot-container {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    min-height: 400px;
}

.troubleshoot-image {
    background: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 250px;
}

.troubleshoot-image img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.troubleshoot-form {
    padding: 25px 20px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.troubleshoot-form h3 {
    color: var(--color-navy-blue);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.troubleshoot-form select,
.troubleshoot-form input,
.troubleshoot-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.troubleshoot-form select:focus,
.troubleshoot-form input:focus,
.troubleshoot-form textarea:focus {
    border-color: var(--color-vibrant-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 163, 0, 0.1);
}

/* ===== UPDATED MODEL CARDS ===== */
.model-card {
    background: var(--color-text-light);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #eaeaea;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 320px;
}

.model-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--color-light-gray);
}

.model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-card:hover .model-image {
    transform: scale(1.05);
}

.model-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(4, 0, 102, 0.8));
    color: var(--color-text-light);
    padding: 12px;
}

.model-overlay h3 {
    margin: 0;
    color: var(--color-text-light);
    font-size: 1.2em;
}

.model-card .btn-primary,
.model-card .btn-accent {
    margin: 12px;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 0.9em;
    min-height: 44px;
}

.model-card .btn-primary {
    background: var(--color-navy-blue);
    color: var(--color-text-light);
}

.model-card .btn-primary:hover {
    background: #1a237e;
    transform: translateY(-2px);
}

.model-card .btn-accent {
    background: var(--color-vibrant-green);
    color: var(--color-text-light);
}

.model-card .btn-accent:hover {
    background: #008700;
    transform: translateY(-2px);
}

/* Training Swiper Styles */
.training-swiper-container {
    flex: 1;
    min-height: 300px;
    max-height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.training-swiper {
    width: 100%;
    height: 100%;
}

.training-swiper .swiper-slide {
    position: relative;
    background: var(--color-light-gray);
}

.training-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.training-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.training-swiper .swiper-pagination-bullet-active {
    background: var(--color-vibrant-green);
}

.training-swiper .swiper-button-next,
.training-swiper .swiper-button-prev {
    color: var(--color-vibrant-green);
    background: rgba(255, 255, 255, 0.9);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.training-swiper .swiper-button-next:after,
.training-swiper .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
}

.training-swiper .swiper-button-next:hover,
.training-swiper .swiper-button-prev:hover {
    background: var(--color-vibrant-green);
    color: white;
    transform: scale(1.1);
}

/* ===== MEDIA QUERIES ===== */

/* Tablets and larger phones */
@media (min-width: 768px) {
    .container {
        width: 85%;
        padding: 0 20px;
    }
    
    .section-padding {
        padding: 4em 0;
    }
    
    .intro-grid {
        flex-direction: row;
        text-align: left;
    }
    
    .intro-content {
        text-align: left;
    }
    
    .training-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .insight-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .map-legend {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    
    .errors-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .share-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .footer-content {
        flex-direction: row;
        text-align: left;
    }
    
    .footer-info {
        text-align: right;
    }
    
    .troubleshoot-container {
        grid-template-columns: 1fr 1fr;
        min-height: 450px;
    }
    
    .troubleshoot-image {
        height: auto;
        order: 0;
    }
    
    .product-specs {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Desktop and larger screens */
@media (min-width: 992px) {
    .hamburger {
        display: none;
    }
    
    .nav-links {
        display: flex !important;
    }
    
    .intro-grid .intro-content {
        order: 1;
    }
    
    .intro-grid .swiper-container {
        order: 2;
    }
    
    .products-swiper {
        height: 550px;
    }
    
    .insight-cards {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .focus-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .training-swiper-container {
        min-height: 400px;
        max-height: 450px;
    }
}

/* Mobile-specific fixes */
@media (max-width: 767px) {
    .navbar {
        padding: 1rem 15px;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--color-navy-blue);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 15px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 10px 20px;
        width: 100%;
    }
    
    .nav-links a::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-links a:hover::after,
    .nav-links a.active::after {
        width: 50%;
    }
    
    .search-icon {
        margin-left: 10px;
    }
    
    .hero-section {
        padding-top: 80px;
        padding-bottom: 3em;
    }
    
    .swiper-container {
        min-height: 250px;
        max-height: 300px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .products-swiper {
        height: 400px;
    }
    
    .product-hover-info {
        padding: 20px;
    }
    
    .product-name h3 {
        font-size: 1.5em;
    }
    
    .product-name p {
        font-size: 1em;
    }
    
    .model-card {
        height: 300px;
    }
    
    .model-image-container {
        height: 160px;
    }
    
    .accordion-content th, .accordion-content td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .accordion-content thead {
        display: none;
    }
    
    .tip-popup-body {
        padding: 20px;
    }
    
    .tip-popup-body p {
        font-size: 1rem;
    }
    
    .btn-glow:hover {
        transform: none;
    }
    
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .section-padding {
        padding: 2.5em 0;
    }
    
    .hero-section {
        padding-top: 70px;
        padding-bottom: 2.5em;
    }
    
    .swiper-container {
        min-height: 200px;
        max-height: 250px;
    }
    
    .products-swiper {
        height: 350px;
    }
    
    .product-hover-info {
        padding: 15px;
    }
    
    .product-name h3 {
        font-size: 1.3em;
    }
    
    .specs-column li {
        font-size: 0.85em;
        padding: 5px 0;
    }
    
    .model-card {
        height: 280px;
    }
    
    .model-image-container {
        height: 140px;
    }
    
    .model-card .btn-primary,
    .model-card .btn-accent {
        margin: 8px;
        padding: 8px 12px;
        font-size: 0.85em;
    }
    
    .training-swiper-container {
        min-height: 250px;
        max-height: 300px;
    }
    
    .training-swiper .swiper-button-next,
    .training-swiper .swiper-button-prev {
        display: none;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .focus-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    margin-left: 15px;
}

.language-dropdown {
    position: relative;
}

.language-current {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-light);
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.language-current:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-text-light);
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 5px 0;
    margin: 5px 0 0 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
}

.language-dropdown.active .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-options li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-options li:hover {
    background-color: var(--color-light-gray);
}

.language-options li[data-lang="en"] { border-left: 3px solid #007bff; }
.language-options li[data-lang="de"] { border-left: 3px solid #000; }
.language-options li[data-lang="sw"] { border-left: 3px solid #1eb53a; }

/* Mobile styles */
@media (max-width: 767px) {
    .language-switcher {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .language-current {
        justify-content: center;
        width: 100%;
    }
    
    .language-options {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .language-dropdown.active .language-options {
        transform: translateX(-50%) translateY(0);
    }
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 150px;
    width: auto;
    object-fit: contain;
    margin-right: 12px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    white-space: nowrap;
}

/* Footer Logo Styling */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    max-height: 100px;
    overflow: hidden;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 110px;
    overflow: hidden;
}

.footer-logo-image {
    height: 300px;
    width: auto;
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    object-position: center;
}


/* Responsive Logo Styling */
@media (max-width: 768px) {
    .logo-image {
        height: 60px; /* Reduced from 100px for tablet */
        margin-right: 10px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .footer-logo-image {
        height: 40px; /* Slightly smaller for footer */
    }
    
    .footer-logo-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 50px; /* Increased from 30px - much more visible */
        margin-right: 8px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .footer-logo-image {
        height: 35px; /* Reduced from 100px - footer logos are usually smaller */
    }
    
    .footer-logo-text {
        font-size: 1rem;
    }
}

/* Base styles */
.logo-image {
    height: 150px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.footer-logo-image {
    height: 150px;
}