/*
Theme Name: The Partner AI
Theme URI: www.thepartner-ai.com
Author: The Partner AI
Author URI: www.thepartner-ai.com
Version: 1.0
Text Domain: thepartner-ai.com
*/

:root {
    --dark: #212121;
    --blue: #2771af;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

a {
    color: white;
    text-decoration: none;
}

body {
    position: relative;
    font-size: 1.6rem;
    color: white;
    font-family: "Plus Jakarta Sans", sans-serif;
    background: #000000;
    z-index: 0;
}

body.no-scroll {
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: contain;
}

.navbar__toggle {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 9999;
}

.navbar__toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    transition: 0.3s;
}

h1 {
    font-size: 8rem;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 4rem;
    margin: 0;
    padding: 0;
}

h3 {
    font-size: 3rem;
    margin: 0;
    padding: 0;
}

h4 {
    font-size: 2.5rem;
    margin: 0;
    padding: 0;
}

h5 {
    font-size: 1.8rem;
    margin: 0;
    padding: 0;
    line-height: 30px;
}

p {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 30px;
    margin: 0;
    padding: 0;
}

dl, ol, ul {
    margin-bottom: 0;
}

ul {
    font-size: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1470px;
    padding: 0 15px;
}

/* Dividers */

.mt-90{
    margin-top: 90px;
}

.mb-90{
    margin-bottom: 90px;
}

.main_button {
    display: flex;
    width: 400px;
    padding: 22px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 10px;
    background: var(--blue);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main_button:hover {
    background: #1f5f97 !important;
    transform: translateY(-2px);
    color: white !important;
}

/* Top bar */

.top__bar {
    display: flex;
    padding: 15px 0;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.top__bar p {
    font-size: 1.6rem;
    color: white;
    font-weight: 600;
}

/* Header */

.main-logo {
    display: flex;
    align-items: center;
}

.main-logo .header_logo {
    max-width: 270px;
}

.navbar__menu {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: transparent;
    margin-bottom: 50px;
}

.navbar__menu__items{
    display: none !important;
}

.navbar__menu.scrolled {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.navbar__menu .container {
    max-width: 1470px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    border-bottom: 1px solid rgba(221, 221, 221, 0.16);
}

.navbar__menu.scrolled .container {
    border-bottom: none;
}

.navbar__menu__items {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar__menu__items ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 45px;
    list-style: none;
    margin-bottom: 0;
}

.navbar__menu__items ul li a {
    font-size: 1.8rem;
    color: black;
    text-decoration: none;
}

.navbar__menu__items ul li {
    position: relative;
}

.menu-item-has-children > a::after {
    content: "\f107"; /* codul pentru săgeată jos (chevron-down) */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 10px;
    font-size: 1.4rem;
    color: #ffffff;
    display: inline-block;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0e0e0e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    min-width: 160px;
    border-radius: 5px;
}

.menu-item-has-children:hover > .sub-menu {
    display: block;
}

.sub-menu li a {
    color: white;
    font-size: 1.4rem;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

.sub-menu li a:hover {
    color: #2770ae;
}

.navbar__menu__items ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 24px;
    padding: 5px 0;
    transition: color 0.3s, background-color 0.3s;
}

.navbar__menu__items ul li ul li.current_page_item > a::before,
.navbar__menu__items ul li ul li.current-menu-item > a::before,
.navbar__menu__items ul li ul li.current-menu-ancestor > a::before {
    content: none !important;
    border-top: none !important;
    top: 0;
}

.navbar__menu__items ul > li.current_page_item > a {
    color: #84ce80;
}

.navbar__menu__items ul li a:hover {
    color: #e8e8e8;
}

.navbar__menu__items ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    min-width: 150px;
}

.navbar__menu__items ul li ul li {
    display: block;
}

.navbar__menu__items ul li ul li a {
    padding: 5px 15px;
    font-size: 1.6rem;
    color: black;
    transition: background-color 0.3s, color 0.3s;
}

.navbar__menu__items ul li ul li a:hover {
    color: #047029;
}

.navbar__menu__items ul li:hover > ul {
    display: block;
}

/* End Header */

/* Hero Section */
.hero_section h1{
    margin-bottom: 20px;
}

.hero_section p{
    margin-bottom: 50px;
}
.hero_section {
    position: relative;
    overflow: hidden;
}

#networkCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
	z-index:-1;
}

/*.blue-dots {*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    inset: 0;*/
/*    pointer-events: none;*/
/*    z-index: -1;*/
/*}*/

/*.dot {*/
/*    position: absolute;*/
/*    width: 14px;*/
/*    height: 14px;*/
/*    background: #2771af;*/
/*    border-radius: 50%;*/
/*    opacity: 0.55;*/
/*    filter: blur(1px);*/
/*}*/

.section-padding {
    padding: 80px 0;
}

.why-partner {
    position: relative;
    overflow: hidden;
}

.why-partner::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(39,113,175,0.45) 0%, transparent 65%);
    top: -60px;
    right: 10%;
    opacity: 0.6;
    pointer-events: none;
}

