/* =========================================================
   NEXUS RESEARCH CONSULTING
   PAGE-SPECIFIC STYLES
   ========================================================= */


/* =========================================================
   1. HERO SECTION
   ========================================================= */

#hero {

    position: relative;

    padding: 110px 0 100px;

    background:
        linear-gradient(
            135deg,
            #F8FAFC 0%,
            #FFFFFF 55%,
            #F0F7F6 100%
        );

    overflow: hidden;
}


/* Decorative background element */

#hero::before {

    content: "";

    position: absolute;

    top: -180px;

    right: -140px;

    width: 450px;

    height: 450px;

    border: 1px solid rgba(15, 118, 110, 0.08);

    border-radius: 50%;
}


#hero::after {

    content: "";

    position: absolute;

    bottom: -220px;

    left: -160px;

    width: 500px;

    height: 500px;

    border: 1px solid rgba(201, 151, 0, 0.08);

    border-radius: 50%;
}


/* Hero layout */

.hero-grid {

    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);

    align-items: center;

    gap: 70px;
}


/* Hero text */

.hero-text {

    max-width: 680px;
}


.hero-label {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color: var(--secondary);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 2px;

    line-height: 1.4;
}


.hero-label::before {

    content: "";

    display: inline-block;

    width: 32px;

    height: 2px;

    background-color: var(--accent);
}


.hero-text h1 {

    margin-bottom: 25px;

    color: var(--primary);

    font-size: clamp(2.6rem, 5vw, 4.2rem);

    font-weight: 700;

    line-height: 1.13;

    letter-spacing: -1.2px;
}


.hero-description {

    max-width: 650px;

    margin-bottom: 32px;

    color: var(--text-light);

    font-size: 1.08rem;

    line-height: 1.85;
}


/* Hero buttons */

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 14px;

    margin-bottom: 30px;
}


/* Hero trust indicators */

.hero-trust {

    display: flex;

    flex-wrap: wrap;

    gap: 12px 20px;
}


.hero-trust span {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: var(--secondary);

    font-size: 0.86rem;

    font-weight: 600;
}


/* Hero image */

.hero-image {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


.hero-image::before {

    content: "";

    position: absolute;

    width: 90%;

    height: 90%;

    border-radius: 50%;

    background-color: rgba(15, 118, 110, 0.06);

    filter: blur(2px);

    z-index: -1;
}


.hero-image img {

    width: 100%;

    max-width: 570px;

    margin: 0 auto;

    object-fit: contain;

    animation: heroFloat 6s ease-in-out infinite;
}


@keyframes heroFloat {

    0%,
    100% {

        transform: translateY(0);
    }

    50% {

        transform: translateY(-10px);
    }
}


/* =========================================================
   2. STATISTICS SECTION
   ========================================================= */

#statistics {

    padding: 75px 0;

    background-color: var(--white);

    border-bottom: 1px solid var(--border);
}


#statistics .section-subtitle {

    margin-bottom: 40px;
}


#statistics .grid {

    gap: 20px;
}


#statistics .card {

    padding: 30px 20px;

    text-align: center;
}


#statistics .card h3 {

    margin-bottom: 8px;

    color: var(--secondary);

    font-size: 2.5rem;

    line-height: 1.1;
}


#statistics .card p {

    font-size: 0.9rem;

    font-weight: 500;
}


/* =========================================================
   3. SERVICES SECTION
   ========================================================= */

#services {

    background-color: var(--background);
}


#services .service-card {

    min-height: 100%;
}


#services .icon-box {

    margin-bottom: 10px;
}


#services .card h3 {

    font-size: 1.3rem;
}


#services .card p {

    margin-bottom: 0;
}


/* =========================================================
   4. WHY CHOOSE NEXUS
   ========================================================= */

#why-choose-us {

    background-color: var(--white);
}


.why-content {

    display: grid;

    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);

    align-items: center;

    gap: 70px;
}


.why-introduction {

    max-width: 520px;
}


.why-introduction .section-eyebrow {

    text-align: left;
}


.why-introduction .section-title {

    text-align: left;
}


.why-introduction .section-subtitle {

    margin-left: 0;

    margin-right: 0;

    text-align: left;
}


.why-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.why-card {

    padding: 28px;
}


.why-card h3 {

    font-size: 1.15rem;
}


.why-card p {

    font-size: 0.92rem;
}


/* =========================================================
   5. RESEARCH EXPERTISE
   ========================================================= */

#research-expertise {

    background-color: var(--background);
}


.expertise-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
}


.expertise-card {

    padding: 30px;
}


.expertise-card h3 {

    margin-bottom: 12px;

    font-size: 1.2rem;
}


.expertise-card p {

    font-size: 0.92rem;
}


/* =========================================================
   6. RESEARCH AREAS
   ========================================================= */

#research-areas {

    background-color: var(--white);
}


.research-areas-grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;
}


