* {
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #d5cbba;
    color: #fff;
}

#header {
    width: 100%;
    height: 100vh;
    /* background-image: url("images/background.jpg"); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #000000;
}

.container {
    padding: 10px 10%;

}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    width: 200px;

}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #7B3F00;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    margin-top: 15%;
    font-size: 30px;
}

.header-text h1 {
    font-size: 80px;
    margin-top: 20px;
}

.header-text h1 span {
    color: #7B3F00;
}

/* ---------------about-section--------------- */

#about {
    padding: 80px 0;
    color: rgb(0, 0, 0);
    font-size: 25px;
    font-weight: 600;

}

.info {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #7B3F00;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
    font-size: 20px;
}

.tab-contents ul li span {
    color: rgb(175, 11, 11);
    font-size: 15px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/* ---------------------counter----------------- */

#service {
    padding: 10px 0;
}

#service h1 {
    color: #000000;
    text-align: center;

}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.service-list div {
    background: #b39b81;
    padding: 40px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: #000;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.service-list div i {
    font-size: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.service-list div a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

span.num {
    color: #7B3F00;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 3em;
}

span.text {
    color: #000000;
    font-size: 1em;
    text-align: center;
    padding: 0.7em 0;
    font-weight: 600;
    line-height: 0;
}

/* --------services-------------- */
#services {
    padding: 30px 0;
}

#services h1 {
    color: #000000;
    text-align: center;

}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background: #b39b81;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i {
    font-size: 40px;
    margin-bottom: 30px;
}

.services-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
    
}

.services-list div a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.services-list div:hover {
    background: #7B3F00;
    transform: translateY(-10px);
   
}

/* ----------------portfolio-------------- */

#portfolio {
    padding: 50px 0;
}

#portfolio h1 {
    color: #000;
    text-align: center;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #7B3F00);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: 0.5s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    margin-top: 20px;
    color: #7B3F00;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    padding: 14px 50px;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 6px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    transition: background 0.3s;
}

.btn:hover {
    background: #7B3F00;
}

/* -------------------Contact-Information---------------------------- */

.contact-left {
    flex-basis: 35%;
}

.contact-left h1 {
    color: #000;
    text-align: center;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
    color: #000;
}

.contact-left p i {
    color: #7B3F00;
    margin-right: 15px;
    font-size: 25px;
    
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #7B3F00;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #000000;
    transform: translateY(-5px);
}

.btn.btn2 {
    display: inline-block;
    background: #7B3F00;
}

.contact-right form {
    width: 100%;
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #b39b81;
    padding: 15px;
    margin: 15px 0;
    color: white;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    font-weight: 300;
    margin-top: 20px;
    color: #000;
}

.location {
    margin-left: -4%;
    margin-top: 5%;
    /* height: 60px;
    width: 60px; */
}

.location p {
    margin-top: -10%;
    margin-left: 13%;
}

/* --------------------swiper------------------------ */
/* --------------------swiper------------------------ */

