* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 2rem;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}



.nav-brand svg {
    height: 40px;
    width: auto;
    max-width: 180px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-menu a:hover {
    color: #AC22B5;
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: #AC22B5;
    font-weight: 600;
}

    .nav-toggle {
        display: none;
        flex-direction: column;
        cursor: pointer;
        gap: 6px;
        padding: 12px;
        border-radius: 8px;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        background: none;
        border: none;
        outline: none;
        position: relative;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center;
        transform: scale(1);
    }

    .nav-toggle:hover,
    .nav-toggle:focus {
        outline: none;
        background: rgba(172, 34, 181, 0.1);
    }

    .nav-toggle:focus-visible {
        outline: 2px solid #AC22B5;
        outline-offset: 2px;
    }

    .nav-toggle span {
        width: 30px;
        height: 3px;
        background: #333;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        position: relative;
        transform-origin: center;
    }

    .nav-toggle:hover span {
        background: #AC22B5;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background: #AC22B5;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background: #AC22B5;
    }

    .nav-toggle.active:hover span {
        background: #8a1a91;
    }

.nav-langs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.nav-langs .lang-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: transparent;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
}

.nav-langs .lang-btn:hover {
    color: #AC22B5;
 
}

.nav-langs .lang-btn.active {
    color: #AC22B5;
    font-weight: 600;
}
.desktop-langs {
    margin-left: 1.5rem;
}
@media (max-width: 768px) {
    .nav-brand svg {
        height: 35px;
        max-width: 140px;
    }
    
    .desktop-langs {
        display: none;
    }
    .mobile-langs {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
        margin-bottom: 1rem;
        gap: 1rem;
        padding: 1rem;
    }
    
    .mobile-langs .lang-btn {
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem;
        font-weight: 600;
    }
    
    .mobile-langs-item {
        margin-top: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .mobile-langs-item .mobile-langs {
        margin: 0;
        padding: 1rem;
    }
    .nav-toggle span {
        width: 28px;
        height: 3px;
        background: #333;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        position: relative;
        transform-origin: center;
    }
}
@media (min-width: 769px) {
    .mobile-langs {
        display: none;
    }
    
    .mobile-langs-item {
        display: none;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(172, 34, 181, 0.05), rgba(122, 41, 195, 0.05), rgba(87, 47, 205, 0.05));
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.subtitle-container {
    height: 6.3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 1rem;
    overflow: hidden;
}

.hero-title, .hero-subtitle {
    display: inline;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    background: linear-gradient(135deg, #AC22B5, #7A29C3, #572FCD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.cursor {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #AC22B5, #7A29C3, #572FCD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cursorBlink 0.8s infinite;
    margin-left: 0;
    transition: opacity 0.1s ease;
    position: relative;
    display: inline;
}

.subtitle-cursor {
    font-size: 1.5rem;
    font-weight: normal;
    color: #666;
    animation: cursorBlink 0.8s infinite;
    margin-left: 0;
    transition: opacity 0.1s ease;
    position: relative;
    display: inline;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    text-align: center;
    position: relative;
    margin: 0;
    line-height: 1.4;
}

.hero-subtitle::after {
    content: '';
    animation: none;
    color: transparent;
    font-weight: normal;
}

.hero-cta {
    text-align: center;
    margin-top: 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
    position: relative;
    z-index: 10;
}

.hero-cta.show {
    opacity: 1;
    transform: translateY(0);
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, #AC22B5, #7A29C3, #572FCD);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(172, 34, 181, 0.3);
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(172, 34, 181, 0.4);
    background: linear-gradient(135deg, #7A29C3, #572FCD, #AC22B5);
    cursor: pointer;
    color: #fff;
}

.btn-hero:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(172, 34, 181, 0.5);
}

.btn-hero:focus {
    outline: 2px solid #AC22B5;
    outline-offset: 2px;
}

section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #AC22B5, #7A29C3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.about {
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.services {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0;
    
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-bg svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover .service-bg {
    opacity: 0.5;
}

.service-card:hover .service-bg svg {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.contacts {
    background: linear-gradient(135deg, #AC22B5, #7A29C3, #572FCD);
    position: relative;
    overflow: hidden;
    transition: all 2s ease;
    z-index: 1;
}

.contacts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(172, 34, 181, 0.8),
        rgba(122, 41, 195, 0.8),
        rgba(87, 47, 205, 0.8),
        rgba(172, 34, 181, 0.8)
    );
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    transition: all 0.3s ease;
}

.contacts::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 30%,
        transparent 70%
    );
    pointer-events: none;
    transition: all 0.2s ease;
}

.contacts .container {
    position: relative;
    z-index: 2;
}

.contacts .section-title {
    color: #fff;
    -webkit-text-fill-color: #fff;    
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    color: #fff;
}

.contact-item {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;    
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);    
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;    
}

.contact-item p {
    font-size: 1rem;    
}

.contact-item address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: rgba(255, 255, 255, 1);
    padding: 2rem;    
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);    
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(172, 34, 181, 0.2);
    
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #AC22B5;    
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-primary {
    background: linear-gradient(135deg, #AC22B5, #7A29C3);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(172, 34, 181, 0.4);
}

.form-message {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.form-message.success {
    background: rgba(212, 237, 218, 0.9);
    color: #155724;
    border: 1px solid rgba(195, 230, 203, 0.8);
}

.footer {
    background: #fff;
    color: #AC22B5;    
    text-align: center;
    padding: 2rem 0;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes cursorBlink {
    0%, 40% { opacity: 1; }
    41%, 100% { opacity: 0; }
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.contacts.scroll-animated::before {
    animation: gradientShift 4s ease infinite;
}

.contacts.mouse-animated::after {
    opacity: 1;
    transform: scale(1.1);
}

.contacts:hover::before {
    animation-duration: 2s;
    filter: brightness(1.1);
}

.contacts:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #AC22B5;
    box-shadow: 0 0 20px rgba(172, 34, 181, 0.3);
    background: rgba(255, 255, 255, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(172, 34, 181, 0.4);
    background: linear-gradient(135deg, #7A29C3, #572FCD, #AC22B5);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}


@keyframes wave {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.contacts.mouse-animated::before {
    animation: wave 3s ease infinite;
}

@keyframes shimmer {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}

.contacts.scroll-animated::after {
    animation: shimmer 2s ease-in-out infinite;
}

.contacts * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(172, 34, 181, 0.05),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-form:hover::before {
    opacity: 1;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .contacts::before {
        animation: gradientShift 6s ease infinite;
    }
    
    .contacts::after {
        opacity: 0.5;
    }
    
    .contact-item:hover {
        animation: none;
        transform: translateY(-3px);
    }
    
    .contact-form:hover {
        transform: translateY(-3px);
    }
}

.contacts::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, calc(0.1 * var(--mouse-intensity, 0))) 0%,
        rgba(255, 255, 255, calc(0.05 * var(--mouse-intensity, 0))) 30%,
        transparent 70%
    );
    pointer-events: none;
    transition: all 0.1s ease;
    transform: scale(calc(1 + var(--mouse-intensity, 0) * 0.1));
}

.contacts {
    position: relative;
    z-index: 1;
}

@keyframes pulseOnLoad {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.1);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.contacts.pulse-on-load::before {
    animation: pulseOnLoad 2s ease-in-out;
}

.contacts.scroll-down::before {
    animation: gradientShift 3s ease infinite;
    filter: hue-rotate(10deg);
}

.contacts.scroll-up::before {
    animation: gradientShift 5s ease infinite reverse;
    filter: hue-rotate(-10deg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #AC22B5;    
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form input:not(:placeholder-shown),
.contact-form textarea:not(:placeholder-shown) {
    border-color: #AC22B5;
    background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu li:nth-child(5) { transition-delay: 0.5s; }

    .nav-menu a {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
        display: block;
        text-align: center;
        border-radius: 10px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-menu a:hover {
        color: #AC22B5;
        transform: scale(1.05);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
        padding: 12px;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        gap: 5px;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center;
        transform: scale(1);
    }

    .nav-toggle:hover,
    .nav-toggle:focus {
        outline: none;
        background: rgba(172, 34, 181, 0.1);
        transform: scale(1.05);
    }

    .nav-toggle:focus-visible {
        outline: 2px solid #AC22B5;
        outline-offset: 2px;
    }

    .nav-toggle span {
        width: 28px;
        height: 3px;
        background: #333;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        position: relative;
        transform-origin: center;
    }

    .nav-toggle:hover span {
        background: #AC22B5;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
        background: #AC22B5;
        box-shadow: 0 0 10px rgba(172, 34, 181, 0.5);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
        background: #AC22B5;
        box-shadow: 0 0 10px rgba(172, 34, 181, 0.5);
    }

    .nav-toggle.active:hover span {
        background: #8a1a91;
    }
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998;
        backdrop-filter: blur(5px);
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .subtitle-container {
        height: 5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .nav-brand svg {
        height: 30px;
        max-width: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .subtitle-container {
        height: 4.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
        border-radius: 0;
    }
    
    .service-bg svg {
        transform: scale(1.05);
    }

    .contact-form {
        padding: 1.5rem;
    }

    .nav-menu a {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
    }

    .nav-toggle {
        padding: 10px;
        width: 45px;
        height: 45px;
        gap: 4px;
    }

    .nav-toggle span {
        width: 25px;
        height: 3px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav-toggle:hover span {
        background: #AC22B5;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
        background: #AC22B5;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
        background: #AC22B5;
    }
}

.code-element {
    font-family: 'Courier New', monospace;
    background: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: #333;
}

.gradient-text {
    background: linear-gradient(135deg, #AC22B5, #7A29C3, #572FCD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #AC22B5, #7A29C3, #572FCD);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-message.success {
    
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.form-message.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(244, 67, 54, 0.05));
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #F44336;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.1);
}

.form-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.form-message:hover::before {
    left: 100%;
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #AC22B5, #8B1FA2);
    cursor: not-allowed;
    transform: none !important;
}

.contact-form {
    transition: all 0.5s ease;
}

.contact-form form {
    transition: all 0.3s ease;
}

.contact-form.success {
    
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    transition: all 0.3s ease;
}

.contact-form input[style*="display: none"],
.contact-form textarea[style*="display: none"],
.contact-form button[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
} 