/* Block Cocoon Parallax Styles */

/* Main Parallax Container */
.block_cocoon_parallax .divider_home1,
.block_cocoon_parallax .divider_home2 {
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
    overflow: hidden;
    padding: 130px 0;
    position: relative;
}

/* Overlay for divider_home1 */
.block_cocoon_parallax .divider_home1:before {
    background-color: rgba(25, 38, 117, 0.8);
    opacity: .8;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Overlay for divider_home2 */
.block_cocoon_parallax .divider_home2:before {
    background-color: rgba(0, 0, 0, 0.8);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Title Styles */
.block_cocoon_parallax .divider-one h1,
.block_cocoon_parallax .divider-two h1 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 50px;
    color: #ffffff;
    text-transform: uppercase;
}

.block_cocoon_parallax .divider-two h1 {
    margin-bottom: 120px;
}

/* Button Styles */
.block_cocoon_parallax .divider-one .divider-btn {
    border: 2px solid #ffffff;
    border-radius: 25px;
    color: #ffffff;
    height: 50px;
    line-height: 47px;
    padding: 0 60px;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    background-color: transparent;
    margin-bottom: 30px;
}

.block_cocoon_parallax .divider-one .divider-btn:hover {
    border: 2px solid #14b05f;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Subtitle/Paragraph Styles */
.block_cocoon_parallax .divider-one p {
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: #ffffff;
}

/* Divider One Container */
.block_cocoon_parallax .divider-one {
    padding-bottom: 20px;
}

/* Parallax Effects */
.block_cocoon_parallax .parallax {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.block_cocoon_parallax .parallax[data-stellar-background-ratio] {
    background-attachment: fixed;
}

/* Responsive Design */
@media only screen and (max-width: 1200px) {
    .block_cocoon_parallax .divider-one h1,
    .block_cocoon_parallax .divider-two h1 {
        font-size: 35px;
        line-height: 45px;
    }
    
    .block_cocoon_parallax .divider_home1,
    .block_cocoon_parallax .divider_home2 {
        padding: 100px 0;
    }
}

@media only screen and (max-width: 992px) {
    .block_cocoon_parallax .divider-one h1,
    .block_cocoon_parallax .divider-two h1 {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 40px;
    }
    
    .block_cocoon_parallax .divider_home1,
    .block_cocoon_parallax .divider_home2 {
        padding: 80px 0;
    }
    
    .block_cocoon_parallax .divider-one .divider-btn {
        font-size: 14px;
        height: 45px;
        line-height: 42px;
        padding: 0 50px;
        margin-bottom: 25px;
    }
}

@media only screen and (max-width: 768px) {
    .block_cocoon_parallax .divider-one h1,
    .block_cocoon_parallax .divider-two h1 {
        font-size: 25px;
        line-height: 35px;
        margin-bottom: 30px;
    }
    
    .block_cocoon_parallax .divider_home1,
    .block_cocoon_parallax .divider_home2 {
        padding: 60px 0;
    }
    
    .block_cocoon_parallax .divider-one p {
        font-size: 14px;
    }
    
    .block_cocoon_parallax .divider-one .divider-btn {
        font-size: 13px;
        height: 40px;
        line-height: 37px;
        padding: 0 40px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 576px) {
    .block_cocoon_parallax .divider-one h1,
    .block_cocoon_parallax .divider-two h1 {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 25px;
    }
    
    .block_cocoon_parallax .divider_home1,
    .block_cocoon_parallax .divider_home2 {
        padding: 50px 0;
    }
    
    .block_cocoon_parallax .divider-one .divider-btn {
        font-size: 12px;
        height: 35px;
        line-height: 32px;
        padding: 0 30px;
        margin-bottom: 15px;
    }
}

/* Animation Classes */
.block_cocoon_parallax .animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.block_cocoon_parallax .fadeInUp {
    animation-name: fadeInUp;
}

.block_cocoon_parallax .fadeInDown {
    animation-name: fadeInDown;
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Accessibility Improvements */
.block_cocoon_parallax .divider-one .divider-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .block_cocoon_parallax .divider-one h1,
    .block_cocoon_parallax .divider-two h1 {
        color: #000;
        text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    }
    
    .block_cocoon_parallax .divider-one p {
        color: #000;
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    }
    
    .block_cocoon_parallax .divider-one .divider-btn {
        border: 3px solid #000;
        color: #000;
        background-color: #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .block_cocoon_parallax .animated,
    .block_cocoon_parallax .parallax[data-stellar-background-ratio] {
        animation: none;
        background-attachment: scroll;
    }
    
    .block_cocoon_parallax .divider-one .divider-btn:hover {
        transform: none;
    }
} 