/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    Created on : Mar 8, 2025, 6:32:33 PM
    Author     : AS
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;

}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

/*body{
    
      background: #f7e8d7;
}*/
/* navbar section*/


.header .logo {
    color: #644321;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 5%;

}

.navBar ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 50px;
}

.navBar ul li #lang {
    color: white;
}

.navBar ul li a {
    position: relative;
    color: white;
    font-size: 17px;
    transition: 0.3s ease;
}

.navBar ul li a:hover,
.navBar ul li a.active {
    color: #c79e70;
}

.navBar ul li a.active::after,
.navBar ul li a:hover::after {
    content: "";
    width: 50%;
    height: 2px;
    background: #f7e8d7;
    position: absolute;
    bottom: -5px;
    left: 20px;
}


section {
    padding: 100px 200px;

}

/*body section*/
.navBar #lang {
    margin-right: 15px;
}

.body1 {
    background-image: url("img/aboutfliped.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-position-y: center;
    width: 100%;
    justify-content: center;


}

.header {
    z-index: 999;
    /*position: sticky;*/
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s ease;
}

section .content {
    font-size: 20px;

    color: white;
    width: 70%;
    margin-top: 20px;
}

section .content h1 {
    font-size: 50px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 75px;
    margin-bottom: 30px;

}

.body .content h1 span {
    font-size: 40px;
    font-weight: 600;

}

.body div p {
    margin-bottom: 50px
}

.body .content button a {
    text-decoration: none;
    color: #644321;
}

.body .content button {
    border: none;
    background: white;
    padding: 15px 35px;
    color: #644321;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;

}

.body .content button:hover {
    background-color: #f7e8d7;
    color: white;


}

.header .menu {
    color: white;
    display: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header .menu.active {
    transform: rotate(90deg);
}

#feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#feature .fe-box a {
    text-decoration: none;
    color: #87603e;
}

#feature .fe-box {
    width: 150px;
    text-align: center;
    padding: 25px;
    box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
    border: 1px solid #f7e8d7;
    border-radius: 4px;
    margin: 15px 0;
}

#feature .fe-box:hover {
    box-shadow: 10px 10px 54px rgba(189, 155, 120, 1.2);
}

#feature .fe-box h6 {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
    color: #87603e;
    background-color: #eed3b8;

}

#feature .fe-box img {
    width: 80px;
    height: 80px;
}

#feature .fe-box1 a {
    text-decoration: none;
    color: #fcffff;
}

#feature .fe-box1 {
    width: 150px;
    text-align: center;
    padding: 25px;
    box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
    border: 1px solid #f7e8d7;
    border-radius: 4px;
    margin: 15px 0;
}

#feature .fe-box1:hover {
    box-shadow: 10px 10px 54px rgba(189, 155, 120, 1.2);
}

#feature .fe-box1 h6 {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
    color:
        #fcffff;
    background-color: #d45e5b;

}

#feature .fe-box1 .img {
    width: 80px;
    height: 80px;
}

#feature .fe-box2 a {
    text-decoration: none;
    color: #f2e6f1;
}

#feature .fe-box2 {
    width: 150px;
    text-align: center;
    padding: 25px;
    box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
    border: 1px solid #f7e8d7;
    border-radius: 4px;
    margin: 15px 0;
}

#feature .fe-box2:hover {
    box-shadow: 10px 10px 54px rgba(189, 155, 120, 1.2);
}

#feature .fe-box2 h6 {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
    color: #f2e6f1;
    background-color: #583c86;

}

#feature .fe-box2 img {
    width: 90px;
    height: 90px;
}

#feature .fe-box3 {
    width: 150px;
    text-align: center;
    padding: 25px;
    box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
    border: 1px solid #f7e8d7;
    border-radius: 4px;
    margin: 15px 0;
}

#feature .fe-box3:hover {
    box-shadow: 10px 10px 54px rgba(189, 155, 120, 1.2);
}

#feature .fe-box3 a {
    text-decoration: none;
    color: #e3e3e4;
}

#feature .fe-box3 h6 {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
    color: #2b2828;
    background-color: #636363;

}

#feature .fe-box3 img {
    width: 90px;
    height: 90px;
}

#feature .fe-boxs {
    width: 150px;
    text-align: center;
    padding: 25px;
    box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
    border: 1px solid #f7e8d7;
    border-radius: 4px;
    margin: 15px 0;
}

#feature .fe-boxs:hover {
    box-shadow: 10px 10px 54px rgba(189, 155, 120, 1.2);
}

