/* ULTRA MODERN STYLES */

body {
    overflow-x: hidden; /* Prevents horizontal scrollbars from animations */
}

/* --- Animation Definitions --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* --- Animation Utility Classes --- */
.scroll-animate {
    opacity: 0; /* Start hidden */
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: none !important;
}

/* Specific animation starting positions */
.scroll-animate.fade-in-up {
    transform: translateY(50px);
}

.scroll-animate.fade-in-left {
    transform: translateX(-50px);
}

.scroll-animate.fade-in-right {
    transform: translateX(50px);
}


/* --- Modernized Contact Form --- */
.contact-form-container {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #F9FAFB;
    border: 2px solid var(--gray-light);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}

#contact-form button.btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-form button.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(99, 102, 241, 0.3);
}

/* --- Form Status Messages --- */
.form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
    display: none; /* Hidden by default */
}

.form-status.success {
    background-color: #D1FAE5; /* Tailwind green-100 */
    color: #065F46; /* Tailwind green-800 */
    display: block;
}

.form-status.error {
    background-color: #FEE2E2; /* Tailwind red-100 */
    color: #991B1B; /* Tailwind red-800 */
    display: block;
}


/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2D3748; /* gray-800 */
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background-color: #059669; /* green-600 */
}

.toast.error {
    background-color: #DC2626; /* red-600 */
}


/* --- Section Title Enhancement --- */
.section-title h3 {
    font-size: 2.5rem;
    font-weight: 800;
}
