/* colors
zappzy yellow: #FFC314
zappzy orange: #F59715
zappzy back: #012b3a
*/
/* fonts */

.blogimg {
    height: auto;
    width: 95%;
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
.blog-credits {
    display: flex;
    flex-direction: row;
    justify-items: center;
    height: 25px;
}
.blogtopic
 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
 }
.creditstext {
    font-size: 15px;
    line-height: 25px;
    font-weight: 500;
    color: #012b3a;
}
.author-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background: #fcfcfd;
    border-radius: 8px;
}
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-image: url('images/blog/zappzy-sidekick.jpg');
    background-size: cover; 
}
.author-info h4 {
    margin: 0;
}
.blogh4 {
    font-size: 15px;
    line-height: 25px;
    font-weight: 700;
    color: #012b3a;
}
.author-info p {
    margin: 5px 0 0 0;
}
.blogh1 {
    font-size: 36px;
    line-height: 41px;
    font-weight: 700;
    color: #012b3a;
}
.blogh2 {
    font-size: 28px;
    line-height: 33px;
    font-weight: 700;
    color: #012b3a;
}
.blogoverviewh2 {
    font-size: 20px;
    line-height: 32px;
    font-weight: 700;
    color: #012b3a;
}
.blogh3 {
    font-size: 20px;
    line-height: 32px;
    font-weight: 700;
    color: #012b3a;
}
.blogoverviewh3 {
    font-size: 20px;
    line-height: 32px;
    font-weight: 700;
    color: #012b3a;
}
.blogoverviewh3 a {
    font-size: 20px;
    line-height: 32px;
    font-weight: 700;
    color: #012b3a;
    text-decoration: none;
}
.blogoverviewh3 a:hover {
    text-decoration: none;
}
.blogh3white {
    font-size: 28px;
    line-height: 33px;
    font-weight: 700;
    color: #ffffff;
}
.subtextwhite {
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
    color: #ffffff;
}
.subtextoverview {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    color: #012b3a;
}
.freedom {
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    padding: 5px 10px 5px 10px;
    background-color: #00D9FF;
}
.ideas {
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    padding: 5px 10px 5px 10px;
    background-color: #FFD600;
}
.impact {
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    padding: 5px 10px 5px 10px;
    background-color: #FF3366;
}
.trends {
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    padding: 5px 10px 5px 10px;
    background-color: #9D4EDD;
}
.skills {
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    padding: 5px 10px 5px 10px;
    background-color: #06D6A0;
}
.safety {
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    padding: 5px 10px 5px 10px;
    background-color: #FF6B35;
}
.strategy {
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    padding: 5px 10px 5px 10px;
    background-color: #4361EE;
}
.featured {
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 600;
    color: #012b3a;
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    padding: 5px 10px 5px 10px;
    background-color: #FFC314;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 30px;
}
.bloglist {
    padding-inline-start: 20px;
}
.bloglist li {
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
    color: #012b3a;
}
.big-quote {
    font-family: 'Quicksand';
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #012b3a;
    border-left: 6px solid #FF4D8B;
    padding: 30px 0 30px 40px;
    margin: 50px 0;
    background: linear-gradient(90deg, #FFF5F9 0%, transparent 100%);
    position: relative;
}
.big-quote::before {
    font-family: 'Quicksand';
    content: '“';
    font-size: 80px;
    color: #FF4D8B;
    opacity: 0.2;
    position: absolute;
    left: 10px;
    top: -10px;
}
.cta-box {
    background: linear-gradient(135deg, #FFC314 0%, #FFC314 60%, #F59715 100%);
    padding: 50px 40px;
    margin: 60px 0;
    text-align: center;
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
.buttonblog{
    font-family: 'Quicksand';
    border-radius: 6px 6px 6px 6px;
    border-style: none;
    padding: 15px 30px 15px 30px;
    background-color: #ffffff;
}
.buttonblog a {
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    text-decoration: none;
    color: #FFC314 !important;
}
.buttonblog a:hover {
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    text-decoration: none;
    color: #F59715!important;
 }
.blog-hero {
    background: linear-gradient(135deg, #FFC314 0%, #FFC314 60%, #F59715 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}
.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(245, 151, 21, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
}
.featured-post {
    margin: 60px 0;
}
.featured-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: all 0.3s;
}
.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-meta {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F59715;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: gap 0.3s;
}
.read-more:hover {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F59715;
    text-decoration: underline;
    font-weight: 700;
    font-size: 18px;
}
.blog-grid {
    margin: 80px 0;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}
.post-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 45px rgba(0,0,0,0.12);
}
.post-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.post-content {
    padding: 30px;
}
.post-meta {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.excerpt {
    font-family: 'Quicksand';
    font-size: 15px;
    font-weight: 500;
    color: #012b3a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    margin-bottom: 20px;
}
.excerpt a {
    font-size: 15px;
    font-weight: 500;
    color: #012b3a;
    text-decoration: none;
    line-height: 1.6;
}
.excerpt a:hover {
    font-size: 15px;
    font-weight: 500;
    color: #012b3a;
    text-decoration: none;
    line-height: 1.6;
}
.post-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #F0F0F0;
}
.author-avatar1 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-image: url('images/blog/zappzy-sidekick.jpg');
    background-size: cover; 
}
.post-author-date {
    flex: 1;
}
.post-author {
    font-family: 'Quicksand';
    font-size: 15px;
    font-weight: 700;
    color: #012b3a;
}
.post-date {
    font-family: 'Quicksand';
    font-size: 13px;
    font-weight: 500;
    color: #012b3a;
        }
.newsletter-section {
    background: linear-gradient(110deg, #FFC314 0%, #FFC314 45%, #F59715 45%, #F59715 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    max-width: 1200px;
    margin: 0 auto;
}
.newsletter-container {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
} 
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    background: #FFFFFF;
    color: #000000;
    font-weight: 500;
    transition: all 0.3s ease;
}
.newsletter-input:focus {
    outline: none;
    border-color: #FDB913;
 }
.newsletter-input::placeholder {
    color: #999999;
}
.input--hidden {
    display: none;
}
.consent-wrapper {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Quicksand';
    font-size: 13px;
    font-weight: 500;
    color: #012b3a;
    cursor: pointer;
    line-height: 1.5;
}
.consent-label.error {
    color: #DE2D2D;
}
.consent-checkbox {
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.consent-label a {
    color: #012b3a;
    text-decoration: none;
    font-weight: 600;
}  
.consent-label a:hover {
    color: #012b3a;
    text-decoration: none;
    font-weight: 600;
}
.button-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.button-wrapper::before,
.button-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    pointer-events: none;
}
.button-wrapper::before {
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 4px solid #FF6B4A;
    animation: pulse1 2s ease-in-out infinite;
}    
.button-wrapper::after {
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 3px solid #FFC314;
    animation: pulse2 2s ease-in-out infinite 0.5s;
}
 @keyframes pulse1 {
    0% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
    }
    100% {
            transform: translate(-50%, -50%) scale(1.4);
            opacity: 0;
    }
}
@keyframes pulse2 {
    0% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
    }
    100% {
            transform: translate(-50%, -50%) scale(1.4);
            opacity: 0;
    }
}
.newsletter-button-blog {
    font-family: 'Quicksand';
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 10px 15px 10px 15px;
    position: relative;
    z-index: 1;
    color: #ffffff;
    background: #F59715;
}
.newsletter-button-blog:hover {
    background: #FFC314;
    transform: translateY(-2px);
}
.consent-wrapper {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}
.error-message {
    background: #DE2D2D;
    font-family: 'Quicksand';
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 16px;
    display: none;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.error-message.show {
    display: block;
    animation: slideDown 0.3s ease;
} 
.success-message {
    background: #28B1B5;
    font-family: 'Quicksand';
    color: #FFFFFF;
    padding: 20px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    display: none;
    max-width: 500px;
    margin: 0 auto;
}
.success-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}  
@keyframes slideDown {
    from {
            opacity: 0;
            transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.video-section {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.video-container {
    position: relative;
    width: 65%;
    margin: 0 auto;
    padding-bottom: 36.56%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    background: #000000;
    transition: transform 0.3s ease;
}
.video-container:hover {
    transform: scale(1.02);
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


 @media (max-width: 968px) {
    .featured-card {
        grid-template-columns: 1fr;
    }
    .featured-content {
        padding: 35px 25px;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }

}
@media (max-width: 768px) {
    .video-container {
        width: 100%;
        padding-bottom: 56.25%;
        border-radius: 0;
    }
    .video-section {
        padding: 0;
        margin: 40px auto;
    }
}
@media (max-width: 600px) {
    .newsletter-section {
        padding: 40px 20px;
        border-radius: 16px;
    }
    .newsletter-form {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }
}
/* Accessibility */
.video-container:focus-within {
    outline: 3px solid #FFB800;
    outline-offset: 4px;
}