   /*==========================================
    AL-ATTAWI PREMIUM SERVICE GALLERY
==========================================*/
.att-container{

    max-width:1350px;
    width:100%;
    margin:0 auto;
    padding-left:15px;
    padding-right:15px;

}


.att-gallery-link{
    display:block;
    width:100%;
    height:100%;
    text-decoration:none;
    color:inherit;
}

.att-gallery-link:hover{
    color:inherit;
}

.att-service-gallery{

    position:relative;
    padding:120px 0;
    background:#faf9f7;
    overflow:hidden;

}

.att-service-gallery::before{

    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(2,115,109,.04);
    left:-220px;
    top:-220px;

}

.att-service-gallery::after{

    content:"";
    position:absolute;
    width:450px;
    height:450px;
    border-radius:50%;
    background:rgba(178,4,10,.04);
    right:-180px;
    bottom:-180px;

}


/*==========================================
HEADING
==========================================*/

.att-gallery-heading{

    max-width:760px;
    margin:auto;
    text-align:center;
    margin-bottom:70px;
    position:relative;
    z-index:10;

}

.att-gallery-heading span{

    display:inline-block;
    color:#b2040a;
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:13px;
    font-weight:700;
    margin-bottom:20px;

}

.att-gallery-heading h2{

    font-size:56px;
    color:#062b2a;
    font-family:Georgia,serif;
    line-height:1.2;
    font-weight:500;
    margin-bottom:25px;

}

.att-gallery-heading strong{

    display:block;
    color:#02736d;
    font-weight:500;

}

.att-gallery-heading p{

    font-size:18px;
    line-height:1.9;
    color:#666;

}


/*==========================================
GRID
==========================================*/

.att-gallery-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}


/*==========================================
CARD
==========================================*/

.att-gallery-item{

    position:relative;
    overflow:hidden;
    height:560px;
    cursor:pointer;
    background:#000;

}

.att-gallery-item img{

    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:1s;

}


/*==========================================
OVERLAY
==========================================*/

.att-gallery-overlay{

    position:absolute;
    inset:0;

    background:linear-gradient(

        to top,

        rgba(4,32,30,.95) 5%,

        rgba(4,32,30,.65) 35%,

        rgba(4,32,30,.15) 100%

    );

    transition:.6s;

}

.att-gallery-item:hover .att-gallery-overlay{

    background:linear-gradient(

        to top,

        rgba(2,115,109,.92),

        rgba(2,115,109,.35),

        rgba(0,0,0,.08)

    );

}


/*==========================================
NUMBER
==========================================*/

.att-gallery-number{

    position:absolute;
    top:25px;
    left:25px;

    color:#d7b45b;

    font-size:15px;

    letter-spacing:3px;

    font-weight:600;

    z-index:10;

}

.att-gallery-number:after{

    content:"";

    width:35px;

    height:1px;

    background:#d7b45b;

    display:inline-block;

    margin-left:10px;

    vertical-align:middle;

}


/*==========================================
CONTENT
==========================================*/

.att-gallery-content{

    position:absolute;

    left:35px;

    right:35px;

    bottom:35px;

    color:#fff;

    z-index:10;

}

.att-service-small{

    display:inline-block;

    color:#d7b45b;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:12px;

    margin-bottom:12px;

}

.att-gallery-content h3{

    font-size:34px;

    font-family:Georgia,serif;

    margin-bottom:10px;

    transition:.4s;
    color:#03e5d9;

}

.att-gallery-content p{

    color:rgba(255,255,255,.80);

    line-height:1.8;

    margin-bottom:0;

    transition:.4s;

}


/*==========================================
BUTTON
==========================================*/

.att-gallery-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    margin-top:30px;

    color:#fff;

    text-decoration:none;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:13px;

    font-weight:600;

    opacity:0;

    transform:translateY(30px);

    transition:.5s;

}

.att-gallery-btn i{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#d7b45b;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#062b2a;

    transition:.4s;

}

.att-gallery-item:hover .att-gallery-btn{

    opacity:1;

    transform:translateY(0);

}