#feature .fe-boxs a {
    text-decoration: none;
    color: #333335;
}

#feature .fe-boxs h6 {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
    color: #333335;
    background-color: #f1bc5c;

}

#feature .fe-boxs img {
    width: 80px;
    height: 80px;
}

#product1 {
    text-align: center;
}

#product1 .pro {
    border-radius: 20px;
    width: 30%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid #f7e8d7;
    cursor: pointer;
    box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
    margin: 15px 0;
    transition: 0.2s ease;
    display: grid;
    position: relative;
}

#product1 .pro a {
    text-decoration: none;
    color: black;
}

#product1 .pro a:hover {

    color: #644321;
}

#product1 .pro:hover {
    box-shadow: 10px 10px 54px rgba(189, 155, 120, 1.2);

}

#product1 .pro img {
    width: 100%;
    border-radius: 20px;
}

#product1 .pro .des span {

    font-size: 15px;
}

#product1 .pro .des h5 {
    padding-top: 7px;
    color: #1a1a1a;
    font-size: 17px;
}

#product1 .pro-container {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}


#product1 .pro-container1 {
    display: flex;
    justify-content: space-evenly;
    padding-top: 20px;
    flex-wrap: wrap;

}



footer img {
    width: 120px;
    height: 100px;
}


footer {
    background-color: #9d8b78;
    padding-left: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
}

footer .col {
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

footer .col1 {
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding-right: 30%;
    padding-top: 8%;
}

footer .col2 {
    font-size: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    padding-right: 10%;
    padding-top: 8%;
}

footer h4 {
    color: #644321;
    font-size: 14px;
    padding-bottom: 20px;
}

footer p {
    font-size: 13px;
    margin: 0 0 8px 0;
}

footer a {
    font-size: 13px;
    text-decoration: none;
    color: #222;
    margin-bottom: 10px;
}

footer .follow i:hover,
footer a:hover {
    color: #644321;
}

footer .copyright {
    width: 100%;
    text-align: center;
}

/*servecies style*/



#header {
    background-color: #9d8b78;
}



#pagination {
    text-align: center;

}

#pagination a {
    text-decoration: none;
    color: wheat;
    background-color: #644321;
    padding: 15px 20px;
    border-radius: 4px;
    font-weight: 600;
}

#pagination a i {
    font-size: 16px;
    font-weight: 600;
}

/*about*/
.Aheader {
    background: url("img/about.jpeg");
    width: 100%;
    height: 70vh;
    background-size: cover;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
    color: white;
}

.about {
    display: flex;
    align-items: center;
}

.about img {
    width: 40%;
    height: auto;

}

.about div {
    padding-left: 40px;

}

.about div p {
    font-size: 20px;

}

.about2 {
    display: flex;
    align-items: center;
}

.about2 img {
    width: 40%;
    height: auto;

}

.about2 div {
    padding-left: 40px;

}

.about2 div p {
    font-size: 20px;

}

/*wood section*/
.woodHeader {
    background-image: url("img/wood.jpeg");
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    justify-content: center;
}


/*alumi section*/
.alumiHeader {
    background-image: url("img/alumin.jpeg");
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    justify-content: center;
}



/*steel section*/

.steelHeader {
    background-image: url("img/steel.jpeg");
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    justify-content: center;
}



/*paint section*/



.paintHeader {
    background-image: url("img/paint.jpeg");
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    justify-content: center;
}



/*pumice construction section*/


.pumiceHeader {
    background-image: url("img/aamar.jpeg");
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    justify-content: center;
}


/*single product*/
#prodetails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

#prodetails .single-pro-image {
    width: 537px;
   
}

.small-img-group {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

.small-img-col {
    flex-basis: 24%;
    cursor: pointer;
}

#prodetails .single-pro-details {
    width: 50%;
    padding-top: 30px;
}

#prodetails .single-pro-details h6 {
    color: #ca417c;

}

#prodetails .single-pro-details h4 {
    color: #ca417c;
    padding: 40px 0 20px 0;
}

#prodetails .single-pro-details h2 {
    font-size: 26px;
}

#prodetails .single-pro-details select {
    display: block;
    padding: 5px 10px;
    margin-bottom: 10px;
}

#prodetails .single-pro-details input {
    width: 50px;
    height: 47px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
}

#prodetails .single-pro-details input:focus {
    outline: none;
}

#prodetails .single-pro-details button {
    background-color: #ca417c;
    color: white;
}

#prodetails .single-pro-details span {
    line-height: 25px;
}














