/*
* TheCityBits Website Styles
* A custom stylesheet for TheCityBits ride-hailing app website
*/

/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --white-color: #ffffff;
    --black-color: #000000;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    padding-top: 76px; /* For fixed navbar */
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.section-header h2 {
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 10px 15px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--white-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white-color);
    padding: 120px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btns .btn {
    margin-bottom: 10px;
}

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

/* Features Section */
.feature-card {
    padding: 30px 20px;
    border-radius: 10px;
    background-color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* App Screenshots */
.screenshot-item {
    margin-bottom: 20px;
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: scale(1.05);
}

/* Download Section */
.download-section {
    background-color: var(--white-color);
}

.download-text h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.download-buttons .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Benefits Section */
.benefit-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.1);
    display: inline-block;
}

.benefit-card h3 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.benefit-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background-color: var(--white-color);
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.1);
}

.contact-item h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
}

.social-link {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    margin-right: 10px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--dark-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.contact-form .form-control {
    border-radius: 30px;
    padding: 12px 20px;
    margin-bottom: 20px;
}

.contact-form textarea.form-control {
    border-radius: 20px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.footer-social {
    margin-top: 20px;
}

.footer-social .social-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: var(--transition);
}

.footer-social .social-icon:hover {
    color: var(--white-color);
}

.footer-newsletter .form-control {
    border-radius: 30px 0 0 30px;
    padding: 10px 20px;
}

.footer-newsletter .btn {
    border-radius: 0 30px 30px 0;
}

/* Page Header (for inner pages) */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-header-bg.jpg') no-repeat center center/cover;
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* About Page Styles */
.our-story img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-card, .vision-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.mission-points, .vision-points {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.mission-points li, .vision-points li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.mission-points li i, .vision-points li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.value-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
}

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

.team-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-social {
    margin-top: 15px;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Future Vision Section */
.future-vision img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vision-points {
    padding: 20px 0;
}

.vision-item {
    display: flex;
    margin-bottom: 30px;
}

.vision-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.vision-content h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.vision-content p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Join Us Section */
.join-us {
    background: linear-gradient(to right, #007bff, #0056b3);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-text {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .timeline:before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        left: 60px !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn-lg {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}
