/* Logo adjustments */
.brand.header-brand .logo-wrapper img {
    width: 48px !important;
    height: 48px !important;
}

.brand.header-brand a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.brand.header-brand a span:last-child {
	color:#d10000;
	font-size: 39px;
	padding-top: 6px;
	border-left:1px solid #d10000;
	margin-left:5px;
	padding-left:5px;
}

/*.brand.header-brand a span:last-child {*/
/*    margin-top: 5px !important;*/
/*    font-size: 18px !important;*/
/*}*/

/* Navigation Styles */
.main-navigation {
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu li {
    margin: 0;
	display: flex;
	align-items: center;
}

.nav-menu a {
    color: #708396;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 0.1rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #d10000;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #d10000;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .site-header-inner {
        flex-wrap: wrap;
    }

    .main-navigation {
        width: 100%;
        margin-top: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 14px;
    }
}

/* Page Content Styles */
.page-content {
    padding: 80px 0;
    min-height: 500px;
}

.page-content h1 {
    color: #2c3e50;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.page-content h2 {
    color: #2c3e50;
    font-size: 32px;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    color: #5D5B6E;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Footer improvements */
.footer-links {
    display: flex;
    gap: 2rem;
}

/* Language switch dropdown in navigation */
.language-nav-item {
    position: relative;
}

.language-nav-item .language-dropdown {
    position: relative;
    display: inline-block;
}

.language-nav-item .language-dropdown-toggle {
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    color: #708396;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.language-nav-item .language-dropdown-toggle:hover {
    color: #d10000;
}

.language-nav-item .language-dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
}

.language-nav-item .language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
    min-width: 100px;
    z-index: 1000;
}

.language-nav-item .language-dropdown-menu.show {
    display: block;
}

.language-nav-item .language-dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #708396;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.language-nav-item .language-dropdown-menu a:hover {
    background: #f8f9fa;
    color: #d10000;
}

/* Header improvements for non-home pages */
.site-header:not(.home-page .site-header) {
    background-color: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

/* Contact form styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    color: #202124;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d10000;
}

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

/* Button improvements */
.button-secondary {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 0px;
    font-weight: 600;
    line-height: 16px;
    text-decoration: none !important;
    text-transform: uppercase;
    background-color: #2c3e50;
    color: #FFF !important;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    padding: 13px 30px;
    height: 43px;
    transition: background .3s ease, transform .2s ease, box-shadow .2s ease;
}

.button-secondary:hover {
    background: #1a252f;
    transform: translate(0, -2px);
    box-shadow: 0 15px 40px rgba(44,62,80,.3);
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.team-member h3 {
    color: #202124;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #708396;
    font-size: 16px;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    color: #d10000;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 16px;
}

/* Legal pages styling */
.legal-content h2 {
    color: #d10000;
    font-size: 24px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: #202124;
    font-size: 20px;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    color: #5D5B6E;
    font-size: 16px;
    line-height: 1.8;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* About page styles */
.about-intro {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
}

.about-intro .lead {
    font-size: 20px;
    color: #202124;
    margin: 0;
    line-height: 1.6;
}

.about-sections {
    margin-bottom: 3rem;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: #d10000;
    border-bottom: 2px solid #d10000;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.about-content {
    color: #5D5B6E;
    font-size: 16px;
    line-height: 1.8;
}

.expertise-list .bullet {
    color: #d10000;
    font-weight: bold;
    margin-right: 0.5rem;
}

.about-cta {
    /*background: linear-gradient(135deg, #d10000, #2c3e50);*/
	background: linear-gradient(135deg, #485768, #2c3e50);
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
}

.about-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.about-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 2rem;
}

/* Services page styles */
.services-intro {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
}

.services-intro .lead {
    font-size: 20px;
    color: #202124;
    margin: 0;
    line-height: 1.6;
}

.services-cta {
    /*background: linear-gradient(135deg, #2c3e50, #d10000);*/
	background: linear-gradient(135deg, #485768, #2c3e50);
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 4rem;
}

.services-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.services-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 2rem;
}


/* YobiYoba page styles */
.yobiyoba-intro {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
}

.yobiyoba-intro .lead {
    font-size: 20px;
    color: #202124;
    margin: 0;
    line-height: 1.6;
}

.yobiyoba-demo-section {
    margin-bottom: 4rem;
}

.demo-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.demo-image {
    text-align: center;
}

.yobiyoba-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.demo-actions {
    text-align: center;
}

.demo-note {
    color: #708396;
    font-size: 14px;
    margin-top: 1rem;
    font-style: italic;
}

.yobiyoba-content {
    margin-bottom: 4rem;
}

.yobiyoba-section {
    margin-bottom: 3rem;
}

.yobiyoba-section h2 {
    color: #d10000;
    border-bottom: 2px solid #d10000;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.features-content {
    color: #5D5B6E;
    font-size: 16px;
    line-height: 1.8;
}

.features-content .bullet {
    color: #d10000;
    font-weight: bold;
    margin-right: 0.5rem;
}

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

.usecase-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2c3e50;
}

.usecase-card h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 0.75rem;
	margin-top: 0.25rem;
}

.usecase-card p {
    color: #5D5B6E;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.yobiyoba-cta {
    background: linear-gradient(135deg, #485768, #2c3e50);
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
}

.yobiyoba-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.yobiyoba-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.yobiyoba-cta .button {
    border: none;
}

/* Responsive design for YobiYoba page */
@media (max-width: 768px) {
    .demo-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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