.research-area {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 85px;

    padding: 18px;

    background-color: var(--background);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    color: var(--primary);

    font-family: var(--font-heading);

    font-size: 0.92rem;

    font-weight: 600;

    text-align: center;

    transition:
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        color var(--transition-normal),
        transform var(--transition-normal);
}


.research-area:hover {

    background-color: rgba(15, 118, 110, 0.06);

    border-color: rgba(15, 118, 110, 0.25);

    color: var(--secondary);

    transform: translateY(-4px);
}


/* =========================================================
   7. SOFTWARE & ANALYTICS TOOLS
   ========================================================= */

#software-tools {

    background-color: var(--background);
}


#software-tools .section-subtitle {

    max-width: 720px;
}


#software-tools .software-grid {

    max-width: 950px;

    margin: 0 auto;
}


/* =========================================================
   8. RESEARCH METHODS
   ========================================================= */

#research-methods {

    background-color: var(--white);
}


.methods-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
}


.method-card {

    padding: 30px;
}


.method-card h3 {

    margin-bottom: 12px;

    font-size: 1.2rem;
}


.method-card p {

    font-size: 0.92rem;
}


/* =========================================================
   9. THE NEXUS STANDARD
   ========================================================= */

#standards {

    background-color: var(--background);
}


.standards-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
}


.standard-card {

    text-align: center;

    padding: 35px 28px;
}


.standard-card .icon-box {

    margin-left: auto;

    margin-right: auto;
}


.standard-card h3 {

    font-size: 1.2rem;
}


/* =========================================================
   10. HOW IT WORKS / PROCESS
   ========================================================= */

#process {

    background-color: var(--white);
}


.process-grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 25px;

    counter-reset: process;
}


.process-step {

    position: relative;
}


.process-step:not(:last-child)::after {

    content: "→";

    position: absolute;

    top: 45px;

    right: -22px;

    color: var(--accent);

    font-size: 1.5rem;

    font-weight: 700;
}


.process-step h3 {

    font-size: 1.15rem;
}


.process-step p {

    font-size: 0.9rem;
}


/* =========================================================
   11. TESTIMONIALS
   ========================================================= */

#testimonials {

    background-color: var(--background);
}


.testimonial-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
}


.testimonial-card {

    min-height: 100%;
}


.testimonial-author {

    margin-top: auto;
}


/* =========================================================
   12. INSIGHTS & RESOURCES
   ========================================================= */

#insights {

    background-color: var(--white);
}


.knowledge-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;
}


.article-card {

    min-height: 100%;
}


.article-card h3 {

    font-size: 1.2rem;
}


/* =========================================================
   13. CALL TO ACTION SECTION
   ========================================================= */

#cta {

    padding-top: 70px;

    padding-bottom: 100px;

    background-color: var(--white);
}


/* =========================================================
   14. CONTACT PREVIEW
   ========================================================= */

#contact-preview {

    background-color: var(--background);
}


.contact-preview-grid {

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 60px;

    align-items: center;
}


.contact-preview-content {

    max-width: 580px;
}


.contact-preview-content .section-eyebrow {

    text-align: left;
}


.contact-preview-content .section-title {

    text-align: left;
}


.contact-preview-content .section-subtitle {

    margin-left: 0;

    margin-right: 0;

    text-align: left;
}


.contact-preview-form {

    padding: 35px;

    background-color: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   15. ABOUT PREVIEW
   ========================================================= */

#about-preview {

    background-color: var(--white);
}


.about-preview-grid {

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 70px;

    align-items: center;
}


.about-preview-content {

    max-width: 620px;
}


.about-preview-content .section-eyebrow {

    text-align: left;
}


.about-preview-content .section-title {

    text-align: left;
}


.about-preview-content .section-subtitle {

    margin-left: 0;

    margin-right: 0;

    text-align: left;
}


.about-preview-image {

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;
}


.about-preview-image img {

    width: 100%;

    max-width: 520px;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}


/* =========================================================
   16. PAGE HERO
   Used on inner pages such as About, Services and Contact.
   ========================================================= */

.page-hero {

    padding: 90px 0;

    background:
        linear-gradient(
            135deg,
            var(--primary) 0%,
            #12365D 100%
        );

    color: var(--white);

    text-align: center;
}


.page-hero h1 {

    margin-bottom: 15px;

    color: var(--white);

    font-size: clamp(2.2rem, 5vw, 3.5rem);
}


.page-hero p {

    max-width: 720px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.78);

    font-size: 1.05rem;
}


/* =========================================================
   17. ABOUT PAGE
   ========================================================= */

.about-section {

    background-color: var(--white);
}


.about-grid {

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 70px;

    align-items: center;
}


.about-content {

    max-width: 650px;
}


.about-content h2 {

    margin-bottom: 18px;
}


.about-content p {

    color: var(--text-light);

    line-height: 1.85;
}


/* =========================================================
   18. MISSION / VISION
   ========================================================= */

