/* AI Website Builder Styles - Nordicway Theme Compatible */

/* ========================================
   SHORTCODE DEFAULT CSS 
   ======================================== */

.page-id-6342 .content-area {
    padding-left:0!important;
    padding-right:0!important;
}

body .wpb_row.nw-ai-full-width {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
}


/* ========================================
   HERO SECTION
   ======================================== */
.nw-ai-hero-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px 270px;
    position: relative;
    text-align: center;
}

.nw-ai-hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.nw-ai-hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.ai-letter-i {
    position: relative;
    display: inline-block;
}

.ai-letter-i::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-image: url('../images/ai/ai-builder-hero-ai.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.nw-ai-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.4;
    font-weight: 400;
}

.nw-ai-hero-tab-helptitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 30px 0 15px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
}

.nw-ai-hero-madeby {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 400;
    margin-top: 25px;
}

.nw-ai-hero-madeby img {
    width:31px;
    height:auto;
    margin: 0px 0px 0 5px;
    position: relative;
    top: 1px;
}

/* Tab navigation */
.nw-ai-tabs {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 30px;
    justify-content: center;
    border: 1px solid rgba(227, 227, 227, 0.2);
    border-radius: 4px;
    padding: 4px;
    background: transparent;
}

.nw-ai-tab {
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nw-ai-tab.active {
    background: #ffffff;
    color: #3F4A52;
}

.nw-ai-tab:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nw-ai-tab.active:hover {
    background: #ffffff;
}

.nw-ai-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nw-ai-btn-green {
    background: #8BC34A;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    text-transform: none;
}

.nw-ai-btn-green:hover {
    background: #8BC34A;
    color: #ffffff;
    text-decoration: none;
}

/* Pricing section */
.nw-ai-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nw-ai-pricing .price {
    font-size: 30px;
    color: #ffffff;
    font-weight: 300;
}

/* Social proof section */
.nw-ai-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top:25px;
    margin-bottom: 20px;
}

.nw-ai-btn-logged-in {
    display: none;
}

.customer-avatars {
    display: flex;
    align-items: center;
}

.avatars-img {
    height: 40px;
    width: auto;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.stars-img {
    height: 18px;
    width: auto;
}

.rating-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-top: 2px;
}

/* Devices section (separate from hero, overlapping) */
.nw-ai-devices-section {
    position: relative;
    margin-top: -250px;
    z-index: 10;
    text-align: center;
    padding: 0px 20px 100px 20px;
}

.main-hero-img {
    width: 100%;
    max-width: 1000px!important;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .nw-ai-hero-wrapper {
        padding: 80px 20px 220px;
    }
    
    .nw-ai-devices-section {
        margin-top: -200px;
    }
}

@media (max-width: 992px) {
    .nw-ai-hero-wrapper {
        padding: 70px 20px 180px;
    }
    
    .nw-ai-devices-section {
        margin-top: -160px;
        padding: 0px 20px 80px 20px;
    }
}

