/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;500;600;700;800&family=Rajdhani:wght@300;400;500;600;700&family=Rubik:wght@300;400;500;600;700&display=swap');
html {
    scroll-behavior: smooth;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
    transition: 0.3s;
}
*::selection{
    background-color: #E2CEB1;
    color: #fff;
}

html{
    scroll-behavior: smooth;
}
.contanier{
    width: 85%;
    margin: auto;
}
.btn{
    padding: 15px 30px;
    color: #E2CEB1;
    font-weight: 500;
    background-color: #412f26;
    border-radius: 10px;
    border: 1px solid #E2CEB1;
}

.btn:hover{
    color: #212121;
    background: #fff;
}

section{
    padding: 90px 0 40px;
}

.sec-top{
    text-align: center;
    margin-bottom: 70px;
}
.sec-top h1{
    color: #1c1e22;
    font-size: 40px;
}
.sec-top h1 span{
    color: #43392F;
}

.boxs{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.boxs .box{
    width: 30%;
}
/* start Header */

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;

}
header.active{
    background-color: #ebe8de;
    border-bottom: 1px solid #E2CEB1;
}
header nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
header nav .nav-links a{
    color: #412f26;
    margin-left: 50px;
}
header nav .nav-links a:hover,
header nav .nav-links a.active{
    color: #E2CEB1;
}

#btn-menu{
    display: none;
}

/* start Hero */
.hero .content, .hero .hero-img img {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.hero .content {
    animation-delay: 0.5s;
}

.hero .hero-img img {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero{
    padding-top: 80px;
    background: url(img/logo/Arvsco1.png);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero .contanier{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero .content h4{
    color: #E2CEB1;
    font-size: 30px;
}
.hero .content h1{
    color: #412f26;
    font-size: 65px;
    margin: 20px 0 10px;
}
.hero .content p{
    color: #E2CEB1;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 70px;
}
.hero .content .btn{
    font-size: 18px;
}

/* Add this CSS to style.css */

#typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #E2CEB1; /* Adjust the color to match your design */
    animation: typing 4s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #E2CEB1; }
}
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #E2CEB1; }
}

#typing-text {
    animation: typing 4s steps(40, end), blink-caret .75s step-end infinite;
}


.hero .hero-img img{
    width: 500px;
}
 /* start about */ 

 .about {
    padding: 90px 0 50px;
 }
.about .contanier{
    display: flex;
    justify-content: center;
}
.about .about-img img{
    width: 450px;
    border-radius: 10px;
}
.about .content{
    margin-left: 30px;
}
.about .content h1{
    color: #1c1e22;
    font-size: 45px;
}
.about .content h1 span{
    color: #E2CEB1;
}
.about .content h3{
    color: #1c1e22;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
}
.about .content p{
    color: #444;
    line-height: 1.8;
    margin-bottom:70px;
}
/* Add animation to the about section */
.about .content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.about .about-img img {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*about icon*/
.find-me p {
    font-size: 1.2rem;
    color: #E2CEB1; /* Matches the icon color */
    margin-bottom: 10px;
}

/* Enhance social media icons */
.social-icons a {
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    font-size: 2rem;
    color: #E2CEB1;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #43392F; /* Change to preferred hover color */
}

.social-icons a i::after {
    content: attr(title);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    opacity: 0;
    font-size: 0.8rem;
    transition: opacity 0.3s;
    color: #E2CEB1;
}

.social-icons a:hover i::after {
    opacity: 1;
}

/* start Certificate */
.cert .boxs .box{
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}
.cert .boxs .box img{
    width: 100%;
    height: 100%;
}
.cert .boxs .box:hover img{
    transform: scale(1.2);
    rotate: -4deg;
    transition: 0.6s ease-out;
}
.cert .boxs .box .box-hover{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #111111b9;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.6s;
    opacity: 0;
}
.cert .boxs .box:hover .box-hover{
    opacity: 1;
}
.cert .boxs .box .box-hover span{
    color: #fff;
    font-size: 25px;
}


/* start Services */
.services {
    background-color: #f4f4f4;
    padding: 60px 0;
}

.services .sec-top {
    text-align: center;
    margin-bottom: 50px;
}

.services .sec-top h1 {
    font-size: 36px;
    color: #333;
    position: relative;
}

.services .sec-top h1 span {
    color: #E2CEB1;
}

.services .sec-top h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background-color: #E2CEB1;
    margin: 10px auto 0;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #E2CEB1;
    transition: width 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    width: 100%;
}

.service-card i {
    color: #333;
    font-size: 40px;
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
}

.service-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
}

.service-card p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.service-card .btn {
    background-color: #E2CEB1;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card .btn:hover {
    background-color: #d2b9a3;
}


/* start Portfolio */
.portfolio .boxs .box{
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}
.portfolio .boxs .box img{
    width: 100%;
    height: 100%;
}
.portfolio .boxs .box:hover img{
    transform: scale(1.2);
    rotate: -4deg;
    transition: 0.6s ease-out;
}
.portfolio .boxs .box .box-hover{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #111111b9;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.6s;
    opacity: 0;
}
.portfolio .boxs .box:hover .box-hover{
    opacity: 1;
}
.portfolio .boxs .box .box-hover span{
    color: #fff;
    font-size: 25px;
}

