@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@700&family=Jomhuria&family=Open+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Roboto:wght@700&family=Work+Sans:wght@200;300;400;500;600;700;800&display=swap');

:root {
    --main-color: #ff6600;
    --black: #0000;
    --light-color: white;
    --bg: black;
    --border: .1rem solid rgba(0, 0, 0, .1);
    --box-shadow: 0 .5rem 1.5rem rgba(38, 12, 131, 0.1)c;
    background-color: #202020;
}

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .3s ease-out;
}

/* global section ends */

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 9rem;
    overflow-x: hidden;
}

section {
    padding: 2rem 9%;
}

.heading {
    text-align: center;
    padding-bottom: 3rem;
    font-size: 4rem;
    color: var(--black);
}

.heading span {
    color: var(--main-color);
    border-radius: .5rem;
    background: var(--bg);
    padding: 0 2%;
}

.btn {
    width: 170px;
    text-align: center;
    margin-top: 1rem;
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: var(--main-color);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0%;
    background: var(--black);
    z-index: -1;
    transition: .2s ease-out;
}

.btn:hover::before {
    left: 0;
    width: 100%;
}

ul {
    list-style: none;
}

.up {
    position: fixed;
    bottom: 10px;
    right: -50px;
    background-color: black;
    color: #ff6600;
    font-weight: bold;
    font-size: 2.5rem;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.up.show {
    right: 20px;
}

/* global section ends */

/* header section starts */

.upHeader {
    background-color:white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 9%;
}

.upHeader .upNav a {
    font-size: 1.5rem;
    color: #3A3C39;
    font-weight: bold;
    padding: 0 1rem;
}

.upHeader .upNav a:not(:first-child) {
    border-left: 2px solid #ff6600;
}

.upHeader .upNav a i {
    font-size: 2rem;
    color: #ff6600;
    font-weight: bold;
}

.upHeader .upNav a:hover {
    color: var(--main-color);
}

.upHeader .icons-contact a {
    font-size: 2rem;
    color: #3A3C39;
    padding: 0 0.5rem;
}

.upHeader .icons-contact .fa-facebook-f:hover {
    color: #1877f2;
}

.upHeader .icons-contact .fa-twitter:hover {
    color: #1da1f2;
}

.upHeader .icons-contact .fa-youtube:hover {
    color: #ff0000;
}

.upHeader .icons-contact .fa-linkedin:hover {
    color: #3b82f680;
}

.upHeader .icons-contact .fa-snapchat:hover {
    color: #fffc00;
}

.upHeader .icons-contact .fa-instagram:hover {
    color: rgba(255, 0, 188, 1);
}

/* header section starts */

/* header section starts */

.header {
    position: relative;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: black;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 9%;
}

.header.sticky {
    position: fixed;
}

.header .logo {
    width: 100px;
}

.header .logo img {
    width: 95%;
}

.header .navbar a {
    font-size: 2rem;
    color: white;
    margin-left: 2rem;
    font-weight: bold;
}

.header .navbar a:hover {
    color: var(--main-color);
}

#menu-btn {
    cursor: pointer;
    font-size: 2.5rem;
    padding: 1rem 1.3rem;
    border-radius: .5rem;
    color: var(--main-color);
    background: var(--bg);
    display: none;
}

#menu-btn:hover {
    color: #fff;
    background: var(--main-color);
}

/* header section starts */

/* home section starts */

.home {
    height: calc(100vh - 140px);
    background-image: url("../images/1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* padding-top: 10rem; */
    position: relative;
}

.home:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(0 0 0 / 50%);
}

