@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');

:root {
    --primary-color: #bf9040;
    --hover-color: #997433;
    --secondry-color: #63422d;
}

body {
    margin: 0;
    padding: 0;
    background: #fff url("../images/background.png") center center no-repeat;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    font-family: "Roboto", serif;
    overflow-x: hidden;
}

.top-bar {
    padding: 1.3rem 2rem;
}

.lang-btn {
    background-color: var(--secondry-color);
    border-radius: 6px;
    padding: 10px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.2s ease;
    font-family: "Roboto", serif;
    font-weight: bold;
}

.lang-btn:hover {
    background-color: var(--hover-color);
}

.logo {
    max-height: 90px;
}

.logo-conference {
    max-height: 70px;
}

.page-content {
    position: relative;
    z-index: 1;
}

.registration-section {
    padding: 30px 0;
}

.register-title {
    color: var(--secondry-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.register-form {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    height: 45px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 .25rem rgb(192 144 63 / 40%)
}

.form-control::placeholder {
    direction: ltr;
    text-align: left;
}

.btn-next {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
}

.btn-next:hover {
    background-color: var(--hover-color);
}

.sponsors {
    text-align: center;
    padding: 2rem 0;
}

.sponsors img {
    max-width: 350px;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary:hover,
.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
}

.btn-primary.disabled,
.btn-primary:disabled {
    cursor: not-allowed;
    pointer-events: auto;
}

.form-label {
    color: var(--primary-color);
}

.alert-success {
    background-color: rgba(192, 144, 62, 0.5);
    color: #333;
    border-color: #A07032;
}

.list-group-item label {
    font-size: 0.9rem;
    color: black
}

.list-group-item label span {
    font-size: 0.8rem;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: #A07032;
    z-index: 0;
}

.timeline div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: none;
    width: 120px;
    position: relative;
    z-index: 1;
}

.timeline div .circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #A07032;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
    border: 2px solid white;
}

.timeline div.active .circle {
    background-color: #C0903E;
}

.timeline div:not(.active) .circle {
    opacity: 0.5;
}

.timeline div span {
    color: #A07032;
    font-weight: bold;
    white-space: nowrap;
}

.timeline div.active span {
    color: #C0903E;
}

.success-register-section {
    padding: 100px 0;
}

.topics-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.topics-section h3 {
    font-size: 1rem;
    color: #000;
}
.topics-section h4 {
    color: #000;
    margin: 1rem 0 1rem;
    font-size: 1rem;
}
.form-check-label {
    color: #333;
    font-size: 0.9rem;
}
.form-check-input {
    border: 2px solid #c49d48;
    width: 1.2rem;
    height: 1.2rem;
    margin-left: 0.5rem;
}
.list-group-item {
    padding: 0;
}
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 .25rem rgb(192 144 63 / 40%)
}
.workshop-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
    border: 1px solid rgb(191 144 64 / 31%);
}
.workshop-card .card-header {
    background-color: rgb(191 144 64 / 13%);
    border-bottom-color: rgb(191 144 64 / 31%);
}
.workshop-details {
    display: flex;
    flex-direction: column;
}
.workshop-title {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}
.workshop-time {
    font-size: 0.9rem;
    color: #666;
    display: block;
}
.form-check-input {
    margin-right: 10px;
    flex-shrink: 0;
}
.check-item {
    align-items: center;
}

@media only screen and (max-width: 767px) {
    .logo {
        max-height: 70px;
    }
    .timeline::before {
        display: none;
    }
    .timeline div {
        width: 150px;
    }
    .sponsors img {
        max-width: 300px;
    }
}
