/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    perspective: 1000px;
    overflow: hidden;
    /* Background image with dark overlay for optical effect */
    background: linear-gradient(rgba(28, 37, 65, 0.8), rgba(28, 37, 65, 0.8)), 
                url('https://img.freepik.com/free-photo/modern-printing-press-creates-colorful-documents-indoors-generated-by-ai_188544-22624.jpg') center/cover no-repeat;
}


/* Hero content */
.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: 10;
    transition: transform 0.2s ease-out;
}

/* Logo 
.logo {
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1s 0.2s ease-out backwards;
} */

/* Slogan */
.slogan {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* Word animation */
.slogan .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-90deg);
    transform-origin: bottom;
    animation: revealWord 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}



/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s 2.2s ease-out forwards;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ff9a3d);
    color: white;
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

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

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff9a3d, #ff6b6b);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Services Section */
.services {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.service-item {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    width: 160px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

.service-item:nth-child(1) { animation-delay: 2.5s; }
.service-item:nth-child(2) { animation-delay: 2.6s; }
.service-item:nth-child(3) { animation-delay: 2.7s; }
.service-item:nth-child(4) { animation-delay: 2.8s; }
.service-item:nth-child(5) { animation-delay: 2.9s; }

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4ecdc4;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.2) rotate(-10deg);
}

.service-name {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 10px;
    opacity: 0.3;
    animation: float 25s infinite linear;
}

.floating-element:nth-child(1) { background: #ff6b6b; width: 80px; height: 80px; top: 10%; left: 10%; animation-duration: 20s; }
.floating-element:nth-child(2) { background: #4ecdc4; width: 50px; height: 50px; top: 70%; left: 80%; animation-duration: 15s; animation-delay: 1s; }
.floating-element:nth-child(3) { background: #ff9a3d; width: 70px; height: 70px; top: 60%; left: 15%; animation-duration: 25s; animation-delay: 0.5s; }
.floating-element:nth-child(4) { background: #ffffff; width: 60px; height: 60px; top: 20%; left: 75%; animation-duration: 18s; animation-delay: 2s; }

@keyframes float {
    0% { transform: translate(0,0) rotate(0deg); }
    25% { transform: translate(20px,40px) rotate(90deg); }
    50% { transform: translate(0,80px) rotate(180deg); }
    75% { transform: translate(-20px,40px) rotate(270deg); }
    100% { transform: translate(0,0) rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealWord {
    from { opacity: 0; transform: translateY(30px) rotateX(-90deg); }
    to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .slogan { font-size: 2.5rem; }
    .description { font-size: 1.2rem; }
    .services { gap: 1rem; }
    .service-item { width: 140px; padding: 1rem; }
}

@media (max-width: 480px) {
    .slogan { font-size: 2rem; }
    .description { font-size: 1rem; }
    .btn { padding: 0.8rem 1.5rem; width: 100%; }
    .cta-buttons { width: 90%; margin: 0 auto; }
    .service-item { width: calc(50% - 0.5rem); }
}

/* hero end*/