/* ============================================
   GEMA PAGE TEMPLATE
   ============================================ */

/* GEMA Hero */
.gema-hero {
    background: linear-gradient(135deg, #1A2A6C 0%, #263A8D 50%, #3449A8 100%);
}

/* GEMA Logo Section */
.gema-logo-section {
    padding: 80px 0;
    background: var(--color-white);
}

.gema-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.gema-logo-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gema-logo-image img {
    max-width: 300px;
    height: auto;
}

.gema-logo-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.gema-logo-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.gema-logo-list li {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--color-gray-700);
}

/* GEMA Three Pillars */
.gema-pillars-section {
    padding: 80px 0;
    background: var(--color-gray-50);
}

.gema-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gema-pillar-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gema-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gema-pillar-header {
    padding: 1.5rem;
    text-align: center;
    color: var(--color-white);
}

.gema-pillar-header.gerakan {
    background: linear-gradient(135deg, #1A2A6C 0%, #263A8D 100%);
}

.gema-pillar-header.ekoniaga {
    background: linear-gradient(135deg, #0097B2 0%, #00B4D8 100%);
}

.gema-pillar-header.madani {
    background: linear-gradient(135deg, #1A2A6C 0%, #263A8D 100%);
}

.gema-pillar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.gema-pillar-content {
    padding: 1.5rem;
}

.gema-pillar-content p {
    color: var(--color-gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.gema-pillar-content p:last-child {
    margin-bottom: 0;
}

/* GEMA Echo Section */
.gema-echo-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0097B2 0%, #00B4D8 100%);
    color: var(--color-white);
}

.gema-echo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.gema-echo-english h4,
.gema-echo-malay h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gema-underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.gema-echo-english p,
.gema-echo-malay p {
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.gema-echo-malay ol {
    padding-left: 1.5rem;
    list-style: decimal;
}

.gema-echo-malay ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* GEMA Timeline Section */
.gema-timeline-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0f5fa 0%, #e8eff5 50%, #f5f8fb 100%);
    position: relative;
    overflow: hidden;
}

.gema-timeline-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1A2A6C 0%, #0097B2 50%, #1A2A6C 100%);
}

.gema-timeline-header {
    text-align: left;
    margin-bottom: 50px;
}

.gema-timeline-header .section-label {
    color: #0097B2;
}

.gema-timeline-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #1A2A6C;
    position: relative;
    display: inline-block;
}

.gema-timeline-header h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0097B2;
    border-radius: 2px;
}

/* Timeline Wrapper with Person Image */
.gema-timeline-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.gema-timeline-person {
    flex-shrink: 0;
    width: 320px;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.gema-timeline-person img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px;
}

/* Timeline with Images Layout - Staggered Design */
.gema-timeline-with-images {
    display: flex;
    flex-direction: column;
    gap: 50px;
    flex: 1;
    position: relative;
    padding: 20px 0;
}

.gema-timeline-with-images .gema-timeline-item {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

/* Number circle styling */
.gema-timeline-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #1A2A6C 0%, #2a3f8f 50%, #1A2A6C 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow:
        0 4px 15px rgba(26, 42, 108, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 3px solid #0097B2;
}

/* Content pill styling */
.gema-timeline-with-images .gema-timeline-content {
    background: linear-gradient(95deg, #b8bec5 0%, #c8cdd3 30%, #d8dce0 60%, #e5e8eb 100%);
    padding: 1rem 2.5rem 1rem 1.5rem;
    border-radius: 0 40px 40px 0;
    position: relative;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: -8px;
    flex: 1;
    max-width: 360px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.gema-timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #1A2A6C;
    margin-bottom: 0;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.gema-timeline-content h3 + .gema-timeline-date {
    margin-top: 0.25rem;
}

.gema-timeline-date {
    display: inline-block;
    color: #1A2A6C;
    font-size: 0.8rem;
    font-weight: 700;
    width: fit-content;
}

/* Image styling with frame effect */
.gema-timeline-image {
    width: 220px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(255, 255, 255, 0.8),
        0 0 0 5px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    margin-left: 25px;
    transform: rotate(3deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gema-timeline-with-images .gema-timeline-item:nth-child(2) .gema-timeline-image {
    transform: rotate(-2deg);
}

.gema-timeline-with-images .gema-timeline-item:nth-child(3) .gema-timeline-image {
    transform: rotate(2deg);
}

.gema-timeline-item:hover .gema-timeline-image {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25),
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 5px rgba(0, 0, 0, 0.08);
}

.gema-timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.gema-timeline-item:hover .gema-timeline-image img {
    transform: scale(1.05);
}

/* Original timeline (without images) - kept for backwards compatibility */
.gema-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.gema-timeline::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-primary);
    opacity: 0.3;
}

.gema-timeline .gema-timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.gema-timeline .gema-timeline-item:last-child {
    margin-bottom: 0;
}

.gema-timeline .gema-timeline-content {
    background: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    flex: 1;
}

/* GEMA Role Section */
.gema-role-section {
    padding: 80px 0;
    background: var(--color-white);
}

.gema-role-header {
    text-align: center;
    margin-bottom: 60px;
}

.gema-role-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
}

.gema-role-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.gema-org-logos {
    position: relative;
}

.gema-org-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gema-org-item {
    background: var(--color-gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gema-org-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.gema-org-item img {
    max-width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 0.75rem;
}

.gema-org-item span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.gema-center-logo {
    margin-top: 30px;
    text-align: center;
}

.gema-center-logo img {
    max-width: 150px;
    margin: 0 auto;
}

.gema-role-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gema-role-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.gema-role-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0097B2 0%, #00B4D8 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.gema-role-point p {
    color: var(--color-gray-700);
    line-height: 1.7;
    margin: 0;
}

/* GEMA Responsive */
@media (max-width: 1024px) {
    .gema-logo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .gema-logo-list {
        text-align: left;
    }

    .gema-pillars-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .gema-echo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gema-role-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Timeline with images - tablet */
    .gema-timeline-wrapper {
        gap: 15px;
    }

    .gema-timeline-person {
        width: 200px;
    }

    .gema-timeline-with-images {
        gap: 40px;
    }

    .gema-timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .gema-timeline-with-images .gema-timeline-content {
        max-width: 260px;
        padding: 0.85rem 1.5rem 0.85rem 1.25rem;
    }

    .gema-timeline-content h3 {
        font-size: 0.75rem;
    }

    .gema-timeline-image {
        width: 160px;
        height: 110px;
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .gema-logo-section,
    .gema-pillars-section,
    .gema-timeline-section,
    .gema-role-section {
        padding: 60px 0;
    }

    .gema-timeline::before {
        left: 30px;
    }

    .gema-timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .gema-timeline-content {
        padding: 1rem 1.25rem;
    }

    .gema-timeline-content h3 {
        font-size: 0.85rem;
    }

    .gema-org-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gema-org-item {
        padding: 1rem;
    }

    .gema-org-item img {
        max-width: 60px;
        height: 60px;
    }

    /* Timeline with images - mobile */
    .gema-timeline-wrapper {
        flex-direction: column;
    }

    .gema-timeline-person {
        display: none;
    }

    .gema-timeline-with-images {
        gap: 35px;
    }

    .gema-timeline-with-images .gema-timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .gema-timeline-with-images .gema-timeline-number {
        width: 55px;
        height: 55px;
        font-size: 1.35rem;
    }

    .gema-timeline-with-images .gema-timeline-content {
        border-radius: 20px;
        margin-left: 0;
        max-width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .gema-timeline-content h3 {
        font-size: 0.8rem;
    }

    .gema-timeline-image {
        width: 100%;
        height: 180px;
        max-width: 320px;
        margin: 0 auto;
        transform: rotate(0deg) !important;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .gema-timeline-item {
        gap: 15px;
    }

    .gema-timeline::before {
        left: 25px;
    }

    .gema-timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .gema-timeline-with-images .gema-timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .gema-timeline-content h3 {
        font-size: 0.8rem;
    }

    .gema-timeline-image {
        height: 180px;
    }
}

/* ============================================
   GEMA PAGE V2 - REDESIGNED
   ============================================ */

.gema-page-v2 {
    padding-top: 80px;
}

/* Section Header Bar */
.gema-section-header {
    background: linear-gradient(135deg, #1A2A6C 0%, #263A8D 100%);
    padding: 1rem 0;
    position: relative;
}

.gema-section-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gema-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gema-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.gema-section-title h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.02em;
}

.gema-logo-badge {
    width: 80px;
    height: 50px;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gema-logo-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Section Body */
.gema-section-body {
    padding: 50px 0;
    background: #fff;
}

.gema-section-body.light-bg {
    background: linear-gradient(180deg, #f5f8fc 0%, #edf2f7 100%);
}

/* Logo Card */
.gema-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.gema-logo-card {
    border: 2px solid #e2e8f0;
    margin-bottom: 40px;
}

.gema-logo-card-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 30px;
    align-items: start;
}

.gema-logo-display {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gema-logo-display img {
    max-width: 250px;
    height: auto;
}

.gema-logo-explanation h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A2A6C;
    margin-bottom: 1.25rem;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.gema-logo-explanation ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.gema-logo-explanation ul li {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* Three Pillars */
.gema-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.gema-pillar {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.gema-pillar-badge {
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.gema-pillar-badge.blue {
    background: linear-gradient(135deg, #1A2A6C 0%, #263A8D 100%);
}

.gema-pillar-badge.cyan {
    background: linear-gradient(135deg, #0097B2 0%, #00B4D8 100%);
}

.gema-pillar-body {
    padding: 1.25rem;
}

.gema-pillar-body p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.gema-pillar-body p:last-child {
    margin-bottom: 0;
}

/* Echo Bar */
.gema-echo-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: linear-gradient(135deg, #0097B2 0%, #00B4D8 100%);
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
}

.gema-echo-left,
.gema-echo-right {
    padding: 1.5rem 2rem;
}

.gema-echo-left {
    background: rgba(0, 0, 0, 0.05);
}

.gema-echo-bar p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.gema-echo-bar p:last-child {
    margin-bottom: 0;
}

/* Timeline V2 */
.gema-steps-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.gema-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.gema-step {
    display: flex;
    align-items: center;
    gap: 0;
}

.gema-step-number {
    width: 65px;
    height: 65px;
    background: linear-gradient(145deg, #1A2A6C 0%, #2a3f8f 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid #0097B2;
    box-shadow: 0 4px 15px rgba(26, 42, 108, 0.3);
    z-index: 2;
}

.gema-step-content {
    background: linear-gradient(95deg, #c5ccd4 0%, #d5dbe2 50%, #e5eaef 100%);
    padding: 0.9rem 1.5rem;
    border-radius: 0 35px 35px 0;
    margin-left: -8px;
    flex: 1;
    max-width: 340px;
}

.gema-step-content h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: #1A2A6C;
    line-height: 1.4;
    margin: 0;
    text-transform: uppercase;
}

.gema-step-date {
    display: block;
    color: #1A2A6C;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.gema-step-image {
    width: 200px;
    height: 135px;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: rotate(2deg);
}

.gema-step:nth-child(2) .gema-step-image {
    transform: rotate(-2deg);
}

.gema-step:nth-child(3) .gema-step-image {
    transform: rotate(1deg);
}

.gema-step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gema-person-image {
    width: 280px;
    flex-shrink: 0;
}

.gema-person-image img {
    width: 100%;
    height: auto;
}

/* Role Section V2 */
.gema-role-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.gema-org-diagram {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gema-org-left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gema-org-logo {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.gema-org-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 0.5rem;
}

.gema-org-logo span {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #1A2A6C;
}

.gema-org-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.gema-center-logos {
    display: flex;
    gap: 15px;
    align-items: center;
}

.gema-center-logos .gema-main-logo {
    width: 80px;
    height: auto;
}

.gema-center-logos .gema-jata {
    width: 60px;
    height: auto;
}

.gema-role-points-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gema-role-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.gema-role-bullet {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #0097B2 0%, #00B4D8 100%);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.gema-role-item p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* CTA */
.gema-cta {
    background: linear-gradient(135deg, #1A2A6C 0%, #263A8D 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.gema-cta h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.gema-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.gema-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* GEMA V2 Responsive */
@media (max-width: 1024px) {
    .gema-logo-card-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gema-logo-display {
        justify-content: center;
    }

    .gema-pillars {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .gema-steps-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .gema-person-image {
        display: none;
    }

    .gema-role-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .gema-section-header .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .gema-section-title {
        flex-direction: column;
        gap: 0.75rem;
    }

    .gema-section-title h2 {
        font-size: 1rem;
    }

    .gema-section-body {
        padding: 40px 0;
    }

    .gema-logo-card-inner {
        padding: 20px;
    }

    .gema-echo-bar {
        grid-template-columns: 1fr;
    }

    .gema-step {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .gema-step-number {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .gema-step-content {
        border-radius: 20px;
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }

    .gema-step-image {
        width: 100%;
        max-width: 280px;
        height: 160px;
        margin-left: 0;
        transform: none !important;
    }

    .gema-org-left {
        grid-template-columns: repeat(2, 1fr);
    }

    .gema-cta h2 {
        font-size: 1.5rem;
    }

    .gema-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .gema-section-title h2 {
        font-size: 0.9rem;
    }

    .gema-logo-explanation ul li {
        font-size: 0.85rem;
    }

    .gema-pillar-badge {
        font-size: 1rem;
        padding: 0.85rem 1rem;
    }

    .gema-pillar-body {
        padding: 1rem;
    }

    .gema-pillar-body p {
        font-size: 0.85rem;
    }

    .gema-step-content h4 {
        font-size: 0.75rem;
    }

    .gema-role-item p {
        font-size: 0.9rem;
    }
}


/* ============================================
