/* Marintec China 2025 Blog Post Stylesheet */
/* Version: 1.0.0 */
/* High Fidelity Stylesheet with Animations and Responsive Design */

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

.page-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2vw 3vw;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* ===== HEADER STYLES ===== */
header {
    margin-bottom: 10px;
    text-align: left;
    padding: 10px 0;
}

.header-ship-logo {
    max-height: 50px;
    width: auto;
}

/* ===== MAIN BANNER IMAGE ===== */
.main-banner-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.main-banner-image:hover {
    transform: scale(1.02);
}

/* ===== MAIN CONTENT AREA ===== */
main {
    padding: 0;
}

section {
    margin-bottom: 40px;
}

/* ===== TITLE SECTION ===== */
.title-section {
    width: 100%; /* Container takes up full width */
    max-width: 1200px; /* Constrain the maximum width */
    margin: 0 auto; /* Centers the container */
    padding: 10px; /* Add padding if needed */
}
.title-section img {
    width: 100%;
    max-height: 1500px;
    height: auto;
    object-fit: contain;
}
.main-title {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 14pt;
    color: #74c5b5;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.heading-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    vertical-align: middle;
    color: #1565c0;
}

.heading-icon-small {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    vertical-align: middle;
    color: #2c5e2e;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #1565c0;
}

.intro-text-main {
    font-size: 16pt;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

/* ===== SECTION HEADINGS ===== */
section h2 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: 22pt;
    color: #2c5e2e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #2c5e2e;
    padding-bottom: 10px;
}

section h3 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 16pt;
    color: #1565c0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* ===== SOLUTION CARDS ===== */
.solution-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1565c0, #2c5e2e);
}

.solution-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    border-color: #1565c0;
}

.card-1::before {
    background: linear-gradient(90deg, #1565c0, #0d47a1);
}

.card-2::before {
    background: linear-gradient(90deg, #2c5e2e, #1b5e20);
}

.card-3::before {
    background: linear-gradient(90deg, #ff6f00, #e65100);
}

.solution-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.solution-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    font-size: 24pt;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.card-2 .solution-number {
    background: linear-gradient(135deg, #2c5e2e, #1b5e20);
}

.card-3 .solution-number {
    background: linear-gradient(135deg, #ff6f00, #e65100);
}

.solution-header h3 {
    margin: 0;
    flex: 1;
}

.solution-tagline {
    font-size: 14pt;
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.benefit-text {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 13pt;
    border-left: 4px solid #2c5e2e;
}

.benefit-text i {
    color: #2c5e2e;
    margin-right: 8px;
}

/* ===== LIST STYLES ===== */
ul.custom-list {
    list-style: none;
    padding-left: 25px;
    margin: 15px 0;
}

ul.custom-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 14pt;
    line-height: 1.6;
}

ul.dot-list li::before {
    content: "\2022";
    color: #1565c0;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 18pt;
}

/* ===== EVENT DETAILS BOX ===== */
.event-details-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 10px;
    padding: 30px;
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.event-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.event-icon {
    font-size: 28pt;
    color: #1565c0;
    flex-shrink: 0;
    margin-top: 5px;
}

.event-detail-text {
    flex: 1;
}

.event-detail-text strong {
    font-size: 15pt;
    color: #333;
    display: block;
}

.cta-text {
    font-size: 15pt;
    font-style: italic;
    color: #555;
    margin-top: 20px;
    padding: 15px;
    background: #fafafa;
    border-radius: 6px;
    border-left: 4px solid #1565c0;
}

/* ===== FUTURE BENEFITS SECTION ===== */
.future-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border: 2px solid #1565c0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.benefit-item:hover {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border-color: #0d47a1;
    transform: translateY(-5px);
}

.benefit-item:hover .benefit-icon {
    color: white;
}

.benefit-icon {
    font-size: 32pt;
    color: #1565c0;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.benefit-item p {
    font-size: 14pt;
    font-weight: 600;
    margin: 0;
}

.closing-text {
    font-size: 15pt;
    color: #555;
    margin-top: 25px;
    padding: 20px;
    background: #fff9e6;
    border-radius: 6px;
    border-left: 4px solid #ff6f00;
}

/* ===== CTA SECTION ===== */
.cta-section {
    margin-top: 40px;
}

.cta-box {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
}

.cta-box h3 {
    font-size: 14pt;
    color: white;
    margin-bottom: 15px;
    border: none;
}

.cta-box p {
    font-size: 14pt;
    margin-bottom: 25px;
}

.cta-button {
    border-radius: 20px;
    background: #74c5b5;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px 14px;
}

/* ===== ANIMATION CLASSES ===== */
.fade-in-animation {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-animation:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in-animation:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in-animation:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in-animation:nth-child(4) {
    animation-delay: 0.4s;
}

.slide-in-animation {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.slide-in-animation:nth-child(1) {
    animation-delay: 0.2s;
}

.slide-in-animation:nth-child(2) {
    animation-delay: 0.4s;
}

.slide-in-animation:nth-child(3) {
    animation-delay: 0.6s;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

.pulse-animation:nth-child(1) {
    animation-delay: 0s;
}

.pulse-animation:nth-child(2) {
    animation-delay: 0.2s;
}

.pulse-animation:nth-child(3) {
    animation-delay: 0.4s;
}

.pulse-animation:nth-child(4) {
    animation-delay: 0.6s;
}

.visible {
    opacity: 1;
    animation: fadeIn 0.8s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .page-container {
        width: 95%;
        margin: 10px auto;
        padding: 15px;
    }

    .main-title {
        font-size: 14pt;
    }

    section h2 {
        font-size: 12pt;
    }

    section h3 {
        font-size: 12pt;
    }

    .intro-text-main {
        font-size: 12pt;
    }

    .solution-card {
        padding: 20px;
    }

    .solution-header {
        flex-direction: column;
    }

    .solution-number {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .event-details-box {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .future-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        padding: 25px;
    }

    .cta-box h3 {
        font-size: 16pt;
    }

    .cta-box p {
        font-size: 13pt;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 12pt;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 10px;
    }

    .main-title {
        font-size: 12pt;
    }

    section h2 {
        font-size: 12pt;
    }

    section h3 {
        font-size: 10pt;
    }

    .intro-text-main {
        font-size: 10pt;
    }

    ul.custom-list li {
        font-size: 10pt;
        padding-left: 25px;
    }

    .solution-card {
        padding: 15px;
    }

    .solution-number {
        width: 40px;
        height: 40px;
        font-size: 18pt;
    }

    .event-details-box {
        padding: 15px;
    }

    .event-icon {
        font-size: 24pt;
    }

    .future-benefits {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        padding: 15px;
    }

    .benefit-icon {
        font-size: 24pt;
    }

    .benefit-item p {
        font-size: 12pt;
    }

    .cta-box {
        padding: 15px;
    }

    .cta-box h3 {
        font-size: 14pt;
    }

    .cta-box p {
        font-size: 12pt;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 11pt;
    }

    footer {
        font-size: 10pt;
    }
}

/* ===== UTILITY CLASSES ===== */
strong {
    font-weight: 600;
    color: #1565c0;
}

a {
    color: #1565c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background-color: white;
    }

    .page-container {
        box-shadow: none;
        max-width: 100%;
    }

    .cta-button {
        border: 1px solid #1565c0;
    }

    footer {
        border-top: 1px solid #1565c0;
    }
}
