/*
Theme Name: BEI Dubai
Theme URI: https://barrettenterprisesinc.com
Author: BEI
Description: Custom theme for Barrett Enterprise Global FZ Dubai.
Version: 1.0.0
Text Domain: beidubai
*/

/* ================= ROOT VARIABLES ================= */
:root {
    --bei-primary: #cf3a35;
    --bei-primary-dark: #a82e2a;

    --bei-white: #ffffff;
    --bei-black: #111111;
    --bei-gray: #666666;

    --bei-border-light: rgba(0, 0, 0, 0.06);

    --bei-font: 'Segoe UI', sans-serif;

    --bei-transition: all 0.3s ease;
}

body {
    font-family: var(--bei-font);
    background-color: var(--bei-white);
    color: var(--bei-black);
}

/* NAVBAR START */

.bei-navbar {
    background-color: var(--bei-white);
    padding: 18px 0;
    border-bottom: 1px solid var(--bei-border-light);
    transition: var(--bei-transition);
    z-index: 999;
}

.bei-navbar--scrolled {
    padding: 12px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.bei-navbar__brand img {
    width: 200px;
    border-radius: 14px;
}

.bei-navbar__link {
    color: var(--bei-black) !important;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    transition: var(--bei-transition);
}

.bei-navbar__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--bei-primary);
    transition: var(--bei-transition);
}

.bei-navbar__link:hover::after {
    width: 100%;
}

.bei-navbar__link:hover {
    color: var(--bei-primary) !important;
}


.bei-navbar__cta {
    background-color: var(--bei-primary);
    color: var(--bei-white);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--bei-transition);
    border: none;
}

.bei-navbar__cta:hover {
    background-color: var(--bei-primary-dark);
    color: var(--bei-white);
}

@media (max-width: 991px) {

    .bei-navbar__collapse {
        background: var(--bei-white);
        padding: 20px;
        margin-top: 10px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .bei-navbar__link {
        padding: 10px 0;
    }

    .bei-navbar__cta {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

/* NAVBAR END */

/* HERO SECTION START  */
.bei-hero {
    height: 100vh;
    position: relative;
    padding-top: 50px;	
    overflow: hidden;
}

.bei-hero__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}
.bei-hero__bg video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bei-hero__slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bei-hero__slide.active {
    opacity: 1;
}

.bei-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bei-hero__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(17, 17, 17, 0.95) 0%,
            rgba(17, 17, 17, 0.75) 50%,
            rgba(17, 17, 17, 0.2) 100%);
}

.bei-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.bei-hero__title span {
    display: block;
    font-size: 74px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    color: var(--bei-white);
}

.bei-hero__subtitle {
    font-size: 35px;
    margin: 20px 0;
    color: #fff;
    font-weight: 300;
}

.bei-highlight {
    color: var(--bei-primary);
    font-weight: 600;
}

.bei-hero__desc {
    font-size: 22px;
    color: #fff;
    max-width: 600px;
    margin-bottom: 30px;
}

.bei-btn-primary {
    background-color: var(--bei-primary);
    color: var(--bei-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--bei-transition);
}

.bei-btn-primary:hover {
    background-color: var(--bei-primary-dark);
    transform: translateY(-2px);
}

.bei-btn-outline {
    border: 2px solid var(--bei-primary);
    color: var(--bei-primary);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--bei-transition);
}

.bei-btn-outline:hover {
    background-color: var(--bei-primary);
    color: var(--bei-white);
}

.bei-stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--bei-primary);
}

.bei-stat-label {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bei-stat-border {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

@media (max-width: 768px) {

    .bei-hero__title span {
        font-size: 42px;
    }

    .bei-hero__subtitle {
        font-size: 22px;
    }

    .bei-hero__content {
        padding: 0 20px;
    }
}

/* HERO SECTION END */

/* ABOUT SECTION START */
.section-padding {
    padding: 100px 0;
}

.bei-section-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--bei-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.bei-section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.bei-about__text {
    font-size: 16px;
    color: var(--bei-gray);
    margin-bottom: 15px;
}

.bei-about__visual {
    display: grid;
    gap: 20px;
}

.bei-about__card {
    background: var(--bei-white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--bei-border-light);
    transition: var(--bei-transition);
}

.bei-about__card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--bei-black);
}

