/*********************************************************************************

	Template Name: Template Full Name Here
	Description: A perfect template to build beautiful and unique medical websites. It comes with nice and clean design.
	Version: 1.0

	Note: This is custom css.

**********************************************************************************/

.headroom--sticky.headroom--not-top {
    background:#431b2d;
}

.architecture-bg-thumbnail .inner .architecture-hover-image .bg-thumb.bg-image--1 {
    background-image: url(../../img/bg-image-knyga7.jpg);
}
.architecture-bg-thumbnail .inner .architecture-hover-image .bg-thumb.bg-image--2 {
    background-image: url(../../img/bg-image-knyga7.jpg);
}
.architecture-bg-thumbnail .inner .architecture-hover-image .bg-thumb.bg-image--3 {
    background-image: url(../../img/bg-image-knyga7.jpg);
}
.architecture-bg-thumbnail .inner .architecture-hover-image .bg-thumb.bg-image--4 {
    background-image: url(../../img/bg-image-knyga7.jpg);
}
.architecture-bg-thumbnail .inner .architecture-hover-image .bg-thumb.bg-image--5 {
    background-image: url(../../img/bg-image-knyga7.jpg);
}

.logo a {
    font-family: "Poppins", sans-serif;
    font-size:24px;
    color: white;
    line-height:72px;
    font-weight: bold;
}

.logo img {
    width:200px;
}

.mobileheader {
    background: #431b2d !important;
}

.popup-mobile-manu .inner .mobileheader a.mobile-close::before {
    background: white;
}

.popup-mobile-manu .inner .mobileheader a.mobile-close::after {
    background: white;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text-wrapper {
    position: absolute;
    right: 264px;
    max-width: 670px;
}

.hero-title {
    font-size: 90px;
    line-height: 110px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
}

.hero-title .dot {
    color: #94785e;
}

.hero-button {
    margin-top: 60px;
}

.hero-button a {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 20px;
    line-height: 22px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-button a:hover {
    color: #94785e;
}

.hero-button .btn-arrow {
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: currentColor;
    margin-left: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.hero-button .btn-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.architecture-service .architecture-inner .view-more-btn {
    width: auto;
    height: auto;
    opacity: 1;
    visibility: visible;
}

/* Tablet Styles */
@media (max-width: 1199px) {
    .hero-text-wrapper {
        right: 50px;
        max-width: 520px;
    }

    .hero-title {
        font-size: 75px;
        line-height: 93px;
    }
}

/* Mobile Styles - Face Always Visible */
@media (max-width: 767px) {
    .hero-section {
        min-height: 500px;
        height: 80vh;
    }

    .hero-image {
        object-position: 65% center; /* Adjusted to show face on mobile */
    }

    .hero-text-wrapper {
        left: 30px;
        right: auto;
        max-width: 360px;
        bottom: 100px;
        top: auto;
    }

    .hero-title {
        font-size: 45px;
        line-height: 55px;
        margin-bottom: 30px;
    }

    .hero-button {
        margin-top: 30px;
    }
}

/* Small Mobile Styles */
@media (max-width: 575px) {
    .hero-image {
        object-position: 60% center; /* Fine-tuned for smaller screens */
    }

    .hero-text-wrapper {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }
}

/* Very Small Mobile Styles */
@media (max-width: 380px) {
    .hero-section {
        min-height: 450px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 46px;
    }
}