/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimize font rendering */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

.contact-item .messenger-links i{
    color: unset;
}

/* Header */
.header {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.header-content .contact-info{
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0px;
}

.contact-info .phone {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-info .phone:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: white;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.btn-secondary:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* Car Slider */
.car-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    contain: layout style paint;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #dc2626;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card .feature-title {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Transport Section */
.transport {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.transport-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.transport h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.transport p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.transport .highlight-box p{
    margin-bottom: 0rem;
    color: #fff;
}

.highlight-box {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.transport-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.price-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: white;
}

.price-card .price-title {
    font-size: 1.5rem;
    color: #dc2626;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    color: #64748b;
    font-weight: 500;
}

.price-value {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.1rem;
}

.discounts {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.discounts .discount-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.discount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.discount-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
}

.discount-item i {
    font-size: 1.5rem;
    color: #fbbf24;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.mission-text {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mission-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.mission-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mission-feature i {
    font-size: 3rem;
    color: #fbbf24;
}

.mission-feature span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f8fafc;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.contact-item i {
    font-size: 2rem;
    color: #dc2626;
    width: 60px;
    text-align: center;
}

.contact-item .contact-title {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item p {
    color: #64748b;
    font-weight: 500;
}

.messenger-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.messenger-link.telegram {
    background: #0088cc;
    color: white;
}

.messenger-link.telegram:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 136, 204, 0.3);
}

.messenger-link.viber {
    background: #665cac;
    color: white;
}

.messenger-link.viber:hover {
    background: #4a3d7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 92, 172, 0.3);
}

/* Floating action buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.35);
}

.floating-btn i {
    pointer-events: none;
}

.floating-call {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.floating-call:hover {
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.35);
}

.back-to-top {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.back-to-top:hover {
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.45);
}

/* About Service Section */
.about-service {
    padding: 5rem 0;
    background: #fff;
}

.about-service h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.about-service-text p {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-service-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.about-service-list li {
    padding: 0.9rem 1.2rem;
    background: #f8fafc;
    border-radius: 12px;
    color: #0f172a;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.about-service-list li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 700;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 2rem;
    font-weight: 700;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item details {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item details[open] {
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.08);
}

.faq-item summary {
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: #dc2626;
    transition: transform 0.2s ease;
}

.faq-item details[open] summary::after {
    content: '−';
}

.faq-answer {
    margin-top: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.faq-answer p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.faq-answer a {
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.cta-final {
    text-align: center;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo-img {
    width: 70px;
    height: 70px;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /*.header-content {*/
    /*    flex-direction: column;*/
    /*    gap: 1rem;*/
    /*}*/

    .header-content .logo span{
        display: none;
    }
    .header{
        padding: 10px 0;
    }
    .logo-img {
        width: 60px;
        height: 60px;
    }
    .contact-info .phone{
        font-size: 16px;
    }
    .discounts{
        padding: 14px;
    }
    .discount-item,
    .hero-description,
    .mission-text,
    .mission-feature span{
        font-size: 15px;
    }
    .slider-btn{
        width: 40px;
        height: 40px;
    }
    .hero{
        padding-top: 40px;
    }
    .hero-description{
        text-align: justify;
    }
    .cta-buttons .btn{
        min-width: 217px;
        align-items: center;
    }
    .mission h2{
        font-size: 32px;
    }
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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

    .cta-buttons {
        justify-content: center;
    }

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

    .transport h2 {
        font-size: 2rem;
        text-align: center;
    }

    .features h2,
    .pricing h2,
    .contact h2 {
        font-size: 2rem;
    }

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

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

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

    .mission-features {
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .messenger-links {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .slider-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .feature-card,
    .price-card,
    .contact-item {
        padding: 1.5rem;
    }

    .slider-container {
        height: 250px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.feature-card,
.price-card,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.slider-btn:focus,
.dot:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
    }

    .btn-secondary {
        border-color: #000;
        color: #000;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    position: relative;
}

/* Скрытие скролла для модального окна */
.modal-content::-webkit-scrollbar {
    width: 0;
    display: none;
}

.modal-content::-webkit-scrollbar-track {
    display: none;
}

.modal-content::-webkit-scrollbar-thumb {
    display: none;
}

/* Для Firefox - полностью скрыть скролл */
.modal-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-header .modal-title {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.close:hover,
.close:focus {
    transform: rotate(90deg);
    color: #fbbf24;
}

.modal-body {
    padding: 2rem;
}

.form-intro {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    color: #64748b;
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.required {
    color: #dc2626;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    justify-content: center;
}

.form-actions .btn {
    min-width: 150px;
    background: transparent;
    border: none;
    color: #dc2626;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.form-actions .btn-primary {
    color: #dc2626;
}

.form-actions .btn-primary:hover {
    color: #b91c1c;
    background: rgba(220, 38, 38, 0.1);
}

.form-actions .btn-secondary {
    color: #64748b;
}

.form-actions .btn-secondary:hover {
    color: #1e293b;
    background: rgba(100, 116, 139, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal responsive */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        margin: 10px;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header .modal-title {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .form-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .floating-form,
    .floating-call {
        display: none;
    }

    .floating-actions {
        right: 15px;
        bottom: 15px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, #dc2626, #b91c1c);
    }
}

/* Success/Error messages */
.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

/* Loading state for form buttons */
.form-actions .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.form-actions .btn:disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: inherit;
}

/* Loading overlay animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Success modal animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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