/* SERVICE HERO */
.service-hero {
    position: relative;
    height: 50vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Ensures image doesn't bleed out */
    z-index: 1;
}

/* New Image Class */
.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    filter: brightness(90%);

}

/* Overlay */
.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
    /* Above the image, below the text */
}

/* Content */
.service-hero-content {
    position: relative;
    z-index: 2;
    /* Highest level */
    max-width: 920px;
    color: #ffffff;
}

.service-hero-content h1 {
    font-size: clamp(34px, 5vw, 36px);
    font-weight: 500;
    margin-bottom: 20px;
}

.service-hero-content p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 920px;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 768px) {
    .service-hero {
        height: auto;
        padding: 100px 0 80px;
    }

    .service-hero-content {
        text-align: left;
    }
}



.service-page {
    padding: 60px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 50px;

}

/* LEFT */
.service-content h1 {
    font-size: 34px;
    margin-bottom: 20px;
}

.service-content .lead {
    font-weight: 500;
    margin-bottom: 20px;
}

.service-content p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

/* FEATURES */
.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 30px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 14px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: #f2f4f6;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--primary-color);
}

/* PROCESS */


/* SIDEBAR */
.service-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-panel {
    background: var(--siteprimarycolor);
    padding: 30px;
    margin-bottom: 30px;
    color: #fff;
}