/* start Skills*/
/* start Skills*/
.skills {
    background-color: #f4f4f4;
    padding: 60px 0;
}

.skills .sec-top {
    text-align: center;
    margin-bottom: 50px;
}

.skills .sec-top h1 {
    font-size: 36px;
    color: #333;
    position: relative;
}

.skills .sec-top h1 span {
    color: #E2CEB1;
}

.skills .sec-top h1::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background-color: #E2CEB1;
    margin: 10px auto 0;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.skill-card img {
    width: 60px; /* Adjust the size as needed */
    margin-bottom: 15px;
}

.skill-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}


.skill-card i {
    color: #333;
    font-size: 40px;
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
}

.skill-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
}

.skill-card p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.skill-card .btn {
    background-color: #E2CEB1;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.skill-card .btn:hover {
    background-color: #d2b9a3;
}



/* start Contact */

.contact {
    background: #f0f4f9;
    padding: 60px 0;
}

.contact .sec-top {
    text-align: center;
    margin-bottom: 40px;
}

.contact .sec-top h1 {
    font-size: 36px;
    color: #1c1e22;
    margin-bottom: 10px;
}

.contact .sec-top h1 span {
    color: #E2CEB1;
}

.contact .sec-top p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact form {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact .form-group input,
.contact .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact .form-group input:focus,
.contact .form-group textarea:focus {
    border-color: #E2CEB1;
}

.contact .btn-submit {
    background-color: #E2CEB1;
    color: #fff;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact .btn-submit:hover {
    background-color: #d2b9a3;
}

/* Body*/
body {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #E2CEB1;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

/* Fade iN */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-in {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in.appear {
    opacity: 1;
    transform: translateX(0);
}


/*Footer*/
.footer {
    background-color: #1a1a1a;
    color: #E2CEB1;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left h3 {
    margin: 0;
    font-size: 1.5rem;
}

.footer-left p {
    margin: 5px 0;
}

.footer-center .social-icons {
    margin: 20px 0;
}

.footer-center .social-icons a {
    color: #E2CEB1;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-center .social-icons a:hover {
    color: #ffffff;
}

.footer-right p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-center, .footer-right {
        margin-bottom: 20px;
    }
}


/* Media */

@media(max-width:1200px){
    .contanier{
        width: 90%;
    }
    .hero .content h1{
        font-size: 50px;
    }
    .hero .content p{
        font-size: 25px;
    }
    .hero .hero-img img{
        width: 380px;
    }
    .hero{
        padding-bottom: 40px;
    }
    .about .content h3{
        font-size: 20px;
    }
    .about .content p{
        margin-bottom: 50px;
    }
    .about .about-img img{
        width: 380px;
    }
    .services .boxs .box h3{
        font-size: 22px;
    }
    .contact form{
        width: 70%;
    }

}
@media(max-width:900px){
    .hero .content h1{
        font-size: 40px;
    }
    .hero .content p{
        font-size: 22px;
    }
    .hero .hero-img img{
        width: 340px;
    }
    header nav .nav-links a{
        margin-left: 40px;
    }
    .about .contanier{
        flex-direction: column;
        text-align: center;
    }
    .about .about-img img{
        width: 340px;
    }
    .about .about-img {
        margin-bottom: 40px;
    }
    .boxs .box{
        width: 45%;
        margin-bottom: 40px;
    }
    .contact form{
        width: 80%;
    }
}
@media(max-width:780px){
    .hero .contanier{
        flex-direction: column-reverse;
    }
    .hero .hero-img img{
        width: 380px;
    }
    .hero .content h1{
        font-size: 50px;
    }
    .hero .content{
        margin-top: 40px;
        text-align: center;
    }
    
    .btn{
        padding: 12px 25px;
    }
    #btn-menu{
        display: block;
        color: #fff;
        font-size: 40px;

    }
    header nav .nav-links{
        position: absolute;
        top: -350px;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: #1c1e22;
    }
    header nav .nav-links.active{
        top: 100%;
    }
    header nav .nav-links a{
        width: 100%;
        margin: auto;
        padding: 20px;
        text-align: center;
        font-size: 20px;
        border-bottom: 1px solid #444;
    }
    header nav .nav-links a.active,
    header nav .nav-links a:hover{
        background-color: #E2CEB1;
        color: #1c1e22;
    }
}
@media(max-width:670px){
    .hero .content h1{
        font-size: 40px;
    }
    .hero .hero-img img{
        width: 320px;
    }
    .boxs{
        justify-content: center;

    }
    .boxs .box{
        width: 70%;
    }
    .contact form{
        width: 90%;
    }
}
@media(max-width:500px){
    .hero .hero-img img{
        width: 280px;
    }
    .contact form{
        width: 90%;
        justify-content: center;

    }
    .contact form input{
        width: 100%;
    }
}