.footer{
    margin-top: 0;
}
.modal-lg {
    max-width: calc(100% - 180px);
}
.modal-body{
    padding: 0 164px !important;
}
.modal-header{
    border-bottom: none;
    padding: 48px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
}
.modal-content{
    border-radius: 24px;
    padding-bottom: 40px;
}
.d-none{
    display: none;
}
.close:focus {
    /* outline: 1px dotted; */
    outline: none;
}
.port-bg{
    position: relative;
}
.phone-header-part {
    position: absolute;
    background-color: white;
    border-top: 7px solid #A37E2C;
    box-shadow: 0px 0px 35px 0px #00000024;
    right: 0;
    right: 14.5%;
    bottom: -98px;
    width: 482px;
    height: 195px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.phone-header-part .phone-label{
    font-family: Noto Sans Armenian;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 18.58px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 10%;
    text-align: center;
    text-transform: uppercase;
    color: #006039;
}
.phone-header-part .phone-number{
    font-family: Kanit;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 40px;
    leading-trim: NONE;
    line-height: 60px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color:#00215B;


}
.port-bg{
    background: url(/images/portfolio-bg.webp) ;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 640px;
    width: 100%;

}
.portfolio-header {
    background: linear-gradient(135deg, var(--color-primary-100) 0%, var(--color-primary-200) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--color-white);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}



.portfolio-header h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 56px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0;
}

.header-subtitle {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 28px;
    color: var(--color-white);
    opacity: 0.9;
    margin: 0;
    max-width: 600px;
}

/* ===================================
   FILTER SECTION
   =================================== */
.filter-section {
    background-color: var(--color-white);
    padding: 0px 0;
    margin-top: 200px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: Noto Sans Armenian;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 18.58px;
    line-height: 100%;
    letter-spacing: 10%;
    text-align: center;
    vertical-align: middle;



    padding: 17.5px 47px;
    height: 60px;
    border-radius: 20px;
    border: 1px solid var(--color-primary-100);
    background-color: transparent;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: var(--color-primary-200);
    color: var(--color-white);
    border-color: var(--color-primary-200);
}

.filter-btn.active {
    background-color: var(--color-primary-100);
    color: var(--color-white);
    border-color: var(--color-primary-100);
}

/* ===================================
   PORTFOLIO GALLERY
   =================================== */
.portfolio-gallery {
    background-color: var(--color-white);
    padding: 64px 0 80px;
}

.gallery-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr 1fr;
}

.gallery-item {
    position: relative;
    height: 580px;
    border-radius: 0px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 96, 57, 0);
    transition: background-color 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover .image-overlay {
    background-color: rgba(0, 96, 57, 0.15);
}

/* Gold Overlay for Featured Item */
.gold-overlay {
    background-color: rgba(163, 126, 44, 0.8);
}

.gallery-item.featured:hover .gold-overlay {
    background-color: rgba(163, 126, 44, 0.9);
}

.featured-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    /* background-color: var(--color-white); */
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 2;
    transform: translate(-50%, -50%);
}
.btn-feature{
    font-family: Rubik;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 10%;
    padding: 15px 72px;
    border: 5px solid #F1F3F4;
    background: transparent;    
    color:#FFFFFF;
    margin-top: 40px;
    cursor: pointer;
}

.featured-badge span {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary-100);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   CALL TO ACTION SECTION
   =================================== */
.cta-section {
    background-color: var(--color-gray-100);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 48px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-100);
    margin: 0;
}

.cta-content p {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 26px;
    color: var(--color-gray-600);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary,
.btn-outline {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    padding: 16px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-primary-100);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-200);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 96, 57, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary-100);
    border: 3px solid var(--color-primary-100);
}

.btn-outline:hover {
    background-color: var(--color-primary-100);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ===================================
   NO PROJECT SECTION
   =================================== */
.no-project {
    background-color: var(--color-white);
    padding: 34px 0 0px 0;
    display: flex;
    align-items: stretch;
    min-height: 600px;
}
.no-project-div{
    max-width: 756px;
    margin-left: auto;
    padding-right: 64px;
}
.no-project-cta-div{
    max-width: 756px;
    padding-right: 74px;
    margin-left: auto;
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
}
.no-project-left {
    width: 54.04%;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
}

.no-project-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: #006039;
    margin: 0 0 24px 0;
    text-align: left;
}

.title-underline {
    width: 80px;
    height: 6px;
    background-color: #A37E2C;
    margin: 0 0 32px 0;
}

.no-project-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.no-project-text p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 27px;
    letter-spacing: 0.04em;
    color: #666;
    margin: 0;
}

.no-project-cta {
    background-color: #A37E2C;
    padding: 26px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.02em;
    color: var(--color-white);
    margin: 0;
}

.featured-badge p{
    font-family: Instrument Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 32px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
}
.cta-btn {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: var(--color-white);
    background-color: transparent;
    border: 2px solid var(--color-white);
    padding: 15px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-btn:hover {
    background-color: var(--color-white);
    color: #A37E2C;
}

.no-project-right {
    flex: 1;
    background-color: #006039;
    padding: 48px 116px 94px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 20px;
    max-width: 884PX;
    width: 46.04%;
    height: 626px;
}
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.service-icon {
    color: var(--color-white);
    font-size: 18px;
    font-weight: bold;
    margin-top: 2px;
}

.service-content h3 {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    color: var(--color-white);
    margin: 0 0 8px 0;
}

.service-content p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 27px;
    letter-spacing: 0.04em;
    color: var(--color-white);
    margin: 0;
    opacity: 0.9;
    width: 385px;
}


