/* Research Page Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
    min-height: 500px;
}

.contact-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
}

/* LTR Layout */
html[dir="ltr"] .hero-left {
    position: relative;
    z-index: 2;
    flex: 1;
    padding-right: 50px;
}

html[dir="ltr"] .hero-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: url('../images/contact-hero-bg.png') no-repeat center right;
    background-size: cover;
}

html[dir="ltr"] .hero-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
}

/* RTL Layout */
html[dir="rtl"] .hero-left {
    position: relative;
    z-index: 2;
    flex: 1;
    padding-left: 50px;
    padding-right: 0;
}

html[dir="rtl"] .hero-right {
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    width: 50%;
    height: 100%;
    background: none;
    z-index: 0;
}

html[dir="rtl"] .hero-right::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../images/contact-hero-bg.png') no-repeat center left;
    background-size: cover;
    transform: scaleX(-1);
    z-index: 1;
}

html[dir="rtl"] .hero-right::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-left h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-left p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-contact-hero {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact-hero:hover {
    background: #0056b3;
    color: #fff;
    transform: translateY(-2px);
}

/* Animation States */
[data-aos] {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* LTR Animations */
html[dir="ltr"] [data-aos="fade-right"] {
    animation: fadeInRight 0.8s ease forwards;
}

html[dir="ltr"] [data-aos="fade-left"] {
    animation: fadeInLeft 0.8s ease forwards;
}

/* RTL Animations */
html[dir="rtl"] [data-aos="fade-right"] {
    animation: fadeInLeft 0.8s ease forwards;
}

html[dir="rtl"] [data-aos="fade-left"] {
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .contact-hero {
        padding: 60px 0;
    }

    .contact-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 30px;
    }

    .hero-right {
        position: relative;
        width: 100%;
        height: 300px;
        margin-top: 30px;
    }

    html[dir="ltr"] .hero-right::before {
        background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 1) 100%);
    }

    html[dir="rtl"] .hero-right::before {
        background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 1) 100%);
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 2.5rem;
    }

    .hero-left p {
        font-size: 1.1rem;
    }
}

/* Top Bar Styles for Contact Page */
.top-bar {
    background: rgb(26 35 126) !important;
    padding: 5px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb Styles */
.contact-breadcrumb-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 0.7rem 0;
    font-size: 1rem;
}

.contact-breadcrumb-bar .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: none;
    margin-bottom: 0;
    padding: 0;
    justify-content: flex-start;
}

html[dir="rtl"] .contact-breadcrumb-bar .breadcrumb {
    /* No need to change justify-content, already right-aligned */
}

.contact-breadcrumb-bar .breadcrumb-item {
    color: #888;
    font-weight: 500;
    font-size: 1em;
    display: flex;
    align-items: center;
}

/* LTR: separator before */
.contact-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f105"; /* fa-angle-right */
    display: inline-block;
    color: #bbb;
    font-size: 1em;
    padding: 0 0.5rem;
    vertical-align: middle;
}

/* RTL: separator before, but as a left arrow */
html[dir="rtl"] .contact-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
    content: "\f104"; /* fa-angle-left */
}

.contact-breadcrumb-bar .breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-breadcrumb-bar .breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.contact-breadcrumb-bar .breadcrumb-item.active {
    color: #333;
    font-weight: 600;
}

/* Responsive Breadcrumb */
@media (max-width: 768px) {
    .contact-breadcrumb-bar {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }
}