@media (max-width: 768px) {
    .nw-ai-hero-wrapper {
        padding: 60px 20px 150px;
    }
    
    .nw-ai-hero-title {
        font-size: 42px;
    }
    
    .ai-letter-i::before {
        width: 20px;
        height: 20px;
        top: -25px;
    }
    
    .nw-ai-tabs {
        gap: 3px;
        padding: 3px;
    }
    
    .nw-ai-tab {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .nw-ai-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .nw-ai-devices-section {
        margin-top: -130px;
        padding: 0px 15px 60px 15px;
    }
    
    .main-hero-img {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .nw-ai-hero-wrapper {
        padding: 50px 15px 120px;
    }
    
    .nw-ai-hero-title {
        font-size: 36px;
    }
    
    .nw-ai-hero-subtitle {
        font-size: 16px;
    }
    
    .nw-ai-pricing .price {
        font-size: 24px;
    }
    
    .nw-ai-devices-section {
        margin-top: -100px;
        padding: 0px 10px 40px 10px;
    }
}

@media (max-width: 480px) {
    .nw-ai-tabs {
        flex-wrap: wrap;
    }

    .nw-ai-tab {
        width: 100%;
    }

    .nw-ai-pricing {
        flex-wrap: wrap;
    }
}

@media (max-width: 430px) {
    .nw-ai-hero-wrapper {
        padding: 40px 15px 100px;
    }
    
    .nw-ai-hero-title {
        font-size: 32px;
    }
    
    .ai-letter-i::before {
        display: none;
    }
    
    .nw-ai-devices-section {
        margin-top: -80px;
    }
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.nw-ai-features-wrapper {
    padding: 80px 20px;
    text-align: center;
}

.nw-ai-features-content {
    max-width: 1140px;
    margin: 0 auto;
}

.nw-ai-features-title {
    font-size: 48px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.nw-ai-features-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 50px!important;
}

.nw-ai-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 0;
}

.nw-ai-feature-item {
    background: #f5f5f5;
    padding: 35px 30px;
    border-radius: 8px;
    text-align: left;
}

.nw-ai-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nw-ai-feature-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.nw-ai-feature-name {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.nw-ai-feature-description {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments for features */
@media (max-width: 992px) {
    .nw-ai-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .nw-ai-features-wrapper {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .nw-ai-features-title {
        font-size: 32px;
    }
    
    .nw-ai-features-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .nw-ai-feature-item {
        padding: 30px 25px;
    }
    
    .nw-ai-feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .nw-ai-feature-img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .nw-ai-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .nw-ai-features-wrapper {
        padding: 50px 15px;
    }
    
    .nw-ai-features-title {
        font-size: 28px;
    }
    
    .nw-ai-feature-name {
        font-size: 18px;
    }
    
    .nw-ai-feature-description {
        font-size: 14px;
    }
}

/* ========================================
   CUSTOMERS TESTIMONIAL SECTION
   ======================================== */
.nw-ai-customers-wrapper {
    padding: 80px 20px;
    text-align: center;
}

.nw-ai-customers-content {
    max-width: 1140px;
    margin: 0 auto;
}

.nw-ai-testimonial-card {
    background: #3F4A52;
    background-image: url('../images/ai/ai-builder-quotes.png');
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: center;
    border-radius: 16px;
    padding: 60px 80px;
    color: #ffffff;
    position: relative;
    min-height: 550px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.nw-ai-customers-title {
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 35px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.nw-ai-testimonial-text {
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: opacity 0.5s ease;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

.nw-ai-customer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    transition: opacity 0.5s ease;
}

.nw-ai-customer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.nw-ai-customer-details {
    text-align: left;
}

.nw-ai-customer-name {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.nw-ai-customer-title {
    font-size: 14px;
}

.nw-ai-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.nw-ai-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.nw-ai-indicator.active {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments for customers */
@media (max-width: 992px) {
    .nw-ai-testimonial-card {
        padding: 50px 60px;
    }
}

@media (max-width: 768px) {
    .nw-ai-customers-wrapper {
        padding: 60px 20px;
    }
    
    
    .nw-ai-testimonial-card {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .nw-ai-customers-title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .nw-ai-testimonial-text {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .nw-ai-customer-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .nw-ai-customers-wrapper {
        padding: 50px 15px;
    }
    
    .nw-ai-testimonial-card {
        padding: 35px 25px;
        border-radius: 12px;
    }
    
    .nw-ai-customers-title {
        font-size: 28px;
    }
    
    .nw-ai-testimonial-text {
        font-size: 18px;
    }
    
    .nw-ai-customer-avatar {
        width: 40px;
        height: 40px;
    }
    
    .nw-ai-customer-name {
        font-size: 15px;
    }
    
    .nw-ai-customer-title {
        font-size: 13px;
    }
}

/* ========================================
   PORTFOLIO/DESIGNS SECTION
   ======================================== */
.nw-ai-portfolio-wrapper {
    padding: 80px 20px;
    text-align: center;
}

.nw-ai-portfolio-content {
    max-width: 1140px;
    margin: 0 auto;
}

.nw-ai-portfolio-title {
    font-size: 48px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.nw-ai-portfolio-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 50px!important;
}

.nw-ai-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.nw-ai-portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.nw-ai-portfolio-item:hover {
    transform: translateY(-5px);
}

.nw-ai-portfolio-image {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.nw-ai-portfolio-image img {
    width: 100%;
    display: block;
}

.nw-ai-portfolio-cta {
    text-align: center;
    margin-top: 40px;
}

.nw-ai-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #E3E3E3;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nw-ai-btn-outline-black {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background:#000;
    text-align:left;
    margin-top:20px;
}

.nw-ai-btn-outline:hover {
    border: 1px solid #000;
    background: #000;
    color: #ffffff;
    text-decoration: none;
}

.nw-ai-btn-outline-black:hover {
    border: 1px solid #000;
    background: #000;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive adjustments for portfolio */
@media (max-width: 992px) {
    .nw-ai-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .nw-ai-portfolio-wrapper {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .nw-ai-portfolio-title {
        font-size: 36px;
    }
    
    .nw-ai-portfolio-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }
    
    .nw-ai-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .nw-ai-portfolio-wrapper {
        padding: 50px 15px;
    }
    
    .nw-ai-portfolio-title {
        font-size: 32px;
    }
    
    .nw-ai-portfolio-subtitle {
        font-size: 14px;
    }
    
    .nw-ai-btn-outline {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.nw-ai-faq-wrapper {
    padding: 80px 20px;
    text-align: center;
}

.nw-ai-faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.nw-ai-faq-title {
    font-size: 42px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.nw-ai-faq-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 50px!important;
}

.nw-ai-faq-list {
    text-align: left;
}

.nw-ai-faq-item {
    border: 1px solid #E3E3E3;
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

.nw-ai-faq-item:last-child {
    margin-bottom: 0;
}

.nw-ai-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nw-ai-faq-text {
    font-size: 20px;
    font-weight: 700;
    color: #2A363F;
    flex: 1;
    padding-right: 20px;
}

.nw-ai-faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #2A363F;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nw-ai-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.nw-ai-faq-answer p {
    margin: 0;
    padding: 0 30px 25px 30px;
    font-size: 16px;
    line-height: 1.7;
}

.nw-ai-faq-item.active .nw-ai-faq-answer {
    max-height: 500px;
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
    .nw-ai-faq-wrapper {
        padding: 60px 20px;
    }
    
    .nw-ai-faq-title {
        font-size: 32px;
    }
    
    .nw-ai-faq-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }
    
    .nw-ai-faq-text {
        font-size: 16px;
    }
    
    .nw-ai-faq-question {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .nw-ai-faq-wrapper {
        padding: 50px 15px;
    }
    
    .nw-ai-faq-title {
        font-size: 28px;
    }
    
    .nw-ai-faq-subtitle {
        font-size: 14px;
    }
    
    .nw-ai-faq-text {
        font-size: 15px;
    }
    
    .nw-ai-faq-icon {
        font-size: 20px;
    }
    
    .nw-ai-faq-answer p {
        font-size: 14px;
    }
}


.nw-ai-hr-wrapper {
    padding: 40px 0;
    background: transparent;
}

.nw-ai-separator {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0 auto;
    width: 100%;
    max-width: 1140px;
}

/* Responsive */
@media (max-width: 1200px) {
    .nw-ai-separator {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .nw-ai-hr-wrapper {
        padding: 30px 0;
    }
}

@media (max-width: 576px) {
    .nw-ai-hr-wrapper {
        padding: 20px 0;
    }
}

/* ========================================
   POPUP SECTION
   ======================================== */
.nw-ai-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.nw-ai-popup {
    background-image: url('../images/ai/ai-builder-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    position: relative;
    padding: 40px 40px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease;
}

.nw-ai-popup h2 {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    color:#fff;
    margin: 0 0 40px 0;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.nw-ai-popup-close {
    position: absolute;
    top: -50px;
    right: -10px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-weight: lighter;
}

.nw-ai-popup-close:hover {
    background: #e0e0e0;
    color: #000;
}

.nw-ai-popup-content {
    text-align: center;
}

.nw-ai-popup-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.nw-ai-popup-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .2);
}

/*
.nw-ai-popup-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
*/

.nw-ai-popup-box-title {
    color: #2a363f;
    margin-bottom: 10px;
}

.nw-ai-popup-box-description {
    margin-bottom: 25px!important;
}

.nw-ai-popup-btn {
    align-self: flex-end;
    width: 100%;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
/*
.nw-ai-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}
*/
/* Responsive popup */
@media (max-width: 768px) {
    .nw-ai-popup {
        padding: 50px 30px 30px;
    }
    
    .nw-ai-popup-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nw-ai-popup-box {
        padding: 30px 25px;
    }
    
    .nw-ai-popup-box-title {
        font-size: 20px;
    }
    
    .nw-ai-popup-box-description {
        font-size: 14px;
        min-height: auto;
    }
    
    .nw-ai-popup-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nw-ai-popup {
        width: 95%;
        padding: 40px 20px 20px;
    }
    
    .nw-ai-popup-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
    
    .nw-ai-popup-box {
        padding: 25px 20px;
    }
    
    .nw-ai-popup-box-title {
        font-size: 18px;
    }
    
    .nw-ai-popup-btn {
        width: 100%;
    }
}