/* style/industry-news-tech-trends.css */
.page-industry-news-tech-trends {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.page-industry-news-tech-trends__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-industry-news-tech-trends__hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for better contrast */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-industry-news-tech-trends__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.page-industry-news-tech-trends__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-industry-news-tech-trends__content-section {
    padding: 60px 0;
    background-color: #fff;
}

.page-industry-news-tech-trends__section-title {
    font-size: 2.5em;
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    border-bottom: 3px solid #ffc107;
    padding-bottom: 10px;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.page-industry-news-tech-trends__sub-section-title {
    font-size: 1.8em;
    color: #0056b3; /* Darker blue for good contrast */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-industry-news-tech-trends__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
    text-align: justify;
}

.page-industry-news-tech-trends__paragraph a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-industry-news-tech-trends__paragraph a:hover {
    text-decoration: underline;
}

.page-industry-news-tech-trends__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-industry-news-tech-trends__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-industry-news-tech-trends__btn--primary {
    background-color: #ffc107;
    color: #333; /* Dark text for contrast on bright background */
    border: 2px solid #ffc107;
}

.page-industry-news-tech-trends__btn--primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #000;
    transform: translateY(-3px);
}

.page-industry-news-tech-trends__btn--secondary {
    background-color: #007bff;
    color: #fff;
    border: 2px solid #007bff;
    margin-right: 20px;
}

.page-industry-news-tech-trends__btn--secondary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
}

.page-industry-news-tech-trends__cta-group {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

/* Floating Ad */
.page-industry-news-tech-trends__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 250px;
    background-color: #007bff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
    transform: translateX(300px); /* Initially hidden */
    transition: transform 0.5s ease-in-out;
}

.page-industry-news-tech-trends__floating-ad.show {
    transform: translateX(0);
}

.page-industry-news-tech-trends__floating-ad a {
    display: block;
    text-decoration: none;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: relative;
}

.page-industry-news-tech-trends__floating-ad-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
}

.page-industry-news-tech-trends__floating-ad-text {
    display: block;
    padding: 10px 0;
    font-weight: bold;
    font-size: 1.1em;
    color: #ffc107; /* Contrasting color for text */
}

.page-industry-news-tech-trends__floating-ad-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.page-industry-news-tech-trends__floating-ad-close:hover {
    color: #ffc107;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-industry-news-tech-trends__hero-title {
        font-size: 2.5em;
    }
    .page-industry-news-tech-trends__hero-subtitle {
        font-size: 1.2em;
    }
    .page-industry-news-tech-trends__section-title {
        font-size: 2em;
    }
    .page-industry-news-tech-trends__sub-section-title {
        font-size: 1.5em;
    }
    .page-industry-news-tech-trends__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-industry-news-tech-trends__btn--secondary {
        margin-right: 10px;
    }
    .page-industry-news-tech-trends__floating-ad {
        width: 200px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .page-industry-news-tech-trends__hero-title {
        font-size: 2em;
    }
    .page-industry-news-tech-trends__hero-subtitle {
        font-size: 1em;
    }
    .page-industry-news-tech-trends__section-title {
        font-size: 1.8em;
    }
    .page-industry-news-tech-trends__sub-section-title {
        font-size: 1.3em;
    }
    .page-industry-news-tech-trends__btn-group {
        flex-direction: column;
    }
    .page-industry-news-tech-trends__btn--secondary {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-industry-news-tech-trends__floating-ad {
        width: 180px;
        bottom: 10px;
        right: 10px;
    }
}