@media (max-width: 1500px){
    .modal-body {
        padding: 0 40px !important;
    }
    .calc-content{
        gap: 40px;
    }
}
@media (max-width: 1410px){
    .no-project-div{
        padding-left: 40px;
    }
    .no-project-cta{
        padding-left: 40px;
    }
    .cta-text{
        font-size: 30px;
        line-height: 38px;
    }
    .no-project {
        flex-direction: column-reverse;
    }
    .no-project-left,
    .no-project-right{
        width: 100%;
        max-width: 100%;
    }
    .no-project-div{
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
    }
    .gallery-image img{
        aspect-ratio: 375 / 391;
    }
    .no-project-cta-div {
        max-width: 100%;
        width: 100%;
        justify-content: center;
    }
    .gallery-grid {
        gap: 24px;
    }
}

@media (max-width: 1199px){
    .modal-header{
        padding: 38px;
    }
    .modal-header img{
        width: 240px;
    }
    .modal-lg {
        max-width: calc(100% - 80px);
        margin: 1.75rem auto;
    }
    .calc-content{
        flex-direction: column;
    }
    .calc-form {
        width: 100%;
    }

    .form-fields {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .phone-header-part{
        right: 40px;
    }
    .phone-header-part .phone-number{
        font-size: 34px;
        line-height: 50px;
    }
    .portfolio-header {
        padding: 64px 0 48px;
    }

    .portfolio-header h1 {
        font-size: 40px;
        line-height: 48px;
    }

    .header-subtitle {
        font-size: 18px;
        line-height: 26px;
    }

    .filter-buttons {
        gap: 12px;
    }

    .filter-btn {
        font-size: 16px;
        height: 52px;
        padding: 10px 18px;
    }

    .gallery-grid {
        gap: 20px;
    }

    .gallery-item {

        height: 480px;
    }

    .cta-content h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .cta-content p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 1024px) {
    .gallery-grid{
        grid-template-columns: 1fr 1fr;
    }
    .no-project {
        padding: 0;
        margin-top: 0px;
    }
    .no-project-div{
        max-width: calc(100% - 80px);
        padding-right: 0;
        margin-right: auto;
    }
    .no-project-cta-div{
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-right: 0;
        justify-content: space-evenly;
        flex-wrap: wrap;
        row-gap: 11px;
    }
}

@media (max-width: 767px) {
    .featured-badge{
        padding: 0;
        width: 260px;
    }
    .btn-feature{
        width: 220px;
        margin: auto;
        margin-top: 40px;
    }
    .featured-badge p{
        margin-bottom: 0;
    }
    .phone-header-part {
        width: 340px;
        height: 156px;
    }
    .gallery-image img{
        height: auto;
    }
    .phone-header-part .phone-number {
        font-size: 32px;
        line-height: 40px;
    }

    .container {
        padding: 0 16px;
    }
    .phone-header-part .phone-label{
        font-size: 14px;
        line-height: 20px;
    }
    /* Header */
    .portfolio-header {
        padding: 48px 0 36px;
    }

    

    .portfolio-header h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .header-subtitle {
        font-size: 16px;
        line-height: 24px;
        padding: 0 16px;
    }

    /* Filter Buttons */
    .filter-section {
        padding: 32px 0;
        margin-top: 100px;
    }

    .filter-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        max-width: 400px;
        font-size: 15px;
        height: 52px;
        padding: 10px 16px;
        letter-spacing: 1.2px;
    }

    /* Gallery */
    .portfolio-gallery {
        padding: 48px 0 60px;
    }

    .gallery-grid {
        gap: 16px;
    }

    .gallery-item {
        width: 100%;
        height: auto;
    }

    .featured-badge span {
        font-size: 12px;
    }
    .btn-feature{
        height: 48px;
        padding: 12px 72px;
    }

    .no-project {
        padding: 60px 0 0 0;
        min-height: auto;
    }

    .cta-text {
        font-size: 24px;
        line-height: 32px;
    }
    .no-project-div {
        padding-left: 0px;
    }
    .no-project-title {
        font-size: 36px;
        line-height: 44px;
    }

    .no-project-text {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .no-project-cta {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .no-project-right {
        flex: none;
        padding: 40px 40px;
        gap: 24px;
        height: auto;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-content {
        gap: 24px;
    }

    .cta-content h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .cta-content p {
        font-size: 16px;
        line-height: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 400px;
        padding: 14px 24px;
    }

    
}





@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeIn 0.6s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }


@media (max-width: 600px) {
    .featured-badge p {
        font-size: 14px;
        line-height: 20px;  
    }
    .btn-feature {
        height: 40px;
        padding: 9px 0;
        margin: auto;
        margin-top: 16px;
        width: 180px;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .phone-header-part .phone-number {
        font-size: 16px;
        line-height: 20px;
    }
    .phone-header-part {
        width: 164px;
        height: 90px;
        right: 16px;
    }
    .filter-section {
        padding: 0;
        margin-top: 60px;
    }
    .phone-header-part {
        bottom: -27px;
    }
    .no-project-right {
        padding: 24px 20px;
    }
    .service-icon{
        min-width: 38px;
        height: 34px;
    }
    .service-content p{
        max-width: 100%;
    }
    .service-content{
        width: 80%;
    }
    .no-project-title {
        font-size: 24px;
        line-height: 32px;
    }
    .no-project-cta {
        padding-left: 0px;
    }
    .service-icon img{
        width: 100%;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item {
        height: max-content;
    }
    .filter-btn{
        max-width: 276px;
    }
}
@media print {
    .filter-section,
    .cta-section,
    

    .gallery-item {
        page-break-inside: avoid;
    }
}