/* Default styles for all screens */
.swiper {
    width: 83%;
    height: 100%;
    padding: 50px 20px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #d5cbba;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

.containerr h2 {
    color: #000;
    text-align: center;
    font-size: 30px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-client-msg {
    padding: 1rem 4rem;
    background: #b39b81;
    border-radius: 1rem;
    text-align: left;
    box-shadow: 2px 5px #7B3F00;
    position: relative;
}

.swiper-client-msg::after {
    content: "\f10d";
    position: absolute;
    bottom: 10rem;
    left: 25%;
    border: 5rem solid var(--swiper-color, #7B3F00);
    border-color: transparent;
    border-top-color: #7B3F00;
}

.swiper-client-msg p::before {
    content: "\f10d";
    position: absolute;
    top: 0;
    left: 1rem;
    font-size: 2rem;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #7B3F00;
}

.swiper-client-msg p::after {
    content: "\f10e";
    position: absolute;
    bottom: 0;
    right: 3rem;
    font-size: 2rem;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #7B3F00;
}

.swiper-client-data {
    align-items: center;
    margin-top: 1rem;
    gap: 3.2rem;
}

.swiper-slide img {
    max-width: 10rem;
    height: 7.5rem;
    border-radius: 50%;
    border: 0.5rem solid var(--swiper-color, #7B3F00);
}

/* Responsive styles for all screens */
@media screen and (max-width: 1200px) {
    .swiper {
        width: 90%;
        padding: 40px 15px;
    }
}

@media screen and (max-width: 768px) {
    .swiper {
        width: 100%;
        padding: 30px 10px;
    }

    .swiper-slide img {
        max-width: 100%;
        height: auto;
    }

    .swiper-client-msg::after {
        bottom: 8rem;
        left: 20%;
        border: 3rem solid var(--swiper-color, #7B3F00);
    }

    .swiper-client-msg {
        padding: 1rem 2rem;
    }

    .swiper-client-msg p::before,
    .swiper-client-msg p::after {
        font-size: 1.5rem;
    }

    .swiper-client-data {
        gap: 2rem;
    }

    .swiper-slide img {
        max-width: 8rem;
        height: 6rem;
        border-width: 0.3rem;
    }
}

/* Responsive styles for mobile phones */
@media screen and (max-width: 480px) {
    .swiper {
        padding: 20px 5px;
    }

    .containerr h2 {
        font-size: 24px;
    }

    .swiper-client-msg {
        padding: 1rem;
    }

    .swiper-client-msg::after {
        bottom: 6rem;
        left: 15%;
        border: 2rem solid var(--swiper-color, #7B3F00);
    }

    .swiper-client-msg p::before,
    .swiper-client-msg p::after {
        font-size: 1.2rem;
    }

    .swiper-client-data {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .swiper-slide img {
        max-width: 6rem;
        height: 4.5rem;
        border-width: 0.2rem;
    }

    .swiper-client-msg p {
        font-size: 0.9rem;
    }
}

/* Add more media queries for other screen sizes as needed */


/* ------------Responsiveness-for-small-screens--------------- */

nav .fa-solid {
    display: none;
}

@media only screen and (max-width: 600px) {
    #header {
        /* background-image: url("images/phone-background.jpg"); */
        background-color: #d5cbba;
    }

    .header-text {
        margin-top: 50%;
        font-size: 25px;
    }

    .header-text h1 {
        font-size: 55px;
    }

    nav .fa-solid {
        display: block;
        font-size: 25px;
    }

    nav ul {
        background: #7B3F00;
        position: fixed;
        top: 0;
        right: -150px;
        width: 150px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul .fa-solid {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .about-col-2 {
        font-size: 2px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-1 {
        margin-bottom: 30px;
    }

    .about-col-2 {
        font-size: 14px;
    }

    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }

    .copyright {
        font-size: 14px;
    }
}

#msg {
    color: green;
    margin-top: -10px;
    display: block;
}



/* ----------------------sci-fi------------------------ */
.svg-frame {
    position: absolute;
    width: 1200px; /* Fixed width for larger screens */
    height: 75%; /* Relative height */
    transform-style: preserve-3d;
    display: flex;
    justify-content: flex-end; /* Align to the right */
    align-items: flex-end; /* Align to the bottom */
    animation: change-view 2s ease-in infinite;
}

svg {
    position: absolute;
    transition: 0.5s;
    transform-origin: center;
    width: 450px; /* Fixed size for larger screens */
    height: 450px; /* Fixed size for larger screens */
    fill: none;
    animation: change-view 5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 12px #7B3F00);
}

#big-centro,
#outter1,
#solo-lines,
#center,
#outter-center,
#bottom-dots,
#center-lines,
#squares,
#top-dots {
    transform-origin: center;
    animation: rotate 4s ease-in-out infinite alternate;
}

#big-centro {
    animation-delay: -1.5s;
}

#outter1 {
    animation-delay: -1.2s;
}

#center {
    animation-delay: -2.2s;
}

#bottom-dots,
#top-dots {
    animation-duration: 7s;
}

#center-lines,
#outter-center {
    animation-duration: 6s;
    animation-delay: -3s;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes change-view {
    0%,
    50% {
        transform: rotate(-0deg) skew(00deg) translateX(calc(0 * var(--i))) translateY(calc(-0px * var(--i)));
    }

    70%,
    100% {
        transform: rotate(-80deg) skew(30deg) translateX(calc(45px * var(--i))) translateY(calc(-35px * var(--i)));
    }
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .svg-frame {
        display: none; /* Completely hide the SVG on mobile screens */
    }
}


