.elementor-14042 .elementor-element.elementor-element-bf9f2c2{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-14042 .elementor-element.elementor-element-e0f9a77{width:100%;max-width:100%;}.elementor-14042 .elementor-element.elementor-element-eb72688{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-e0f9a77 *//* --- THE CMA EDGE: INTERACTIVE HOVER CARDS (UPDATED FOR CONTRAST) --- */
:root {
    --cma-primary: #1A365D;    /* Deep Navy Blue */
    --cma-secondary: #F59E0B;  /* Golden Yellow/Orange */
    --cma-bg: #F8FAFC;         /* Light Gray Background */
    --cma-card-bg: #FFFFFF;    /* White Card Background */
    --cma-text-main: #334155;  /* Dark Gray Text */
    --cma-text-muted: #475569; /* Medium Gray Text */
}

.cma-edge-wrapper {
    font-family: 'Poppins', 'Roboto', sans-serif;
    background-color: var(--cma-bg);
    padding: 60px 20px;
    color: var(--cma-text-main);
    line-height: 1.7;
}

.cma-edge-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Intro Styles */
.cma-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.cma-page-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--cma-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cma-page-header .divider {
    height: 4px;
    width: 80px;
    background-color: var(--cma-secondary);
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.cma-intro-text {
    text-align: center;
    font-size: 17px;
    color: var(--cma-text-muted);
    max-width: 900px;
    margin: 0 auto 60px auto;
    background: var(--cma-card-bg);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--cma-primary);
}

/* --- Hover Cards Grid --- */
.cma-edge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.cma-hover-card {
    position: relative;
    height: 420px; /* Keeps all cards uniform in size */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Card Background Image */
.cma-hover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cma-hover-card:hover img {
    transform: scale(1.1); /* Zooms image on hover */
}

/* Card Gradient Overlay */
.cma-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.4) 50%, rgba(26, 54, 93, 0) 100%);
    transition: background 0.4s ease;
    z-index: 1;
}

.cma-hover-card:hover .cma-card-overlay {
    background: rgba(26, 54, 93, 0.92); /* Becomes fully dark blue on hover */
}

/* Content Container Inside Card */
.cma-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Card Title (Always visible) */
.cma-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF; /* Title is pure white */
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cma-card-title i {
    color: var(--cma-secondary);
    font-size: 24px;
}

/* Card Text (Hidden by default, slides up and turns white on hover) */
.cma-card-text {
    color: #E2E8F0; /* Default color is a light gray-white for general use */
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-height: 0; /* Hides the text initially */
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease, color 0.3s ease;
}

/* --- THE FIX IS HERE --- */
/* Target the revealing text only on hover and force it to be pure white */
.cma-hover-card:hover .cma-card-text {
    color: #FFFFFF !important; /* Forces the color to become pure white on hover */
    max-height: 300px; /* Expands to reveal text */
    opacity: 1;
    margin-top: 15px; /* Adds space between title and text on hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cma-intro-text { padding: 20px; font-size: 15px; }
    /* On mobile, tap acts as hover, so the effect will work naturally! */
}/* End custom CSS */