.mission-vision {

    background-color: var(--background);
}


.mission-vision-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 30px;
}


.mission-card,
.vision-card {

    padding: 40px;
}


.mission-card h3,
.vision-card h3 {

    margin-bottom: 15px;
}


/* =========================================================
   19. SERVICE PAGE
   ========================================================= */

.service-page {

    background-color: var(--white);
}


.service-page-header {

    max-width: 800px;

    margin: 0 auto 55px;

    text-align: center;
}


.service-page-header p {

    color: var(--text-light);

    line-height: 1.8;
}


.service-detail {

    padding: 40px;

    background-color: var(--background);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);
}


.service-detail h2 {

    margin-bottom: 18px;
}


.service-detail p {

    color: var(--text-light);

    line-height: 1.85;
}


/* =========================================================
   20. CONTACT PAGE
   ========================================================= */

.contact-page {

    background-color: var(--background);
}


.contact-grid {

    display: grid;

    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);

    gap: 50px;

    align-items: start;
}


.contact-information {

    padding: 35px;

    background-color: var(--primary);

    border-radius: var(--radius-lg);

    color: var(--white);
}


.contact-information h2 {

    color: var(--white);

    font-size: 1.7rem;
}


.contact-information p {

    color: rgba(255, 255, 255, 0.72);
}


.contact-item {

    display: flex;

    gap: 15px;

    margin-top: 25px;
}


.contact-item-icon {

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border-radius: var(--radius-sm);

    background-color: rgba(255, 255, 255, 0.10);

    color: var(--accent);
}


.contact-item-content strong {

    display: block;

    margin-bottom: 3px;

    color: var(--white);

    font-size: 0.88rem;
}


.contact-item-content span {

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.86rem;
}


.contact-form-wrapper {

    padding: 40px;

    background-color: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   21. KNOWLEDGE / INSIGHTS PAGE
   ========================================================= */

.knowledge-page {

    background-color: var(--background);
}


.knowledge-page-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px;
}


/* =========================================================
   22. FAQ
   ========================================================= */

.faq-section {

    background-color: var(--white);
}


.faq-list {

    max-width: 850px;

    margin: 0 auto;
}


.faq-item {

    margin-bottom: 15px;

    padding: 22px 25px;

    background-color: var(--background);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);
}


.faq-item h3 {

    margin-bottom: 8px;

    font-size: 1rem;
}


.faq-item p {

    margin-bottom: 0;

    color: var(--text-light);

    font-size: 0.92rem;
}


/* =========================================================
   23. LEGAL / POLICY PAGES
   ========================================================= */

.legal-page {

    background-color: var(--white);
}


.legal-content {

    max-width: 900px;

    margin: 0 auto;
}


.legal-content h2 {

    margin-top: 40px;

    margin-bottom: 15px;

    font-size: 1.5rem;
}


.legal-content h3 {

    margin-top: 30px;

    margin-bottom: 10px;

    font-size: 1.15rem;
}


.legal-content p,
.legal-content li {

    color: var(--text-light);

    line-height: 1.85;
}


.legal-content ul,
.legal-content ol {

    margin: 15px 0 20px 20px;

    list-style: disc;
}


.legal-content ol {

    list-style: decimal;
}


.legal-content li {

    margin-bottom: 8px;
}


/* =========================================================
   24. SEARCH RESULTS
   ========================================================= */

.search-page {

    background-color: var(--background);
}


.search-results {

    max-width: 900px;

    margin: 0 auto;
}


.search-result {

    margin-bottom: 20px;

    padding: 25px;

    background-color: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}


.search-result:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-md);
}


.search-result h3 {

    margin-bottom: 8px;

    font-size: 1.2rem;
}


.search-result p {

    margin-bottom: 0;

    color: var(--text-light);

    font-size: 0.9rem;
}


/* =========================================================
   25. EMPTY STATE
   ========================================================= */

.empty-state {

    padding: 60px 25px;

    text-align: center;
}


.empty-state h3 {

    margin-bottom: 10px;
}


.empty-state p {

    max-width: 550px;

    margin: 0 auto;

    color: var(--text-light);
}

/* =====================================================
   NEXUS HERO SECTION
===================================================== */

.hero {
    padding: 90px 0 100px;
    background: linear-gradient(
        135deg,
        #f7faff 0%,
        #ffffff 55%,
        #eef5ff 100%
    );
    overflow: hidden;
}


.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}


.hero-content {
    max-width: 700px;
}


.hero-content h1 {
    margin-top: 15px;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1.5px;
}


.hero-text {
    max-width: 650px;
    margin-bottom: 32px;
    font-size: 1.12rem;
    line-height: 1.8;
}


.hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}


.hero-values {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 32px;
    flex-wrap: wrap;
}


.hero-values span {
    position: relative;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}


.hero-values span:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -16px;
}


.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(20, 45, 90, 0.15);
}


.hero-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    pointer-events: none;
}


.hero-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}