/* ===================================
   Our Products CPT - Complete Styles
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* ===================================
   LISTING PAGE STYLES
   =================================== */

.noi-products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
}

.noi-products-header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeInDown 0.8s ease-out;
}

.noi-products-header h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d3a5e;
}

.noi-products-header p {
    font-size: 20px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.noi-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.noi-product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 6px rgba(29, 58, 94, 0.08);
    animation: fadeInUp 0.6s ease-out backwards;
}

.noi-product-card:nth-child(1) { animation-delay: 0.1s; }
.noi-product-card:nth-child(2) { animation-delay: 0.2s; }
.noi-product-card:nth-child(3) { animation-delay: 0.3s; }
.noi-product-card:nth-child(4) { animation-delay: 0.4s; }
.noi-product-card:nth-child(5) { animation-delay: 0.5s; }
.noi-product-card:nth-child(6) { animation-delay: 0.6s; }

.noi-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(29, 58, 94, 0.15);
}

.noi-product-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1d3a5e 0%, #2d5a8e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.noi-product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/><circle cx="50" cy="50" r="25" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    opacity: 0.3;
    animation: rotatePattern 20s linear infinite;
}

@keyframes rotatePattern {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.noi-product-mockup {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease;
}

.noi-product-card:hover .noi-product-mockup {
    transform: scale(1.05) rotateY(5deg);
}

.noi-mockup-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

.noi-product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff;
    color: #1d3a5e;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.noi-product-content {
    padding: 35px;
}

.noi-product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #1d3a5e;
}

.noi-product-description {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 24px;
}

.noi-product-features {
    list-style: none;
    margin-bottom: 28px;
}

.noi-product-features li {
    padding: 10px 0;
    color: #475569;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.noi-product-features li::before {
    content: '✓';
    color: #1d3a5e;
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
    background: #e0ebf5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.noi-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #1d3a5e;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(29, 58, 94, 0.2);
}

.noi-product-cta:hover {
    color: #ffffff;
    background: #2d4a6e;
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(29, 58, 94, 0.3);
}

/* ===================================
   SINGLE PRODUCT PAGE STYLES
   =================================== */

