img { max-width: 100%;}

#colophon {
    display: none;
}

.director-name {
    letter-spacing: 0.4px;
    color: #FFD700;
    text-transform: uppercase;
    opacity: 1;
    margin-bottom: 0;
    font-size: 20px;
}

.director-place {
    letter-spacing: 0.32px;
    color: #FFFFFF;
    opacity: 1;
    font-size: 16px;
}

.content_description {
    text-align: center;
    max-width: 70%;
    margin: 0 auto 70px;
}

.dir-flip-card {
    opacity: 0;
    height: 0;
    transition: all .5s ease;
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    background-color: rgba(0, 0, 0, 0.5);
}

.director-card {
    position: relative;
}
.director-card:hover .dir-flip-card {
    opacity: 1;
    height: 100%;
    z-index: 1;
    margin: 0 0 10px;
    border-radius: 5px;
    overflow: hidden;
}

.director-card .dir-flip-card {
    display: flex;
    flex-direction: column;
}

.director-card:hover .dir-card-front {
    z-index: 1;
    position: relative;
}

.director-info {
    position: absolute;
    bottom: 0;
    padding: 0 20px 20px;
}

.dir-card-front {
    position: relative;
    margin: 0 0 40px;
}

.directo-info {
    position: relative;
    text-align: center;
    padding: 20px;
    font-size: 18px;
}

.view-dir-info i {
    color: #FFD700;
    font-size: 40px;
    font-weight: 500;
    cursor: pointer;
}

.view-dir-info {
    width: 100%;
}
.view-dir-info img {width: 200px; height: auto;cursor: pointer;}
.dir-info-popup {
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
}

.modal-dialog {
    max-width: 960px;
}

.modal-content {
    background: #000;
    padding: 35px 50px;
    min-height: calc(100vh);
    border: 0;
    border-radius: 0;
}

.popup-drector-text p {
    text-align: left;
}
/* Hide modal smoothly (off-screen) */
.modal.fade {
    opacity: 0;
    visibility: hidden; /* Keep it in the DOM */
    transition: opacity 0.75s ease-in-out, visibility 0s 0.4s;
}

/* Slide-in effect for modal-dialog */
.modal.fade .modal-dialog {
    transform: translateX(125%);
    transition: transform 0.75s ease-in-out;
    margin: 0 0  0 auto;
    max-width: 55%;
}

/* Show modal */
.modal.fade.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.75s ease-in-out;
}

.modal.fade.show .modal-dialog {
    transform: translateX(0);
}

.modal-backdrop.fade.show {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.modal-backdrop.fade {
    transition: opacity 0s linear !important;

}

.popup-director-name {
    font-size: 38px;
    color: #FFFFFF;
    text-transform: uppercase;
    opacity: 1;
    max-width: 340px;
}

.popup-director-img img {
    position: absolute;
    right: 50px;
    top: 0;
    max-width: 175px;
}

button.btn-close {opacity: 1;}

.btn-close i {
    color: #FFD700;
    font-size: 30px;
    position: absolute;
    right: 0;
    top: 0;
}

.popup-headerz {
    position: relative;
}

.popup-drector-text p strong {
    display: block;
    color: #FFD700;
}
.popup-drector-text p:nth-child(2), 
.popup-drector-text p:first-child {
    max-width: 60%;
}

.social-links a i {
    color: #fff;
    padding: 9px 10px;
    text-align: center;
    border-radius: 50%;
}

.social-links a,.social-links a:hover {
    color: transparent;
    margin-right: 10px;
}

.social-links a i.fa-whatsapp {
    background: #128c7e;
}

.social-links a i.fa-envelope {
    background: #98999a;
}
.social-links a i.fa-linkedin-in {
    background: #0E76A8;
}

a.linkedin:hover, i.fa-linkedin-in :hover {
    color: #0E76A8;
}

.select-countries {
    /* background: #989A99 0% 0% no-repeat padding-box; */
    box-shadow: 0px 5px 6px #00000029;
    opacity: 1;
    padding: 10px 0;
}

.select-block {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
}

.select-block i {
    color: #FFD700;
}

#filter-director-place {
    background: transparent;
    border: none;
    color: #FFD700;
    padding: 0 10px;
    width: auto;
}
/* \\ Custom dropdown */
/* Dropdown Container */
.custom-dropdown {
    position: relative;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



/* Selected Item */
.dropdown-selected {
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    position: relative;
    color: #FFD700;
    width: 100%;
}

/* Options List */
.dropdown-options {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    border-top: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 0px 0px 10px 10px;
    overflow: hidden;
    width: 175px;
}

/* Option Items */
.dropdown-options li {
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    color: #434345;
    border-bottom: 1px solid #F2F2F2;
    font-size: 14px;
    line-height: normal;
    text-align: left;
}

/* Hover Effect */
.dropdown-options li:hover {
    background: #434345;
    color: white;
}

/* Show Options */
.custom-dropdown.active .dropdown-options {
    display: block;
}

.select-block.active i, .active .dropdown-selected {
    color: #fff;
}

.custom-dropdown:hover i, .custom-dropdown:hover .dropdown-selected{
    color: white;
}

.select-reset {
    text-align: right;
    font-size: 14px;
    margin-left: 15px;
    padding-left: 15px;
    cursor: pointer;
    color: #FFD700;
    position: relative;
}
.select-reset::before {
    content: "";
    width: 1px;
    height: 100%;
    background: #98999A;
    display: inline-block;
    position: absolute;
    left: 0;
}
.select-reset:hover, .select-reset:hover i {
    color: #fff;
}

.select-reset.disabled {
    color: #98999A;
}

.select-block.active .select-reset,
.select-block.active .select-reset:hover i,
.select-block.active .select-reset i {
    color: #FFD700;
}

.select-reset.disabled:hover i,.select-reset.disabled i {
    color: #98999A;
}

.director-img img {
    width: 100%;
}
.all-our-directors {
    margin-bottom: 60px;
}
.pagination-btn:hover,
.pagination-btn.active {
    background-color: #98999a;
    font-weight: bold;
    color: #0e0e0e;
}

#pagination-numbers {
    border: 2px solid #98999a;
    border-radius: 5px;
    width: max-content;
    margin: 0 auto;
}

