/* style/index-core-advantages.css */

/* Base styles for the page content */
.page-index-core-advantages {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light gray for general text on dark backgrounds */
    background-color: #001a33; /* Dark blue background */
    line-height: 1.6;
}

.page-index-core-advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-index-core-advantages-hero {
    background: linear-gradient(135deg, #003366, #004d99); /* Deeper blue gradient */
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-index-core-advantages-hero::before {
    content: '';
    position: absolute;
    top: -50px; /* Adjust as needed */
    left: -50px; /* Adjust as needed */
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.page-index-core-advantages-hero::after {
    content: '';
    position: absolute;
    bottom: -50px; /* Adjust as needed */
    right: -50px; /* Adjust as needed */
    width: 250px;
    height: 250px;
    background-color: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.page-index-core-advantages-hero .page-index-core-advantages-container {
    position: relative;
    z-index: 1;
}

.page-index-core-advantages-title {
    font-size: 3.2em;
    color: #FFD700; /* Glory Gold */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.page-index-core-advantages-subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-index-core-advantages-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-core-advantages-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index-core-advantages-btn-primary {
    background-color: #FFD700; /* Glory Gold */
    color: #003366; /* JJ88 Blue */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-core-advantages-btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-core-advantages-btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Glory Gold */
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-index-core-advantages-btn-secondary:hover {
    background-color: #FFD700;
    color: #003366; /* JJ88 Blue */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* General Section Styling */
.page-index-core-advantages-section {
    padding: 80px 0;
    background-color: #001a33;
}

.page-index-core-advantages-section:nth-of-type(even) {
    background-color: #002244; /* Slightly lighter dark blue for contrast */
}

.page-index-core-advantages-heading {
    font-size: 2.5em;
    color: #FFD700; /* Glory Gold */
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-core-advantages-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-index-core-advantages-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-index-core-advantages-content-grid-reverse {
    grid-template-columns: 1fr 1fr;
}

.page-index-core-advantages-content-grid-reverse .page-index-core-advantages-image-wrapper {
    order: 2;
}

.page-index-core-advantages-content-grid-reverse .page-index-core-advantages-text-content {
    order: 1;
}

.page-index-core-advantages-text-content h3 {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-core-advantages-text-content p {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-index-core-advantages-image-wrapper {
    text-align: center;
}

.page-index-core-advantages-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.page-index-core-advantages-image:hover {
    transform: translateY(-5px);
}

/* Final CTA Section */
.page-index-core-advantages-cta-final {
    background: linear-gradient(45deg, #003366, #004d99); /* Deep blue gradient */
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
}

.page-index-core-advantages-cta-final .page-index-core-advantages-heading {
    color: #FFD700;
    margin-bottom: 30px;
}

.page-index-core-advantages-cta-final .page-index-core-advantages-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

/* Floating Ad Menu */
.page-index-core-advantages-floating-ad {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.page-index-core-advantages-floating-btn {
    display: flex;
    align-items: center;
    background-color: #FFD700; /* Glory Gold */
    color: #003366; /* JJ88 Blue */
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.page-index-core-advantages-floating-btn:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7);
}

.page-index-core-advantages-floating-icon {
    font-size: 1.5em;
    margin-left: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-core-advantages-title {
        font-size: 2.5em;
    }

    .page-index-core-advantages-heading {
        font-size: 2em;
    }

    .page-index-core-advantages-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-index-core-advantages-content-grid-reverse .page-index-core-advantages-image-wrapper {
        order: initial;
    }

    .page-index-core-advantages-content-grid-reverse .page-index-core-advantages-text-content {
        order: initial;
    }

    .page-index-core-advantages-text-content h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-index-core-advantages-hero {
        padding: 80px 0;
    }

    .page-index-core-advantages-title {
        font-size: 2em;
    }

    .page-index-core-advantages-subtitle {
        font-size: 1em;
    }

    .page-index-core-advantages-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-core-advantages-btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-index-core-advantages-section {
        padding: 60px 0;
    }

    .page-index-core-advantages-heading {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    .page-index-core-advantages-text-content h3 {
        font-size: 1.3em;
    }

    .page-index-core-advantages-text-content p {
        font-size: 0.95em;
    }

    .page-index-core-advantages-cta-final {
        padding: 80px 0;
    }

    .page-index-core-advantages-cta-final .page-index-core-advantages-text {
        font-size: 1.05em;
    }

    .page-index-core-advantages-floating-btn {
        padding: 10px 15px;
        font-size: 1em;
    }

    .page-index-core-advantages-floating-icon {
        font-size: 1.2em;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .page-index-core-advantages-hero {
        padding: 60px 0;
    }

    .page-index-core-advantages-title {
        font-size: 1.8em;
    }

    .page-index-core-advantages-heading {
        font-size: 1.6em;
    }

    .page-index-core-advantages-section {
        padding: 40px 0;
    }

    .page-index-core-advantages-floating-ad {
        bottom: 15px;
        right: 15px;
    }
}