.noi-hero {
    background: linear-gradient(135deg, #1d3a5e 0%, #2d5a8e 100%);
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
     border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.noi-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    opacity: 0.3;
}

.noi-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.noi-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.noi-hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.noi-hero p {
    font-size: 22px;
    opacity: 0.95;
    /*max-width: 800px;*/
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.noi-main-container {
    max-width: 1400px;
    margin: -60px auto 80px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.noi-content-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.noi-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d3a5e;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e0ebf5;
}

.noi-section-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #1d3a5e;
    margin: 35px 0 20px;
}

.noi-description {
    font-size: 17px;
    color: #475569;
    margin-bottom: 30px;
    line-height: 1.8;
}

.noi-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.noi-feature-item {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.noi-feature-item:hover {
    background: #e0ebf5;
    transform: translateX(5px);
}

.noi-feature-icon {
    width: 48px;
    height: 48px;
    background: #1d3a5e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    flex-shrink: 0;
}

.noi-feature-icon i {
    line-height: 1;
}

.noi-feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d3a5e;
    margin-bottom: 8px;
}

.noi-feature-content p {
    font-size: 15px;
    color: #64748b;
}

.noi-benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.noi-benefits-list li {
    padding: 15px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0ebf5;
}

.noi-benefits-list li:last-child {
    border-bottom: none;
}

.noi-benefits-list li::before {
    content: '✓';
    color: #1d3a5e;
    font-weight: bold;
    margin-right: 15px;
    font-size: 20px;
    background: #e0ebf5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Product Pricing Styles */
.noi-pricing-options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.noi-pricing-box {
    background: linear-gradient(135deg, #1d3a5e 0%, #2d5a8e 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(29, 58, 94, 0.3);
    transition: all 0.3s ease;
}

.noi-pricing-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(29, 58, 94, 0.4);
}

.noi-pricing-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noi-price {
    font-size: 56px;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1;
}

.noi-price-period {
    font-size: 18px;
    opacity: 0.9;
}

.noi-pricing-features {
    text-align: left;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.noi-pricing-features li {
    padding: 10px 0;
    font-size: 15px;
    opacity: 0.95;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.noi-pricing-features li::before {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.noi-pricing-notes {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.noi-pricing-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-style: italic;
}

.noi-pricing-note:last-child {
    margin-bottom: 0;
}

.noi-sidebar {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.noi-inquiry-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.noi-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d3a5e;
    margin-bottom: 10px;
}

.noi-form-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 30px;
}

.noi-dynamic-form {
    margin-bottom: 25px;
}

.noi-form-placeholder {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.noi-contact-info {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0ebf5;
}

.noi-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #64748b;
}

.noi-contact-icon {
    width: 36px;
    height: 36px;
    background: #e0ebf5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d3a5e;
    font-size: 18px;
}

.noi-contact-icon i {
    line-height: 1;
}

/* Custom Section Content Formatting */
.noi-custom-section-content {
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 30px;
}

.noi-custom-section-content p {
    margin-bottom: 1em;
}

/* Custom Card Block */
.noi-custom-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border-left: 4px solid #1d3a5e;
}

.noi-custom-card:hover {
    background: #e0ebf5;
    transform: translateX(5px);
}

.noi-card-icon {
    width: 48px;
    height: 48px;
    background: #1d3a5e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 15px;
}

.noi-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #1d3a5e;
    margin-bottom: 12px;
}

.noi-card-content {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Custom List Block */
.noi-custom-list {
    margin: 0 0 30px 0;
    padding-left: 0;
    list-style: none;
}

.noi-custom-list li {
    padding: 15px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0ebf5;
    color: #475569;
}

.noi-custom-list li:last-child {
    border-bottom: none;
}

.noi-custom-list li::before {
    content: '✓';
    color: #1d3a5e;
    font-weight: bold;
    margin-right: 15px;
    font-size: 20px;
    background: #e0ebf5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.noi-custom-list.noi-custom-list-ordered {
    counter-reset: custom-counter;
}

.noi-custom-list.noi-custom-list-ordered li::before {
    content: counter(custom-counter);
    counter-increment: custom-counter;
    font-weight: 700;
    font-size: 16px;
}

/* Custom Features Grid Block */
.noi-custom-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.noi-custom-feature-item {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.noi-custom-feature-item:hover {
    background: #e0ebf5;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(29, 58, 94, 0.1);
}

.noi-custom-feature-icon {
    width: 48px;
    height: 48px;
    background: #1d3a5e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    flex-shrink: 0;
}

.noi-custom-feature-icon i {
    line-height: 1;
}

.noi-custom-feature-content {
    flex: 1;
}

.noi-custom-feature-content h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1d3a5e;
    margin: 0 0 8px 0;
}

.noi-custom-feature-content p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for custom blocks */
@media (max-width: 768px) {
    .noi-custom-card {
        padding: 20px;
    }
    
    .noi-custom-features-grid {
        grid-template-columns: 1fr;
    }
    
    .noi-custom-feature-item {
        padding: 20px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

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

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

/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 1024px) {
    .noi-main-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .noi-inquiry-form {
        position: static;
    }
.noi-product-image {
        height: auto;
    }
    .noi-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .noi-products-container {
        padding: 60px 20px;
    }

    .noi-products-header h1 {
        font-size: 40px;
    }

    .noi-products-header p {
        font-size: 18px;
    }

    .noi-products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .noi-product-content {
        padding: 25px;
    }

    .noi-product-image {
        height: auto;
    }

    .noi-hero-container,
    .noi-main-container {
        padding: 0 20px;
    }

    .noi-hero h1 {
        font-size: 36px;
    }

    .noi-hero p {
        font-size: 18px;
    }

    .noi-content-section,
    .noi-inquiry-form {
        padding: 30px 25px;
    }

    .noi-section-title {
        font-size: 26px;
    }
}
