/* RÜO Custom Styles */
/* Brand Colors from RÜO Apps */
:root {
    --ruo-primary: #0980ff;
    --ruo-secondary: #0980ff;
    --ruo-secondary-dark: #54C5F8;
    --ruo-green: #16AD70;
    --ruo-red: #FB270B;
    --ruo-button: #16AD70;
    --ruo-text: #1a1a1a;
    --ruo-text-light: #666;
    --ruo-border: #eee;
}

/* Logo Styling */
.rd-navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-dark {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Hero Section Optimization */
.section-xl h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    color: var(--ruo-text);
}

/* Section Titles */
.section h2 {
    font-size: 2rem !important;
    font-weight: 600 !important;
    margin-bottom: 3rem !important;
    color: var(--ruo-text);
    letter-spacing: -0.5px;
}

.section h3 {
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    color: var(--ruo-text);
}

/* Subtitle and Lead Text */
.lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ruo-text-light);
    margin-bottom: 2rem;
}

/* Feature Box Titles */
.feature-box h3,
.box-modern-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--ruo-text);
}

.feature-box p,
.box-modern-text p {
    font-size: 0.95rem;
    color: var(--ruo-text-light);
    line-height: 1.6;
}

/* Button Optimization */
.button {
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.button-primary:hover {
    background-color: var(--ruo-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(9, 128, 255, 0.3);
}

.button-secondary {
    background-color: transparent;
    border: 2px solid var(--ruo-primary);
    color: var(--ruo-primary);
}

.button-secondary:hover {
    background-color: var(--ruo-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(9, 128, 255, 0.3);
}

.button-white {
    background-color: #ffffff;
    color: var(--ruo-primary);
    border: 2px solid #ffffff;
}

.button-white:hover {
    background-color: #f0f0f0;
    color: var(--ruo-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-xl h1 {
        font-size: 1.8rem !important;
    }

    .section h2 {
        font-size: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .section h3 {
        font-size: 1.1rem !important;
    }

    .lead {
        font-size: 1rem;
    }

    .button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* Text Alignment and Spacing */
.text-center {
    text-align: center;
}

/* Container Max Width */
.container {
    max-width: 1200px;
}

/* Box Modern Styling */
.box-modern {
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    border: 1px solid var(--ruo-border);
}

.box-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(9, 128, 255, 0.15);
    border-color: var(--ruo-primary);
}

.box-modern-icon {
    font-size: 2.5rem;
    color: var(--ruo-primary);
    margin-bottom: 1rem;
}

/* Section Background */
.bg-gray-100 {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

/* Brand Color Accent */
.accent-primary {
    color: var(--ruo-primary);
}

.accent-secondary {
    color: var(--ruo-secondary-dark);
}

.accent-success {
    color: var(--ruo-green);
}

.accent-danger {
    color: var(--ruo-red);
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    color: var(--ruo-text);
}

p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--ruo-text);
}

/* Link Styling */
a {
    color: var(--ruo-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ruo-secondary-dark);
    text-decoration: underline;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* WOW Animation */
.wow {
    animation-duration: 0.6s;
}

/* Badge and Badge Colors */
.badge {
    background-color: var(--ruo-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background-color: var(--ruo-green);
}

.badge-danger {
    background-color: var(--ruo-red);
}

/* Alert Colors */
.alert-info {
    background-color: rgba(9, 128, 255, 0.1);
    border-left: 4px solid var(--ruo-primary);
    color: var(--ruo-primary);
}

.alert-success {
    background-color: rgba(0, 225, 112, 0.1);
    border-left: 4px solid var(--ruo-green);
    color: var(--ruo-green);
}

.alert-danger {
    background-color: rgba(251, 39, 11, 0.1);
    border-left: 4px solid var(--ruo-red);
    color: var(--ruo-red);
}

/* Form Elements */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--ruo-primary) !important;
    box-shadow: 0 0 0 3px rgba(9, 128, 255, 0.1);
    outline: none;
}

/* Progress Bar */
.progress-bar {
    background-color: var(--ruo-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--ruo-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ruo-secondary-dark);
}

/* Custom Button Styles for Navigation */
.bg-accent .button-default-outline.button-winona {
    color: var(--ruo-button);
    border-color: var(--ruo-button);
    background-color: transparent;
    font-weight: 600;
    transition: all 0.4s ease;
    padding: 10px 20px !important;
    font-size: 1rem !important;
    min-height: 44px;
    border-width: 2px !important;
    border-radius: 6px !important;
}

.bg-accent .button-default-outline.button-winona .content-original {
    color: var(--ruo-button);
    font-size: 1rem;
}

.bg-accent .button-default-outline.button-winona .content-dubbed {
    color: #ffffff;
    background-color: var(--ruo-button);
    font-size: 1rem;
}

.bg-accent .button-default-outline.button-winona:hover {
    background-color: var(--ruo-button);
    border-color: var(--ruo-button);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 173, 112, 0.3);
}

.bg-accent .button-default-outline.button-winona:hover .content-original {
    color: #ffffff;
}

.bg-accent .button-default-outline.button-winona:hover .content-dubbed {
    color: #ffffff;
    background-color: transparent;
}

/* Navigation Toggle Icon Styling */
.bg-accent .rd-navbar-aside-open-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 12px !important;
    margin-left: 15px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    width: auto;
    height: auto;
    gap: 6px;
}

.bg-accent .rd-navbar-aside-open-toggle span {
    background-color: var(--ruo-button) !important;
    height: 4px !important;
    width: 28px !important;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.bg-accent .rd-navbar-aside-open-toggle:hover span {
    background-color: #16AD70 !important;
    box-shadow: 0 2px 8px rgba(22, 173, 112, 0.4);
}

.bg-accent .rd-navbar-aside-open-toggle span:nth-child(1),
.bg-accent .rd-navbar-aside-open-toggle span:nth-child(3) {
    width: 28px !important;
}

.bg-accent .rd-navbar-aside-open-toggle span:nth-child(2) {
    width: 20px !important;
}

.bg-accent .rd-navbar-aside-open-toggle:hover span:nth-child(2) {
    width: 28px !important;
}

.bg-accent .rd-navbar-aside-open-toggle span:nth-child(2) {
    width: 18px !important;
}

.bg-accent .rd-navbar-aside-open-toggle:hover span:nth-child(2) {
    width: 25px !important;
}