.home .homeSection {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.home .homeSection:hover .prev,
.home .homeSection:hover .next {
    display: block;
}

.home .homeSection .content {
    display: none;
    opacity: 0;
}

.home .homeSection .active {
    display: flex;
    width: 80%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    animation: left-to-right 2s forwards;
    transform: translate(-500px, 0) scale(0);
    opacity: 0;
    position: absolute;
    
}

@keyframes left-to-right {
    60% {
        transform: translate(0, 0) scale(1);
        color: #fff;
    }

    80% {
        transform: translate(0, 0) scale(1);
        color: #fff;
    }

    99% {
        transform: translate(0, 0) scale(1);
        color: #fff;
    }

    100% {
        transform: translate(0, 0) scale(1);
        color: #fff;
        opacity: 1;
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.75);
        opacity: 0.25;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes movingTopToBottom {
    0% {
        top: 150px;
        opacity: 0.20;
    }

    30% {
        top: 100px;
        opacity: 0.40;
    }

    70% {
        top: 50px;
        opacity: 0.80;
    }

    100% {
        top: 0px;
        opacity: 1;
    }
}

.home .homeSection .content h1 {
    font-size: 6rem;
    color: white;
    line-height: 1.5;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.home .homeSection .content:nth-child(3) h1 {
    font-size: 5rem;
    margin-bottom: 40px;
}

.home .homeSection .content p {
    font-size: 2.5rem;
    color: #202020;
    line-height: 1.8;
    font-weight: bold;
    padding: 1rem 0;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.home .homeSection .content .button {
    width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.home .homeSection .prev,
.home .homeSection .next {
    font-weight: 900;
    color: white;
    cursor: pointer;
    font-size: 40px;
    position: absolute;
    display: none;
}

.home .homeSection .prev {
    left: 70px;
}

.home .homeSection .next {
    right: 70px;
}

.home .homeSection .next:hover,
.home .homeSection .prev:hover {
    animation: bouncing 1.5s linear infinite;
}

.home .homeSection .prev.disabled,
.home .homeSection .next.disabled {
    opacity: 0.4;
    cursor: no-drop;
    animation: none;
}

@keyframes bouncing {

    0%,
    10%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40%,
    60% {
        transform: translateX(-15px);
    }
}

#slide-number {
    display: none;
}


.home .indicators {
    width: 60%;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.home .indicators ul {
    margin: 0;
    text-align: center;
}

.home .indicators ul li {
    display: inline-block;
    height: 15px;
    width: 15px;
    border: 2px solid #ff6600;
    border-radius: 50%;
    margin: 0 2px;
    cursor: pointer;
}

.home .indicators ul li.active {
    background-color: white;
}

/* home section ends */

/* services section starts */

.services .box-container {
    
    align-self: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap: 1.5rem;
}

.services .box-container .box {
    text-align: center;
    border: var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    padding:  3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.services .box-container .box img {
    height: 10rem;
}

.services .box-container .box h3 {
   
    font-size: 2.5rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.services .box-container .box p {
    color: var(--light-color);
    font-size: 1.5rem;
    padding-bottom: 4rem;
    align-self: center;
    
    line-height: 1.8;
}

/* services section ends */

/* about section starts */

.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.about .row .image {
    flex: 1 1 45rem;
    padding-bottom: 13rem;
    
  
}

.about .row .image img {
    width: 100%;
    border-radius: 2rem;
}

.about .row .content {
    flex: 1 1 45rem;
}

.about .row .content .title {
    font-size: 3rem;
    color: var(--black);
}

.about .row .content p {
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.8;
    padding: 1rem 0;
    text-align: justify;
}

.about .row .content .icons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
}

.about .row .content .icons-container .icons {
    flex: 1 1 15rem;
    border-radius: .5rem;
    border: var(--border);
    padding: 1.5rem;
    text-align: center;
}

.about .row .content .icons-container .icons img {
    
    color: var(--main-color);
    height: 3rem;
    width: 3rem;
    line-height: 5rem;
    font-size: 2rem;
}

.about .row .content .icons-container .icons h2 {
    color: var(--light-color);
    font-size: 1.8rem;
    padding-top: 1rem;
    text-transform: uppercase;
}

/* about section starts */

/* portfolio section starts */

.portfolio .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
    gap: 1.5rem;
}

.portfolio .box-container .box {
    height: 30rem;
    border-radius: .5rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--box-shadow);
}

.portfolio .box-container .box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    
}

.portfolio .box-container .box span {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-weight: bolder;
    font-size: 5rem;
    color: var(--black);
}

.portfolio .box-container .box .content {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 6rem;
    left: 0;
    transition-delay: .3s;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.portfolio .box-container .box:hover .content {
    top: 0;
    opacity: 1;
}

.portfolio .box-container .box .content h3 {
    font-size: 2.5rem;
    padding-bottom: .5rem;
    color: var(--black);
}

.portfolio .box-container .box .content p {
    font-size: 1.5rem;
    color: var(--light-color);
}

.portfolio .box-container .box::before {
    height: 100%;
    width: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    clip-path: circle(30% at 93% 0);
    transition: .3s linear;
}

.portfolio .box-container .box:hover::before {
    clip-path: circle(100%);
}

/* portfolio section starts */

/* pricing section starts */

/* .pricing .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.pricing .box-container .box {
    text-align: center;
    padding: 2rem;
    border-radius: .5rem;
    border: var(--border);
    box-shadow: var(--box-shadow);
}

.pricing .box-container .box h3 {
    color: var(--black);
    font-size: 2.5rem;
}

.pricing .box-container .box img {
    margin: 2.5rem 0;
    height: 15rem;
}

.pricing .box-container .box .price {
    font-size: 4rem;
    font-weight: bolder;
    color: var(--main-color);
}

.pricing .box-container .box .price span {
    font-size: 2rem;
    font-weight: lighter;
}

.pricing .box-container .box ul {
    padding: 1rem 0;
    list-style: none;
}

.pricing .box-container .box ul li {
    padding: 1rem 0;
    font-size: 1.7rem;
    color: var(--light-color);
} */

/* pricing section ends */

/* review section starts */

/* .review .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.review .box-container .box {
    padding: 2rem;
    border-radius: .5rem;
    border: var(--border);
    box-shadow: var(--box-shadow);
}

.review .box-container .box .user {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
}

.review .box-container .box .user img {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    margin-right: 1rem;
}

.review .box-container .box .user h3 {
    font-size: 2.2rem;
    color: var(--black);
    padding-bottom: .5rem;
}

.review .box-container .box .user .stars i {
    font-size: 1.5rem;
    color: var(--main-color);
}

.review .box-container .box .fa-quote-right {
    margin-left: auto;
    font-size: 5rem;
    color: var(--bg);
}

.review .box-container .box p {
    padding-top: 1rem;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--light-color);
    font-style: italic;
} */

/* review section ends */

/* contact section starts */

.contact .icons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.contact .icons-container .icons {
    padding: 2.5rem;
    text-align: center;
    border: var(--border);
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
}

.contact .icons-container .icons i {
    height: 6rem;
    width: 6rem;
    line-height: 6rem;
    font-size: 2.5rem;
    color: var(--main-color);
    background: var(--bg);
    border-radius: 50%;
}

.contact .icons-container .icons h3 {
    color: var(--black);
    padding: 1rem 0;
    font-size: 2.5rem;
}

.contact .icons-container .icons p {
    color: var(--light-color);
    line-height: 1.8;
    font-size: 1.5rem;
}

.contact .row {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact .row .map {
    flex: 1 1 45rem;
    width: 100%;
    padding: 2rem;
    border: var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

h1 {
    margin-bottom: 20px;
}

form label {
    display: block;
    margin: 10px 0 5px;
}

input[type="text"], 
input[type="email"], 
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #45a049;
}

/* contact section ends */

/* footer section starts */

.footer {
    margin-top: 1rem;
    background: var(--bg);
    padding-bottom: 9rem;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
    gap: 1.5rem;
}

.footer .box-container .box h3 {
    font-size: 2.5rem;
    padding: 1rem 0;
    color: var(--black);
}

.footer .box-container .box a {
    display: block;
    font-size: 1.5rem;
    padding: 1rem 0;
    color: var(--light-color);
}

.footer .box-container .box a i {
    padding-right: .5rem;
    color: var(--main-color);
}

.footer .box-container .box a:hover i {
    padding-right: 2rem;
}

.footer .credit {
    color: var(--black);
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    font-size: 2rem;
}

.footer .credit span a {
    color: white;
    background-color: green;
    padding: 5px;
}

.footer .credit span a:hover {
    color: white;
    background-color: indigo;
    padding: 5px;
}


/* footer section ends */


.box {
    background-color: black;
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center; /* Centers the text */
    position: relative; /* Needed for the animation */
    animation: fadeInBox 2s ease-in-out; /* Animation for the box */
}

/* Animation keyframes */
@keyframes fadeInBox {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Box starts a bit higher */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Box reaches its original position */
    }
}

h3 {
    margin-top: 0;
}

/* Optional: If you want to center the text vertically as well */
p {
    text-align: center;
}






/* media queries  */
@media (max-width:768px) {

    .about .row .image {
        padding-bottom: 0;
    }

    .about h1 {
        text-align: center;
        
    }
    .services h1 {
        text-align: center;
    }
    .contact h1 {
        text-align: center;
    }
    .home {
        text-align: center;
    }

    .home .homeSection .content:nth-child(3) {
        align-items: center;
    }

    .upHeader {
        display: none;
    }
}

@media (max-width:991px) {

    html {
        font-size: 55%;
    }

    .header {
        padding: 2rem;
    }

    section {
        padding: 2rem;
    }

    .home .next,
    .home .prev {
        display: none;
    }

}

@media (max-width:768px) {

    #menu-btn {
        display: initial;
    }

    .header .navbar {
        position: absolute;
        top: 115%;
        right: 2rem;
        background: #fff;
        box-shadow: var(--box-shadow);
        border: var(--border);
        border-radius: .5rem;
        width: 30rem;
        transform: scale(0);
        transform-origin: top right;
        opacity: 0;
    }

    .header .navbar.active {
        transform: scale(1);
        opacity: 1;
    }

    .header .navbar a {
        font-size: 2rem;
        display: block;
        padding: 1rem;
        margin: 1rem;
        border-radius: .5rem;
        color: #3A3C39;
    }

    .header .navbar a:hover {
        background: var(--bg);
    }

    .home .homeSection .active {
        text-align: center;
    }

    .home .homeSection .content h1 {
        font-size: 4rem;
    }

    .home .homeSection .content p {
        font-size: 1.5rem;
    }

    .home .homeSection .content .button {
        width: fit-content;
        flex-direction: column;
    }

}

@media (max-width:450px) {

    html {
        font-size: 50%;
    }

}
