/* Shared page-level styles for parallax hero and step sections */

.parallax-hero {
    position: relative;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: 10% 0 -10% 0;
    background-size: cover;
    background-position: center 5%;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.77) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.main-title {
    font-family: 'patron', sans-serif;
    font-size: 48px;
    color: #37a290;
    letter-spacing: 3px;
}

/* Generic content section background */
.content-section {
    background-color: #0a0a0a;
    padding: 80px 0;
}

/* Step / two-column sections */
.step-container {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 60px;
}

.step-container:nth-child(odd) {
    flex-direction: row-reverse;
}

.step-number {
    font-size: 32px;
    font-weight: 600;
    color: #4cd3bc;
    opacity: 0.7;
    font-family: 'patron', sans-serif;
    display: inline-block;
    margin-right: 15px;
}

.step-content {
    flex: 1;
    padding: 40px;
}

.step-content h2 {
    font-size: 26px;
    color: #37a290;
    font-family: 'patron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-content p,
.step-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #dcdcdc !important;
    margin-bottom: 15px;
}

.step-content ol {
    padding-left: 20px;
    margin-top: 20px;
}

.step-content ol li {
    margin-bottom: 10px;
}

.step-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(55, 162, 144, 0.5);
}

.step-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.step-image:hover img {
    transform: scale(1.05);
    cursor: pointer;
}

/* Additional info section used on multiple pages */
.info-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 60px 40px;
    border-left: 5px solid #37a290;
    margin: 40px 0;
}

.info-section h3 {
    font-size: 28px;
    color: #37a290;
    margin-bottom: 20px;
    font-family: 'patron', sans-serif;
}

.info-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #dcdcdc !important;
}

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

/* Shared responsive tweaks */
@media (max-width: 768px) {
    .navbar-brand img{
        max-width:90% !important;
    }
    .parallax-hero {
        height: auto;
        min-height: 30vh;
    }

    .parallax-bg {
        inset: 10% 0 0 0;
        height: 32vh;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center -20%;
        margin-top:30px;
    }

    .step-container,
    .step-container:nth-child(even) {
        flex-direction: column;
    }

    .step-number {
        font-size: 26px;
    }

    .step-content h2 {
        font-size: 26px;
    }

    .step-image img {
        height: 300px;
    }

    .content-section {
        padding: 40px 0;
    }

    .step-container {
        margin-bottom: 60px;
    }

    .main-title {
        font-size: 32px;
    }
}
