/* ============================================
   ENHANCED VISUAL STYLES FOR KRAFT N PRINT
   Modern, Premium Design Improvements
   ============================================ */

/* Enhanced Hero Section with Better Overlay */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.85) 0%, rgba(0, 128, 128, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Enhanced Button Styles with Better Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

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

/* Enhanced Service Cards with Premium Look */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--coral));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.08);
}

/* Icon Boxes with Animated Icons */
.icon-box-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal), var(--coral));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.2);
}

.icon-box-icon:hover {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.4);
}

/* Animated Counter Numbers */
.counter, .stat-number {
    background: linear-gradient(135deg, var(--teal), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Enhanced Timeline with Better Visual Flow */
.timeline-item {
    opacity: 1;
    transform: translateX(0);
}

.timeline-number {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 128, 128, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 128, 128, 0);
    }
}

/* Process Step Numbers with Gradient */
.process-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal), var(--coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(0, 128, 128, 0.3);
    transition: all 0.3s ease;
}

.process-step-number:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(0, 128, 128, 0.5);
}

/* Enhanced Image Gallery with Hover Effect */
.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.8), rgba(255, 127, 80, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-image:hover::before {
    opacity: 1;
}

.gallery-image::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 2rem;
    z-index: 2;
    transition: transform 0.4s ease;
}

.gallery-image:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-image img {
    transition: transform 0.4s ease;
}

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

/* Badge Styles with Gradient */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--teal), var(--coral));
    color: white;
    box-shadow: 0 4px 10px rgba(0, 128, 128, 0.2);
}

/* Enhanced Trust Strip with Animation */
.trust-strip {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a5a 100%);
    padding: 2rem 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.trust-item {
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    background: linear-gradient(135deg, var(--teal), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Section with Premium Gradient */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Section Divider with Gradient */
.section-divider {
    height: 2px;
    max-width: 100px;
    margin: 2rem auto;
    background: linear-gradient(90deg, transparent, var(--teal), var(--coral), transparent);
}

/* Enhanced Footer with Better Visual Hierarchy */
.footer {
    background: linear-gradient(135deg, var(--navy) 0%, #0a1929 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--coral), transparent);
}

/* WhatsApp Float Button with Pulse */
.whatsapp-float {
    animation: float 3s ease-in-out infinite;
}

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

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
    z-index: -1;
}

@keyframes ping {
    75%, 100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .icon-box-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Premium Card Hover Effect */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Text Gradient Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--teal), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
