/* General Styles */
:root {
    --primary-color: #279EFF; /* Kék */
    --secondary-color: #6c757d; /* Szürke */
    --text-color: #0D101B;
    --light-gray: #f8f9fa;
    --white: #fff;
    --border-radius: 100px;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-behavior: smooth;
}

/* Chrome/Edge/Safari */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--text-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #8ad2ff;
    background: linear-gradient(133deg, rgb(182, 225, 252) 0%, rgb(255, 255, 255) 20%, rgba(255, 255, 255, 1) 50%);
}

.container {
    max-width: 1800px;
    margin: 0 10%;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    margin-bottom: 15px;
}

h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 300;
}

p {
    margin-bottom: 25px;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-tertiary {
    background-color: var(--light-gray);
    color: var(--primary-color);
    border: 1px solid var(--light-gray);
}

.btn-tertiary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
header {
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

header .container {
    position: relative;
    z-index: 2;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.1rem;
}

.nav-links {
    display: flex;
    gap: 80px;
}

.nav-links a {
    color: var(--text-color);
    position: relative;
    font-weight: 400;
    font-size: 15px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 15px;
}

.header-icons img {
    width: 24px;
    height: 24px;
    display: none;
}

.hamburger {
    display: none; /* Hide by default on larger screens */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 5px;
}

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.hero-content {
    flex: 1;
    margin: 10rem 0rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.3;
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: -0.1rem;
}

.hero-content h2 {
    font-size: 36px;
    color: var(--text-color);
    margin-top: -10px;
}

.hero-special-text {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 130px;
    margin-top: 30px;
    max-width: 520px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Developments Section */
.developments {
    padding: 80px 0;
    padding-bottom: 100px;
    background-color: var(--light-gray);
    text-align: center;
    background: #8ad2ff;
    background: linear-gradient(313deg, rgb(182, 225, 252) 1%, rgb(255, 255, 255) 40%, rgba(255, 255, 255, 1) 100%);
}

.developments h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 300;
}

.cards-wrapper {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.card {
    background-color: var(--white);
    border-radius: 30px;
    border: solid 1px #0000003d;
    box-shadow: var(--box-shadow);
    padding: 40px;
    width: 400px;
    text-align: left;
    transition: 0.2s ease-in-out;
}

.card:hover {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-header img {
    width: 50px;
    height: 50px;
}

.card-header h3 {
    margin: 0;
    color: #003866;
    font-size: 1.5rem;
    font-weight: 400;
}

.card ul {
    margin-bottom: auto;
    height: 270px;
}

.card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 300;
    color: #2e2e2e;
}

.card ul li img {
    width: 15px;
    height: 15px;
}

.card .btn {
    padding: 10px 40px;
}

.small-text {
    font-size: 14px;
    font-weight: 500;
}

.card-span {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Investors Section */
.investors {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.investors .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
    flex-direction: column;
}

.investors::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    transform: rotate(15deg);
    pointer-events: none;
}

.investors h2 {
    color: var(--white);
    text-align: center;
}

.investors h3 {
    color: var(--white);
    font-weight: 400;
    font-size: 20px;
}

.investors-span {
    text-align: justify;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 2rem;
}

.investors-v {
    display: flex;
    justify-content: center;
}

.investors ul {
  list-style-type: disc;
  margin-left: 20px;
  line-height: 2rem;
  font-weight: 300;
}

.investors em {
    font-size: 12px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.contact-form-wrapper {
    background-color: var(--white);
    border-radius: 30px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-wrap{
  padding: 24px;
  display: grid;
  place-items: center;
  padding-top: 100px;
}

.contact-card{
  max-width: 600px;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px 22px;
  margin-bottom: 100px;
  border: 1px solid var(#ffffffa6);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgb(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.contact-form{
  color: #0f1a2b;
}

/* --------- Chips (rádió + label) --------- */

.chips-field{
  border: 0;
  margin: 0 0 18px;
  padding: 0;
}

.chips-field legend{
  font-weight: 300;
  color: #1a61a3;
  margin-bottom: 10px;
}

.chips-field input[type="radio"]{
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Alap "chip" */
.chip{
  display: inline-block;
  padding: 8px 14px;
  margin: 6px 8px 0 0;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  color: #1b1b1b;
  cursor: pointer;
  transition: .2s ease-in-out;
  font-size: 13px;
}

/* Hover/focus látszat */
.chip:hover{box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;}
.chip:active{transform: translateY(0); }

/* Kijelölve – töltött, primary */
.chips-field input[type="radio"]:checked + .chip{
  background: var(--primary-color);
  color: #fff;
  border-color: transparent;
}

/* --------- Mezők --------- */

.field{
  margin: 18px 0;
}

.field label{
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2b3f57;
}

/* Aláhúzott stílus: #959595 normál, #003866 fókuszban */
.underline-input{
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 2px 12px;
  border-bottom: 2px solid #959595;
  font-size: 16px;
}

.underline-input:focus{
  border-bottom-color: #003866;
}

/* Textarea – kerekített, finom árnyék, fókusz keret #003866 */
.textarea{
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  padding: 12px 12px;
  font-size: 16px;
  font-family: inherit;
  resize: none;
  min-height: 120px;
  outline: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.04) inset;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.textarea:focus{
  border-color: #003866;
  box-shadow: 0 0 0 3px rgba(0,56,102,.12) inset;
}

/* --------- Küldés gomb --------- */

.btn-form {
    width: 100%;
    font-size: 18px;
    font-weight: 400;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 80px;
    font-size: 14px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left p {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px 15px;
    border-radius: var(--border-radius);
    border: none;
    font-family: 'Poppins', sans-serif;
    width: 250px;
}

.newsletter-form button {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #eee;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--white);
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links p {
    margin-bottom: 2px;
    text-align: center;
}

.contact-background {
    position: absolute;
    z-index: -1;
}

#ci1 {
    position: absolute;
    left: 200px;
    bottom: 20px;
    width: 200px;
    height: auto;
}

#ci2 {
    position: absolute;
    left: -530px;
    bottom: -400px;
    width: 300px;
    height: auto;
}

#ci3 {
    position: absolute;
    left: 400px;
    bottom: -200px;
    width: 100px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px; /* Adjust based on header height */
        left: 0;
        background-color: var(--white);
        box-shadow: var(--box-shadow);
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        border: 1px solid var(--white);
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.5);
        box-shadow: 0 4px 30px rgb(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        gap: 15px;
        font-size: 20px;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        display: none;
    }

    .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 450px;
    }

    .features .container {
        flex-direction: column;
        align-items: center;
    }

    .team-members {
        flex-direction: column;
        align-items: center;
    }

    .member {
        max-width: none;
    }

    footer {
        padding: 40px 10px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-right {
        margin-bottom: 20px;
    }

    .footer-right {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
        max-width: 300px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

}

@media (max-width: 576px) {
    .container {
        margin: 0 10px;
    }

    .hero-content {
        padding: 20px;
        margin: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .card {
        padding: 20px;
    }

    .feature-item {
        max-width: 100%;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .contact-background {
        display: none;
    }
}

/* Background elements for contact and header section */
header::after {
    content: '';
    position: absolute;
    bottom: -100px; /* Position the sphere */
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(30px);
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background-color: #007bff;
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(40px);
    z-index: 0;
}