/* Marine Landing Page Specific Styles */

:root {
    --marine-blue: #0a3054;
    --marine-accent: #ff8b23;
    --ss-silver: #e0e2e4;
}

.marine-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75)), url('avif-files/marine_hero_premium.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 180px 20px 20px;
    /* Increased top padding to push content below header */
    z-index: -1;
}

.marine-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.marine-hero-content p {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.grade-badge {
    display: inline-block;
    background: var(--marine-accent);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Material Expertise Section */
.material-expertise {
    padding: 0px 0 100px;
    /* Reduced top padding */
    background: #ffffff;
    margin-top: 85vh;
    /* Brought the section up slightly to reduce the perceived gap */
}

.section-title h4 {
    color: #FF8B23 !important;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.expertise-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.expertise-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--marine-blue), var(--marine-accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.expertise-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(10, 48, 84, 0.12);
}

.expertise-card:hover::after {
    transform: scaleX(1);
}

.expertise-card .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(10, 48, 84, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--marine-blue);
    font-size: 2.2rem;
    transition: all 0.3s ease;
}

.expertise-card:hover .icon-box {
    background: var(--marine-blue);
    color: white;
}

.expertise-card h3 {
    color: var(--marine-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

/* Capabilities Timeline */
.capabilities-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #062c53 0%, #0a3054 100%);
    color: white;
}

.capability-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 80px;
    position: relative;
}

@media (min-width: 992px) {
    .capability-flow::before {
        content: "";
        position: absolute;
        top: 45px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
        z-index: 1;
    }
}

.flow-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 90px;
    height: 90px;
    background: #0a3054;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    color: var(--marine-accent);
    box-shadow: 0 0 0 10px rgba(10, 48, 84, 1);
    transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
    border-color: var(--marine-accent);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 139, 35, 0.3);
}

.flow-step h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.flow-step p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--marine-blue);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(10, 48, 84, 0.02);
}

.faq-answer {
    padding: 0 30px 25px;
    color: #666;
    display: none;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: var(--marine-accent);
}

/* Direct Contact Info */
.contact-info-direct {
    width: 45%;
    padding: 20px;
}

@media (max-width: 768px) {
    .contact-info-direct {
        width: 100%;
        margin-top: 40px;
    }
}

.contact-info-wrapper-direct {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(255, 139, 35, 0.1);
    color: #FF8B23;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-text h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--marine-blue);
    font-size: 1.1rem;
}

.info-text p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Product Showcase */
.marine-products {
    padding: 100px 0;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.product-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.2;
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
    text-align: left;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-info h4 {
    color: var(--marine-blue);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-info p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .marine-hero-content h1 {
        font-size: 2.5rem;
    }

    .marine-hero-content p {
        font-size: 1.1rem;
    }
}