/* Custom overrides for Disnat Landing - Unique Design */

/* Hero Section Background - Local image */
.isolation-bootstrap-3.d2-0.accueil .enbref-background {
    background-image: url('../images/hero-disnat.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Overlay removed - no darkening */
.isolation-bootstrap-3.d2-0.accueil .enbref-background::before {
    content: none;
}

@media (max-width: 991px) {
    .isolation-bootstrap-3.d2-0.accueil .enbref-background {
        background-position-x: right;
    }
}

@media (max-width: 460px) {
    .isolation-bootstrap-3.d2-0.accueil .enbref-background {
        background-position-x: -77rem;
    }
}

@media (max-width: 380px) {
    .isolation-bootstrap-3.d2-0.accueil .enbref-background {
        background-position-x: -95rem;
    }
}

/* Custom Design Tweaks */
.isolation-bootstrap-3.d2-0.accueil .enbref-box {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.isolation-bootstrap-3.d2-0.accueil .enbref-soustitre {
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Enhanced Benefits Cards */
.isolation-bootstrap-3.d2-0 .marketing-info ul li {
    transition: transform 0.3s ease;
}

.isolation-bootstrap-3.d2-0 .marketing-info ul li:hover {
    transform: translateY(-5px);
}

.isolation-bootstrap-3.d2-0 .marketing-info article {
    border-radius: 8px;
    padding: 20px;
}

/* Benefits Section - 3 items in a row on desktop */
.isolation-bootstrap-3.d2-0 .marketing-info ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.isolation-bootstrap-3.d2-0 .marketing-info ul li {
    flex: 1;
    min-width: 280px;
    padding: 0;
    margin: 0;
}

.isolation-bootstrap-3.d2-0 .marketing-info ul li::before {
    content: none;
}

/* Feather Icons Style - Minimalist & Clean */
.isolation-bootstrap-3.d2-0 .marketing-info .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background: linear-gradient(135deg, #e8f5f0 0%, #d4ebe0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.isolation-bootstrap-3.d2-0 .marketing-info article:hover .icon-wrapper {
    background: linear-gradient(135deg, #00874e 0%, #006b3e 100%);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 135, 78, 0.25);
}

.isolation-bootstrap-3.d2-0 .marketing-info .benefit-icon {
    width: 40px;
    height: 40px;
    color: #00874e;
    transition: all 0.3s ease;
}

.isolation-bootstrap-3.d2-0 .marketing-info article:hover .benefit-icon {
    color: #ffffff;
}

.isolation-bootstrap-3.d2-0 .marketing-info article h3 {
    text-align: center;
    color: #00874e;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.isolation-bootstrap-3.d2-0 .marketing-info article p {
    text-align: center;
    color: #555;
    line-height: 1.6;
    font-size: 1.6rem;
}

.isolation-bootstrap-3.d2-0 .marketing-info article footer {
    text-align: center;
    margin-top: 20px;
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
    .isolation-bootstrap-3.d2-0 .marketing-info ul {
        flex-direction: column;
    }
    
    .isolation-bootstrap-3.d2-0 .marketing-info ul li {
        width: 100%;
        min-width: auto;
    }
}

/* Platform Section Enhancements */
.isolation-bootstrap-3.d2-0 .platforms {
    background: #eee;
}

.isolation-bootstrap-3.d2-0 .platforms .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    align-items: stretch;
}

.isolation-bootstrap-3.d2-0 .platforms .col-lg-8.col-sm-12 {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    margin-left: 15px;
    margin-right: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.isolation-bootstrap-3.d2-0 .platforms .col-lg-8.col-sm-12:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 135, 78, 0.15);
}

.isolation-bootstrap-3.d2-0 .platforms h3 {
    color: #00874e;
    font-weight: 600;
    margin-top: 0;
    font-size: 2.4rem;
}

.isolation-bootstrap-3.d2-0 .platforms h4 {
    color: #383838;
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

.isolation-bootstrap-3.d2-0 .platforms ul {
    margin-bottom: 25px;
    flex-grow: 1;
}

.isolation-bootstrap-3.d2-0 .platforms ul li {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.isolation-bootstrap-3.d2-0 .platforms .lien-action {
    margin-top: auto;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .isolation-bootstrap-3.d2-0 .platforms .col-sm-12 {
        width: calc(50% - 30px);
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 767px) {
    .isolation-bootstrap-3.d2-0 .platforms .col-sm-12 {
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
    }
}

/* Stock Quotes Section */
.isolation-bootstrap-3.d2-0.accueil .search-quotes {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 20px;
    background: #fff;
}

.isolation-bootstrap-3.d2-0.accueil #quotes h2 {
    font-weight: 600;
    color: #2e2e2e;
}

/* Training Cards */
.isolation-bootstrap-3.d2-0.accueil .card {
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.isolation-bootstrap-3.d2-0.accueil .card:hover {
    box-shadow: 0 6px 20px rgba(0, 135, 78, 0.15);
}

/* Newsletter Section */
.isolation-bootstrap-3.d2-0 .bg-turquoise {
    background: linear-gradient(135deg, #dae5e2 0%, #c8d9d4 100%);
}

.isolation-bootstrap-3.d2-0 .newsletter h2 {
    font-weight: 600;
}

/* Buttons Enhancements */
.isolation-bootstrap-3.d2-0 .btn-primary {
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.isolation-bootstrap-3.d2-0 .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 135, 78, 0.3);
}

/* Fix Log In button spacing */
.isolation-bootstrap-3.d2-0 .btn-primary.login {
    padding-right: 2.4rem;
    padding-left: 2.4rem;
}

.isolation-bootstrap-3.d2-0 .btn-primary.login .connection-label {
    display: inline-block;
}

/* Login Page Specific */
.isolation-bootstrap-3.d2-0.client-access .title {
    font-weight: 600;
    color: #00874e;
    margin-bottom: 15px;
}

.isolation-bootstrap-3.d2-0.client-access .text-center {
    color: #666;
    font-size: 1.6rem;
}

.isolation-bootstrap-3.d2-0.client-access .clientaccess-form.well {
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

/* Footer Action Buttons Positioning */
.footer-top .col-sm-6.col-xs-24 {
    display: flex;
    flex-direction: column;
}

.footer-top .action-buttons {
    order: 1;
}

.footer-top .lien-externe.desjardins {
    order: 2;
    margin-top: 20px;
}

/* Enhanced Navigation */
.isolation-bootstrap-3.d2-0 .nav-pills .nav-primary li a {
    transition: all 0.3s ease;
}

.isolation-bootstrap-3.d2-0 .nav-pills .nav-primary li a:hover {
    transform: translateY(-2px);
}

/* Accessibility Improvements */
.isolation-bootstrap-3.d2-0 a:focus {
    outline: 2px solid #00874e;
    outline-offset: 2px;
}
