/* Main Styles for Qvalleedore
   Author: Qvalleedore
   Version: 1.0
   Description: Custom styles for Qvalleedore website
*/

:root {
    
    --primary: #8C6A4F;
    --primary-light: #A58B78;
    --primary-dark: #6A4E39;
    --secondary: #D8B88E;
    --secondary-light: #E6D2B8;
    --secondary-dark: #BFA077;
    --accent: #B87333;
    --accent-light: #CC9355;
    --accent-dark: #9A5E27;
    --background: #F5F1E8;
    --background-alt: #EAE3D5;
    --text: #3D2B1F;
    --text-light: #8A7968;
    --neutral: #E9E0D1;
    --alert: #943E3C;

    
    --heading-font: 'Quicksand', sans-serif;
    --body-font: 'Open Sans', sans-serif;

    
    --section-spacing: 4rem;
    --element-spacing: 2rem;
}


body {
    font-family: var(--body-font);
    color: var(--text);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-dark);
    text-decoration: none;
}

.btn {
    border-radius: 0;
    font-family: var(--heading-font);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--text);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    font-size: 2.25rem;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin-top: 0.75rem;
}

.text-center .section-title:after {
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background-color: var(--background) !important;
}


.iti {
    width: 100%;
}


.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar {
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    font-family: var(--heading-font);
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

.contact-info {
    color: var(--primary-dark);
    font-weight: 500;
}


.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem 0;
    z-index: 9999;
    display: none;
}

.cookie-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 0.5rem;
}


.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-section:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    margin: 0.5rem;
}


.about-section {
    padding: var(--section-spacing) 0;
}


.benefits-section {
    padding: var(--section-spacing) 0;
}

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}


.diagnostic-section {
    padding: var(--section-spacing) 0;
}

.diagnostic-tool {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 5px;
}

.level-indicator {
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    margin-top: 1rem;
    overflow: hidden;
}

.level-bar {
    height: 100%;
    background-color: var(--accent);
    width: 0;
    transition: width 0.6s ease;
}

.recommended-list {
    list-style-type: none;
    padding-left: 0;
}

.recommended-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.recommended-list li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}


.modules-preview {
    padding: var(--section-spacing) 0;
}

.module-card {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.module-card img {
    height: 220px;
    object-fit: cover;
}

.module-card .card-body {
    padding: 1.5rem;
}

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


.faq-section {
    padding: var(--section-spacing) 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--background);
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(140, 106, 79, 0.25);
}


.contact-form-section {
    padding: var(--section-spacing) 0;
}

.contact-form-container {
    background-color: white;
    padding: 3rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-control {
    border-radius: 0;
    border: 1px solid var(--neutral);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(140, 106, 79, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--primary-dark);
}


.footer {
    background-color: var(--primary-dark);
    color: white;
}

.footer-logo {
    margin-bottom: 1rem;
    max-height: 40px;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

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

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

.footer-links a:hover {
    color: white;
}

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


.page-banner {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    color: white;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}


.module-item {
    margin-bottom: 5rem;
}

.module-title {
    margin-bottom: 0.75rem;
}

.module-duration {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.module-objectives-list {
    padding-left: 1.25rem;
}

.module-objectives-list li {
    margin-bottom: 0.5rem;
}

.module-selector {
    margin-bottom: 3rem;
}

.question-item {
    display: none;
}

.question-item.active {
    display: block;
}


.audience-item {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--neutral);
}

.audience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.audience-title {
    margin-bottom: 1rem;
}

.audience-subtitle {
    font-size: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.audience-challenges {
    list-style-type: none;
    padding-left: 0;
}

.audience-challenges li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.audience-challenges li:before {
    content: '\f0da';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

.application-case h4 {
    color: var(--primary-dark);
}

.audience-recommended {
    list-style-type: none;
    padding-left: 0;
}

.audience-recommended li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.audience-recommended li:before {
    content: '\f138';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}


.career-path-builder {
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin-bottom: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    height: 100%;
    width: 2px;
    background-color: var(--secondary);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent);
}

.timeline-item-title {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}


.contact-info-section {
    padding: var(--section-spacing) 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.map-container {
    height: 100%;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.map-responsive img {
    width: 100%;
    height: auto;
    display: block;
}

.map-info {
    margin-top: 1rem;
}


.policy-content, .terms-section, .cookie-policy {
    line-height: 1.8;
}

.policy-section h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
}

.policy-section h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}


.thank-you-section {
    padding: var(--section-spacing) 0;
}

.thank-you-container {
    background-color: var(--background);
    padding: 3rem;
    border-radius: 5px;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--accent);
}


@media (max-width: 991.98px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .benefit-card, .module-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .module-card img {
        height: 180px;
    }
}