﻿.hero-section {
    min-height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #cbbdfe 0%, #bdcbfe 100%);
    overflow: hidden;
}

    .hero-section.with-image {
        background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('/img/hero1.PNG');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    color: #2c3e50;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #34495e;
    font-weight: lighter;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.form-custom {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

    .form-custom .form-label {
        font-weight: 600;
        color: #333;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

.form-control-custom {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

    .form-control-custom:focus {
        border-color: rgb(0, 163, 232);
        box-shadow: 0 0 0 3px rgba(0, 163, 232, 0.1);
        outline: none;
    }

    .form-control-custom::placeholder {
        color: #999;
    }

textarea.form-control-custom {
    resize: vertical;
    min-height: 120px;
}

.form-custom .row.g-3 {
    margin-bottom: 1rem;
}

.form-custom .form-group.mt-3 {
    margin-top: 1rem !important;
}

.form-custom .mt-4 {
    margin-top: 1.5rem !important;
}

.form-custom .btn-custom-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, rgb(0, 163, 232), #0095d9);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 163, 232, 0.25);
}

    .form-custom .btn-custom-primary:hover {
        background: linear-gradient(135deg, #0095d9, #007ab8);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 163, 232, 0.35);
        color: white;
    }

    .form-custom .btn-custom-primary:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 163, 232, 0.25);
    }

    .form-custom .btn-custom-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    .form-custom .btn-custom-primary i {
        transition: transform 0.3s ease;
    }

    .form-custom .btn-custom-primary:hover i {
        transform: translateX(3px);
    }

.contact-info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

    .contact-info-card h5 {
        color: #333;
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

.contact-info-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

    .contact-info-item strong {
        display: block;
        color: #333;
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        font-weight: 600;
    }

    .contact-info-item p {
        color: #666;
        font-size: 0.95rem;
    }

    .contact-info-item:not(:last-child) {
        margin-bottom: 1rem;
    }

.form-control-custom.is-invalid {
    border-color: #dc3545;
}

.form-control-custom.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-custom {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

        .hero-section .lead {
            font-size: 1rem;
        }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .form-custom,
    .contact-info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 100vh;
        padding: 0;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .form-custom {
        padding: 1.25rem;
    }

    .form-control-custom {
        padding: 0.65rem 0.875rem;
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
