﻿:root {
    --uteq-blue: #1d5c96;
    --uteq-light-blue: #64B5F6;
    --uteq-yellow: #FFC107;
    --uteq-gray: #6B7280;
    --uteq-dark-blue: #0f3460;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

    body.dark {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
        color: #f3f4f6;
    }

.hero-section {
    background: linear-gradient(135deg, var(--uteq-blue) 0%, var(--uteq-dark-blue) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.1;
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.main-container {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    position: relative;
}

body.dark .main-container {
    background-color: #2d3748;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.services-section {
    padding: 3rem 2rem;
    border-right: 1px solid #e0e0e0;
    position: relative;
}

body.dark .services-section {
    border-right-color: #4a5568;
}

.services-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.services-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.section-title {
    color: var(--uteq-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

body.dark .section-title {
    color: var(--uteq-light-blue);
}

.section-description {
    color: var(--uteq-gray);
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

body.dark .section-description {
    color: #cbd5e0;
}

.service-category {
    margin-bottom: 2.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--uteq-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-category:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

body.dark .service-category {
    background-color: #374151;
}

.service-category h5 {
    color: var(--uteq-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

body.dark .service-category h5 {
    color: var(--uteq-light-blue);
}

.category-icon {
    background: linear-gradient(135deg, var(--uteq-yellow), #ffb300);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.service-list {
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.8rem;
}

.service-item {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid var(--uteq-light-blue);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .service-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s ease;
    }

    .service-item:hover::before {
        left: 100%;
    }

    .service-item:hover {
        background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
        transform: translateX(8px) scale(1.02);
        box-shadow: 0 6px 20px rgba(29, 92, 150, 0.2);
    }

body.dark .service-item {
    background: linear-gradient(135deg, #4a5568 0%, #68748a 100%);
    border-left-color: var(--uteq-yellow);
}

    body.dark .service-item:hover {
        background: linear-gradient(135deg, #68748a 0%, #718096 100%);
    }

.sub-service {
    font-size: 0.9rem;
    color: var(--uteq-gray);
    margin-left: 1rem;
    margin-top: 0.25rem;
    position: relative;
}

    .sub-service::before {
        content: '▸';
        color: var(--uteq-yellow);
        margin-right: 0.5rem;
    }

body.dark .sub-service {
    color: #cbd5e0;
}

.contact-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

body.dark .contact-section {
    background: linear-gradient(135deg, #374151 0%, #4a5568 100%);
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto 1rem auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

    .contact-form::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--uteq-blue), var(--uteq-light-blue), var(--uteq-yellow));
    }

body.dark .contact-form {
    background-color: #2d3748;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.form-title {
    color: var(--uteq-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.5rem;
}

body.dark .form-title {
    color: var(--uteq-light-blue);
}

.input-field {
    margin-bottom: 2rem;
    position: relative;
}

    .input-field input,
    .input-field textarea {
        width: 100% !important;
        padding: 16px 20px !important;
        border: 2px solid #e2e8f0 !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
        transition: all 0.3s ease !important;
        background-color: #ffffff !important;
        box-sizing: border-box !important;
        outline: none !important;
        font-family: inherit !important;
        margin-bottom: 0 !important;
    }

    .input-field textarea {
        min-height: 120px !important;
        line-height: 1.5 !important;
        resize: vertical !important;
    }

        .input-field input:focus,
        .input-field textarea:focus {
            border-color: var(--uteq-blue) !important;
            box-shadow: 0 0 0 3px rgba(29, 92, 150, 0.1) !important;
        }

        .input-field input:valid,
        .input-field textarea:valid {
            border-color: #10b981 !important;
        }

    .input-field label {
        position: absolute;
        left: 20px;
        top: 16px;
        font-size: 1rem;
        color: var(--uteq-gray);
        background: white;
        padding: 0 8px;
        transition: all 0.3s ease;
        pointer-events: none;
        transform-origin: left top;
        z-index: 1;
    }

    .input-field input:focus + label,
    .input-field input:not(:placeholder-shown) + label,
    .input-field input[value]:not([value=""]) + label,
    .input-field textarea:focus + label,
    .input-field textarea:not(:placeholder-shown) + label {
        top: -8px !important;
        left: 16px !important;
        font-size: 0.875rem !important;
        color: var(--uteq-blue) !important;
        transform: scale(0.9);
    }

    .input-field .helper-text {
        font-size: 0.875rem;
        color: var(--uteq-gray);
        margin-top: 8px;
        display: block;
    }

        .input-field .helper-text[data-error] {
            color: #ef4444;
        }

        .input-field .helper-text[data-success] {
            color: #10b981;
        }

body.dark .input-field input,
body.dark .input-field textarea {
    background-color: #4a5568 !important;
    color: #f3f4f6 !important;
    border-color: #718096 !important;
}

body.dark .input-field label {
    color: #a0aec0;
    background: #2d3748;
}

body.dark .input-field input:focus + label,
body.dark .input-field input:not(:placeholder-shown) + label,
body.dark .input-field input[value]:not([value=""]) + label,
body.dark .input-field textarea:focus + label,
body.dark .input-field textarea:not(:placeholder-shown) + label {
    color: var(--uteq-light-blue) !important;
    background: #2d3748;
}

.btn-send {
    background: linear-gradient(135deg, var(--uteq-blue) 0%, var(--uteq-dark-blue) 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px 32px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin-top: 1.5rem !important;
    font-family: inherit !important;
    box-shadow: 0 4px 12px rgba(29, 92, 150, 0.2) !important;
    text-decoration: none !important;
    height: auto !important;
    min-height: 52px !important;
}

    .btn-send::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-send:hover::before {
        left: 100%;
    }

    .btn-send:hover {
        background: linear-gradient(135deg, #155a8a 0%, var(--uteq-blue) 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(29, 92, 150, 0.3) !important;
    }

    .btn-send:active {
        transform: translateY(0) !important;
    }

    .btn-send:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
        transform: none !important;
    }

    .btn-send .material-symbols-sharp {
        font-size: 1.2rem !important;
        margin-right: 0 !important;
    }

.icon-highlight {
    color: var(--uteq-yellow);
    margin-right: 0.5rem;
}

.responsive-text {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-category {
    animation: fadeInUp 0.6s ease forwards;
}

    .service-category:nth-child(2) {
        animation-delay: 0.1s;
    }

    .service-category:nth-child(3) {
        animation-delay: 0.2s;
    }

    .service-category:nth-child(4) {
        animation-delay: 0.3s;
    }

    .service-category:nth-child(5) {
        animation-delay: 0.4s;
    }

@media (max-width: 992px) {
    .services-section {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    body.dark .services-section {
        border-bottom-color: #4a5568;
    }

    .services-header,
    .contact-header {
        text-align: center;
    }

    .services-image,
    .contact-image {
        margin: 0 auto 1rem auto;
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .main-container {
        margin-top: 1rem;
        border-radius: 12px;
    }

    .services-section,
    .contact-section {
        padding: 2rem 1rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .responsive-text {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .input-field {
        margin-bottom: 1.5rem;
    }
}

.captcha-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.captcha-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
}

.btn-send:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}