.why-content {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 50px;
    align-items: flex-start;
}

.section-tag {
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2771af;
    margin-bottom: 12px;
}

.why-title {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.why-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #777;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.why-item {
    position: relative;
    padding: 14px 16px 14px 42px;
    background: rgba(12, 18, 28, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(39, 113, 175, 0.4);
    color: #f5f5f5;
    font-size: 15px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.why-item::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2771af;
    box-shadow: 0 0 0 rgba(39,113,175,0.0);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.why-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at left, rgba(39,113,175,0.28), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.why-item:hover::before {
    box-shadow: 0 0 18px rgba(39,113,175,0.9);
    transform: translateY(-50%) scale(1.1);
}

.why-item:hover::after {
    opacity: 1;
}

@media (max-width: 900px) {
    .why-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.solutions_section {
    padding: 80px 0;
    background: radial-gradient(circle at top left, rgba(39,113,175,0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(39,113,175,0.16), #050711);
    color: #f7f7f7;
}

.solutions_section .container {
    position: relative;
    z-index: 1;
}

.solutions_header {
    max-width: 660px;
    margin: 0 auto 50px auto;
}

.section_label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(39,113,175,0.12);
    color: #8fb8e4;
    border: 1px solid rgba(39,113,175,0.5);
    margin-bottom: 16px;
}

.solutions_header h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.solutions_header p {
    font-size: 16px;
    color: #c3cad6;
}

/* GRID */

.solutions_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 992px) {
    .solutions_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .solutions_grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */

.solution_card {
    position: relative;
    padding: 26px 24px 26px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: radial-gradient(circle at top left, rgba(39,113,175,0.2), rgba(11,14,24,0.96));
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

.solution_card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(39,113,175,0.25), transparent 55%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.solution_card:hover {
    transform: translateY(-6px);
    border-color: rgba(39,113,175,0.7);
    box-shadow: 0 26px 60px rgba(0,0,0,0.7);
}

.solution_card:hover::before {
    opacity: 1;
}

.solution_tag {
    width: 100%;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    color: #e6f1ff;
    background: radial-gradient(circle, #2771af, #163a5c);
    box-shadow: 0 0 18px rgba(39,113,175,0.8);
    margin-bottom: 14px;
}

.solution_card h3 {
    margin-top: 30px;
    font-size: 18px;
    margin-bottom: 10px;
}

.solution_text {
    font-size: 14px;
    color: #c3cad6;
    margin-bottom: 14px;
}

.solution_card h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8fb8e4;
    margin-bottom: 8px;
}

.solution_card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution_card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #e2e7f3;
}

.solution_card ul li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2771af;
    box-shadow: 0 0 8px rgba(39,113,175,0.9);
}

.ai-assistant-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 60px;
}

.tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #2771af;
}

.ai-text h2 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 30px;
}

.ai-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    padding-left: 20px;
}

.ai-features li {
    background: radial-gradient(circle at top left, rgba(39, 113, 175, 0.2), rgba(11, 14, 24, 0.96));
    border: 1px solid rgba(39,113,175,0.4);
    padding: 14px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    position: relative;
}

.ai-features li::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #2771af;
    border-radius: 50%;
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
}



