/* ===== Client Projects Grid ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 400px;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

/* ===== Hero Banner Animation ===== */
.hero-banner-content {
    opacity: 0;
    animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.hero-banner-content span {
    animation-delay: 0.2s;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-banner-content h1 {
    animation-delay: 0.4s;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-banner-content p {
    animation-delay: 0.6s;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-banner-content .flex {
    animation-delay: 0.8s;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ===== Premium Abstract Background – Grid + Glow ===== */
.grid-bg {
    position: relative;
    overflow: hidden;
}

.grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(135, 206, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(135, 206, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.grid-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(135, 206, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(135, 206, 235, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(135, 206, 235, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.grid-bg .container,
.grid-bg .relative.z-10 {
    position: relative;
    z-index: 1;
}

/* ===== Section Header ===== */
.section-header {
    position: relative;
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

.section-header::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #87ceeb;
    border-radius: 9999px;
}

/* ===== Card Enhancements ===== */
.card-animation {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-animation:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(135, 206, 235, 0.08);
    border-color: rgba(135, 206, 235, 0.3);
}

/* ===== Testimonials ===== */
.testimonial-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-card .fa-quote-left {
    transition: opacity 0.3s ease;
}

/* Star ratings */
.fa-star {
    transition: color 0.3s ease;
}

.testimonial-card:hover .fa-star {
    color: #87CEEB;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
    }
}