:root {
    --orange-primary: #CC0000; /* Crimson Red as the accent */
    --navbar-blue: #0A2240; /* Navy Blue for primary headers */
    --fusion-blue: #14365D; /* Dark Royal Blue for buttons and backgrounds */
}

/* Base Styles */
body {
    background-color: #f8f9fa;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.fade-in {
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Custom Header Styling (Navy Theme) */
.navbar-custom {
    background-color: var(--navbar-blue);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.4rem;
}

.navbar-brand span {
    color: var(--orange-primary);
}

.search-bar {
    max-width: 450px;
    width: 100%;
}

.search-bar .form-control {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-color: #1a3861;
    background-color: #0d274c;
    color: #fff;
}

.search-bar .form-control:focus {
    box-shadow: none;
    border-color: var(--orange-primary);
}

.search-bar .btn-outline-warning {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.search-bar .btn-outline-warning:hover {
    background-color: var(--orange-primary);
    color: #ffffff;
}

.icon-links a {
    color: #ffffff;
    font-size: 1.25rem;
    transition: color 0.2s ease-in-out;
}

.icon-links a:hover {
    color: var(--orange-primary);
}

/* Dedicated Navigation Menu (Uppercase & Fancy Slider) */
.nav-menu-bar {
    background-color: #14365D;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.nav-menu-bar .nav-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.nav-menu-bar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--orange-primary);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-menu-bar .nav-link:hover::after,
.nav-menu-bar .nav-link.active::after {
    width: 80%;
}

.nav-menu-bar .nav-link:hover, 
.nav-menu-bar .nav-link.active {
    color: var(--orange-primary);
    background-color: transparent;
}

/* Buttons */
.btn-fusion {
    background-color: var(--fusion-blue);
    border: 1px solid var(--fusion-blue);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.btn-fusion:hover {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: #ffffff;
}

/* Hero Section */
.hero-bg-fade {
    background: linear-gradient(rgba(10, 34, 64, 0.85), rgba(20, 54, 93, 0.9)), 
                url('../img/hero-bg.jpg') center/cover no-repeat;
}

.bg-fade-section {
    background-color: #f4f7fa;
}

/* Footer Styling */
footer {
    background-color: var(--navbar-blue);
    color: #ffffff;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    color: var(--orange-primary);
}

.newsletter-input {
    background-color: #0d274c;
    border-color: #1a3861;
    color: #fff;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.newsletter-btn {
    background-color: var(--orange-primary);
    color: #ffffff;
    border: none;
}

.newsletter-btn:hover {
    background-color: #990000;
}

/* Floating Action Button */
.fab {
    background-color: var(--fusion-blue);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 8px;
    text-decoration: none;
}

.fab:hover {
    background-color: var(--orange-primary);
}

.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* Payment Icons */
.payment-icons {
    font-size: 1.8rem;
    gap: 12px;
}

.payment-icons .bi-cc-visa:hover {
    color: #0d274c;
}

.payment-icons .bi-cc-mastercard:hover {
    color: #eb001b;
}

:root {
    --primary-bg: #f8f9fa;
    --card-bg: #ffffff;
    --accent-color: #002855; /* Deep Navy */
    --accent-red: #990000;   /* Deep Red */
    --text-color: #333333;
    --text-muted: #666666;
    --radius: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fluid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--primary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 12px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* 3-Column CSS Grid Layout */
.fluid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    padding: 0 16px;
}

/* Fancy CSS Card Component */
.fancy-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Gradient top-border effect on hover */
.fancy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-red));
    transition: var(--transition-smooth);
}

.fancy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 40, 85, 0.08), 0 2px 4px rgba(0, 40, 85, 0.04);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: #f1f5f9;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.fancy-card:hover .card-icon-wrapper {
    background-color: var(--accent-color);
    color: #ffffff;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.card-body {
    margin-bottom: 24px;
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-footer-action {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--accent-red);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.card-footer-action:hover {
    opacity: 0.8;
}

.card-footer-action span {
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.fancy-card:hover .card-footer-action span {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    .fancy-card {
        padding: 32px 24px;
    }
}

.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 10%;
    min-height: 80vh;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--navbar-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--orange-primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--fusion-blue);
    color: #ffffff;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--orange-primary);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(10, 34, 64, 0.15);
}

/* Responsive Breakpoint */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-image {
        margin-top: 1rem;
    }
}

/* --- Parallax Section Styling --- */
.parallax-section {
    position: relative;
    color: #ffffff;
    overflow: hidden;
}

/* Dedicated container for the background image */
.parallax-bg-image {
    position: absolute; /* Changed from fixed to absolute so it stays inside the section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.parallax-overlay {
    background-color: rgba(10, 34, 64, 0.88); /* Tinted using --navbar-blue overlay */
    padding: 4rem 5%; /* Reduced padding slightly to fit snugly */
    width: 100%;
    position: relative;
    z-index: 1;
}

.parallax-container {
    max-width: 1100px;
    margin: 0 auto;
}

.parallax-header {
    text-align: center;
    margin-bottom: 3rem;
}

.parallax-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.parallax-header h2 span {
    color: var(--orange-primary);
}

.parallax-header p {
    font-size: 1.1rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Province Tabs Layout --- */
.province-tabs-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.province-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: rgba(204, 0, 0, 0.3);
    border-color: var(--orange-primary);
}

.tab-btn.active {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    font-weight: 600;
}

/* --- Tab Content Panels --- */
.province-tabs-content {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-pane {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.pane-content {
    display: flex;
    align-items: center;
    background: rgba(20, 54, 93, 0.6); /* --fusion-blue background tint */
    border-left: 4px solid var(--orange-primary);
    padding: 2rem;
    border-radius: 6px;
    gap: 2rem;
}

.map-icon {
    flex-shrink: 0;
    background: rgba(204, 0, 0, 0.2);
    color: var(--orange-primary);
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.province-details h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.province-details p {
    font-size: 1.05rem;
    color: #e2e8f0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .pane-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* --- Optional: Specific adjustments for Sales Parallax Section --- */
#sales .parallax-overlay {
    background-color: rgba(20, 54, 93, 0.90); /* Slightly darker custom tint for the sales section */
}

/* --- Customer Support Section Styling --- */
.support-section {
    background-color: #ffffff;
    padding: 6rem 5%;
}

.support-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.support-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.support-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(10, 34, 64, 0.15);
}

.support-content {
    flex: 1;
    min-width: 300px;
}

.support-content h2 {
    font-size: 2.5rem;
    color: var(--navbar-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.support-content h2 span {
    color: var(--orange-primary);
}

.support-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--fusion-blue);
    color: #ffffff;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--orange-primary);
    transform: translateY(-2px);
}

/* Responsive breakpoint for support section */
@media (max-width: 768px) {
    .support-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .support-content h2 {
        font-size: 2.25rem;
    }
}