/* ==========================================
   INTERNATIONAL TRADE — PAGE-SPECIFIC STYLES
   (builds on css/style.css — dark + gold theme)
========================================== */

.ag-trade-hero-tag {
    background: rgba(201, 162, 39, 0.92);
    color: var(--bg-page);
}

.ag-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ag-who-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 6/5;
    border: 1px solid var(--border-color);
}

.ag-who-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) brightness(0.85);
    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 700ms ease;
    
}

.ag-who-card:hover img {
    transform: scale(1.08);
    filter: saturate(1) brightness(1);
}

.ag-who-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 19, 34, 0.92), rgba(8, 19, 34, 0.05) 60%);
}

.ag-who-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    color: var(--text-primary);
    font-weight: 600;
    z-index: 2;
}

@media (max-width: 900px) {
    .ag-who-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .ag-who-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================
   END-TO-END PROCESS — ICON DESIGN
========================================== */

#ag-trade-process {
    position: relative;
    overflow: hidden;
}


/* Process Track */

#ag-trade-process .ag-process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}


/* Process Step */

#ag-trade-process .ag-process-step {
    position: relative;
    min-height: 250px;
    padding: 32px 22px 28px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}


/* Hover Effect */

#ag-trade-process .ag-process-step:hover {
    transform: translateY(-7px);
    border-color: rgba(201, 162, 39, 0.65);
    background: rgba(201, 162, 39, 0.05);
}


/* Icon Circle */

#ag-trade-process .ag-process-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(201, 162, 39, 0.10);
    border: 1px solid rgba(201, 162, 39, 0.55);

    transition: all 0.3s ease;
}


/* Icon */

#ag-trade-process .ag-process-icon svg {
    width: 32px;
    height: 32px;

    fill: none;
    stroke: #C9A227;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.3s ease;
}


/* Icon Hover */

#ag-trade-process .ag-process-step:hover .ag-process-icon {
    background: rgba(201, 162, 39, 0.18);
    border-color: #C9A227;
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.15);
}


#ag-trade-process .ag-process-step:hover .ag-process-icon svg {
    transform: scale(1.1);
}


/* Step Number */

#ag-trade-process .ag-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin-bottom: 16px;

    border-radius: 50%;

    background: #C9A227;
    color: var(--bg-page);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}


/* Step Heading */

#ag-trade-process .ag-process-step h4 {
    margin: 0;

    color: var(--text-primary);

    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
}


/* Connecting Line */

#ag-trade-process .ag-process-step:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 67px;
    left: calc(100% + 14px);

    width: 28px;
    height: 1px;

    background: linear-gradient(90deg,
            rgba(201, 162, 39, 0.7),
            rgba(201, 162, 39, 0.05));
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    #ag-trade-process .ag-process-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    #ag-trade-process .ag-process-step::after {
        display: none;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    #ag-trade-process .ag-process-track {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #ag-trade-process .ag-process-step {
        min-height: auto;
        padding: 28px 20px;
    }

    #ag-trade-process .ag-process-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 18px;
    }

    #ag-trade-process .ag-process-icon svg {
        width: 28px;
        height: 28px;
    }

    #ag-trade-process .ag-process-step h4 {
        font-size: 16px;
    }

}

/* ==========================================
   TRADE SERVICES — LIST ICONS
========================================== */

#ag-trade-services .ag-trade-service-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

#ag-trade-services .ag-trade-service-list li {
    list-style: none;
    margin: 0;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.018);
    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

/* Remove any bullets generated by global CSS */

#ag-trade-services .ag-trade-service-list li::before {
    content: none !important;
    display: none !important;
}

/* Icon container */

#ag-trade-services .ag-trade-list-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.30);
    color: #C9A227;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* SVG */

#ag-trade-services .ag-trade-list-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Text */

#ag-trade-services .ag-trade-service-list li > span:last-child {
    flex: 1;
}

/* Hover */

#ag-trade-services .ag-trade-service-list li:hover {
    transform: translateX(5px);
    color: var(--text-primary);
    background: rgba(201, 162, 39, 0.045);
    border-color: rgba(201, 162, 39, 0.22);
}

#ag-trade-services .ag-trade-service-list li:hover .ag-trade-list-icon {
    transform: scale(1.08);
    background: rgba(201, 162, 39, 0.16);
    border-color: rgba(201, 162, 39, 0.65);
    box-shadow: 0 0 18px rgba(201, 162, 39, 0.12);
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    #ag-trade-services .ag-trade-service-list {
        gap: 10px;
        margin-top: 20px;
    }

    #ag-trade-services .ag-trade-service-list li {
        padding: 10px 11px;
        gap: 11px;
        font-size: 14px;
    }

    #ag-trade-services .ag-trade-list-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 8px;
    }

    #ag-trade-services .ag-trade-list-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    #ag-trade-services .ag-trade-service-list li,
    #ag-trade-services .ag-trade-list-icon {
        transition: none;
    }
}

/* ==========================================
   INTERNATIONAL TRADE HERO CTA
========================================== */

.ag-page-hero-content {
    position: relative;
    z-index: 2;
}

.ag-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.ag-hero-actions .ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

/* Arrow animation */

.ag-hero-actions .ag-btn span {
    display: inline-block;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ag-hero-actions .ag-btn:hover {
    transform: translateY(-3px);
}

.ag-hero-actions .ag-btn:hover span {
    transform: translateX(4px);
}

/* Primary button */

.ag-hero-actions .ag-btn-primary {
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.18);
}

.ag-hero-actions .ag-btn-primary:hover {
    box-shadow: 0 14px 35px rgba(201, 162, 39, 0.30);
}

/* Outline button */

.ag-hero-actions .ag-btn-outline {
    border: 1px solid rgba(201, 162, 39, 0.65);
    color: #c9a227;
    background: transparent;
}

.ag-hero-actions .ag-btn-outline:hover {
    background: rgba(201, 162, 39, 0.10);
    border-color: #c9a227;
    box-shadow: 0 10px 28px rgba(201, 162, 39, 0.12);
}


/* ==========================================
   RESPONSIVE HERO BUTTONS
========================================== */

@media (max-width: 768px) {

    .ag-hero-actions {
        margin-top: 24px;
        gap: 12px;
    }

    .ag-hero-actions .ag-btn {
        min-height: 50px;
        padding: 0 20px;
    }

}


@media (max-width: 480px) {

    .ag-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .ag-hero-actions .ag-btn {
        width: 100%;
    }

}