.bei-about__card p {
    font-size: 14px;
    color: var(--bei-gray);
}

.bei-about__card:hover {
    transform: translateY(-5px);
    border-color: var(--bei-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {

    .bei-section-title {
        font-size: 30px;
    }

    .bei-about__visual {
        margin-top: 30px;
    }
}

/* ABOUT SECTION END */

/* WHAT WE DO SECTION START */
.bei-what {
    background-color: #fafafa;
}

.bei-section-subtext {
    max-width: 650px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--bei-gray);
}

.bei-what__card {
    background: var(--bei-white);
    padding: 30px 25px;
    border-radius: 14px;
    border: 1px solid var(--bei-border-light);
    height: 100%;
    transition: var(--bei-transition);
    position: relative;
    overflow: hidden;
}

.bei-what__icon {
    font-size: 22px;
    font-weight: 700;
    color: var(--bei-primary);
    margin-bottom: 15px;
}

.bei-what__card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--bei-black);
}

.bei-what__card p {
    font-size: 14px;
    color: var(--bei-gray);
}

.bei-what__card:hover {
    transform: translateY(-8px);
    border-color: var(--bei-primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.bei-what__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bei-primary);
    transform: scaleX(0);
    transition: var(--bei-transition);
}

.bei-what__card:hover::before {
    transform: scaleX(1);
}

@media (max-width: 991px) {
    .bei-section-title {
        font-size: 30px;
    }
}

/* WHAT WE DO SECTION END */

/* FOCUS SECTION START */
.bei-focus {
    background-color: var(--bei-white);
}

.bei-focus__card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 320px;
    cursor: pointer;
}

.bei-focus__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bei-focus__overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.4),
            transparent);
    color: var(--bei-white);
    transition: var(--bei-transition);
}

.bei-focus__overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.bei-focus__overlay p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--bei-transition);
}

.bei-focus__card:hover img {
    transform: scale(1.08);
}

.bei-focus__card:hover .bei-focus__overlay p {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .bei-focus__card {
        height: 260px;
    }
}

/* FOCUS SECTION END */

/* WHY SECTION START */
.bei-why {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bei-why__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.bei-why__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bei-why .container {
    position: relative;
    z-index: 2;
}

.bei-why__title,
.bei-why__desc,
.bei-why__item h4 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.bei-why__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.bei-why__title {
    font-size: 44px;
    font-weight: 700;
    color: var(--bei-white);
    margin-bottom: 25px;
    line-height: 1.3;
}

.bei-why__desc {
    font-size: 17px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.7;
}

.bei-why__item {
    position: relative;
    padding-top: 20px;
}

.bei-why__item h4 {
    color: var(--bei-white);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.bei-why__item span {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--bei-primary);
    margin: 0 auto;
    transition: var(--bei-transition);
}

.bei-why__item:hover span {
    width: 70px;
}

@media (max-width: 991px) {

    .bei-why {
        height: auto;
        padding: 80px 0;
    }

    .bei-why__title {
        font-size: 32px;
    }

    .bei-why__desc {
        font-size: 15px;
    }
}

/* WHY SECTION END */

/* PRIORITIES SECTION START */
.bei-year {
    background: #f9f9f9;
}

.bei-year__image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.bei-year__timeline {
    position: relative;
    padding-left: 40px;
}

.bei-year__timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--bei-border-light);
}

.bei-year__item {
    position: relative;
    margin-bottom: 30px;
}

.bei-year__card {
    background: var(--bei-white);
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid var(--bei-border-light);
    transition: var(--bei-transition);
}

