:root {
    --primary: #f2c84b;
    --secondary: #1a1e2a;
    --text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--secondary);
    color: var(--text);
    overflow-x: hidden;
}

.contact-btn {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.contact-btn:hover {
    transform: scale(1.05);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
    min-height: 30vh;
}

.circle {
    position: absolute;
    background: radial-gradient(circle, rgba(242, 200, 75, 0.2) 0%, rgba(242, 200, 75, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.hero-title {
    font-size: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}


.character-container {
    position: absolute;
    width: 160px;
    height: 160px;
    z-index: 2;
    top: 80px;
    right: 50px;
    filter: drop-shadow(0 5px 15px rgba(242, 200, 75, 0.5));
}

.character {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.3s;
}

.face {
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: breathe 4s infinite ease-in-out;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.eyes {
    position: absolute;
    top: 35%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.eye {
    width: 25px;
    height: 25px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.pupil {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 25%;
    left: 25%;
    transition: all 0.1s;
}

.mouth {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background-color: var(--secondary);
    border-radius: 0 0 30px 30px;
    transition: all 0.3s;
}

.talking .mouth {
    height: 15px;
    border-radius: 10px;
    animation: talk 0.3s infinite alternate;
}

@keyframes talk {
    0% {
        height: 5px;
        border-radius: 10px;
    }
    100% {
        height: 15px;
        border-radius: 10px;
    }
}

.happy .mouth {
    height: 25px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    animation: smile 1s infinite alternate;
}

@keyframes smile {
    0% {
        height: 25px;
        width: 60px;
    }
    100% {
        height: 30px;
        width: 70px;
    }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: rgba(242, 200, 75, 0.5);
    border-radius: 50%;
    animation: float 10s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(20px);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .contact-container {
        padding: 1rem;
    }

    .character-container {
        width: 100px; 
        height: 100px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .character-container {
        display: none;
    }

    .hero {
        padding-top: 6rem; 
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-top: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@media (max-width: 480px) {
    .contact-form-info,
    .contact-form-wrapper {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
