body {
    font-family: Arial, sans-serif;
}

header {
    background-image: url('header-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    height: 100vh;
    min-height: 100vh;
    z-index: 1000;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #111822;
    z-index: 0;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100vh;
    width: auto;
    height: 100vh;
    z-index: 0;
    object-fit: cover;
    -o-object-fit: cover;
    -webkit-transform: translate(-50%, -50%);
}

.card {
    margin-top: 20px;
    padding: 90px;
    background-color: transparent;
    border: 1px solid transparent;
}

.card-body {
    padding: 40px;
}

.gradient {
    background:
        linear-gradient(#111822 0 0) padding-box,
        linear-gradient(to right, #1e9cd7, #0068cf, #1e9cd7, #21b78a) border-box;
    border: 1px solid transparent;
    border-radius: 40px;
}

.card-body-subtitle {
    font-size: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    color: #c9cacc;
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Barlow Condensed', sans-serif;
}

p,
span {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 200;
    color: #c9cacc;
}

footer {
    background-color: #1A1A1A;
}

.bg-black {
    background-color: #111822;
}

.btn-inscriere {
    background: #01a89e;
}

.title {
    font-size: 140px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 200;
}

.subtitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 200;
    font-size: 45px;
}

.card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #0066cc;
    line-height: 1;
}

header img {
    width: 100%;
    height: auto;
}

.overlay-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.overlay-background {
    position: absolute;
    background-color: #000000a0;
    height: 100%;
    width: 100%;
    z-index: 1;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-10 {
    margin-bottom: 5rem !important;
}

.content-item {
    padding-left: 200px;
    padding-right: 200px;
}

.pb-10 {
    padding-bottom: 200px !important;
}

.pb-8 {
    padding-bottom: 100px !important;
}

.item-speaker {
    padding: 50px;
}

.margin-top-minus {
    margin-top: -300px;
}

.pb-40 {
    padding-bottom: 300px !important;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
}

.card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 50px;
}

.item-speaker h5 {
    font-size: 30px;
    font-weight: 200;
    font-family: 'Manrope', sans-serif;
    color: #c9cacc;
}

.job {
    margin-bottom: 0;
    font-size: 22px;
}

.btn {
    border-radius: 40px;
    padding: 10px 50px;
    font-size: 30px;
    font-weight: 300;
    font-family: 'Manrope', sans-serif;
    color: #000;
    background-color: #0168cf;
    border: 1px solid transparent;
}

.btn-inscriere {
    background: #01a89e;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 40px;
    padding: 10px 30px;
    font-size: 30px;
    font-weight: 300;
    font-family: 'Manrope', sans-serif;

}

.btn-inscriere:hover {
    color: #fff;
}

.parteneri-section .title {
    font-weight: 400;
    color: #0168cf;
    font-size: 80px;
}

.parteneriat-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 200;
    margin-top: 50px;
}

.parteneri-section img {
    padding: 0 30px;
}

.text-right {
    text-align: right !important;
}

.social-icons a {
    margin-right: 30px;
}

.social-icons {
    padding-top: 50px;
}

footer {
    /* padding-left: 100px; */
    /* padding-right: 100px; */
    color: #fff;
}

.footer-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-family: 'Manrope', sans-serif;
    font-weight: 200;
}

.footer-list li {
    list-style: none;
    margin-bottom: 1rem;
}

.footer-list ul {
    padding-left: 0;
}

.footer-info p {
    color: #fff;
}

.footer-info a {
    color: #fff;
    text-decoration: none;
}

.banner-section span {
    font-family: 'Barlow Condensed', sans-serif;
    color: #fff;
    font-weight: 400;
    margin-right: 50px;
    text-align: left;
    line-height: 1;
}

.footer-logo img {
    width: 100%;
    padding: 0 70px;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    position: relative;
}

.menu a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    height: 3px;
    background-color: #00a881;
    width: 100%;
    z-index: 100;
}

.menu {
    background: transparent;
    /*transition: background 0.3s;*/
    padding: 30px 0;
}

.menu-scrolled {
    background: #111822;
}

.menu a {
    font-family: 'Manrope', sans-serif;
    color: #c9cacc;
    font-weight: 200;
    font-size: 24px;
}

.img-auto {
    width: auto;
}

.menu {
    display: flex;
    align-items: center;
    /* justify-content: space-around; */
    /* justify-content: space-between; */
}

.menu .logo {
    margin-right: 32px;
}

.logo img {
    height: 50px;
}

