/* ==========================================================================
   AL-GHIYATH CUSTOM RESPONSIVENESS AND HOVER ANIMATIONS
   ========================================================================== */

/* Animations & Keyframes */
@keyframes fadeInUp_d7d956e7 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base interactive elements animations */
.ag-hero, .ag-pillars-wrap, .ag-featured-wrap, .ag-updates-section, .ag-partners-section {
    animation: fadeInUp_d7d956e7 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Staggered animation delays */
.ag-hero { animation-delay: 0.1s; }
.ag-pillars-wrap { animation-delay: 0.25s; }

/* ─── HOVER EFFECTS ──────────────────────────────────────────────────────── */

/* Card lifts */
.ag-pillar-card-d7d956e7 {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s !important;
}
.ag-pillar-card-d7d956e7:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(19,49,92,0.15) !important;
}

/* Image slight scale-up on hero */
.ag-hero-right-d7d956e7 {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ag-hero-right-d7d956e7 img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ag-hero-right-d7d956e7:hover img {
    transform: scale(1.03);
}

/* Button interactive effects */
.ag-btn-primary-d7d956e7 {
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.ag-btn-primary-d7d956e7:hover {
    background-color: #0d2342 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(19,49,92,0.2);
}

.ag-btn-secondary-d7d956e7 {
    transition: background-color 0.2s, color 0.2s, transform 0.2s !important;
}
.ag-btn-secondary-d7d956e7:hover {
    background-color: #13315C !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* ─── TABLET BREAKPOINT (max-width: 1024px) ─────────────────────────────── */
@media screen and (max-width: 1024px) {
    .ag-hero-container-d7d956e7 {
        flex-direction: column !important;
        padding: 50px 40px !important;
        gap: 40px !important;
    }
    .ag-hero-left-d7d956e7, .ag-hero-right-d7d956e7 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .ag-hero-left-d7d956e7 {
        align-items: center !important;
        text-align: center !important;
    }
    .ag-hero-left-d7d956e7 h1 {
        font-size: 36px !important;
    }
    .ag-hero-buttons-d7d956e7 {
        justify-content: center !important;
    }
    .ag-pillars-row-d7d956e7 {
        flex-wrap: wrap !important;
        gap: 20px !important;
    }
    .ag-pillar-card-d7d956e7 {
        flex: 0 0 48% !important;
    }
    .ag-pillars-container-d7d956e7 {
        padding: 60px 40px !important;
    }
}

/* ─── MOBILE BREAKPOINT (max-width: 767px) ──────────────────────────────── */
@media screen and (max-width: 767px) {
    .ag-hero-container-d7d956e7 {
        padding: 40px 20px !important;
        gap: 30px !important;
    }
    .ag-hero-left-d7d956e7 h1 {
        font-size: 28px !important;
    }
    .ag-hero-buttons-d7d956e7 {
        flex-direction: column !important;
        width: 100% !important;
    }
    .ag-hero-buttons-d7d956e7 a {
        width: 100% !important;
        text-align: center !important;
    }
    .ag-pillars-container-d7d956e7 {
        padding: 50px 20px !important;
    }
    .ag-pillar-card-d7d956e7 {
        flex: 0 0 100% !important;
    }
    .ag-hero-right-d7d956e7 img {
        height: 280px !important;
    }
    .ag-values-bar-d7d956e7 {
        flex-wrap: wrap !important;
        gap: 16px !important;
        padding: 16px 8px !important;
    }
    .ag-value-item-d7d956e7 {
        flex: 0 0 45% !important;
    }
}