/* Images layout */
.ai-images {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.img-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(40px);
}

.img-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Parallax positions */
.img-1 {
    transform: translateX(-40px);
}
.img-2 {
    transform: translateX(40px);
}
.img-3 {
    transform: translateX(-20px);
}

/* Responsive */
@media (max-width: 900px) {
    .ai-grid {
        grid-template-columns: 1fr;
    }
    .ai-images {
        flex-direction: column;
        gap: 20px;
    }
}

.how-we-work {
    padding: 110px 0;
    position: relative;
}

.how-we-work .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.tag {
    color: #2771af;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.title {
    font-size: 36px;
    margin-bottom: 50px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    position: relative;
}

/* Linie între carduri */
.process-steps::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
            to right,
            rgba(39,113,175,0.3),
            rgba(39,113,175,0.8),
            rgba(39,113,175,0.3)
    );
    z-index: 0;
}

.step-card {
    background: radial-gradient(circle at top left, rgba(39, 113, 175, 0.2), rgba(11, 14, 24, 0.96));
    padding: 40px 25px;
    border-radius: 18px;
    border: 1px solid rgba(39,113,175,0.35);
    backdrop-filter: blur(10px);
    text-align: left;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* numărul flotant */
.step-number {
    width: 60px;
    height: 60px;
    background: #2771af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(39,113,175,0.7);
}

.step-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.step-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Responsive */
@media(max-width: 960px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .process-steps::before {
        display: none;
    }
}

@media(max-width: 600px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */

.contact_section{
    padding: 100px 50px;
    background: #101010;
}

.contact_left h2{
    font-size: 5.6rem;
    font-weight: 700;
}

.contact_section .contact_desc{
    margin-top: 15px;
    font-size: 5.6rem;
    color: #7d7d80;
}

.contact_section h3{
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact_section ul{
    margin-top: 50px;
    margin-bottom: 50px;
}

.contact_section ul li{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact_section ul li img{
    width: 15px;
    height: 15px;
}

.contact_team .contact_team_member{
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    justify-content: space-between;
    background: #073667;
    border-radius: 20px;
}

.contact_team .contact_team_member img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 20px;
}

.contact-pagination{
    margin-top: 10px;
    position: relative;
}


.contact_form br {
    display: none;
}

/* LABELS */
.contact_form label {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

/* INPUT + TEXTAREA (dark style) */
.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form select,
.contact_form textarea {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.6rem;
    color: #eaeaea;
    background-color: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

/* PLACEHOLDERS */
.contact_form input::placeholder,
.contact_form textarea::placeholder {
    color: #7d7d7d;
}

/* FOCUS EFFECT */
.contact_form input[type="text"]:focus,
.contact_form input[type="email"]:focus,
.contact_form textarea:focus {
    border-color: var(--blue);
    background-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(39, 113, 175, 0.25);
    outline: none;
}

/* TEXTAREA */
.contact_form textarea {
    height: 150px;
    resize: none;
}

/* SUBMIT BUTTON */
.contact_form input[type="submit"] {
    background: var(--blue);
    color: #fff;
    padding: 18px 60px;
    font-size: 1.8rem;
    width: 100%;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact_form input[type="submit"]:hover {
    background: #19588c;
    transform: translateY(-2px);
}

.contact_form .d-flex {
    display: flex;
    gap: 20px;
}

.contact_form .d-flex label {
    flex: 1;
}

.contact_right {
    padding-left: 30px;
}

.language_menu{
    position: relative;
}

.trp-ls-language-name{
    font-size: 1.6rem;
    font-weight: 600;
}

.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.error-404 .error-title {
    font-size: 8rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
    animation: float 4s ease-in-out infinite;
}

.error-404 .error-subtitle {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.error-404 .error-text {
    color: #ffffff;
    max-width: 500px;
    margin: 0 auto 30px;
}

.error-actions .btn-primary {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    font-size: 1.6rem;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    transition: background 0.3s ease;
}
.error-actions .btn-primary:hover {
    background: #06427b;
}

.error-search {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.error-search input {
    padding: 10px;
    width: 240px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.error-search button {
    padding: 10px 20px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

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