/* Hero Section Styles */
.hero-section {
    position: relative;
    padding: 6rem 1rem;
    text-align: center;
    color: white;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Frosted glass effect container */
.hero-content {
    background: rgba(0, 0, 0, 0.4);
    /* semi-transparent dark background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 1rem;
    display: inline-block;
    max-width: 90%;
    margin: 0 auto;
}

.hero-heading {
    color: white;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

.hero-heading .animate-text {
    display: inline-block;
    opacity: 0;
    animation: textFadeIn 0.8s ease forwards;
}

.hero-heading .animate-text:nth-child(1) {
    animation-delay: 0.5s;
}

.hero-heading .animate-text:nth-child(2) {
    animation-delay: 0.9s;
}

.kenmax-text {
    color: red;
}

.hero-subtext {
    color:white;
    max-width: 36rem;
    margin: 0 auto 2rem auto;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.2s;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.5s;
}

.btn-red {
    background-color: #dc2626;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
}

.btn-dark {
    background-color: #111827;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(17, 24, 39, 0.2);
}

.btn-red:hover,
.btn-dark:hover {
    transform: scale(1.05);
}

/* Services Section */
.services-heading {
    color: #111827;
    text-align: center;
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.text-red {
    color: #dc2626;
}

.service-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.service-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.service-title {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: white;
    padding: 5rem 1rem;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Solutions Section */
.solutions-section {
    background-color: #f9fafb;
    padding: 5rem 1rem;
}

.solutions-heading {
    color: #111827;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.solutions-intro {
    color: #4b5563;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3rem auto;
    font-size: 1.125rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.solution-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #dc2626;
}

.solution-title {
    color: #111827;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.solutions-cta {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.4s;
}

.solution-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    padding: 2rem;
    text-align: left;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #dc2626;
    background-color: #f9fafb;
}

.solution-card h3 {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.solution-card:hover h3 {
    color: #dc2626;
}

.solution-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #dc2626;
}