/* Основні стилі */
body {
    background-color: #000;
    color: #fff;
    font-family: 'Druk Text Wide Cyr', sans-serif;
    font-size: 1rem;

}
 
.bg-dark {
    background-color: #000 !important;
}

header, section, footer {
    background-color: #000;
}

a.btn-primary {
    background-color: #A09848;
    border: none;
    color: #000;
}

a.btn-primary:hover {
    background-color: #8b803b;
}

h2, h3 {
    color: #A09848;
}

address, p {
    color: #fff;
}

/* Стилі для секцій */

.header-section {
    position: relative;
    background-image: url('../images/top.jpg');
    background-size: cover;
    background-position: center;
    color: #b5a628;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.header-section .container {
    position: relative;
    z-index: 2; 
}


.header-section h1 {
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.header-section .subtitle {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 1em;
    color: #b5a628;
}

.header-section .lead {
    font-size: 1.5em;
    margin-bottom: 1.5em;
    color: #ffffff;
}

.header-section .btn-primary {
    background-color: #b5a628;
    border: none;
    color: #000;
    font-size: 1.2em;
    padding: 10px 30px;
}

.header-section .btn-primary:hover {
    background-color: #9f9422;
    color: #000;
}

/* Стилі для Наша місія */
#mission {
    color: #fff;
}

#mission h2 {
    color: #b5a628;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 1em;
}

#mission p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.video-background {
    position: relative;
    background-image: url('../images/mission.png');
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 30%;
}

.video-wrapper {
    width: 100%;
    max-width: 80%;
    height: 0;
    padding-bottom: 45%;
    position: relative;
}

.embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    #mission {
        text-align: center;
    }
    #mission .col-md-6 {
        margin-bottom: 2em;
    }
    .video-background {
        background-position: top;
    }
    .video-wrapper {
        margin-top: 50%;
        max-width: 100%;
    }
}

/* Стилі для Про рекрутинг центр */
#recruiting {
    color: #fff;
}

#recruiting h2 {
    color: #b5a628;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 1em;
}

#recruiting p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.position-relative {
    position: relative;
}

.recruiting-background {
    background-image: url('../images/recruiting.png');
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30%;
}

.recruiting-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.recruiting-overlay h3 {
    color: #b5a628;
    margin-bottom: 1em;
}

.recruiting-overlay p {
    margin-bottom: 1em;
}

.recruiting-overlay .btn-primary {
    background-color: #b5a628;
    border: none;
    color: #000;
    font-size: 1.2em;
    padding: 10px 20px;
}

.recruiting-overlay .btn-primary:hover {
    background-color: #9f9422;
    color: #000;
}

/* Стилі для Актуальні спеціалізації */
#specializations {
    color: #fff;
}

#specializations h2 {
    color: #b5a628;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 1em;
}

#specializations p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

.list-group-item {
    background-color: #333;
    border: none;
    color: #fff;
    padding: 0;
    margin-top: 15px;
}

.list-group-item .btn {
    background-color: #333;
    border: none;
    color: #fff;
    text-align: left;
    width: 100%;
    padding: 1em;
    font-size: 1.2em;
    white-space: normal;
}

.list-group-item .btn:hover {
    background-color: #A09848;
}

#specializations img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-content {
    background-color: #333;
    color: #fff;
    border: 2px solid #A09848;
    border-radius: 8px;
}

.modal-header {
    border-bottom: none;
}

.modal-header .close {
    color: #A09848;
}

.modal-header .close span {
    font-size: 1.5em;
}

.modal-title {
    color: #A09848;
}

.btn-primary {
    background-color: #A09848;
    border: none;
    color: #000;
    padding: 10px 20px;
    font-size: 1.5em;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #8b803b;
    color: #000;
    box-shadow: none;
    outline: none;
}


.list-hover {
    position: relative;
    transition: background-color 0.3s ease;
    
}

.list-hover:hover {
    background-color: #A09848;
}

.btn-details {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #A09848;
    border: none;
    color: #000;
    padding: 5px 10px;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.list-hover:hover .btn-details {
    display: inline-block;
    background-color: #A09848;
    border: 5px solid #6c6730;
    width: 20%;
    font-size: 15px;
    right: 10px;
    
    
}

.btn-details:hover {
    background-color: #8b803b;
    color: #6c6730;
}

/* Стилі для Наша команда */
#team {
    color: #fff;
    background-color: #000;
}

#team h2 {
    color: #b5a628;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 1em;
}

#team h3 {
    color: #b5a628;
    font-size: 2em;
    margin-bottom: 0.5em;
}

#team p, #team ul {
    font-size: 1.2em;
    margin-bottom: 1em;
}


/* Карусель */

.team-photo {
    width: 250px;
    height: 250px;
    background-size: cover;
    background-position: top;
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
  }

  .team-photo.small {
    opacity: 0.3;
  }

  .team-photo.big {
    opacity: 1;
  }

  .custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    z-index: 2;
  }

  .carousel-control-prev.custom-arrow {
    left: -40px;
  }

  .carousel-control-next.custom-arrow {
    right: -40px;
  }




#team .modal-content {
    background-color: #000;
    color: #fff;
    border: 2px solid #A09848;
}

#team .modal-header {
    border-bottom: 1px solid #A09848;
}

#team .modal-title {
    color: #A09848;
}

#team .close {
    color: #A09848;
}

#team .btn-primary {
    background-color: #A09848;
    border: none;
    color: #000;
    padding: 10px 20px;
    font-size: 1.5em;
}

#team .btn-primary:hover {
    background-color: #8b803b;
    color: #000;
}

/* Стилі для Контакти */
#contact {
    color: #fff;
}

#contact h2 {
    color: #b5a628;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 1em;
}

#contact p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

#contact address {
    font-style: normal;
    line-height: 1.5em;
}

#contact .social-icons a {
    color: #b5a628;
    margin-right: 10px;
    font-size: 1.5em;
    transition: color 0.3s;
}

#contact .social-icons a:hover {
    color: #8b803b;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


footer {
    background-color: #564f25;
    color: #fff;
}

footer img {
    max-width: 100%;
    height: auto;
}

footer address, footer p {
    color: #fff;
}

footer a {
    color: #b5a628;
    text-decoration: none;
}

footer a:hover {
    color: #8b803b;
}

footer .container {
    padding-top: 1em;
    padding-bottom: 1em;
}

footer .row {
    display: flex;
    align-items: center; /* Вирівнювання по вертикалі */
    justify-content: space-between; /* Вирівнювання елементів по горизонталі */
}

@media (max-width: 768px) {
    footer .row > div {
        text-align: center;
        margin-bottom: 1em;
    }

    footer .col-md-4 {
        margin-bottom: 1em;
    }
}




/*---------------*/
/* Стиль для затемнення */
#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    cursor: pointer;
}

/* Стиль для кола процесу */
#loading-circle {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* Анімація обертання */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}