.pagination-btn:last-child {
    border: 0;
}

.pagination-btn {
    background: transparent;
    outline: none;
    border: none;
    border-right: 1px solid #98999a;
    padding: 5px 15px;
    color: #98999a;
    box-shadow: none;
}

@media only screen and (max-width: 1501px) {
    .directo-info {
        padding: 15px;
        font-size: 14px;
    }
    .view-dir-info img {
        width: 150px;
        cursor: pointer;
    }
}
@media only screen and (min-width: 1201px) {
    .all-our-directors [class*=col-] {
        padding: 0 20px;
    }
}
@media only screen and (max-width: 1201px) {
    .director-name {
        font-size: 14px;
    }
    
    .director-place {
        font-size: 12px;
    }
    
    .directo-info {
        padding: 11px;
        font-size: 12px;
    }
    
    .content_description p {
        font-size: 14px;
    }
    
    .content_description {
        margin-bottom: 30px;
    }
    .heading_section {
        margin-bottom: 40px;
    }
    
    .view-dir-info i {
        font-size: 30px;
    }
    .director-info {
        padding: 0 10px 10px;
    }
    .modal.fade.show .modal-dialog {
        max-width: unset;
    }
}

@media only screen and (max-width: 991px) {
    .director-name {
        font-size: 12px;
    }
    
    .director-place {
        font-size: 10px;
    }
    
    .directo-info {
        padding: 8px;
        font-size: 12px;
    }
    
    .content_description p {
        font-size: 12px;
    }
    
    .view-dir-info i {
        font-size: 20px;
    }
    .view-dir-info img {
        width: 100px;
    }
    
    .popup-drector-text {
        margin-top: 20px;
    }
    
    .popup-director-name {
        font-size: 18px;
    }
}
@media only screen and (max-width: 767px) {
    .popup-director-img img {
        position: static;
    }
    .director-name {
        font-size: 12px;
    }
    
    .director-place {
        font-size: 10px;
    }
    
    .directo-info {
        padding: 10px;
        font-size: 10px;
    }
    
    .content_description p {
        font-size: 12px;
    }
    
    .view-dir-info i {
        font-size: 20px;
    }
    .view-dir-info img {
        width: 100px;
        
    }
    
    .popup-drector-text {
        margin-top: 20px;
    }
    
    .popup-director-name {
        font-size: 18px;
        max-width: 90%;
    }
    .dir-card-front {
        margin: 0 0 24px;
    }
    .director-card:hover .dir-flip-card {
        margin: 0;
    }
    .content_description {
        max-width: 90%;
    }
     .popup-drector-text p:nth-child(2), .popup-drector-text p:nth-child(3), .popup-drector-text p:first-child {
        max-width: none;
    }
    .modal-content{
        padding: 25px;
    }
}