/* ============================================= */
/* General Styles & Variables                    */
/* ============================================= */
:root {
    --primary-color: #c41e3a; /* A strong, Canadian red */
    --dark-blue: #1e3a8a;     /* A professional, deep blue */
    --accent-color: #ffd700;  /* Gold for highlighting success */
    --light-gray: #f8f9fa;
    --success-green: #28a745;
    --text-dark: #343a40;
    --text-light: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #fff;
}

/* ============================================= */
/* Helper Classes & Typography                   */
/* ============================================= */
.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 800;
}

.highlight-text-warning {
    color: var(--accent-color);
    font-weight: 800;
}

/* ============================================= */
/* Component Styles                              */
/* ============================================= */

/* --- Top Bar --- */
.top-bar {
    background: var(--accent-color);
    color: var(--dark-blue);
    padding: 10px 0;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Navbar --- */
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}
.navbar .nav-link {
    transition: color 0.3s ease;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary-color) !important;
}


.testimonial {
    margin-bottom: 1rem; /* Equivalent to mb-3 in Bootstrap (16px if root is 16px) */
    font-style: italic;  /* Equivalent to fst-italic */
    color: #000000;          /* Softer text color for readability */
    font-size: 1.1rem;    /* Slightly larger font for emphasis */
    line-height: 1.6;     /* Better readability */
    font-family: 'Georgia', serif; /* Elegant look */
}

  
  
/* --- Custom Button --- */
.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), #a81830);
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
    color: white;
}

/* --- Hero Slider --- */
.hero-slider-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider .swiper-slide {
    height: 85vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-slider .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 30, 40, 0.6); /* Dark overlay for text readability */
}
.hero-slider .container {
    position: relative;
    z-index: 2;
}
.hero-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    opacity: 1;
}
.hero-slider .swiper-pagination-bullet-active {
    background: var(--accent-color);
}

/* --- Parallax Section --- */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
}
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 40, 51, 0.7); /* Overlay color */
    z-index: 1;
}

/* --- Info & Testimonial Cards --- */
.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    color: var(--text-dark);
}
.info-card:hover {
    transform: translateY(-5px);
}

.testimonial-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}
.testimonial-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* --- Footer --- */
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}
















/* ============================================= */
/* General Styles & Variables                    */
/* ============================================= */
:root {
    --primary-color: #c41e3a; /* A strong, Canadian red */
    --dark-blue: #1e3a8a;     /* A professional, deep blue */
    --accent-color: #ffd700;  /* Gold for highlighting success */
    --light-gray: #f8f9fa;
    --success-green: #28a745;
    --text-dark: #343a40;
    --text-light: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #fff;
}

/* ============================================= */
/* CORRECTED HERO SECTION STYLES                 */
/* ============================================= */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* * CRITICAL FIX: The path to the image is corrected.
     * Since style.css is in assets/css/, we need to go up one level (../) 
     * to the root directory to find the images/ folder.
    */
    background-image: url('../images/parallax-background-action.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Creates the parallax effect */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient overlay to ensure text is readable */
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(196, 30, 58, 0.8) 100%);
    z-index: 1;
}

.hero-title {
    /* Adding a subtle shadow to the main title to make it pop */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================= */
/* Other Component Styles                        */
/* ============================================= */

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 800;
}

.success-badge {
    background: var(--success-green);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.guarantee-box {
    /* Making this slightly transparent to blend with the background */
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--accent-color);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stats-number {
    font-size: 2.5rem; /* Adjusted for better fit */
    font-weight: 900;
    color: var(--primary-color);
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-color);
}

.process-step {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

/* Parallax for other sections */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 40, 51, 0.7); /* Overlay color */
    z-index: 1;
}








/* ============================================= */
/* Timeline Styles for Process Page              */
/* ============================================= */
.timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #e9ecef;
    transform: translateY(-50%);
    z-index: -1;
}

.timeline-item {
    position: relative;
    text-align: center;
    width: 20%;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 auto 10px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px currentColor; /* Uses the marker's own color for the ring */
}

.timeline-marker i {
    font-size: 1.5rem;
}

.timeline-content h6 {
    font-weight: bold;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
    }
    .timeline::before {
        left: 30px;
        top: 0;
        bottom: 0;
        width: 4px;
        height: 100%;
        transform: none;
    }
    .timeline-item {
        width: 100%;
        text-align: left;
        padding-left: 80px;
        margin-bottom: 30px;
    }
    .timeline-item:last-child {
        margin-bottom: 0;
    }
    .timeline-marker {
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
        height: 60px;
    }
}



/* Add this to your style.css file to fix the testimonial text visibility issue */

/* ============================================= */
/* Hero Section Testimonial Fix                  */
/* ============================================= */

/* Override the testimonial card styles specifically in hero sections */
.hero-section .testimonial-card {
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background */
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    border-left: 5px solid var(--primary-color);
    color: var(--text-dark); /* Ensure dark text */
}

/* Ensure all text in hero testimonial cards is dark and readable */
.hero-section .testimonial-card p,
.hero-section .testimonial-card small,
.hero-section .testimonial-card h6,
.hero-section .testimonial-card .small {
    color: #343a40 !important; /* Dark text color */
}

/* Make sure the "Approved X days ago" text is visible */
.hero-section .testimonial-card .text-muted {
    color: #6c757d !important; /* Muted but still visible gray */
}

/* Alternative approach - you could also add a specific class */
.hero-testimonial-card {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #343a40 !important;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    border-left: 5px solid var(--primary-color);
}

.hero-testimonial-card * {
    color: #343a40 !important;
}

.hero-testimonial-card .text-muted {
    color: #6c757d !important;
}