.sidebar-panel h4 {
    margin-bottom: 25px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-links a {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    color: #fff;
    text-decoration: none;
}

/* DOWNLOAD */
.sidebar-download {
    background: linear-gradient(180deg, var(--siteprimarycolor), #162026);
}

.download-row {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    gap: 12px;
    padding: 14px 0;
    color: #fff;
    text-decoration: none;
}

.download-row small {
    opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 575px) {
    .service-feature-grid {
        grid-template-columns: 1fr;
    }

    .process-row {
        flex-direction: column;
    }
}



.service-faq h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-intro {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 720px;
}

/* FAQ LIST */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ITEM */
.faq-item {
    border: 1px solid #e6e8eb;
    border-radius: 6px;
    background: #f7f7f7;
    overflow: hidden;
}

/* QUESTION */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

/* NUMBER */
.faq-number {
    font-weight: 700;
}

/* ICON (CSS ARROW) */
.faq-icon {
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f7f7f7;
    transition: max-height 0.35s ease;
    padding: 0 22px;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ACTIVE */
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(-135deg);
}

.contact-section {
    padding: 100px 0;
}

/* Title */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: 36px;
    font-weight: 700;
}

/* Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* LEFT PANEL */
.contact-info {
    background: #1e2a30;
    color: #ffffff;
    padding: 60px 50px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-icon {
    width: 52px;
    height: 52px;
    background: #ffffff;
    color: #1e2a30;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.info-item small {
    display: block;
    opacity: 0.8;
    margin-bottom: 4px;
}

.info-item strong {
    font-size: 16px;
    font-weight: 600;
}

/* RIGHT FORM */
.contact-form {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 50px;
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* FORM */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.btn-custom {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: var(--radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 40px 30px;
    }

    .contact-form {
        padding: 40px 30px;
    }
}

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* The magic: 56.25% maintains a 16:9 aspect ratio (9/16 = 0.5625) */
    padding-top: 56.25%;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    /* Optional: removes the default iframe border */
}


/* Hero Section Layout */
.nexa-hero {
    padding: 100px 20px;
    /* background-color: #f8faff; */
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.nexa-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Content Styles */
.nexa-content {
    flex: 1;
}

.nexa-badge {
    display: inline-block;
    background: #e0efff;
    color: #0066ff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nexa-title {
    font-size: 52px;
    line-height: 1.1;
    color: var(--dark-bg);
    margin-bottom: 24px;
    font-weight: 800;
}

.nexa-highlight {
    color: #0066ff;
    border-right: 3px solid #0066ff;
    /* Cursor effect */
    padding-right: 5px;
}

.nexa-description {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 35px;
    max-width: 540px;
    line-height: 1.6;
}

/* Button Styles */
.nexa-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.nexa-btn-fill {
    background: var(--dark-bg);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nexa-btn-line {
    border: 2px solid #cbd5e0;
    color: #0a192f;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nexa-btn-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

/* Trust Bar */
.nexa-trust-bar {
    display: flex;
    gap: 30px;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.nexa-stat {
    font-size: 14px;
    color: #718096;
}

.nexa-stat strong {
    display: block;
    color: #0a192f;
    font-size: 18px;
}

/* Visual Elements */
.nexa-visual-wrapper {
    flex: 1;
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nexa-main-blob {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #0066ff22 0%, #0066ff05 100%);
    border-radius: 50%;
    filter: blur(40px);
}

.nexa-floating-card {
    position: absolute;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: #0a192f;
    animation: nexaFloat 5s infinite ease-in-out;
}

.nexa-icon-box {
    width: 40px;
    height: 40px;
    background: #f0f7ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.card-top {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-mid {
    top: 45%;
    left: 5%;
    animation-delay: 1s;
}

.card-btm {
    bottom: 15%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes nexaFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .nexa-container {
        flex-direction: column;
        text-align: center;
    }

    .nexa-title {
        font-size: 38px;
    }

    .nexa-description {
        margin: 0 auto 30px;
    }

    .nexa-actions,
    .nexa-trust-bar {
        justify-content: center;
    }

    .nexa-visual-wrapper {
        display: none;
    }

    /* Hide complex visual on mobile for speed */
}


/* Services Section Styles */
.nexa-services {
    padding: 100px 20px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.nexa-container {
    max-width: 1200px;
    margin: 0 auto;
}

.nexa-services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.nexa-subtitle {
    color: #0066ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.nexa-section-title {
    font-size: 36px;
    color: #0a192f;
    font-weight: 800;
    margin-bottom: 20px;
}

.nexa-section-desc {
    color: #718096;
    font-size: 18px;
    line-height: 1.6;
}

/* Grid System */
.nexa-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Individual Card Styles */
.nexa-service-card {
    background: #f8faff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    top: 0;
}

.nexa-service-card:hover {
    background: #ffffff;
    border-color: #0066ff;
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
    top: -10px;
}

.nexa-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--dark-bg);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.nexa-service-card:hover .nexa-icon-circle {
    transform: rotateY(180deg);
}

.nexa-service-card h3 {
    font-size: 22px;
    color: #0a192f;
    margin-bottom: 15px;
    font-weight: 700;
}

.nexa-service-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.nexa-card-link {
    text-decoration: none;
    color: #0066ff;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.nexa-card-link:hover {
    text-decoration: underline;
}

/* Scroll Animation Classes */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .nexa-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nexa-services-grid {
        grid-template-columns: 1fr;
    }

    .nexa-section-title {
        font-size: 28px;
    }

    .nexa-service-card {
        padding: 30px;
    }
}

/* Info Section Styles */
.nexa-info {
    padding: 100px 20px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.nexa-info-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Left Visual Side */
.nexa-info-visual {
    flex: 1;
    position: relative;
}

.nexa-placeholder-img {
    width: 100%;
    height: 500px;
    background: #e2e8f0;
    /* Placeholder color */
    background-size: 40px 40px;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    background-image: url(assets/Images/nexateam.webp);
}

.nexa-experience-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #0066ff;
    color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.3);
}

.nexa-exp-number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.nexa-exp-text {
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

/* Right Content Side */
.nexa-info-content {
    flex: 1;
}

.nexa-badge-alt {
    color: #0066ff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.nexa-info-title {
    font-size: 40px;
    color: #0a192f;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.nexa-info-text {
    color: #4a5568;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Checklist */
.nexa-check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.nexa-check-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 16px;
}

.nexa-check-icon {
    width: 24px;
    height: 24px;
    background: #e0efff;
    color: #0066ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Counter Row */
.nexa-counter-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid #eef2f6;
    padding-top: 35px;
}

.nexa-counter-num {
    font-size: 32px;
    font-weight: 800;
    color: #0a192f;
}

.nexa-plus {
    color: #0066ff;
    font-size: 24px;
    font-weight: 800;
}

.nexa-counter-item p {
    color: #718096;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}

/* Animation triggers */
[data-reveal="left"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: 1s ease;
}

[data-reveal="right"] {
    opacity: 0;
    transform: translateX(50px);
    transition: 1s ease;
}

.revealed {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .nexa-info-flex {
        flex-direction: column;
        gap: 60px;
    }

    .nexa-info-visual {
        width: 100%;
        order: 2;
    }

    .nexa-info-content {
        order: 1;
        text-align: center;
    }

    .nexa-check-list li {
        text-align: left;
    }

    .nexa-counter-row {
        justify-content: center;
    }

    .nexa-experience-card {
        right: 10px;
        bottom: -20px;
    }
}

/* --- Common Styles --- */
.nexa-testimonials,
.nexa-contact {
    padding: 100px 20px;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
}

.nexa-section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* --- Testimonials Styling --- */
.nexa-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.nexa-testimonial-card {
    background: #f8faff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    transition: transform 0.3s ease;
}

.nexa-testimonial-card.highlight {
    border: 2px solid #0066ff;
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.08);
}

.nexa-quote-icon {
    font-size: 50px;
    color: #0066ff;
    font-family: serif;
    line-height: 1;
    margin-bottom: 10px;
}

.nexa-testimonial-text {
    color: #4a5568;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
}

.nexa-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nexa-user-avatar {
    width: 45px;
    height: 45px;
    background: #0066ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.nexa-user-name {
    color: #0a192f;
    margin: 0;
    font-size: 16px;
}

.nexa-user-role {
    color: #718096;
    font-size: 13px;
    margin: 0;
}

/* --- Contact Section Styling --- */
.nexa-contact {
    background-color: #f8faff;
}

.nexa-contact-flex {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.nexa-contact-info,
.nexa-contact-form-container {
    flex: 1;
}

.nexa-contact-methods {
    margin-top: 40px;
}

.nexa-method-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.nexa-method-icon {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 20px;
}

.nexa-method-item strong {
    display: block;
    color: #0a192f;
    margin-bottom: 4px;
}

.nexa-method-item p {
    color: #718096;
    margin: 0;
    font-size: 15px;
}

/* Form Styling */
.nexa-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.nexa-form-group {
    margin-bottom: 20px;
}

.nexa-form-group label {
    display: block;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 8px;
    font-size: 14px;
}

.nexa-form-group input,
.nexa-form-group select,
.nexa-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fcfdfe;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

.nexa-form-group input:focus {
    border-color: #0066ff;
    outline: none;
}

/* Responsive */
@media (max-width: 992px) {
    .nexa-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .nexa-contact-flex {
        flex-direction: column;
        gap: 50px;
    }
}