/* Route-Smart Landing Page Styles */
/* Brand Colors: Main Yellow #FBAC36, Main Blue #132F54 */

:root {
    --primary-yellow: #FBAC36;
    --primary-blue: #132F54;
    --yellow-light: rgba(251, 172, 54, 0.1);
    --blue-light: rgba(19, 47, 84, 0.1);
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gray-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    color: #1d2f4b;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #edf4ff;
    min-height: 100vh;
    position: relative;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.loading{
    height: 50%;
    width: 50%;
    border: 6px solid #132F54;
    border-radius: 4px;
    box-shadow: 0 0 8px #132F54, 0 0 8px #132F54;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: loading 2s ease-in-out infinite;
}
@keyframes loading{
    0%{
        transform: translate(-50%, -50%) rotateX(0) rotateY(0) rotateZ(0);
    }
    33%{
        transform: translate(-50%, -50%) rotateX(180deg) rotateY(0) rotateZ(0);
    }
    67%{
        transform: translate(-50%, -50%) rotateX(180deg) rotateY(180deg) rotateZ(0);
    }
    100%{
        transform: translate(-50%, -50%) rotateX(180deg) rotateY(180deg) rotateZ(180deg);
    }
}

/* Navbar loader – reuses .loading animation next to logo */
.navbar-loader-wrapper {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.loading-navbar {
    height: 20px !important;
    width: 20px !important;
    border-width: 3px !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important;
}

/* Add a subtle animated overlay with brand colors */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(251, 172, 54, 0.03) 0%,
        rgba(19, 47, 84, 0.03) 25%,
        rgba(251, 172, 54, 0.03) 50%,
        rgba(19, 47, 84, 0.03) 75%,
        rgba(251, 172, 54, 0.03) 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    z-index: -1;
    pointer-events: none;
}

/* Add floating animated shapes */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(251, 172, 54, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(19, 47, 84, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(251, 172, 54, 0.06) 0%, transparent 50%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    animation: floatShapes 25s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes floatShapes {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.9;
    }
}

/* Header Styles */
.main-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: transparent;
    box-shadow: none;
    padding: 30px;
}

.main-header .logo img {
    height: 50px;
    width: auto;
    display: block;

}

.main-nav ul {
    list-style: none;
    gap: 2rem;
}

.main-nav ul li a {
    color: #e6efff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav ul li a:hover {
    color: #ffffff;
}

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

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.btn-menu {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.btn-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    display: block;
}

.btn-menu.active span:first-child {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.btn-menu.active span:last-child {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    padding: 1rem 0;
    background-color: var(--gray-light);
    margin-top: 1rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
}

.mobile-nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.mobile-nav ul li a:hover {
    color: var(--primary-yellow);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--yellow-light) 100%);
    background-image:
        url('/assets/images/route-smart/Rectangle 989.png'),
        url('/assets/images/route-smart/Rectangle 19.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    padding: 0 0;
    min-height: 100vh;
    display: flex;
    position: relative;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

@media (min-width: 576px) {
    .hero-video-container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .hero-video-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .hero-video-container {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .hero-video-container {
        max-width: 100%;
    }
}

@media (min-width: 1400px) {
    .hero-video-container {
        max-width: 100%;
    }
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video Section Styles */
.video-section {
    position: relative;
    padding: 60px 0;
    background-color: #e6eef9;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section .container {
    position: relative;
    z-index: 1;
}

.video-section .hero-video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    left: auto;
    transform: none;
    pointer-events: none;
}

.video-section .hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-section .container {
    position: relative;
    z-index: 1;
    padding-top: 0px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
}

.download-cards {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-card {
    background: rgba(200, 210, 220, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    min-width: 280px;
    flex: 1;
    max-width: 320px;
}

.download-card-staff {
    border: 2px solid #FBAC36;
    background: transparent;
    backdrop-filter: none;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.download-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.google-play-btn {
    background-color: #FBAC36;
    color: white;
}

.app-store-btn {
    border: 1px solid white;
    color: white;
}

.btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-text-small {
    font-size: 0.7rem;
    font-weight: 400;
}

.btn-text-large {
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--white);
    padding: 7px 22px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}


.btn-primary:hover {
    background-color: #e89d20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 172, 54, 0.3);
    color: var(--white);
}

/* Language Button - Match Login Button Size */
.language-btn {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.language-btn .form-select,
.language-btn .form-select-sm {
    padding: 7px 30px;
    font-weight: 600;
    border-radius: 86px;
    border: 3px solid white;
    background-color: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    height: auto;
    min-height: auto;
    line-height: 1.5;
}

.language-btn .form-select:hover,
.language-btn .form-select-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.language-btn .form-select:focus,
.language-btn .form-select-sm:focus {
    border-color: rgba(251, 172, 54, 0.9);
    box-shadow: 0 0 0 3px rgba(251, 172, 54, 0.1);
    outline: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    padding: 12px 30px;
    border: 2px solid var(--primary-blue);
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
    background-image: url('/assets/images/route-smart/Ellipses.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    animation: hero-float 2s ease-in-out infinite;
    will-change: transform;
}

@keyframes hero-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image img {
        animation: none;
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.features-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.features-background-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/route-smart/background-ourkey.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.features-background-book {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/route-smart/background-book.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

.features-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.features-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    text-align: center;
}

.features-content h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 0rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.feature-card-wrapper {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    padding: 2rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-width: 380px;
    max-width: 420px;
    flex-shrink: 0;
}

.feature-card-text {
    margin-bottom: 1.5rem;
    text-align: left;
}

.feature-card-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.feature-card-text p {
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    margin: 0;
}

.feature-card-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.feature-card-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.feature-card-stacked {
    position: relative;
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card-image-top,
.feature-card-image-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card-image-bottom {
    position: relative;
    z-index: 1;
}

.feature-card-image-top {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: auto;
    max-width: 80%;
}

.feature-card-image-top img,
.feature-card-image-bottom img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.carousel-container {
    margin-top: 3rem;
    padding: 2rem 0;
}

/* Feature Cards */
.slideritems {
    height: 100%;
    display: flex;
}

.slideritems > div {
    height: 100%;
    width: 100%;
    display: flex;
}

.feature-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-yellow);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
}

/* Slick Carousel Customization */
.clsslider {
    position: relative;
}

.clsslider .slick-track {
    display: flex;
    align-items: stretch;
}

.clsslider .slick-slide {
    height: auto;
    display: flex;
}

.clsslider .slick-slide > div {
    height: 100%;
    width: 100%;
    display: flex;
}

.clsslider .slideritems {
    height: 100%;
    display: flex;
}

.clsslider .slideritems > div {
    height: 100%;
    width: 100%;
    display: flex;
}

.clsslider .slick-prev,
.clsslider .slick-next {
    z-index: 10;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.clsslider .slick-prev:after,
.clsslider .slick-next:after {
    display: none;
    content: '';
}

.clsslider .slick-prev:hover,
.clsslider .slick-next:hover {
    background-color: var(--primary-yellow);
}

.clsslider .slick-prev {
    left: -10px;
    right: auto;

}

.clsslider .slick-next {
    right: -10px;
    left: auto;
}

.clsslider .slick-prev:before,
.clsslider .slick-next:before {
    content: '';
    display: block;
    width: 100%;
    height: 50%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.clsslider .slick-prev:before {
    background-image: url('../../images/route-smart/prev-arrow.png');
}

.clsslider .slick-next:before {
    background-image: url('../../images/route-smart/next-arrow.png');
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #eaf2ff;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.125rem;
    color: #132F54;
    margin-bottom: 1.5rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #132F54;
    font-size: 1.125rem;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
    font-size: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 0rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    min-width: 150px;
    flex: 1;
    max-width: 300px;
}

.stat-number {
    font-size: 4rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.stat-number-main.count-up {
    color: #1A2F50;
    font-weight: 700;
    display: inline-block;
}

.stat-number-main {
    color: #1A2F50;
    font-size: inherit;
    font-weight: inherit;
}

.stat-number-accent {
    color: #FFB732;
    font-size: inherit;
    font-weight: inherit;
}

.stat-label {
    font-size: 1rem;
    color: #1A2F50;
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Footer Styles */
.main-footer {
    background-image: url('/assets/images/route-smart/background-footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.main-footer h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-yellow);
}

.footer-contact {
    list-style: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* User Types Section */
/* Why SBRoute Section */
.why-sbroute-section {
    padding: 80px 0;
    background-color: #eaf2ff;
}

.why-sbroute-header {
    margin-bottom: 4rem;
}

.why-sbroute-header h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #344665;
    margin-bottom: 1rem;
}

.why-sbroute-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #344665;
    margin: 0;
}

.why-sbroute-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-sbroute-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(26, 47, 80, 0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(19, 47, 84, 0.08);
}



.why-sbroute-icon {
    width: 80px;
    height: 80px;
    background-color: #e2edf9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.why-sbroute-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.why-sbroute-icon .icon-placeholder {
    font-size: 2.5rem;
    color: #132F54;
}

.why-sbroute-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #132F54;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.why-sbroute-card p {
    font-size: 1rem;
    color: #132F54;
    line-height: 1.6;
    margin: 0;
}

.user-types-section {
    padding: 80px 0;
    background-color: var(--white);
}

.user-type-card {
    background-color: var(--gray-light);
    border-radius: 10px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.user-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-yellow);
    background-color: var(--white);
}

.user-type-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.user-type-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.user-type-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.user-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-features li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
}

.user-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-image: url('/assets/images/route-smart/contactus-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 47, 84, 0.75);
    z-index: 0;
}

/* Removed silk-wrapper override - using background image instead */

.contact-content {
    color: var(--white);
    z-index: 1;
    position: relative;
}

.contact-label {
    display: inline-block;
    color: #7fb3d3;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.contact-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.contact-form-wrapper {
    position: relative;
    z-index: 1;
}

.contact-form {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.contact-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

.contact-form .form-row .form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Rubik', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: #999;
    font-weight: 400;
}

.contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(251, 172, 54, 0.1);
}

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

.contact-form textarea.form-control::placeholder {
    color: #999;
}

.btn-submit {
    background-color: #1A2F50;
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: #0f2542;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19, 47, 84, 0.3);
}

.btn-submit .arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover .arrow {
    transform: translateX(4px);
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background-color: #eaf2ff;
}

.clients-section .section-header h2 {
    color: #1A2F50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Testimonial Cards for Logo Loop */
.testimonial-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 380px;
    min-width: 380px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    margin: 0;
    flex-shrink: 0;
}

.clients-section .logoloop__item {
    width: 380px;
    min-width: 380px;
    flex-shrink: 0;
}

.clients-section .logoloop__item .testimonial-card {
    width: 380px;
    min-width: 380px;
    max-width: 380px;
}

.testimonial-logo {
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    width: 100%;
}

.testimonial-logo img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.testimonial-quote {
    color: #333333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
    font-weight: 400;
    padding: 0 0.5rem;
}

.testimonial-quote .quote-mark {
    color: #FFB732;
    font-size: 2rem;
    font-weight: 700;
    line-height: 0;
    display: inline-block;
    vertical-align: middle;
    font-family: Georgia, serif;
}

.testimonial-quote .quote-mark:first-child {
    margin-right: 6px;
    vertical-align: top;
    line-height: 1;
}

.testimonial-quote .quote-mark:last-child {
    margin-left: 6px;
    vertical-align: bottom;
    line-height: 1;
}

.testimonial-separator {
    width: 60px;
    height: 3px;
    background-color: #FFB732;
    margin: 1.25rem auto 1rem;
    border-radius: 2px;
}

.testimonial-name {
    color: #1A2F50;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.testimonial-title {
    color: #666666;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Testimonials Grid Layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
    align-items: stretch;
}

@media (min-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.client-logo-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 150px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.client-logo-placeholder {
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
}

.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Fade-in on Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-features {
        margin-top: 1.5rem;
    }

    .about-features li {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .about-stats {
        margin-top: 2rem;
        gap: 2rem;
        padding: 1.5rem 0;
    }

    .stat-item {
        min-width: 140px;
        padding: 0;
        max-width: 250px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .video-section {
        padding: 40px 0;
        min-height: 300px;
    }

    .video-section .hero-video-container {
        height: 300px;
    }

    .hero-image {
        min-height: 300px;
        margin-top: 2rem;
    }

    .clsslider .slick-prev {
        left: -60px;
        right: auto;
    }

    .clsslider .slick-next {
        right: -60px;
        left: auto;
    }

    .language-btn .form-select,
    .language-btn .form-select-sm {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    /* Header */
    .main-header {
        padding: 0.5rem 0;
    }

    .main-header .logo img {
        height: 40px;
    }

    .navbar-loader-wrapper {
        width: 24px;
        height: 24px;
    }

    .loading-navbar {
        height: 18px !important;
        width: 18px !important;
        border-width: 2px !important;
    }

    .language-btn {
        display: none;
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 0;
        text-align: center;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }

    .hero-content .lead {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .download-cards {
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
    }

    .download-card {
        max-width: 100%;
        width: 100%;
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .card-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .download-btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .hero-image {
        min-height: 250px;
        margin-top: 2rem;
        padding: 1rem;
    }

    /* Video Section */
    .video-section {
        padding: 30px 0;
        min-height: 250px;
    }

    .video-section .hero-video-container {
        height: 250px;
    }

    .video-section .hero-background-video {
        border-radius: 8px;
    }

    /* Features Section */
    .features-section {
        padding: 60px 0;
    }

    .features-content h1 {
        font-size: 2.25rem;
    }

    .features-content h3 {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .features-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature-card-wrapper {
        padding: 1.5rem;
    }

    .feature-card-text h2 {
        font-size: 1.25rem;
    }

    .feature-card-text p {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .carousel-container {
        margin-top: 2rem;
        padding: 1rem 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.25rem;
    }

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

    /* About Section */
    .about-section {
        padding: 60px 0;
    }

    .about-content {
        text-align: center;
    }

    .about-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

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

    .about-features {
        text-align: left;
        margin-top: 1.5rem;
    }

    .about-features li {
        font-size: 0.95rem;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
    }

    .about-stats {
        gap: 2rem;
        margin-top: 2rem;
        flex-direction: row;
        justify-content: center;
        padding: 1rem 0;
    }

    .stat-item {
        min-width: auto;
        width: auto;
        max-width: none;
        padding: 0;
        flex: 1;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* User Types Section */
    .why-sbroute-section {
        padding: 60px 0;
    }

    .why-sbroute-header h2 {
        font-size: 1.75rem;
    }

    .why-sbroute-header h1 {
        font-size: 2.25rem;
    }

    .why-sbroute-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .why-sbroute-card {
        padding: 1.5rem;
    }

    .why-sbroute-card h3 {
        font-size: 1.25rem;
    }

    .why-sbroute-card p {
        font-size: 0.95rem;
    }

    .user-types-section {
        padding: 60px 0;
    }

    .user-type-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .user-type-card h3 {
        font-size: 1.5rem;
    }

    .user-type-card > p {
        font-size: 0.95rem;
    }

    .user-features li {
        font-size: 0.9rem;
    }

    /* Contact Section */
    .contact-section {
        padding: 60px 0;
    }

    .contact-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .contact-content p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

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

    .btn-submit {
        width: 100%;
    }

    /* Clients Section */
    .clients-section {
        padding: 60px 0;
    }

    .clients-grid {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .client-logo-card {
        min-height: 100px;
        padding: 1rem;
        width: 100%;
        max-width: 200px;
    }

    /* Footer */
    .main-footer {
        padding: 40px 0 20px;
        text-align: center;
    }

    .main-footer .row > div {
        margin-bottom: 2rem;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-description {
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    /* Carousel Arrows */
    .clsslider .slick-prev,
    .clsslider .slick-next {
        width: 40px;
        height: 40px;
    }

    .clsslider .slick-prev {
        left: -50px;
        right: auto;
    }

    .clsslider .slick-next {
        right: -50px;
        left: auto;
    }
}

@media (max-width: 575px) {
    /* Header */
    .main-header .logo img {
        height: 35px;
    }

    .navbar-loader-wrapper {
        width: 20px;
        height: 20px;
    }

    .loading-navbar {
        height: 16px !important;
        width: 16px !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-primary,
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }

    .download-card {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .download-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }

    .btn-text-small {
        font-size: 0.65rem;
    }

    .btn-text-large {
        font-size: 0.8rem;
    }

    .hero-image {
        min-height: 200px;
        padding: 0.75rem;
    }

    /* Video Section */
    .video-section {
        padding: 20px 0;
        min-height: 200px;
    }

    .video-section .hero-video-container {
        height: 200px;
    }

    /* Features Section */
    .features-section {
        padding: 40px 0;
    }

    .features-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .features-content h3 {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .features-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card-wrapper {
        padding: 1.25rem;
    }

    .feature-card-text h2 {
        font-size: 1.125rem;
    }

    .feature-card-text p {
        font-size: 0.875rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.125rem;
    }

    .feature-card p {
        font-size: 0.875rem;
    }

    /* About Section */
    .about-section {
        padding: 40px 0;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .about-features li {
        font-size: 0.875rem;
        padding-left: 1.25rem;
    }

    .about-stats {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .stat-item {
        min-width: auto;
        width: 100%;
        max-width: 250px;
        padding: 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* User Types Section */
    .why-sbroute-section {
        padding: 40px 0;
    }

    .why-sbroute-header h2 {
        font-size: 1.5rem;
    }

    .why-sbroute-header h1 {
        font-size: 1.875rem;
    }

    .why-sbroute-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-sbroute-card {
        padding: 1.25rem;
    }

    .why-sbroute-card h3 {
        font-size: 1.125rem;
    }

    .why-sbroute-card p {
        font-size: 0.875rem;
    }

    .user-types-section {
        padding: 40px 0;
    }

    .user-type-card {
        padding: 1.5rem;
    }

    .user-type-card h3 {
        font-size: 1.25rem;
    }

    .user-type-card > p {
        font-size: 0.875rem;
    }

    /* Contact Section */
    .contact-section {
        padding: 40px 0;
    }

    .contact-content h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .contact-content p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-form label {
        font-size: 0.875rem;
    }

    .contact-form .form-control {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Clients Section */
    .clients-section {
        padding: 40px 0;
    }

    .clients-grid {
        gap: 0.75rem;
    }

    .client-logo-card {
        min-height: 90px;
        padding: 0.75rem;
        width: 100%;
        max-width: 150px;
    }

    .client-logo-placeholder {
        font-size: 0.75rem;
    }

    /* Footer */
    .main-footer {
        padding: 30px 0 15px;
    }

    .main-footer h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer-links li a,
    .footer-contact li {
        font-size: 0.875rem;
    }

    /* Carousel Arrows */
    .clsslider .slick-prev,
    .clsslider .slick-next {
        width: 35px;
        height: 35px;
    }

    .clsslider .slick-prev {
        left: -40px;
    }

    .clsslider .slick-next {
        right: -40px;
    }

    /* Clients Section - Testimonial Cards */
    .clients-section {
        padding: 50px 0;
    }

    .clients-section .section-header h2 {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .testimonial-card {
        min-width: 280px;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .testimonial-logo {
        height: 70px;
        margin-bottom: 1.25rem;
    }

    .testimonial-logo img {
        max-height: 70px;
    }

    .testimonial-quote {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .testimonial-quote .quote-mark {
        font-size: 1.75rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-header .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .gap-2 {
        gap: 0.5rem !important;
    }

    .gap-3 {
        gap: 0.75rem !important;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-header .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .py-3 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    /* Clients Section - Testimonial Cards */
    .clients-section {
        padding: 40px 0;
    }

    .clients-section .section-header h2 {
        font-size: 1.75rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .testimonial-card {
        min-width: 260px;
        padding: 1.75rem 1.25rem;
    }

    .testimonial-logo {
        height: 60px;
        margin-bottom: 1rem;
    }

    .testimonial-logo img {
        max-height: 60px;
    }

    .testimonial-quote {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .testimonial-quote .quote-mark {
        font-size: 1.5rem;
    }

    .testimonial-name {
        font-size: 1rem;
    }

    .testimonial-title {
        font-size: 0.875rem;
    }
}