.att-gallery-item:hover .att-gallery-btn i{

    background:#fff;

}


/*==========================================
HOVER
==========================================*/

.att-gallery-item:hover img{

    transform:scale(1.10);

}

.att-gallery-item:hover h3{

    transform:translateY(-8px);

}

.att-gallery-item:hover p{

    transform:translateY(-6px);

}


/*==========================================
GOLD LINE
==========================================*/

.att-gallery-item:before{

    content:"";

    position:absolute;

    left:0;

    bottom:0;

    width:0;

    height:4px;

    background:#d7b45b;

    z-index:20;

    transition:.5s;

}

.att-gallery-item:hover:before{

    width:100%;

}


/*==========================================
SHADOW
==========================================*/

.att-gallery-item{

    box-shadow:0 20px 50px rgba(0,0,0,.08);
    transition:.45s;

}

.att-gallery-item:hover{

    transform:translateY(-10px);

    box-shadow:0 35px 70px rgba(0,0,0,.18);

}
/*==========================================
RESPONSIVE
==========================================*/

/* Equal Height */

.att-gallery-grid{

    align-items:stretch;

}

.att-gallery-item{

    display:flex;

    flex-direction:column;

}


/* Laptop */

@media (max-width:1200px){

.att-gallery-grid{

grid-template-columns:repeat(2,1fr);

gap:25px;

}

.att-gallery-heading h2{

font-size:46px;

}

.att-gallery-item{

height:500px;

}

}


/* Tablet */

@media (max-width:991px){

.att-service-gallery{

padding:90px 0;

}

.att-gallery-heading{

margin-bottom:55px;

}

.att-gallery-heading h2{

font-size:40px;

}

.att-gallery-heading p{

font-size:17px;

}

.att-gallery-grid{

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.att-gallery-item{

height:440px;

}

.att-gallery-content{

left:25px;

right:25px;

bottom:25px;

}

.att-gallery-content h3{

font-size:28px;

}

}


/* Mobile */

@media (max-width:767px){

.att-service-gallery{

padding:70px 0;

}

.att-gallery-grid{

grid-template-columns:1fr;

gap:25px;

}

.att-gallery-heading{

margin-bottom:45px;

}

.att-gallery-heading h2{

font-size:34px;

}

.att-gallery-heading p{

font-size:16px;

line-height:1.8;

}

.att-gallery-item{

height:420px;

border-radius:18px;

}

.att-gallery-content{

left:20px;

right:20px;

bottom:20px;

}

.att-gallery-number{

top:18px;

left:18px;

font-size:13px;

}

.att-gallery-content h3{

font-size:26px;

}

.att-gallery-content p{

font-size:15px;

line-height:1.6;

}

.att-gallery-btn{

opacity:1;

transform:none;

margin-top:20px;

font-size:12px;

}

.att-gallery-btn i{

width:38px;

height:38px;

}

}


/* Small Mobile */

@media (max-width:480px){

.att-gallery-heading span{

letter-spacing:2px;

font-size:11px;

}

.att-gallery-heading h2{

font-size:28px;

}

.att-gallery-heading p{

font-size:15px;

}

.att-gallery-item{

height:360px;

}

.att-gallery-content{

left:16px;

right:16px;

bottom:16px;

}

.att-service-small{

font-size:10px;

letter-spacing:1px;

}

.att-gallery-content h3{

font-size:22px;

margin-bottom:8px;

}

.att-gallery-content p{

font-size:14px;

}

.att-gallery-number{

font-size:12px;

top:15px;

left:15px;

}

.att-gallery-number:after{

width:20px;

margin-left:6px;

}

.att-gallery-btn{

font-size:11px;

gap:8px;

}

.att-gallery-btn i{

width:34px;

height:34px;

font-size:12px;

}

}


/* Touch Devices */

@media (hover:none){

.att-gallery-btn{

opacity:1;

transform:none;

}

.att-gallery-item:hover{

transform:none;

}

.att-gallery-item:hover img{

transform:none;

}

}