.hamburger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #1e9cd7;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a.active::after {
    transform: scaleX(1);
}

/* @media (max-width: 768px) { */
@media (max-width: 820px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #111822;
        position: absolute;
        top: 130px;
        left: 0;
        padding: 10px 10px;
        text-align: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .nav-links.show {
        display: flex;
        text-align: left;
        padding-left: 30px;
    }

    .menu ul {
        display: none;
    }

    .overlay-box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        padding: 0px;
        width: 300px;
        border-radius: 8px;
        text-align: center;
    }

    .card-title {
        font-size: 14px;
    }
}


@media (max-width: 1280px) {
    .card {
        margin-top: 16px;
        padding: 72px;
        padding-inline: 40px;
    }

    .card-body {
        padding: 50px 10px 100px 10px;
    }

    .gradient {
        border-radius: 32px;
    }

    .card-body-subtitle {
        font-size: 22px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 21px;
    }

    p,
    span {
        font-size: 20px;
    }

    .title {
        font-size: 70px;
    }

    .subtitle {
        font-size: 30px;
    }

    .card-title {
        font-size: 24px;
    }

    .py-5 {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .content-item {
        padding-left: 160px;
        padding-right: 160px;
    }

    .item-speaker h5 {
        font-size: 24px;
    }

    .job {
        font-size: 18px;
    }

    .btn {
        padding: 24px 40px;
        font-size: 24px;
    }

    .btn-inscriere {
        padding: 24px 30px;
        font-size: 24px;

    }

    .footer-list li a {
        font-size: 20px;
    }

    .footer-info p {
        font-size: 20px;
    }

    .menu a {
        font-size: 18px;
    }

    .logo img {
        height: 48px;
    }

    .hamburger {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .card {
        margin-top: 12px;
        padding: 40px 20px;
    }

    .card-body {
        padding: 50px 10px 70px 10px;
    }

    .gradient {
        border-radius: 24px;
    }

    .card-body-subtitle {
        font-size: 18px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 18px;
    }

    p,
    span {
        font-size: 16px;
    }

    .title {
        font-size: 45px;
    }

    .subtitle {
        font-size: 24px;
    }

    .card-title {
        font-size: 20px;
    }

    .py-5 {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .content-item {
        padding-left: 30px;
        padding-right: 30px;
    }

    .item-speaker h5 {
        font-size: 20px;
    }

    .job {
        font-size: 16px;
    }

    .btn {
        padding: 18px 30px;
        font-size: 20px;
    }

    .btn-inscriere {
        padding: 15px 20px;
        font-size: 16px;
        bottom: 20px;
    }

    .footer-list li a {
        font-size: 16px;
    }

    .footer-info p {
        font-size: 16px;
    }

    .menu a {
        font-size: 18px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .logo img {
        height: 40px;
    }

    .hamburger {
        font-size: 22px;
    }

    .banner-section img {
        width: 100%;
    }

    .menu {
        padding: 10px 20px;
        justify-content: space-between
    }

    .nav-links {
        top: 70px;
    }

    header img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    header {
        height: 400px;
    }

    .menu.menu-open {
        background-color: #111822;
    }

    .menu a {
        padding-left: 0;
    }

    .margin-top-minus {
        margin-top: 0;
    }

    .pb-10 {
        padding-bottom: 0px !important;
    }

    .pb-8 {
        padding-bottom: 50px !important;
    }

    .mt-5 {
        margin-top: 1rem !important;
    }

    .item-speaker {
        padding: 30px 50px;
    }

    .parteneriat-subtitle {
        font-size: 20px;
        margin-top: 0;
    }

    footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    hr {
        width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-list li,
    .footer-info p {
        margin-bottom: 0.5rem;
    }

    .footer-list,
    .footer-info {
        margin-top: 30px;
    }

    .social-icons a img {
        width: auto;
        height: 25px;
    }

    .social-icons a {
        margin-right: 10px;
    }

    .footer-logo img {
        padding: 0;
    }

    .banner-section .justify-content-center {
        justify-content: flex-start !important;
        margin-bottom: 20px;
    }

    .mb-10 {
        margin-bottom: 3rem !important;
    }

    .content-item {
        padding-left: 0px;
        padding-right: 0px;
    }

    .parteneri-section img {
        margin-bottom: 20px;
    }

    .parteneri-section img {
        padding: 0 15px;
    }
}

header nav hr {
    display: none;
    /* Hide by default */
}

@media (min-width: 1024px) {
    header nav .underline-gradient {
        display: flex;
        position: absolute;
        top: 95px;
        z-index: 0;
        width: 95vw;
        padding-inline: 10%;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        border: none;
        background: linear-gradient(90deg,
                #00a881 0%,
                #007ab8 25%,
                #00a881 50%,
                #0068cf 75%,
                #007ab8 100%);
        height: 1px;
    }
}

@media (min-width: 1200px) {
    header nav .underline-gradient {
        display: flex;
        position: absolute;
        top: 98px;
        z-index: 0;
        width: 95vw;
        padding-inline: 10%;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        border: none;
        background: linear-gradient(90deg,
                #00a881 0%,
                #007ab8 25%,
                #00a881 50%,
                #0068cf 75%,
                #007ab8 100%);
        height: 1px;
    }
}

@media screen and (min-width: 920px) and (max-width: 1024px) {
    header nav .underline-gradient {
        display: flex;
        position: absolute;
        top: 110px;
        z-index: 0;
        width: 95vw;
        padding-inline: 10%;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        border: none;
        background: linear-gradient(90deg,
                #00a881 0%,
                #007ab8 25%,
                #00a881 50%,
                #0068cf 75%,
                #007ab8 100%);
        height: 1px;
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

@media screen and (min-width: 768px) and (max-width: 920px) {
    .menu {
        padding: 10px 20px;
        justify-content: space-between
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #111822;
        position: absolute;
        top: 130px;
        left: 0;
        padding: 10px 10px;
        text-align: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .nav-links.show {
        display: flex;
        text-align: left;
        padding-left: 30px;
        position: absolute;
        top: 60px;
    }

    .menu ul {
        display: none;
    }
}

.hide-tablet {
    display: flex;
}

.show-tablet {
    display: none;
}

@media screen and (min-width: 678px) and (max-width: 1024px) {
    .footer-logo img {
        padding: 0px;
    }

    .show-tablet {
        display: flex;
    }

    .hide-tablet {
        display: none;
        ;
    }

    /* .margin-top-minus {
        margin-top: -250px;
    } */

    .card {
        margin-top: 12px;
        padding: 40px 10px;
    }

    .card-body {
        padding: 50px 10px 70px 10px;
    }

    .gradient {
        border-radius: 24px;
    }

    .card-body-subtitle {
        font-size: 18px;
    }

    p,
    span {
        font-size: 16px;
    }

    .title {
        font-size: 45px;
    }

    .subtitle {
        font-size: 24px;
    }

    .card-title {
        font-size: 24px;
    }

    .py-5 {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .content-item {
        padding-left: 30px;
        padding-right: 30px;
    }

    .item-speaker h5 {
        font-size: 20px;
    }

    .job {
        font-size: 16px;
    }

    .btn {
        padding: 18px 30px;
        font-size: 20px;
    }

    .btn-inscriere {
        padding: 15px 20px;
        font-size: 16px;
        bottom: 20px;
    }
}

.video-landscape {
    display: block;
}

.video-portrait {
    display: none;
}

@media screen and (max-width: 768px) and (orientation: portrait) {
    .video-landscape {
        display: none;
    }

    .video-portrait {
        display: block;
    }
}

/* Adăugăm margin-top pentru prima secțiune după header */
.banner-section {
    margin-top: 0;
    position: relative;
    z-index: 1;
    background-color: #111822;
}


/* CSS pentru formularul de newsletter */
.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.newsletter-input {
    padding: 20px 40px;
    border: 1px solid #ccc;
    background-color: transparent;
    border-radius: 40px;
    color: white;
    width: 250px;
    /* Ajustează lățimea după preferințe */
    margin-right: 10px;
    font-size: 16px;
}

.box-color {
    background-color: transparent;
    color: white
}

.box-color:active {
    background-color: transparent;
    color: white;
}

.box-color:focus {
    background-color: transparent;
    color: white;
}

.comment-card {
    min-height: 100px;
    height: auto;
    padding-top: 0px;
    padding-left: 12px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
}

.comment-card .card-body {
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: auto;
}

.comment-card .card-text {
    margin-top: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.comment-card .flex {
    display: flex;
    align-items: center;
}

#comments-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

#comments-list::-webkit-scrollbar {
    width: 8px;
}

#comments-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#comments-list::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 4px;
}

#comments-list::-webkit-scrollbar-thumb:hover {
    background: #0055aa;
}

.comment-card:first-child {
    margin-top: 0;
}