/* resources/css/home.css */

/* Hero Section */
.hero-gradient {
    background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.1), transparent 50%),
                radial-gradient(circle at bottom right, rgba(239, 68, 68, 0.05), transparent 50%);
}

.animate-float-hero {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Partner Logos */
.partner-logo {
    filter: grayscale(1) brightness(0.8);
    opacity: 0.5;
    transition: all 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* Audit Section */
.audit-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.audit-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    color: white;
    width: 100%;
    transition: all 0.3s;
}

.audit-input:focus {
    outline: none;
    border-color: #ef4444;
    background: rgba(255, 255, 255, 0.05);
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    border-color: rgba(239, 68, 68, 0.3);
}

.service-card .icon-box {
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.service-card:hover .icon-box {
    background: #ef4444;
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Our Process Timeline */
.process-step {
    position: relative;
    z-index: 10;
}

.process-line {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: -2rem;
    height: 2px;
    border-top: 2px dashed rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: #ef4444;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

/* Case Study Cards */
.work-card {
    border-radius: 2rem;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.2);
}

.work-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.work-card-img img {
    width: 100%;
    height: 100%;
    object-cover: cover;
    transition: transform 0.5s;
}

.work-card:hover .work-card-img img {
    transform: scale(1.1);
}

/* Bottom CTA */
.cta-banner {
    background: #ef4444;
    border-radius: 2.5rem;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

/* Fancy Buttons */
.btn-fancy {
    border-radius: 9999px;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-fancy-primary {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.3);
}

.btn-fancy-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(239, 68, 68, 0.5);
}

.btn-fancy-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-fancy-primary:hover::after {
    left: 100%;
}

.btn-fancy-white {
    background: #ffffff;
    color: #111111;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.1);
}

.btn-fancy-white:hover {
    background: #f8fafc;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(255, 255, 255, 0.2);
}

.btn-fancy-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(5px);
}

.btn-fancy-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

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

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-float-slow {
    animation: float 8s ease-in-out infinite;
}

/* Modal Styling */
.modal-overlay {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3rem;
    box-shadow: 0 50px 100px -20px rgba(239, 68, 68, 0.2);
    max-width: 800px;
    width: 95%;
    position: relative;
    z-index: 101;
}

/* Floating Widget */
.floating-widget {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Work Highlight Card Extra */
.work-highlight-card:hover .work-preview img {
    transform: scale(1.1) rotate(2deg);
}

.work-highlight-card .work-preview {
    transition: all 0.5s;
}

/* Gradient Text for Stats */
.text-gradient-red {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
