* img {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}


*{
    margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Merienda One', cursive;
}
html{
font-size: 62.5%;
scroll-behavior: smooth;
}
body{
position:relative;
height:auto;
width:100%;
overflow-x:hidden ;
}
.sec1{
position: relative;
height: 90vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
background:linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)), url(https://images.unsplash.com/photo-1504326008149-71dbc00aa3ae?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.s1-1{
    width: 20px;
    height: 20px;
    color: wheat;
}
.sec1 .fa{
display:flex;
justify-content:center;
align-items:center;
position:fixed;
bottom:700px;
right:40px;
height:50px;
width:50px;
background:red;
border-radius:50%;
color:#fff;
box-shadow:10px 10px 10px rgba(0,0,0,.5);
background-position:center;
background-repeat:no-repeat;
visibility:hidden;
opacity:0;
font-size:3rem;
/*cursor:pointer;*/
transition:.3s;
z-index:3000;


}
.sec1 .fa.active{
visibility:visible;
opacity:1;
bottom:40px;
}
.context i{
width: 20px;
}

.bg{
position: fixed;
top: 0;
left: -140%;
height: 100%;
width: 100%;
z-index: 100;
background: #333;
display: flex;
justify-content: center;
align-items: center;
transform: skew(-20deg);
transition: .5s;
box-shadow: 0 0 20rem #000;
}
.bg.active{
left: -40%;
}
.bg .navigation{
position: relative;
transform: translateX(13rem) translateY(-5rem);
}
.bg .navigation ul{
list-style-type: none;
}
.bg .navigation ul li{
position: relative;
margin: 3rem 0;
transition: .5s;
}
.bg .navigation ul li a{
position: relative;
color: #fff;
text-decoration: none;
font-size: 3rem;
text-transform: uppercase;
transition: .5s;
}
.bg .navigation ul li a:hover{
color: rgb(102, 89, 216);
transform: translateX(4rem);
}
.bg .navigation ul li:hover{
transform: translateX(4rem);
}
.nav{
position: fixed;
top: 0;
width: 80%;
margin: 2rem auto;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 200;
background: transparent;
transition: .5s;
}
.nav.sticky{
background:#8c7ae6;
padding:2rem;
box-shadow: 1rem 1rem 3rem #000;
}
.nav h2{
color: #fff;
font-size: 3rem;
font-weight: 800;
letter-spacing: .2rem;
}
.nav .navBar ul{
display: flex;
}
.nav .navBar ul li{
list-style: none;
margin: 0 2rem;
}
.nav .navBar ul li a{
color: #fff;
text-decoration: none;
font-size: 1.6rem;
}
.nav .menu{
width: 6rem;
height: 6rem;
display: none;
cursor: pointer;
background: url(https://img.icons8.com/nolan/50/menu.png);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
transition:.3s ;
}
.nav .menu.active{
background: url(https://img.icons8.com/ultraviolet/40/000000/close-window.png);
width: 5rem;
height: 5rem;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}

.context a i{
color: rgb(126, 158, 247);
font-size: 2rem;
margin-right: 1rem;
}

.context{
position: absolute;
left: 8%;
top: 25%;
color: #fff;
max-width: 60rem;
}
.context h2{
font-size: 5rem;
margin: 0;
}
.context h1{
font-size: 7rem;
margin: 0;
padding: 0;
}
.context h4{
font-size: 2rem;
margin-bottom: 3rem;
}
.context a{
background: linear-gradient(blue,pink);
color: #fff;
text-transform: uppercase;
padding: 15px 2rem;
text-decoration: none;
/*padding: 1rem 2rem;*/

font-weight: 700;
}
/* .context a:hover{
animation: fo 2s linear 1;
} */
@keyframes fo{
0%{
margin-left: 30px;
opacity: 1;
}
100%{
opacity: 0;
margin-left: 200px;
}
}


/* Button on SEC 2 */

/* ======================================== */

/* About Section */
.sec2 {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    /* padding: 6rem 2rem; */
    overflow: hidden;
}

.sec2 .head {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 3.4rem;
    color: #1e90ff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.sec2 .head:hover {
    transform: scale(1.05);
}

.sec2 .container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.sec2 .container .content {
    max-width: 45%;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.sec2 .container .content:hover {
    transform: translateY(-10px);
}

.content-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #1e90ff;
    border-radius: 2px;
}

.sec2 .container .content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.intro-text span {
    color: #1e90ff;
    font-weight: 700;
}

.highlight {
    color: #e74c3c;
    font-weight: 600;
    transition: color 0.3s ease;
}

.highlight:hover {
    color: #1e90ff;
}

.sec2 .container .image1 {
    max-width: 45%;
    height: 500px;
    position: relative;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.image-wrapper:hover {
    transform: scale(1.03);
}

.sec2 .container .image1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Button Styling */
.button-73 {
    background: linear-gradient(90deg, #1e90ff 0%, #00b4db 100%);
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.4);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-73:hover {
    background: linear-gradient(90deg, #00b4db 0%, #1e90ff 100%);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.6);
    transform: translateY(-3px);
}

.button-73:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sec2 .head {
        font-size: 3rem;
        padding: 1rem 2rem;
    }
    
    .sec2 .container {
        flex-direction: column;
        padding: 2rem;
    }
    
    .sec2 .container .content,
    .sec2 .container .image1 {
        max-width: 100%;
    }
    
    .content-title {
        font-size: 2.5rem;
    }
    
    .button-73 {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
    }
}


/*----our services section-----*/


/* Featured Projects Section (using Services UI) */
.sec3 {
    position: relative;
    width: 100%;
    padding: 6rem 2rem;
    background: #f9fbfd;
    overflow: hidden;
}

.sec3 .head {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 4.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.sec3 .info {
    font-size: 1.3rem;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sec3 .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.sec3 .box {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.sec3 .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.sec3 .content {
    padding: 2rem;
    text-align: center;
}

.sec3 .content img {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
}

.sec3 .content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sec3 .content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sec3 .head {
        font-size: 3rem;
    }
    
    .sec3 .info {
        font-size: 1.1rem;
    }
    
    .sec3 .container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .sec3 .content h2 {
        font-size: 1.5rem;
    }
    
    .sec3 .content p {
        font-size: 1rem;
    }
}


/*------contact Me section-----------*/
.sec6{
position: relative;
height: auto;
width: 100%;
padding: 5rem;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background: #000;
}
.sec6 .head{
color: #fff;
font-size: 5rem;
}
.sec6 .info{
color: #fff;
font-size: 1.4rem;
}
.sec6 .container{
display: flex;
width: 90%;
justify-content: space-evenly;
align-items: center;
flex-wrap: wrap;
}
.sec6 .container .box{
max-width: 50%;
margin: 2rem;
color: #fff;
}
.sec6 .container .box1 h2{
font-size: 2rem;
}
.sec6 .container .box1 .book{
margin: 2rem 0;
}
.sec6 .container .box1 .book .page1 i{
color: rgb(126, 158, 247);
font-size: 2rem;
margin-right: 1rem;
}
.sec6 .container .box1 .book .page1 span{
font-size: 2rem;
}
.sec6 .container .box1 .book .page2{
text-align:center;
}
.sec6 .container .box2{
width: 60rem;
}
.sec6 .container .box2 form{
display: flex;
justify-content: space-evenly;
flex-direction: column;
align-items: center;
width: 100%;
}
.sec6 .container .box2 form input{
width: 100%;
height: 3rem;
border: none;
outline: none;
background: none;
background: #333;
margin: 1rem;
text-align: center;
color: #777;
}
.sec6 .container .box2 form .message{
height: 10rem;
}
.sec6 .container .box2 form button{
background: none;
outline: none;
border: none;
background:rgb(95, 121, 238);
color: #fff;
padding: 2rem 3rem;
}
.sec6 .container .box2 form h2{
font-size: 2rem;
}

.book .logo-fa{
    width: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.book .logo-fa i{
    padding: 10px;
}
.book .logo-fa a{
    color: #fff;
}
/* Add this to your existing style.css */
.form-message {
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    color: #28a745; /* Green for success */
    display: block;
}

.form-message.error {
    color: #dc3545; /* Red for error */
    display: block;
}

.form-message.info {
    color: #007bff; /* Blue for loading */
    display: block;
}

/*------!contact Me section-----------*/



/*-----media query works here------*/
@media(max-width:991px){
html{
    font-size: 55%;
}
.sec2 .container .content {
    max-width: 80%;
}
.sec2 .container .image1 {
    max-width: 100%;
}
.sec5 .container .box {
    max-width: 80%;
}
.sec3 .container{
    grid-template-columns: repeat(auto-fill,minmax(50%,1fr));
    grid-template-rows: minmax(auto,auto);
}
.sec4 .container{
    grid-template-columns: repeat(auto-fill,minmax(50%,1fr));
    grid-template-rows: minmax(auto,auto);
}
.sec2 .container .content {
    margin: 2rem 0;
    max-width: 50%;
}
}
@media(max-width:768px){
html{
    font-size: 45%;
}
}
@media(max-width:650px){
html{
    font-size: 45%;
}
.nav .menu{
    display: inline-block;
}
.nav .navBar ul {
    display: none;
}
.sec6 .container {
    flex-direction: column;
}
.sec6 .container .box {
    max-width: 100%;
}
.sec2 .container .content {
    max-width: 100%;
}
.sec5 .container {
    width: 100%;
}
.sec4 .head {
    font-size: 4rem;
}
.sec2 .container {
    width: 100%;
}
.sec2 .container .content {
    margin: 2rem 0;
}
.sec5 {
    padding: 2rem;
}
.sec4 .head {
    font-size: 3.5rem;
}
.nav.sticky {
    width: 95%;
}
.sec3 {
    padding: 1rem;
}
}