/*responsive*/
/*responsive*/
@media(max-width:1200px) {
    .header {
        padding: 12px 15px;
    }

    section {
        padding: 80px 30px;
    }

    section .content h1 {
        font-size: 30px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 5px;
        line-height: 75px;
        margin-bottom: 30px;
    }


}

@media(max-width:1190px) {
    .body .content h1 span {
        font-size: 30px;
        font-weight: 600;
    }

    section .content h1 {
        font-size: 40px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 5px;
        line-height: 75px;
        margin-bottom: 30px;
    }

    #feature {
        display: flex;
        align-items: center;
        justify-content: space-between;
        align-content: stretch;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 945px) {
    .header img {
        width: 120px;
        height: 80px;
    }
    .fa-earth-americas{
        color : black !important;
    }

    section .content h1 {
        font-size: 35px;
        font-weight: 1000;
    }

    .body .content h1 span {
        font-size: 30px;
        font-weight: 500;
    }

    .header .menu {
        display: block;
        cursor: pointer;
    }

    .navBar {
        position: fixed;
        top: 0px;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        transition: 0.5s;
        z-index: 999;
        display: block;
    }

    #nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        width: 100%;
        text-align: center;
    }

    .navBar.active {
        left: 0;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    li {
        margin: 15px 0;
        line-height: 30px;
    }

    .navBar ul li a {
        font-size: 20px;
        color: #333;
    }

    footer {
        background-color: #9d8b78;
        padding-left: 30px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
}

@media screen and (max-width: 502px) {
    section .content {
        width: 100%;
        margin-top: 20px;
    }

}

/* Responsive Design Improvements */
@media screen and (max-width: 1200px) {
    section {
        padding: 80px 100px;
    }

    .header {
        padding: 0 20px;
    }

    .navBar ul li {
        margin: 0 20px;
    }

    #feature {
        justify-content: center;
        gap: 20px;
    }

    #feature .fe-box,
    #feature .fe-box1,
    #feature .fe-box2,
    #feature .fe-box3,
    #feature .fe-boxs {
        width: calc(33.33% - 20px);
        min-width: 200px;
    }

    #product1 .pro-container {
        display: flex;
        justify-content: center;
        padding-top: 20px;
        flex-wrap: nowrap;
    }

    .pro-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 992px) {
    section {
        padding: 60px 50px;
    }

    section .content {
        width: 100%;
    }

    section .content h1 {
        font-size: 40px;
        line-height: 60px;
    }

    .body .content h1 span {
        font-size: 30px;
    }

    #feature .fe-box,
    #feature .fe-box1,
    #feature .fe-box2,
    #feature .fe-box3,
    #feature .fe-boxs {
        width: calc(50% - 20px);
    }

    .pro-container {
        grid-template-columns: repeat(2, 1fr);
    }

    footer {
        padding: 40px 20px;
    }

    #product1 .pro-container {
        display: flex;
        justify-content: center;
        padding-top: 20px;
        flex-wrap: wrap;
    }

    footer .col,
    footer .col1 {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        padding: 0 15px;
    }

    .header .menu {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }

    .navBar {
        position: fixed;
        top: 0px;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        transition: 0.5s;
        z-index: 999;
    }

    #nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
    }

    .navBar.active {
        left: 0;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .navBar ul li {
        margin: 15px 0;
        line-height: 30px;
    }

    .navBar ul li a {
        font-size: 20px;
        color: #333;
    }

    section .content h1 {
        font-size: 35px;
        line-height: 50px;
        letter-spacing: 3px;
    }

    .body .content h1 span {
        font-size: 25px;
    }

    #feature .fe-box,
    #feature .fe-box1,
    #feature .fe-box2,
    #feature .fe-box3,
    #feature .fe-boxs {
        width: 100%;
        max-width: 300px;
    }

    .pro-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    footer {
        background-color: #9d8b78;

        padding-left: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    footer .col,
    footer .col1 {
        flex: 0 0 100%;
        text-align: justify;
    }

    footer .col img {
        margin: 0 auto;
    }

    /* About page responsive styles for tablets */
    .Aheader {
        height: 60vh;
        padding: 30px;
    }

    .Aheader h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .Aheader p {
        font-size: 18px;
    }

    .about {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .about img {
        width: 80%;
        margin-bottom: 30px;
    }

    .about div {
        padding-left: 0;
        padding-top: 30px;
    }

    .about div h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about div p {
        font-size: 18px;
        line-height: 1.6;
    }

    .about2 {
        flex-direction: column-reverse;
        padding: 30px;
        text-align: center;
    }

    .about2 img {
        width: 80%;
        margin-top: 30px;
    }

    .about2 div {
        padding-left: 0;
        padding-bottom: 30px;
    }

    .about2 div h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about2 div p {
        font-size: 18px;
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 40px 20px;
    }

    section .content h1 {
        font-size: 30px;
        line-height: 40px;
        letter-spacing: 2px;
    }

    .body .content h1 span {
        font-size: 20px;
    }

    .body .content button {
        padding: 12px 25px;
        font-size: 16px;
    }

    #feature .fe-box,
    #feature .fe-box1,
    #feature .fe-box2,
    #feature .fe-box3,
    #feature .fe-boxs {
        padding: 15px;
    }

    #feature .fe-box img,
    #feature .fe-box1 .img,
    #feature .fe-box2 img,
    #feature .fe-box3 img,
    #feature .fe-boxs img {
        width: 60px;
        height: 60px;
    }

    #product1 .pro-container {
        display: flex;
        justify-content: center;
        padding-top: 20px;
        flex-wrap: wrap;
    }

    .small-img-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .small-img-col {
        width: 80px;
        margin: 5px;
    }

    .zoom-controls {
        bottom: 10px;
        right: 10px;
    }

    .zoom-btn {
        width: 35px;
        height: 35px;
    }

    .zoom-btn i {
        font-size: 16px;
    }

    /* About page responsive styles */
    .Aheader {
        height: 50vh;
        padding: 20px;
    }

    .Aheader h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .Aheader p {
        font-size: 16px;
    }

    .about {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .about img {
        width: 100%;
        margin-bottom: 20px;
    }

    .about div {
        padding-left: 0;
        padding-top: 20px;
    }

    .about div h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .about div p {
        font-size: 16px;
        line-height: 1.6;
    }

    .about2 {
        flex-direction: column-reverse;
        padding: 20px;
        text-align: center;
    }

    .about2 img {
        width: 100%;
        margin-top: 20px;
    }

    .about2 div {
        padding-left: 0;
        padding-bottom: 20px;
    }

    .about2 div h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .about2 div p {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Center Arabic (RTL) footers on mobile */
@media screen and (max-width: 768px) {
    [dir="rtl"] footer {
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
    }
    [dir="rtl"] footer .col,
    [dir="rtl"] footer .col1,
    [dir="rtl"] footer .col2 {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    [dir="rtl"] footer a.logo img {
        margin: 0 auto 12px auto;
    }
}
/* Fix for Arabic version */
[dir="rtl"] .navBar {
    right: -100%;
    left: auto;
}

[dir="rtl"] .navBar.active {
    right: 0;
    left: auto;
}

[dir="rtl"] .zoom-controls {
    left: 20px;
    right: auto;
}

/* RTL responsive styles for about pages */
[dir="rtl"] .about div {
    padding-right: 40px;
    padding-left: 0;
}

[dir="rtl"] .about2 div {
    padding-right: 40px;
    padding-left: 0;
}

@media screen and (max-width: 768px) {
    [dir="rtl"] .about div {
        padding-right: 0;
        padding-top: 30px;
    }

    [dir="rtl"] .about2 div {
        padding-right: 0;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    [dir="rtl"] .about div {
        padding-right: 0;
        padding-top: 20px;
    }

    [dir="rtl"] .about2 div {
        padding-right: 0;
        padding-bottom: 20px;
    }
}

/* Improved touch support */
@media (hover: none) {
    .zoom-controls {
        opacity: 1;
    }

    .navBar ul li a:hover::after {
        display: none;
    }

    .navBar ul li a.active::after {
        display: block;
    }
}

/* Print styles */
@media print {

    .header,
    .navBar,
    .zoom-controls,
    footer {
        display: none;
    }

    section {
        padding: 0;
    }

    .pro-container {
        display: block;
    }

    .pro {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* Mobile Device Specific Optimizations */
@media screen and (max-width: 428px) {

    /* iPhone 12/13 Pro Max */
    .header {
        padding: 10px;
    }

    .header .logo img {
        width: 120px;
        height: 50px;
    }

    section {
        padding: 30px 15px;
    }

    section .content {
        width: 100%;
        text-align: center;
    }

    section .content h1 {
        font-size: 28px;
        line-height: 40px;
        letter-spacing: 2px;
    }

    .body .content h1 span {
        font-size: 18px;
    }

    #feature {
        gap: 15px;
    }

    #feature .fe-box,
    #feature .fe-box1,
    #feature .fe-box2,
    #feature .fe-box3,
    #feature .fe-boxs {
        width: calc(50% - 10px);
        padding: 15px;
        margin: 5px 0;
    }

    #feature .fe-box img,
    #feature .fe-box1 .img,
    #feature .fe-box2 img,
    #feature .fe-box3 img,
    #feature .fe-boxs img {
        width: 50px;
        height: 50px;
    }

    #feature .fe-box h6,
    #feature .fe-box1 h6,
    #feature .fe-box2 h6,
    #feature .fe-box3 h6,
    #feature .fe-boxs h6 {
        font-size: 12px;
        padding: 8px 6px 4px 6px;
    }

    .pro-container {
        gap: 15px;
    }

    #product1 .pro {
        width: 100%;
        min-width: unset;
        margin: 10px 0;
    }

    .small-img-group {
        gap: 8px;
        padding: 10px 0;
    }

    .small-img-col {
        width: 70px;
    }

    .zoom-controls {
        bottom: 8px;
        right: 8px;
        gap: 5px;
    }

    .zoom-btn {
        width: 32px;
        height: 32px;
    }

    .zoom-btn i {
        font-size: 14px;
    }

    footer {
        padding: 30px 15px;
    }

    footer .col,
    footer .col1 {
        padding-right: 0;
        padding-top: 0;
    }

    footer img {
        width: 100px;
        height: 80px;
    }
}

@media screen and (max-width: 375px) {

    /* iPhone SE, 6/7/8 */
    .header .logo img {
        width: 100px;
        height: 40px;
    }

    section .content h1 {
        font-size: 24px;
        line-height: 35px;
    }

    .body .content h1 span {
        font-size: 16px;
    }

    .body .content button {
        padding: 10px 20px;
        font-size: 14px;
    }

    #feature .fe-box,
    #feature .fe-box1,
    #feature .fe-box2,
    #feature .fe-box3,
    #feature .fe-boxs {
        width: 100%;
        max-width: 250px;
    }
}

