/* ==========================================
   ROSS EXPRESS - Custom CSS
   ========================================== */

/* Variables CSS */
:root {
    --rx-primary: #ff8f29;
    --rx-secondary: #064eb6;
    --rx-primary-light: #fff3e8;
    --rx-secondary-light: #e6f0ff;
    --rx-dark: #1a1a1a;
    --rx-gray: #6c757d;
    --rx-light-gray: #f8f9fa;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility Classes */
.text-rx-primary {
    color: var(--rx-primary) !important;
}

.text-rx-secondary {
    color: var(--rx-secondary) !important;
}

.bg-rx-primary {
    background-color: var(--rx-primary) !important;
}

.bg-rx-secondary {
    background-color: var(--rx-secondary) !important;
}

.bg-rx-primary-light {
    background-color: var(--rx-primary-light) !important;
}

.bg-rx-secondary-light {
    background-color: var(--rx-secondary-light) !important;
}

/* Buttons */
.btn-rx-primary {
    background: linear-gradient(135deg, var(--rx-primary) 0%, #ff9d42 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 143, 41, 0.3);
}

.btn-rx-primary:hover {
    background: linear-gradient(135deg, #ff9d42 0%, var(--rx-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 143, 41, 0.4);
    color: white;
}

.btn-rx-secondary {
    background: linear-gradient(135deg, var(--rx-secondary) 0%, #0a5dd6 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 78, 182, 0.3);
}

.btn-rx-secondary:hover {
    background: linear-gradient(135deg, #0a5dd6 0%, var(--rx-secondary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 78, 182, 0.4);
    color: white;
}

/* Cards */
.rx-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.rx-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.rx-section .card-header {
    background: linear-gradient(135deg, var(--rx-primary) 0%, #ff9d42 100%);
    color: white;
    border: none;
    padding: 15px 20px;
}

/* Required Field Indicator */
.rx-required::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--rx-primary) 0%, #ff9d42 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--rx-secondary) 0%, #0a5dd6 100%);
}

/* Form Controls */
.form-control:focus,
.form-select:focus {
    border-color: var(--rx-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 143, 41, 0.25);
}

.form-check-input:checked {
    background-color: var(--rx-primary);
    border-color: var(--rx-primary);
}

/* Icons */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

.icon-box-large {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 2rem;
    margin: 0 auto;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--rx-primary);
    transform: translateY(-10px);
}

.service-icon {
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
}

/* Counter Section */
.counter-item i {
    opacity: 0.9;
}

/* Step Cards */
.step-card {
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--rx-primary) 0%, #ff9d42 100%);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 143, 41, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--rx-primary), var(--rx-secondary));
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -38px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    padding-left: 20px;
}

/* Process Cards */
.process-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.process-card:hover {
    border-color: var(--rx-primary);
}

.process-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Video Section */
.video-wrapper {
    position: relative;
    overflow: hidden;
}

.video-overlay {
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.video-wrapper:hover .video-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.btn-play {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rx-primary);
    font-size: 3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-play:hover {
    transform: scale(1.1);
    color: var(--rx-secondary);
}

/* Accordion (FAQ) */
.accordion-button {
    background-color: white;
    color: #333;
}

.accordion-button:not(.collapsed) {
    background-color: var(--rx-primary-light);
    color: var(--rx-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 143, 41, 0.25);
    border-color: var(--rx-primary);
}

/* Page Header */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Login/Register Pages */
.login-icon,
.register-icon {
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
}

.min-vh-70 {
    min-height: 70vh;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider-text {
    padding: 0 10px;
}

/* Avatar Circle */
.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Tech Icons */
.tech-icon {
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto;
}

/* Benefit Icon */
.benefit-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
}

/* Navbar Customization */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--rx-primary);
}

/* Footer */
.footer {
    position: relative;
}

.footer a:hover {
    color: var(--rx-primary) !important;
}

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Carousel Customization */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Badges */
.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.bg-rx-primary.badge {
    background-color: var(--rx-primary) !important;
}

/* Alerts */
.alert-info {
    background-color: var(--rx-secondary-light);
    border-color: var(--rx-secondary);
    color: var(--rx-secondary);
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .icon-box-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Input Groups */
.input-group-text {
    border-color: #ced4da;
}

.input-group:focus-within .input-group-text {
    border-color: var(--rx-primary);
    background-color: var(--rx-primary-light);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Lists */
ul.list-unstyled li {
    transition: all 0.2s ease;
}

/* Shadow Effects */
.shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Sticky Elements */
.sticky-top {
    z-index: 1020;
}

/* Spacing Utilities */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Border Radius */
.rounded-3 {
    border-radius: 12px !important;
}

/* Text Utilities */
.fw-bold {
    font-weight: 700 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Background Light */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .cta-section {
        display: none;
    }
}
