﻿.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(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)), url('/img/hero1.PNG');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    color: #242424;
    animation-delay: 0.2s;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.8s ease forwards;
    color: #242424;
    font-weight: lighter;
    animation-delay: 0.4s;
}

.hero-cta {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.6s ease forwards;
    animation-delay: 0.6s;
}

.btn-hero {
    background: linear-gradient(45deg, rgb(0, 163, 232), #667eea);
    border: none;
    border-radius: 50px;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

    .btn-hero::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;
    }

    .btn-hero:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
        color: white;
        text-decoration: none;
    }

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

    .btn-hero:active {
        transform: translateY(-1px) scale(1.02);
    }

    .btn-hero:focus {
        outline: none;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.3);
    }

.how-it-works-section {
    background: linear-gradient(135deg, rgb(0, 163, 232), #667eea);
    padding: 5rem 0;
    position: relative;
}

    .how-it-works-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
    }

    .how-it-works-section .container {
        position: relative;
        z-index: 2;
    }

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

    .info-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        background: rgba(255, 255, 255, 0.15);
    }

@media (hover: none) {
    .info-card:hover {
        transform: none;
        box-shadow: inherit;
        background: inherit;
    }
}

.info-card-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    opacity: 1;
}

.walker-card .info-card-icon {
    animation-delay: 0.5s;
}

.company-card .info-card-icon {
    animation-delay: 0.7s;
}

.info-card-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-card-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

#contact {
    padding: 4rem 0;
}

.form-custom {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

    .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);
}

    .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;
}

.error-message {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

@media (max-width: 991.98px) {
    .form-custom {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    #contact {
        padding: 3rem 0;
    }

    .form-custom,
    .contact-info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .form-custom {
        padding: 1.25rem;
    }

    .form-control-custom {
        padding: 0.65rem 0.875rem;
        font-size: 0.95rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .info-card-icon {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .info-card-title {
        font-size: 1.5rem;
    }

    .info-card-text {
        font-size: 1rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {    .hero-section {
        min-height: 100vh;
        padding: 0;
    }
    .hero-title {
        font-size: 1.75rem;
    }

    .btn-hero {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .info-card {
        padding: 1.5rem 1rem;
    }

    .info-card-icon {
        font-size: 2.5rem;
    }
}

@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;
    }
}