/* Android Device Specific */
@media screen and (min-width: 360px) and (max-width: 412px) {

    /* Common Android sizes */
    .header {
        padding: 8px;
    }

    .navBar ul li a {
        font-size: 16px;
    }

    section .content h1 {
        font-size: 26px;
        line-height: 38px;
    }

    #feature .fe-box,
    #feature .fe-box1,
    #feature .fe-box2,
    #feature .fe-box3,
    #feature .fe-boxs {
        width: calc(50% - 8px);
        padding: 12px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .navBar ul li {
        padding: 10px 0;
    }

    .navBar ul li a {
        padding: 10px 15px;
        display: block;
    }

    .zoom-controls {
        opacity: 1;
        background: rgba(255, 255, 255, 0.8);
        padding: 5px;
        border-radius: 20px;
    }

    .zoom-btn {
        width: 36px;
        height: 36px;
    }

    .zoom-btn:active {
        transform: scale(0.95);
    }

    #feature .fe-box:active,
    #feature .fe-box1:active,
    #feature .fe-box2:active,
    #feature .fe-box3:active,
    #feature .fe-boxs:active {
        transform: scale(0.98);
    }

    .small-img-col:active {
        transform: scale(0.95);
    }
}

/* High-DPI Screen Optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .header .logo img,
    footer img {
        image-rendering: -webkit-optimize-contrast;
    }

    .zoomable-img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Safe Area Insets for Modern Mobile Devices */
@supports (padding: max(0px)) {
    .header {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }

    section {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    footer {
        display: flex;
                flex-wrap: wrap;

        padding-left: max(30px, env(safe-area-inset-left));
        padding-right: max(30px, env(safe-area-inset-right));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Prevent Overscroll */
html {
    overscroll-behavior: none;
}

/* Improve Scrolling Performance */
.pro-container,
.small-img-group {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Prevent Text Size Adjustment */
html {
    -webkit-text-size-adjust: 100%;
}

/* Simple on-scroll text reveal */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none !important;
        transition: none !important;
    }
}

/* Final override: center RTL footer on mobile */
@media screen and (max-width: 768px) {
    [dir="rtl"] footer.section-p1,
    [dir="rtl"] footer {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    [dir="rtl"] footer .col,
    [dir="rtl"] footer .col1,
    [dir="rtl"] footer .col2 {
        width: 100% !important;
        padding: 0 !important;
        margin: 10px 0 !important;
        align-items: center !important;
        text-align: center !important;
    }
}