.bei-year__card h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.bei-year__card p {
    font-size: 14px;
    color: var(--bei-gray);
    line-height: 1.6;
}

.bei-year__card:hover {
    transform: translateY(-5px);
    border-color: var(--bei-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {

    .bei-year__timeline {
        margin-top: 30px;
    }

    .bei-year__timeline::before {
        left: 15px;
    }

    .bei-year__number {
        left: -10px;
    }
}

/* PRIORITIES SECTION END */

/* CTA SECTION START */
.bei-cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.bei-cta__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;

    background: linear-gradient(135deg,
            #111 0%,
            #1a1a1a 40%,
            #000 100%);
}

.bei-cta__bg::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(207, 58, 53, 0.25), transparent 70%);
    top: -100px;
    right: -100px;
}

.bei-cta__title {
    font-size: 42px;
    font-weight: 700;
    color: var(--bei-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.bei-cta__desc {
    font-size: 17px;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.bei-btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--bei-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--bei-transition);
}

.bei-btn-outline-light:hover {
    background: var(--bei-white);
    color: var(--bei-black);
}

@media (max-width: 768px) {

    .bei-cta {
        padding: 80px 0;
    }

    .bei-cta__title {
        font-size: 30px;
    }

    .bei-cta__desc {
        font-size: 15px;
    }
}

/* CTA SECTION END */

/* FOOTER START */
.bei-footer {
    background: var(--bei-white);
    padding: 80px 0 30px;
    border-top: 1px solid var(--bei-border-light);
}

.bei-footer__brand img {
    width: 160px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.bei-footer__brand p {
    font-size: 16px;
    color: var(--bei-gray);
    line-height: 1.6;
}

.bei-footer__links h5,
.bei-footer__contact h5 {
    font-size: 15px;
    margin-bottom: 15px;
    color: var(--bei-black);
}

.bei-footer__links ul {
    list-style: none;
    padding: 0;
}

.bei-footer__links ul li {
    margin-bottom: 8px;
}

.bei-footer__links ul li a {
    text-decoration: none;
    color: var(--bei-gray);
    font-size: 16px;
    transition: var(--bei-transition);
}

.bei-footer__links ul li a:hover {
    color: var(--bei-primary);
    font-weight: 700;
    padding-left: 5px;
}

.bei-footer__contact p {
    font-size: 14px;
    color: var(--bei-gray);
    margin-bottom: 8px;
}

.bei-footer__cta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: var(--bei-primary);
    color: var(--bei-white);
    border-radius: 30px;
    font-size: 13px;
    transition: var(--bei-transition);
}

.bei-footer__cta:hover {
    background: var(--bei-primary-dark);
}

.bei-footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--bei-border-light);
}

.bei-footer__bottom p {
    font-size: 16px;
    color: var(--bei-gray);
    margin: 0;
}

@media (max-width: 768px) {

    .bei-footer {
        padding: 60px 0 20px;
    }

    .bei-footer__brand,
    .bei-footer__links,
    .bei-footer__contact {
        text-align: center;
    }
}

/* FOOTER END */

/* ?contact us form */



    .bei-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.bei-cta-content {
    flex: 1;
    color: #fff;
    text-align: center;
}

.bei-cta-form {
    width: 420px;
    flex-shrink: 0;
}

.bei-cta-form form {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.bei-cta-form h4 {
    margin-bottom: 20px;
    text-align: center;
    color: #111;
}

.bei-cta-form input,
.bei-cta-form select,
.bei-cta-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.bei-cta-form textarea {
    min-height: 120px;
    resize: vertical;
}

.bei-cta-form input:focus,
.bei-cta-form select:focus,
.bei-cta-form textarea:focus {
    border-color: #c9a14a;
}

.bei-cta-form button {
    border: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 991px) {

    .bei-cta-wrapper {
        flex-direction: column;
    }

    .bei-cta-content {
        text-align: center;
    }

    .bei-cta-form {
        width: 100%;
        max-width: 600px;
    }
}