/* Custom CSS for Fast Washing Repair Multi-Page Expansion */
/* Requirements: 3.2, 3.3, 3.4, 3.5, 3.6, 4.4, 4.5 */

/* ============================================
   FLOATING LABEL STYLES
   Requirements: 3.2, 3.3
   ============================================ */

.floating-label-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-label-group input,
.floating-label-group textarea,
.floating-label-group select {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.floating-label-group textarea {
    min-height: 120px;
    resize: vertical;
}

.floating-label-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
}

/* Adjust label position for textarea */
.floating-label-group textarea + label {
    top: 1.5rem;
    transform: translateY(0);
}

/* Floating state - when input is focused or has value */
.floating-label-group input:focus + label,
.floating-label-group input:not(:placeholder-shown) + label,
.floating-label-group textarea:focus + label,
.floating-label-group textarea:not(:placeholder-shown) + label,
.floating-label-group select:focus + label,
.floating-label-group select:valid + label {
    top: 0.5rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: #4cc137;
    background: white;
    padding: 0 0.25rem;
}


/* Focus state with brand-green color */
.floating-label-group input:focus,
.floating-label-group textarea:focus,
.floating-label-group select:focus {
    border-color: #4cc137;
    box-shadow: 0 0 0 3px rgba(76, 193, 55, 0.1);
}

/* Select specific styling */
.floating-label-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}


/* ============================================
   MULTI-STEP FORM TRANSITIONS
   Requirements: 3.4
   ============================================ */

/* Form step container */
.form-step {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
    display: none;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

/* Active step - visible and centered */
.form-step.active {
    opacity: 1;
    transform: translateX(0);
    display: block;
    position: relative;
}

/* Exit animation - slide left when going to next step */
.form-step.exit-left {
    opacity: 0;
    transform: translateX(-30px);
    display: block;
}

/* Exit animation - slide right when going to previous step */
.form-step.exit-right {
    opacity: 0;
    transform: translateX(30px);
    display: block;
}

/* Form steps wrapper */
.form-steps-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

/* ============================================
   STEP INDICATOR DOTS
   Requirements: 3.4
   ============================================ */

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-dot:hover {
    background: #cbd5e1;
}

.step-dot.active {
    background: #4cc137;
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(76, 193, 55, 0.2);
}

.step-dot.completed {
    background: #4cc137;
}

/* Step connector lines */
.step-connector {
    width: 40px;
    height: 2px;
    background: #e2e8f0;
    transition: background 0.3s ease;
}

.step-connector.completed {
    background: #4cc137;
}

/* Step labels (optional) */
.step-label {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-top: 0.5rem;
}

.step-dot.active + .step-label,
.step-dot.completed + .step-label {
    color: #4cc137;
    font-weight: 600;
}


/* ============================================
   FORM VALIDATION ERROR STATES
   Requirements: 3.5, 3.6, 4.4, 4.5
   ============================================ */

/* Error state for form fields */
.form-field.error input,
.form-field.error textarea,
.form-field.error select,
.floating-label-group.error input,
.floating-label-group.error textarea,
.floating-label-group.error select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Error label color */
.form-field.error label,
.floating-label-group.error label {
    color: #ef4444 !important;
}

/* Error message styling */
.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    padding-left: 0.25rem;
}

.form-field.error .error-message,
.floating-label-group.error .error-message {
    display: block;
}

/* Shake animation for error feedback */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.form-field.error,
.floating-label-group.error {
    animation: shake 0.5s ease-in-out;
}

/* ============================================
   FORM SUCCESS STATES
   Requirements: 3.5, 4.4
   ============================================ */

