/**
 * NTCSOS Services Manager Stylesheet
 * Custom styles for NTCSOS Oilfield Services pages & components
 * Palette: Navy (#0a122a), Accent Gold (#ffe713), Slate (#161f36), Tech Blue (#0089f7)
 */

:root {
    --ntcsos-navy: #0a122a;
    --ntcsos-navy-light: #161f36;
    --ntcsos-gold: #ffe713;
    --ntcsos-gold-hover: #e5cf0d;
    --ntcsos-blue: #0089f7;
    --ntcsos-dark: #121826;
    --ntcsos-gray: #64748b;
    --ntcsos-light: #f8fafc;
    --ntcsos-border: #e2e8f0;
    --ntcsos-radius: 10px;
    --ntcsos-shadow: 0 10px 25px -5px rgba(10, 18, 42, 0.08), 0 8px 10px -6px rgba(10, 18, 42, 0.04);
}

.ntcsos-service-wrapper {
    font-family: inherit;
    color: #334155;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 1240px;
    padding: 10px 20px 60px;
}

/* Hero Section */
.ntcsos-hero {
    background: linear-gradient(135deg, var(--ntcsos-navy) 0%, var(--ntcsos-navy-light) 100%);
    color: #ffffff;
    border-radius: var(--ntcsos-radius);
    padding: 50px 40px;
    margin-bottom: 45px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(10, 18, 42, 0.25);
    border-left: 6px solid var(--ntcsos-gold);
}

.ntcsos-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 231, 19, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ntcsos-badge {
    display: inline-block;
    background: var(--ntcsos-gold);
    color: var(--ntcsos-navy);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.ntcsos-hero h1 {
    color: #ffffff !important;
    font-size: 38px !important;
    line-height: 1.25 !important;
    margin: 0 0 15px 0 !important;
    font-weight: 800 !important;
}

.ntcsos-hero .ntcsos-lead {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 850px;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.ntcsos-hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

/* Buttons */
.ntcsos-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.ntcsos-btn-gold {
    background: var(--ntcsos-gold);
    color: var(--ntcsos-navy) !important;
    border-color: var(--ntcsos-gold);
}
.ntcsos-btn-gold:hover {
    background: var(--ntcsos-gold-hover);
    border-color: var(--ntcsos-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 231, 19, 0.35);
}

.ntcsos-btn-outline {
    background: transparent;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4);
}
.ntcsos-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.ntcsos-btn-navy {
    background: var(--ntcsos-navy);
    color: #ffffff !important;
}
.ntcsos-btn-navy:hover {
    background: var(--ntcsos-navy-light);
    transform: translateY(-2px);
}

/* Sections */
.ntcsos-section {
    margin-bottom: 55px;
}

.ntcsos-section-title {
    position: relative;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--ntcsos-navy) !important;
    margin-bottom: 25px !important;
    padding-bottom: 12px !important;
}

.ntcsos-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--ntcsos-gold);
    border-radius: 2px;
}

/* Grid Layouts */
.ntcsos-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

.ntcsos-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.ntcsos-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Cards */
.ntcsos-card {
    background: #ffffff;
    border-radius: var(--ntcsos-radius);
    border: 1px solid var(--ntcsos-border);
    box-shadow: var(--ntcsos-shadow);
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.ntcsos-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(10, 18, 42, 0.12);
    border-color: var(--ntcsos-gold);
}

.ntcsos-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 231, 19, 0.15);
    color: var(--ntcsos-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 24px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 231, 19, 0.4);
}

.ntcsos-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--ntcsos-navy) !important;
    margin: 0 0 12px 0 !important;
}

.ntcsos-card p {
    color: #475569;
    font-size: 15px;
    margin-bottom: 16px;
    flex-grow: 1;
}

.ntcsos-checklist {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 0 15px 0 !important;
}

.ntcsos-checklist li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 14.5px;
    color: #334155;
}

.ntcsos-checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: 800;
}

/* Highlighting Feature Boxes */
.ntcsos-feature-box {
    display: flex;
    gap: 25px;
    align-items: center;
    background: var(--ntcsos-light);
    border: 1px solid var(--ntcsos-border);
    border-radius: var(--ntcsos-radius);
    padding: 25px;
    margin-bottom: 25px;
}

.ntcsos-feature-img {
    flex: 0 0 40%;
    max-width: 40%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--ntcsos-shadow);
}

.ntcsos-feature-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ntcsos-feature-img:hover img {
    transform: scale(1.03);
}

.ntcsos-feature-text {
    flex: 1;
}

/* Video Containers */
.ntcsos-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--ntcsos-radius);
    box-shadow: var(--ntcsos-shadow);
    background: #000;
    margin-bottom: 15px;
}

.ntcsos-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Gallery for Polymer Photos */
.ntcsos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.ntcsos-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4 / 3;
    background: #0a122a;
    border: 1px solid var(--ntcsos-border);
}

.ntcsos-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.ntcsos-gallery-item:hover img {
    transform: scale(1.08);
    opacity: 0.9;
}

/* Partner Badge Strip */
.ntcsos-partner-strip {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: var(--ntcsos-radius);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.ntcsos-partner-info h4 {
    margin: 0 0 5px 0 !important;
    font-size: 18px !important;
    color: var(--ntcsos-navy) !important;
}

.ntcsos-partner-info p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

/* Call to Action Banner */
.ntcsos-cta-banner {
    background: linear-gradient(135deg, var(--ntcsos-navy) 0%, #1a2542 100%);
    border-radius: var(--ntcsos-radius);
    padding: 45px 40px;
    text-align: center;
    color: #ffffff;
    margin-top: 50px;
    border-top: 4px solid var(--ntcsos-gold);
    box-shadow: 0 20px 30px rgba(10, 18, 42, 0.2);
}

.ntcsos-cta-banner h2 {
    color: #ffffff !important;
    font-size: 30px !important;
    margin: 0 0 12px 0 !important;
}

.ntcsos-cta-banner p {
    color: #cbd5e1;
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 25px auto;
}

.ntcsos-cta-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 600;
}

.ntcsos-cta-contacts a {
    color: var(--ntcsos-gold) !important;
    text-decoration: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ntcsos-hero {
        padding: 30px 20px;
    }
    .ntcsos-hero h1 {
        font-size: 26px !important;
    }
    .ntcsos-feature-box {
        flex-direction: column;
    }
    .ntcsos-feature-img {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .ntcsos-partner-strip {
        flex-direction: column;
        text-align: center;
    }
}
