/* Basic Clean Styles for MetaStock.ca */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #444;
    /* Dark Grey text */
    background-color: #f9f9f9;
}

/* Navbar */
.navbar-brand img {
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
}

.navbar-nav .nav-link.active {
    color: var(--metastock-orange) !important;
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero_chart.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 180px 0 100px 0;
    /* Increased top padding */
    text-align: center;
}

.hero-realtime {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero_realtime.png');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

.hero-dailycharts {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero_dailycharts.png');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

.hero-addons {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero_addons.png');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

.hero-marketdata {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero_marketdata.png');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

.hero-upgrades {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero_upgrades.png');
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Global Header Adjustment for Fixed Nav */
header.bg-primary {
    padding-top: 8rem !important;
    /* clear fixed navbar */
    padding-bottom: 4rem !important;
}

/* Brand Colors */
:root {
    --metastock-orange: #F58220;
    --metastock-grey: #555555;
    --metastock-dark: #333333;
}

/* Buttons */
.btn-primary {
    background-color: var(--metastock-orange);
    border-color: var(--metastock-orange);
    padding: 10px 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #d96e11;
    border-color: #d96e11;
}

.btn-outline-primary {
    color: var(--metastock-orange);
    border-color: var(--metastock-orange);
}

.btn-outline-primary:hover {
    background-color: var(--metastock-orange);
    border-color: var(--metastock-orange);
}

.text-primary {
    color: var(--metastock-orange) !important;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: #0056b3;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 50px;
}

footer a {
    color: #ddd;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Testimonials */
#testimonialCarousel .carousel-item {
    min-height: 250px;
    /* Prevent jumping height */
    padding: 0 40px;
}

#testimonialCarousel .blockquote {
    border-left: none;
    font-size: 1.25rem;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 5%;
    opacity: 0.5;
    /* Default opacity */
}

#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    #testimonialCarousel .carousel-item {
        min-height: 400px;
        /* More height for mobile text wrapping */
        padding: 0 10px;
    }
}