/* Success confirmation container */
.form-success {
    background: linear-gradient(135deg, #4cc137 0%, #2e8c1e 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 1rem;
    opacity: 0.9;
}

.form-success i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Fade in up animation for success message */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success checkmark animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* ============================================
   FORM BUTTON STYLES
   ============================================ */

.form-btn {
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-btn-primary {
    background: #4cc137;
    color: white;
}

.form-btn-primary:hover {
    background: #2e8c1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 193, 55, 0.3);
}

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

.form-btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
}

.form-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   FORM NAVIGATION BUTTONS
   ============================================ */

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.form-navigation .btn-back {
    visibility: hidden;
}

.form-navigation .btn-back.visible {
    visibility: visible;
}



/* ============================================
   DROPDOWN MENU STYLES
   Requirements: 1.3
   ============================================ */

/* Dropdown container - uses group for hover state */
.dropdown-container {
    position: relative;
}

/* Dropdown menu - glass-morphism effect */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 50;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Show dropdown on hover */
.group:hover .dropdown-menu,
.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown menu items */
.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Dropdown item hover state */
.dropdown-menu a:hover {
    background: rgba(76, 193, 55, 0.1);
    color: #4cc137;
    padding-left: 20px;
}

/* Chevron rotation on hover */
.dropdown-container .fa-chevron-down,
.group .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
    margin-left: 4px;
}

.dropdown-container:hover .fa-chevron-down,
.group:hover .fa-chevron-down {
    transform: rotate(180deg);
}


/* ============================================
   FAQ ACCORDION STYLES
   Requirements: 5.6, 5.7
   ============================================ */

/* FAQ item container */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* FAQ question/header button */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #4cc137;
}

/* FAQ chevron icon */
.faq-question .faq-chevron {
    font-size: 0.875rem;
    color: #64748b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

/* FAQ content - collapsed by default */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* FAQ answer text */
.faq-answer {
    padding: 0 20px 16px;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Active/expanded state */
.faq-item.faq-active {
    border-color: #4cc137;
    box-shadow: 0 4px 16px rgba(76, 193, 55, 0.15);
}

.faq-item.faq-active .faq-question {
    color: #4cc137;
}

/* Chevron rotation when expanded */
.faq-item.faq-active .faq-chevron {
    transform: rotate(180deg);
    color: #4cc137;
}

/* Expanded content state */
.faq-item.faq-active .faq-content {
    max-height: 500px;
}



/* ============================================
   HERO SCHEDULE REPAIR BUTTON STYLES
   Requirements: 8.1, 8.2, 8.3, 8.4
   ============================================ */

/* Hero buttons container - flex alignment */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        align-items: center;
    }
}

