* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --color-primary: #e31e17;
    --color-white: #eaeaea;
    --color-black: #222;
    --h2-font: 3rem;
    --p-font: 1.1rem;
    --bg-color: #ffffff;
    --text-color: #000;
    --secound-color: #a09dab;
    --main-color: rgb(228, 13, 13);
    --i: 1;
}

body {
    font-size: 16px;
    color: var(--text-color);
}

.btn {
    display: inline-block;
    width: fit-content;
    padding: 12px 28px;
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: var(--color-white);
    letter-spacing: .4px;
    font-weight: 600;
    transition: .4s ease;
    opacity: 0;
    animation: logoAni 1s ease forwards;
    animation-delay: 1.3s;
}

.btn:hover {
    background: transparent;
    color: var(--color-primary);
}

.container {
    max-width: 1620px;
    width: 90%;
    margin: 0 auto;
}

nav {
    width: 100%;
    height: 8rem;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    transition: background-color 0.3s ease;
}

body.scrolling nav {
    background-color: rgba(255, 255, 255, 1.95);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.nav-container ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link li a {
    color: var(--color-black);
    font-size: 17px;
    transition: .4s ease;
    display: inline-block;
    animation: NavliaAni forwards 1s ease;
    animation-delay: calc(.2s * var(--i));
    opacity: 0;    
}

.nav-link li a:hover {
    color: var(--color-primary);
}

.nav-link li .active {
    color: var(--color-primary);
}

.social-link li a {
    height: 40px;
    width: 40px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transform: rotate(45deg);
    transition: .4s ease;   
    animation: socialAni forwards 1s ease;
    animation-delay: calc(.2s * var(--i));
    opacity: 0;    
}

.social-link li a:hover {
    border-color: var(--color-white);
}

.social-link li a i {
    transform: rotate(-45deg);
    font-size: 20px;
    color: var(--color-white);
}

header {
    width: 100;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.header-left {
    max-width: 620px;
    position: relative;
}

.header-left h1 {
    font-size: 54px;
    line-height: 1.2;
    color: var(--color-black);
    animation: H1Ani forwards 1s ease;  
    opacity: 0;    
    animation-delay: 1s;  
}

.header-left h3 {
    font-size: 40px;
    font-weight: 400;
    color: var(--color-primary);
    margin-top: .5rem;
    animation: H1Ani forwards 1s ease;  
    opacity: 0;    
    animation-delay: .8s;  
}

.header-left p {
    margin: 15px 0 30px;
    line-height: 150%;
    font-size: 16px;
    animation: logoAni forwards 1s ease;  
    opacity: 0;    
    animation-delay: .6s; 
}

.header-container {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center; 
    height: 100%; 
    justify-content: space-between;
}

.header-right {
    position: relative;
    width: 450px;
    height: 450px;
    transform: rotate(45deg);
    right: -7%;   
}

.sq-box {
    height: 100%;
    width: 100%;
    border: 25px solid var(--color-primary);
    background: var(--color-white);
    box-shadow: -15px 15px 15px rgba(0, 0, 0, 0.2) ;
    opacity: 0;
    animation: zoomOut 1s ease forwards; 
    animation-delay: 1.3s;
}

.sq-box img {
    position: absolute;
    transform: rotate(-45deg);
    max-width: 700px;
    top: 130px;
    left: -180px;
    opacity: 0;
    animation: carAni forwards 1s ease;
    animation-delay: 1.6s;
}

.sq-box2 {
    position: absolute;
    width: 700px;
    height: 700px;
    background: var(--color-primary);
    transform: rotate(45deg);
    top: -26%;
    right: -26%;
    z-index: -1;
    opacity: 0;
    animation: sqbox2Ani forwards 1s ease;
    animation-delay: .3s;
}

.about {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    align-items: center;
    grid-gap: 2rem;
}

.about-img img {
    max-width: 100%;
    width: 560px;
    height: auto;
    margin-right: 360px;
    display: block; 
}

.about-text h2 {
    font-size: var(--h2-font);
    font-weight: 500;
    margin: 8px 0px 25px;
    line-height: 1.1;
}

.about-text h3 {
    color: var(--main-color);
    font-size: 20px;
    font-weight: 500;
}

.about-text p {
    max-width: 550px;
    font-size: var(--p-font);
    color: var(--secound-color);
    line-height: 28px;
    margin-bottom: 45px;
}

.process {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

.process-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    animation: fadeIn 1.5s ease-in-out;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.process-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.process-card-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.process-card-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes logoAni {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes NavliaAni {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes socialAni {
    0% {
        transform: translateX(100px) rotate(45deg);
        opacity: 0;
    }
    100% {
        transform: translateX(0) rotate(45deg);
        opacity: 1;
    }
}

@keyframes H1Ani {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes carAni {
    0% {
        transform: translate(180px, -300px) scale(0) rotate(-45deg);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(-45deg);
        opacity: 1;
    }
}

@keyframes sqbox2Ani {
    0% {
        right: -40%;
        opacity: 0;
    }
    100% {
        right: -26%;
        opacity: 1;
    }
}

.contact {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-in-out;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideInLeft 1s ease-in-out;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideInRight 1s ease-in-out;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2rem;
    color: #9b9b9b;
    margin-bottom: 15px;
}

.contact-info a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    :root {
        --h2-font: 2rem;
        --p-font: 1rem;
    }

    body {
        font-size: 14px;
    }

    nav {
        height: 6rem;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        display: none;
        flex-direction: column;
        gap: 10px;
        margin-top: 1rem;
    }

    .nav-link.active {
        display: flex;
    }

    .social-link {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }

    header {
        height: auto;
        padding: 100px 0 50px;
    }

    .header-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .header-left {
        max-width: 100%;
        padding: 0 20px;
    }

    .header-left h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .header-left h3 {
        font-size: 1.5rem;
        margin-top: 10px;
    }

    .header-left p {
        font-size: 1rem;
        margin: 15px 0 20px;
    }

    .header-right {
        display: none;
    }

    .sq-box,
    .sq-box2 {
        display: none;
    }

    .about {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 50px 20px;
    }

    .about-img img {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .about-text {
        padding: 0 20px;
    }

    .about-text h2 {
        font-size: 2rem;
        margin: 10px 0 20px;
    }

    .about-text h3 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        padding: 20px;
    }

    .contact-content {
        flex-direction: column;
    }

    .map-container,
    .contact-info {
        width: 100%;
        max-width: 100%;
    }

    .contact-info {
        padding: 20px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header-left h1 {
        font-size: 2rem;
    }

    .header-left h3 {
        font-size: 1.2rem;
    }

    .header-left p {
        font-size: 0.9rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text h3 {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }
}