/* Schedule Repair button - gradient and glow */
.hero-btn-schedule {
    background: linear-gradient(135deg, #4cc137 0%, #6dd55a 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(76, 193, 55, 0.4),
                0 4px 15px rgba(76, 193, 55, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-btn-schedule:hover {
    background: linear-gradient(135deg, #5dd448 0%, #7ee96b 100%);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(76, 193, 55, 0.5),
                0 8px 25px rgba(76, 193, 55, 0.4);
}


/* ============================================
   HERO WIDGET BADGE - GLASS-MORPHISM STYLES
   Requirements: 9.2, 9.3, 9.4
   ============================================ */

/* Hero widget badge - premium glass-morphism styling */
.hero-widget-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Thumbnail container with gradient overlay */
.hero-widget-badge .thumbnail-container {
    position: relative;
    overflow: hidden;
}

.hero-widget-badge .thumbnail-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
    pointer-events: none;
}

/* Thumbnail image styling */
.hero-widget-badge .thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Subtle hover effect on the badge */
.hero-widget-badge:hover .thumbnail-container img {
    transform: scale(1.05);
}


/* ============================================
   SIDEBAR BOOKING FORM STYLES
   Requirements: 10.1, 10.3
   ============================================ */

/* Sidebar booking form container */
.sidebar-booking-form {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

/* Compact form styling for sidebar */
.sidebar-booking-form .floating-label-group {
    margin-bottom: 1rem;
}

.sidebar-booking-form .floating-label-group input,
.sidebar-booking-form .floating-label-group select,
.sidebar-booking-form .floating-label-group textarea {
    font-size: 0.875rem;
    padding: 1.25rem 0.875rem 0.375rem;
}

.sidebar-booking-form .floating-label-group label {
    font-size: 0.875rem;
    left: 0.875rem;
}

.sidebar-booking-form .floating-label-group input:focus + label,
.sidebar-booking-form .floating-label-group input:not(:placeholder-shown) + label,
.sidebar-booking-form .floating-label-group textarea:focus + label,
.sidebar-booking-form .floating-label-group textarea:not(:placeholder-shown) + label,
.sidebar-booking-form .floating-label-group select:focus + label,
.sidebar-booking-form .floating-label-group select:valid + label {
    font-size: 0.625rem;
    top: 0.375rem;
}

.sidebar-booking-form .floating-label-group textarea {
    min-height: 80px;
}

/* Compact step indicator for sidebar */
.sidebar-booking-form .step-indicator {
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.sidebar-booking-form .step-dot {
    width: 10px;
    height: 10px;
}

.sidebar-booking-form .step-connector {
    width: 24px;
}

/* Compact form steps wrapper for sidebar */
.sidebar-booking-form .form-steps-wrapper {
    min-height: 220px;
}

/* Compact form navigation for sidebar */
.sidebar-booking-form .form-navigation {
    margin-top: 1rem;
    padding-top: 1rem;
}

.sidebar-booking-form .form-btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

/* Compact success message for sidebar */
.sidebar-booking-form .form-success {
    padding: 1.5rem;
}

.sidebar-booking-form .form-success h4 {
    margin-bottom: 0.25rem;
}

.sidebar-booking-form .success-checkmark {
    width: 60px;
    height: 60px;
    margin-bottom: 0.75rem;
}

/* Responsive: Stack form above content on mobile */
@media (max-width: 1024px) {
    .sidebar-booking-form {
        margin-bottom: 2rem;
    }
}


/* ============================================
   GOOGLE REVIEWS SECTION STYLES
   Requirements: 1.1-1.6, 2.2-2.8, 4.1-4.4
   ============================================ */

/* Reviews Section Container */
.google-reviews-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.google-reviews-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Rating Summary Panel - Modern Professional Design */
.rating-summary {
    flex-shrink: 0;
    width: 220px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    transition: all 0.3s ease;
}

.rating-summary:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Google Progress Bar (colored bar above logo) */
.google-progress-bar {
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(to right, #4cc137 70%, #fbbc04 70% 80%, #ea4335 80% 90%, #4285f4 90%);
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Google Logo */
.google-logo {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    padding: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.google-logo svg {
    width: 100%;
    height: 100%;
}

/* Excellent Text */
.rating-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

/* Star Rating Display */
.rating-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 0.75rem;
}

.rating-stars .star {
    color: #fbbc04;
    font-size: 1.125rem;
    filter: drop-shadow(0 1px 1px rgba(251, 188, 4, 0.3));
}

/* Large Rating Number */
.rating-number {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0.375rem;
    letter-spacing: -0.02em;
}

/* Review Count Text */
.review-count {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
}

/* Review Carousel Container */
.review-carousel-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    position: relative;
}

.review-carousel {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.review-carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
}

/* Review Card */
.review-card {
    flex: 0 0 calc(33.333% - 0.67rem);
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Review Card Header (Stars + Verified Badge) */
.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.review-card .rating-stars {
    justify-content: flex-start;
    margin-bottom: 0;
}

/* Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.verified-badge i {
    font-size: 0.5rem;
}

/* Review Title */
.review-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

/* Review Text */
.review-text {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

/* Review Card Footer (Avatar + Name + Google Icon) */
.review-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Reviewer Avatar */
.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.reviewer-avatar.bg-blue {
    background: #dbeafe;
    color: #2563eb;
}

.reviewer-avatar.bg-green {
    background: #dcfce7;
    color: #16a34a;
}

.reviewer-avatar.bg-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.reviewer-avatar.bg-orange {
    background: #ffedd5;
    color: #ea580c;
}

.reviewer-avatar.bg-slate {
    background: #e2e8f0;
    color: #475569;
}

/* Reviewer Name */
.reviewer-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #0f172a;
}

/* Google Icon in Card */
.google-icon-small {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #64748b;
}

.carousel-arrow:hover:not(:disabled) {
    border-color: #4cc137;
    color: #4cc137;
    box-shadow: 0 4px 12px rgba(76, 193, 55, 0.15);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .google-reviews-container {
        flex-direction: column;
        align-items: stretch;
    }

    .rating-summary {
        width: 100%;
        max-width: 320px;
        margin: 0 auto 1.5rem;
        padding: 1.5rem;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .rating-label {
        font-size: 1.125rem;
    }

    .review-card {
        flex: 0 0 100%;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
}


/* ============================================
   MULTI-STEP FORM SLIDE ANIMATIONS
   Requirements: 6.2, 6.3, 6.4, 6.7
   ============================================ */

/* Slide out to left (going to next step) */
.form-step.slide-out-left {
    opacity: 0;
    transform: translateX(-30px);
    display: block;
    position: absolute;
}

/* Slide out to right (going to previous step) */
.form-step.slide-out-right {
    opacity: 0;
    transform: translateX(30px);
    display: block;
    position: absolute;
}

/* Slide in from right (coming from previous step) */
.form-step.slide-in-right {
    animation: slideInRight 0.3s ease forwards;
}

/* Slide in from left (coming from next step) */
.form-step.slide-in-left {
    animation: slideInLeft 0.3s ease forwards;
}

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

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

/* Shake animation for form step validation errors */
.form-step.shake {
    animation: shake 0.5s ease-in-out;
}

/* Form success show animation */
.form-success.show {
    animation: fadeInUp 0.5s ease forwards;
}

/* Hidden utility class */
.hidden {
    display: none !important;
}

/* ============================================
   SERVICE GALLERY SLIDER STYLES
   Modern, Professional, Responsive Design
   ============================================ */

/* Gallery Container */
.service-gallery {
    position: relative;
}

/* Main Image Area */
.gallery-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 1rem;
    overflow: hidden;
    background: #f1f5f9;
    cursor: pointer;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-main-image:hover .gallery-main-img {
    transform: scale(1.02);
}

/* Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 0.875rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.gallery-main-image:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: #4cc137;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 1rem;
}

.gallery-nav-next {
    right: 1rem;
}

/* Expand Button */
.gallery-expand {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 0.875rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.gallery-main-image:hover .gallery-expand {
    opacity: 1;
}

.gallery-expand:hover {
    background: #4cc137;
    color: white;
    transform: scale(1.1);
}

/* Image Counter */
.gallery-counter {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

/* Thumbnails Strip */
.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #4cc137 #f1f5f9;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #4cc137;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    background: #f1f5f9;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbnail:hover {
    border-color: #cbd5e1;
}

.gallery-thumbnail:hover img {
    transform: scale(1.1);
}

.gallery-thumbnail.active {
    border-color: #4cc137;
    box-shadow: 0 0 0 3px rgba(76, 193, 55, 0.2);
}

/* ============================================
   GALLERY LIGHTBOX STYLES
   ============================================ */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Lightbox Navigation */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

/* Lightbox Counter */
.lightbox-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10001;
}

/* ============================================
   GALLERY RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .gallery-main-image {
        aspect-ratio: 4 / 3;
    }
    
    .gallery-nav {
        width: 38px;
        height: 38px;
        opacity: 1;
    }
    
    .gallery-nav-prev {
        left: 0.5rem;
    }
    
    .gallery-nav-next {
        right: 0.5rem;
    }
    
    .gallery-expand {
        width: 36px;
        height: 36px;
        opacity: 1;
    }
    
    .gallery-thumbnail {
        width: 64px;
        height: 48px;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }
    
    .lightbox-prev {
        left: 0.75rem;
    }
    
    .lightbox-next {
        right: 0.75rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .gallery-thumbnails {
        gap: 0.5rem;
    }
    
    .gallery-thumbnail {
        width: 56px;
        height: 42px;
    }
    
    .gallery-counter {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }
}
